27 April 2020, 12:12 | #21 | |
Registered User
Join Date: Apr 2016
Location: Catania
Posts: 85
|
Quote:
Slave you made works with data folder uploaded by myself or disk images uploaded by Angus? |
|
27 April 2020, 12:37 | #22 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,162
|
talk about doing the same thing twice... I had removed the requester too and was going to explain more how it's done in that particular case, but that assumes a lot of experience in resourcing/debugging anyway. Okay. Scrap it. Try something easier first.
But just configuring/using GenericKick won't get you far. It can be a base to test if the program starts or does something, but in most of the cases (specially with originals) you have to do specific things. |
27 April 2020, 13:44 | #23 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
|
27 April 2020, 13:52 | #24 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,162
|
the cracked version executable sizes are different. Probably another version, cracked. So need to support 2 versions probably.
BTW I had done the install script too (slave is dummy). Let's not lose that work TowerFRA_install_script.zip |
27 April 2020, 15:21 | #25 | |
Registered User
Join Date: Apr 2016
Location: Catania
Posts: 85
|
Quote:
I am a VB6 programmer, I would like to learn to program slaves but I lack the basics so it is not easy for me, however I would like to try. Thanks for the help and kindness. |
|
27 April 2020, 16:41 | #26 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,162
|
problem here is usually not programming but understanding how the game accesses files and if there are any blockers, zap them. This requires the understanding of assembly, and disassembly tools and whatnot. see http://eab.abime.net/showthread.php?...l+ira+tutorial
|
27 April 2020, 18:19 | #27 | |
Registered User
Join Date: Apr 2016
Location: Catania
Posts: 85
|
Quote:
|
|
27 April 2020, 19:08 | #28 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,162
|
if you disassemble the original "game" executable you'll find that code (I have resourced it a bit so it's clearer below)
Code:
ADDQ.W #4,A7 ;08218: 584f MOVE.L D0,D7 ;0821a: 2e00 LAB_054E: ; always prompts at least once for data disk ; then probably relies on a IDCMP disk inserted message ; skipping that allows for game to start BSR.W prompt_for_data_disk ;0821c: 61002b8c ; => NOP NOP it LEA LAB_04F7(PC),A0 ;08220: 41fafce0 MOVE.L A0,D1 ;08224: 2208 MOVE.L #$000003ed,D2 ;08226: 243c000003ed MOVEA.L DosBase,A6 ;0822c: 2c6c484c JSR (_LVOOpen,A6) ;08230: 4eaeffe2 dos.library (off=-30) MOVE.L D0,11656(A4) ;08234: 29402d88 BEQ.S LAB_054E ;08238: 67e2 if file doesn't exist, prompt disk again MOVE.L D0,D1 ;0823a: 2200 MOVEA.L DosBase,A6 ;0823c: 2c6c484c IDK how Sting did that, but I searched for "insert disk" message, put a read memory breakpoint on the message text, that stopped in ROM (graphics lib Text() call), then I went up the callstack and found the program that used it. Went up again, finally found the call to zap. My installs have a "CHIP_ONLY" setup that installs the program in chip memory, which makes addresses shorter and below $200000 when debugging. I also used an AllocMem (with a tuned size) just before loading the executable so first segment starts exactly at $20000. Much easier to relate memory <=> disassembly by just adding/subbing $20000 here's my slave attempt. I didn't remove the protection yet. You can compare with Stingray's and try to run it and put breakpoints/debug it with WinUAE just to learn. TowerFRAHD.zip To stop the slave at a given location, I use the "blitz" macro. It fills the screen with colors until you press mouse: Code:
blitz nop nop Last edited by jotd; 27 April 2020 at 19:14. |
27 April 2020, 19:17 | #29 | |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
Quote:
|
|
27 April 2020, 19:39 | #30 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,162
|
I have a more bruteforce/dynamic way of doing that. I didn't really get into ReSource. Just used IRA with my extra resourcing scripts and sometimes IDA for big projects.
The fact that you have to run it on amiga is a deterrent for me, despite the fact that it looks powerful. The interface is terrible compared to modern systems... Choose your weapon. Different styles. |
27 April 2020, 19:52 | #31 |
Registered User
Join Date: Apr 2016
Location: Catania
Posts: 85
|
There are two approach, both really interesting but complex for me to understand, like jotd says i have to do my own tries to understand better, so programs i need are WinUAE and IRA (PC tool) /ReSource (Amiga tool), are there some other useful tools to use for this job?
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
warp by thalion | butfluffy | support.Games | 80 | 16 August 2018 19:15 |
Neuronics from Thalion | dlfrsilver | Games images which need to be WHDified | 26 | 26 December 2014 15:23 |
Last of the Thalion Memorabilia | alexh | MarketPlace | 5 | 14 June 2010 22:39 |
Tower Fra/Thalion | mai | HOL data problems | 1 | 19 March 2009 18:37 |
More Thalion updates | alexh | HOL data problems | 0 | 16 March 2008 12:02 |
|
|