06 November 2019, 20:35 | #1 |
Warhasneverbeensomuchfun
Join Date: Jun 2001
Location: Rio de Janeiro / Brazil
Age: 41
Posts: 3,450
|
Learning how to hack Amiga games.
Let's say I'd like start trying to hack Amiga games on ADF format... simple stuff, like maybe changing the palette or trying to add 2nd button support for games that use the keyboard for that....
Where should I start look to learn this kind of stuff? And what kind of tools I'd need? |
06 November 2019, 20:40 | #2 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Depends specifically what you want..
Action replay or winuae debugger is a good start |
06 November 2019, 21:09 | #3 |
Warhasneverbeensomuchfun
Join Date: Jun 2001
Location: Rio de Janeiro / Brazil
Age: 41
Posts: 3,450
|
I've never even touched Winuae debugger, but it does sound like a good start.
|
06 November 2019, 21:15 | #4 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
The debugger isn't the easiest to use. I'd start messing with a replay and find palette info, mess with sprites etc.
Wouldbe nice if there was a decent guide for the winuae debugger |
06 November 2019, 21:33 | #5 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,381
|
then once you figured out what to change most of the time you have to add code to change it, because data & code is often packed and unpacked by the game only when needed.
Or unpack, change, repack, insert into adf image, and hope the packed size doesn't increase... |
06 November 2019, 22:30 | #6 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 5,058
|
|
06 November 2019, 22:32 | #7 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Indeed, but one step at a time.. Learnt how Amiga works internally
|
06 November 2019, 22:55 | #8 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,381
|
A collaboration is also possible: you figure out what to change and we integrate that in whdload slaves for instance.
Earok does a lot of (excellent) game hacking but doesn't want to update whdload slaves. In that case, he just sends me his code with the addresses & where to patch and I integrate it (Ruff'n'tumble joypad support for instance). You can start by trying to add trainers. This is the easiest thing to do I can think off. Levelskips are very useful, but a little trickier. |
06 November 2019, 23:00 | #9 | |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Quote:
|
|
07 November 2019, 09:20 | #10 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,358
|
IMO the easiest way could be to re-source some system friendly game.
Then inserting/deleting code becomes a lot easier (and perhaps debugging as well). |
11 November 2019, 10:05 | #11 |
Registered User
Join Date: Apr 2009
Location: N/A
Posts: 962
|
Do you mean like using tools like re-source?
Also what would you qualify as "system friendly"? For example would a game that runs from workbench be classified as so? |
11 November 2019, 10:18 | #12 | |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 5,058
|
Quote:
Meynaf would better know but I think some games that are executable from WB (thus HD), WHDLoad games excepted, are not so system friendly and they, kind of "save" the system state before restoring it upon quitting. Am I correct ? |
|
11 November 2019, 14:23 | #13 | ||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,358
|
Yes.
Quote:
Quote:
|
||
11 November 2019, 15:05 | #14 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,498
|
What wrote meynaf is right, but it's not always true for everyone.
That it is simpler to hack a system friendly game is subjective. I prefer those who take over the system, I can better keep the situation under control . Undoubtedly, you need to have a thorough knowledge of the hardware and debug tools are much less 'friendly'. |
11 November 2019, 15:20 | #15 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,358
|
Quote:
But anyway that depends how much the game is "unfriendly" and how far you push "hacking". If it uses absolute addressing and you want to act at source level, believe me, it's not easy to insert/delete code. |
|
11 November 2019, 16:19 | #16 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,381
|
One thing I did: I disassembled an executable (Battle Chess), figured out data (text) mistaken as source. Once all those fake sources were converted into data, I could reassemble/add/remove stuff.
This is the easiest (sometimes there are even symbols left in the executable ). If you need to hack NDOS games, the best is to improve existing whdload installs, as whdload slaves are designed to patch games easily. There are a lot of slaves with enhancement requests, check whdload mantis for this. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WTB : Learning C: Programming Graphics on the Amiga and Atari ST | kamelito | MarketPlace | 3 | 25 April 2019 20:17 |
A new Learning Demo for Amiga OCS and beyond. | Toni Galvez | Amiga scene | 46 | 01 March 2015 15:20 |
Wanting to start learning to code amiga in asm | fishyfish | Coders. Asm / Hardware | 5 | 03 March 2012 06:11 |
Playpower - 8 bit learning games for the developing world | girv | Retrogaming General Discussion | 5 | 24 March 2009 22:00 |
how to hack games | boing_1000 | request.Old Rare Games | 6 | 26 June 2006 12:46 |
|
|