English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 05 August 2007, 14:23   #1
Asle
Registered User
 
Join Date: May 2006
Location: Paris/France
Age: 46
Posts: 410
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, 124 views)
Asle is offline  
AdSense AdSense  
Old 05 August 2007, 15:39   #2
heavy
Registered User
 
Join Date: Jun 2007
Location: europe
Posts: 169
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 16:46.
heavy is offline  
Old 05 August 2007, 16:28   #3
Asle
Registered User
 
Join Date: May 2006
Location: Paris/France
Age: 46
Posts: 410
thanks for this fast reply
Asle is offline  
Old 05 August 2007, 16:31   #4
heavy
Registered User
 
Join Date: Jun 2007
Location: europe
Posts: 169
missing : set at 70000 :
dc.b "graphics.library",0
heavy is offline  
Old 05 August 2007, 18:00   #5
heavy
Registered User
 
Join Date: Jun 2007
Location: europe
Posts: 169
you get an exe like this (®cf):
Attached Files
File Type: zip 3p.zip (10.1 KB, 119 views)

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


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 21:45
extracting/mounting adfs twiggy New to Emulation or Amiga scene 15 22 December 2009 19:46
extracting sampledata from P61 yoki Coders. General 9 01 July 2009 02:04
Extracting Wav Files yugioh Retrogaming General Discussion 3 17 December 2008 10:11
Extracting Octamed files - Please help! tezcatlipoca support.Other 16 22 October 2006 02: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 14:02.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.12370 seconds with 13 queries