26 October 2019, 22:43 | #1 |
Registered User
Join Date: Dec 2016
Location: England
Posts: 87
|
Game hacking - but using modern tools
Wasn't really sure where to put this, but it's more related to asm I think, so I'll put it here.
Back in the late 80s/early 90s I used to love hacking games on my humble ZX Spectrum, I wasn't very good as I didn't have the right tools, or knowledge, at the time but more recently, with the help of emulators I've got back into it and it's great challenging fun. I do confess to cheating somewhat tho, as modern Speccy emulators do have very comprehensive debuggers, far exceeding the software, and even hardware ones of the time (multiface). I'd like to try the same with the Amiga, again using modern tools to help - as I'm only doing this for fun. I know there's Action Replay or HRTMon, which was what used back in the day, but as above I want to know if I can make life easier with more modern tools. What modern tools or tips would help me with this, either PC or Amiga side? I know winuae has a debugger, and I've had a quick play today, but I'm not really sure how to best utilise this to achieve what I want with the custom loaders, protection systems etc? I appreciate it probably wasn't designed for this. Last edited by Spec-Chum; 26 October 2019 at 22:50. |
27 October 2019, 01:53 | #2 |
Registered User
Join Date: Dec 2016
Location: England
Posts: 87
|
Scrap that, did more reading.
If I can't do it with either an AR and/or the winuae debugger then, well, I shouldn't be trying this lol Any suggestions for "easier" games, with easier copy protections, to try? Last edited by Spec-Chum; 27 October 2019 at 02:00. |
27 October 2019, 09:42 | #3 |
Registered User
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
|
|
27 October 2019, 09:44 | #4 |
OCS forever!
Join Date: Mar 2019
Location: Birmingham, UK
Posts: 418
|
Yeah I don't know how they do it. I can't even understand my own assembler code if the comments were removed lol
|
27 October 2019, 09:46 | #5 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
|
On windows:
- WinUAE debugger is the best, with read/write breakpoints and all. Beats HRTMon (except for the UI: hrtmon has mouse) - IRA has a windows version. Disassembles executables & memory blocks. If symbols were kept, it injects them in the source. And the resulting code can be reassembled with phxass, vasm, whatever! A must have. I remember cracking/modifying BattleChess with that: disassemble/change stuff/reassemble: works. - I've written a wrapper to reinject OS calls into IRA (python). Works wonders with OS-compliant games. |
27 October 2019, 10:16 | #6 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Crack is often the easiest part..
The difficulty begins when you have to render everything for a proper ADF release. Quote:
..and when I look for code that I'm sure I've written and end up rewriting it.. |
|
27 October 2019, 12:14 | #7 | |
Registered User
Join Date: May 2004
Location: Somewhere secret
Age: 50
Posts: 364
|
Quote:
Earlier Gremlin Graphics games basically boil down to a simple "check track, BEQ good BNE notgood", copy a few old games to ADF (XCopy in UAE, .IPF to .ADF) and find games which seem to copy successfully except for 1 bad track - a bad track 0 is more than likely a CopyLock which I would avoid at first, a bad track 79 could be the Gremlin loader or similar ("Outrun Europa" from US Gold is a simple track 79 check, don't cheat and read the Flashtro tutorial!). If you've worked with protected Speccy loaders like Alcatraz + Speedlock, you'll find the Amiga stuff much easier once you get familiar with the system/cpu Good luck! |
|
27 October 2019, 13:00 | #8 | ||||
Registered User
Join Date: Dec 2016
Location: England
Posts: 87
|
Yeah, I found that after posting this.
They're not very "tutorial" if I'm honest - some seemed OK tho, mainly the codetapper ones. Often they were just like "So, as you can see the boot loader shows..." OK, how do I load the bootloader? Although, that is probably something I should, and need to know, before I start this adventure. Quote:
Quote:
I've not seen IRA for many years, I'll check it out again. I do know cutter (GUI for radare2) does 68k, but it has no idea about the Amiga - I do have contact with the cutter devs tho, so I might ask about this. Promising tho, once you start adding comments and setting the data: Quote:
Quote:
I did do speedlock yeah, on looking last night the Amiga ones do seem much simpler by comparison. Plus, using modern speccy emulators really help with R reg decryptors, it really was just a case of breakpointing right after it ran and plugging the numbers into the hack. For example, here's my hack for Daley Thompson's Decathlon: Code:
org $ff78 ; CLEAR 65490 ; second BASIC block bblk2: ld ix, $5ccb ld de, 827 ld a, 255 scf call $0556 jr nc, bblk2 ; decryptor di ld hl, $5e28 ld de, $fde8 ld bc, $01aa ld a, $61 call $5ff3 ld a, $c3 ld ($ff7d), a ld hl, pokes ld ($ff7e), hl jp $ff5e pokes: xor a ld (24000), a ei jp $5b00 Last edited by Spec-Chum; 27 October 2019 at 14:21. Reason: Image was comically large! |
||||
27 October 2019, 20:25 | #9 |
Registered User
Join Date: Dec 2016
Location: England
Posts: 87
|
Spoke to Cutter devs and they gave me these links for adding Amiga Hunk to Cutter:
https://radare.gitbooks.io/radare2book/plugins/dev-bin.htm https://github.com/radareorg/radare2...ter/libr/bin/p Not really looked too deeply into the Hunk format yet, so will be a while before I even attempt this, but thought it might be useful to others. |
31 October 2019, 09:55 | #10 |
Registered User
Join Date: Dec 2016
Location: England
Posts: 87
|
I've just discovered amitools:
https://github.com/cnvogelg/amitools...ster/README.md Disassemble the bootloader in seconds with 1 command. Now we're taking! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Looking for some basic IP tools en SDK tools | Roland007 | support.WinUAE | 0 | 28 November 2012 22:34 |
SWAP; Massive Amiga game collection and many programms / tools / software | UrokoSakanabito | Swapshop | 11 | 18 September 2012 23:07 |
Hacking Game Music | Solid Snake | support.Games | 1 | 15 April 2012 21:06 |
Game authoring tools and demo making | Leandro Jardim | request.Apps | 7 | 09 November 2010 18:06 |
Amiga Game Tools-Shape Grabber | Joe Maroni | request.Apps | 0 | 22 October 2008 20:54 |
|
|