English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 05 August 2007, 13:23   #1
Asle
Registered User
 
Join Date: May 2006
Location: Paris/France
Age: 52
Posts: 527
extracting a trainer

Hi,

Not sure it's the right conf, but I guess it'll requiere some coder's skills, so ...
Ok, I've attached "trainer.lha" which contains "3" (the trainer packed with Tetrapack 2.2) and "game.stg" the requiered external file from DF0:.
Obviously, this external file is irrelevent for the trainer itself as I'm only interrested by the intro. Could someone, here, have a look and, somehow, manage to extra the intro, here ?
The string "game.stg" is right at the end of "3".

Thanks in advance.
Kind regards,
Sylvain
Attached Files
File Type: lha trainer.lha (39.5 KB, 225 views)
Asle is offline  
Old 05 August 2007, 14:39   #2
heavy
noodle
 
Join Date: Jun 2007
Location: europe
Posts: 247
hmm...intro is depacked at a fix address 65000
get a disassembler/debugger/monitor:
put at 65000:
bra $65022 ; skip game loader, goto intro

and change prog at $650d4 (trainer) to restore system copperlist (old way):
move.l 4.w,a6
lea $70000,a1 ; graphics.library
jsr -408(a6) ; open gfx lib
move.l d0,a1
move.l 38(a1),$dff080
jsr -414(a6) ; close gfx lib
movem.l (sp)+,d0-a6
moveq.l #0,d0
rts

and set at 70000 :
dc.b "graphics.library",0

now trainer works alone but it's not yet executable
you have to recrunch it at original fix address or add good hunks to make an exe

Last edited by heavy; 05 August 2007 at 15:46.
heavy is offline  
Old 05 August 2007, 15:28   #3
Asle
Registered User
 
Join Date: May 2006
Location: Paris/France
Age: 52
Posts: 527
thanks for this fast reply
Asle is offline  
Old 05 August 2007, 15:31   #4
heavy
noodle
 
Join Date: Jun 2007
Location: europe
Posts: 247
missing : set at 70000 :
dc.b "graphics.library",0
heavy is offline  
Old 05 August 2007, 17:00   #5
heavy
noodle
 
Join Date: Jun 2007
Location: europe
Posts: 247
you get an exe like this (®cf):
Attached Files
File Type: zip 3p.zip (10.1 KB, 217 views)

Last edited by heavy; 05 August 2007 at 17:15.
heavy is offline  
Old 05 August 2007, 19:25   #6
Asle
Registered User
 
Join Date: May 2006
Location: Paris/France
Age: 52
Posts: 527
Thanks for the file !
Asle is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any way of extracting PC and ST images out of an FDI yet? MethodGit support.Other 0 17 June 2012 20:45
extracting/mounting adfs Twiggy New to Emulation or Amiga scene 15 22 December 2009 18:46
extracting sampledata from P61 yoki Coders. General 9 01 July 2009 01:04
Extracting Wav Files yugioh Retrogaming General Discussion 3 17 December 2008 09:11
Extracting Octamed files - Please help! tezcatlipoca support.Other 16 22 October 2006 01:56

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 21:14.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07511 seconds with 14 queries