New Trainers for rolling into GBST Images...

Come and chat to the team working on the huge Atari ST emulator frontend projects

Moderators: Goldrunner, SkylineDave, Moderator Team

Pugsy
Atari freak
Atari freak
Posts: 72
Joined: Mon Jun 06, 2005 1:30 pm
Location: Wales
Contact:

New Trainers for rolling into GBST Images...

Postby Pugsy » Fri Mar 10, 2006 5:10 pm

I've had an idea for GameBaseST regarding trainers. I was thinking of dusting of my old cheat machine source code and modifying it so that instead of having to enter a code and select a file manually it would read the necessary filename & pathname (and possibly drive), cheat descriptions and codes from a cheat.dat file. It would then display a trainer menu with function Key Toggles based on this information.

The file cheat.dat file would be a text file something like this (it's obviously not a real game):

Code: Select all

XX:Doom 3 Trainer:
YY:Trained by Whoever:
ZZ:game.prg:
F1:Infinite Lives,00016780,L,4E714E71,00016784,W,4E71:
F2:Infinite Ammo,000167A5,B,00:
F3:Invincibility,000313A8,W,4E75:


This has several benefits, as the file offset (location from start of the file) will be unencoded people can add cheats to a game by just editing the text file. The prg file will be the same for all games just the cheat.dat will differ so no need to recompile for every game. As I would use the cheat machine source it would work for many versions of the same game as long as the prg doesn't have a trainer compiled in by the crack group (if it does though the offsets could be recalculated and more trainer options could be added). It would also work with filed originals (too many issues to get it to do bootsector loading games...and I never could get my head around them). For originals the trainer & cheat file could be on the HD/Drive B and it could just run the game straight off Drive A. As long as GBST runs the trainer instead of the game.prg off the disc/hd then this would appear just as a normal trainer to the end user with the advantage that people could add cheats without having to mess about with DevPac or having to unpack the prg/tos file as it will deal with most packers (and recursively).

I've got some other projects to finish off first (like the MAME cheat file update) and some GB64 Stuff + I've got to relearn 68000 assembly enough to program in it rather than just make cheats and try to understand my own source code, but is this worth doing/considering any further?
Last edited by Pugsy on Sat Apr 29, 2006 5:57 pm, edited 1 time in total.
Gamebase64 Team Member http://www.gamebase64.com

MAME Cheat File Maintainer http://www.mamecheat.co.uk

User avatar
Goldrunner
Guardian of the PaST
Guardian of the PaST
Posts: 1578
Joined: Thu Mar 04, 2004 9:38 pm
Location: Formby, England, UK

Postby Goldrunner » Fri Mar 10, 2006 6:19 pm

Hi Pugsy

It sounds very interesting and it would make a wlecome addition :D I can imagine this will take some time to do. But if anyone can do it you can, please keep me posted with any progress you make with this :!:

User avatar
ggn
Atari God
Atari God
Posts: 1141
Joined: Sat Dec 28, 2002 4:49 pm

Re: Idea for trainers for rolling into GBST Images...

Postby ggn » Sun Mar 12, 2006 12:29 pm

Pugsy wrote:

Code: Select all

XX:Doom 3 Trainer:
YY:Trained by Whoever:
ZZ:game.prg:
F1:Infinite Lives,00016780,L,4E714E71,00016784,W,4E71:
F2:Infinite Ammo,000167A5,B,00:
F3:Invincibility,000313A8,W,4E75:


Doom 3 was released for ataris? Cool 8)
is 73 Falcon patched atari games enough ? ^^

Pugsy
Atari freak
Atari freak
Posts: 72
Joined: Mon Jun 06, 2005 1:30 pm
Location: Wales
Contact:

Postby Pugsy » Sat Apr 29, 2006 3:46 pm

Well, I've sort of binned that idea completely now - far too much work and testing required to get that to work how I'd like. So instead I've modified my old Cheat Machine source code and ripped out all the cheat decoding and GEM and TOS menus keeping the loading/depacking routines and added a load of conditional assembly operations (to make trainer making a LOT quicker) and added a standardised trainer frontend. At some stage if there's any interest I will probably release the source code so that others can use it. In the mean time here's the first 4 trainers I've whipped up for it using my old cheat codes:-

Defender of the Crown +1
Llamatron (1 Meg version) +3
Droid +5
Ammotrack +4

They are all work with the versions in GameBase V1.1, and should work with other versions too (though filenames may need to be changed in some instances). Either copy the .prg files to an AUTO folder or to the same DIR as the game's PRG/TOS file.

Grab the tiny zip file containing the 4 trainers from here:-

http://cheat.retrogames.com/New_Atari_S ... _Pack1.zip
Gamebase64 Team Member http://www.gamebase64.com

MAME Cheat File Maintainer http://www.mamecheat.co.uk

User avatar
Mug UK
Administrator
Administrator
Posts: 11254
Joined: Thu Apr 29, 2004 7:16 pm
Location: Stockport (UK)
Contact:

Postby Mug UK » Sat Apr 29, 2006 8:12 pm

Link no workee :(
My main site: http://www.mug-uk.co.uk - slowly digging up the bits from my past (and re-working a few): Atari ST, Sega 8-bit (game hacks) and NDS (Music ripping guide).

I develop a free Word (for Windows) add-in that's available for Word 2007 upwards. It's a fix-it toolbox that will allow power Word users to fix document errors. You can find it at: http://www.mikestoolbox.co.uk

Pugsy
Atari freak
Atari freak
Posts: 72
Joined: Mon Jun 06, 2005 1:30 pm
Location: Wales
Contact:

Postby Pugsy » Sat Apr 29, 2006 8:23 pm

muguk wrote:Link no workee :(


Copy it into your web browser's address bar and hit return, it should then work hopefully.
Gamebase64 Team Member http://www.gamebase64.com

MAME Cheat File Maintainer http://www.mamecheat.co.uk

User avatar
Mug UK
Administrator
Administrator
Posts: 11254
Joined: Thu Apr 29, 2004 7:16 pm
Location: Stockport (UK)
Contact:

Postby Mug UK » Sat Apr 29, 2006 8:47 pm

Righty ho .. works fine .. Firefox was sulking :)
My main site: http://www.mug-uk.co.uk - slowly digging up the bits from my past (and re-working a few): Atari ST, Sega 8-bit (game hacks) and NDS (Music ripping guide).

I develop a free Word (for Windows) add-in that's available for Word 2007 upwards. It's a fix-it toolbox that will allow power Word users to fix document errors. You can find it at: http://www.mikestoolbox.co.uk

User avatar
ggn
Atari God
Atari God
Posts: 1141
Joined: Sat Dec 28, 2002 4:49 pm

Postby ggn » Sat Apr 29, 2006 9:16 pm

Bah, same thing on Opera, when I copied the link in a new window it downloaded
is 73 Falcon patched atari games enough ? ^^

User avatar
Goldrunner
Guardian of the PaST
Guardian of the PaST
Posts: 1578
Joined: Thu Mar 04, 2004 9:38 pm
Location: Formby, England, UK

Postby Goldrunner » Sat Apr 29, 2006 9:17 pm

Hi Pugsy

Many thanks for taking the time to do these cool trainers for GBST :D It was a pleasure adding them to so anymore will be most welcome, when and if you have the time that is :!:


Social Media

     

Return to “GameBaseST & DemoBaseST”

Who is online

Users browsing this forum: No registered users and 1 guest