More then 55 trainers for openMSX (TCL script)

By Vampier

Prophet (2297)

Vampier's picture

06-04-2005, 17:12

Right now the following games are supported:

Aleste
Alestegaiden
Andorgynius
Arsenelupin3
Ashiguine2
Blowup
Craze
Crossblaim
Dirdeaf
Dota
Dragonslayer4
Druid
Eggerland2
F1Spirit
Familce parodic1
Fantasmsoldier1
Firebird
Galaga
Galious
Girlyblock
Goemon
Golvellius1
Goonies
Gradius
Gradius2
Gradius3
Gryzor
Ikariwarriors
Kingkong2
Kingsvalley2
Knightmare
MetalRight now the following games are supported:

Aleste
Alestegaiden
Andorgynius
Arsenelupin3
Ashiguine2
Blowup
Craze
Crossblaim
Dirdeaf
Dota
Dragonslayer4
Druid
Eggerland2
F1Spirit
Familce parodic1
Fantasmsoldier1
Firebird
Galaga
Galious
Girlyblock
Goemon
Golvellius1
Goonies
Gradius
Gradius2
Gradius3
Gryzor
Ikariwarriors
Kingkong2
Kingsvalley2
Knightmare
Metalgear1
Mon mon monster
Mrghost
Nyancle racing
Outrun
Parodius
Penguin adventure
Pippols
Rambo
Rastansaga
Sdsnatcher_Init
Spacemanbow
Starquake
supercooks
Superlaydock mission striker
Superlaydock msx2
Thexder1
Thexder2
Undeadline
Usas
Vampire killer
Xak1
Ys1
Ys2
Zanac

you can download the latest file here

usage is simpel :
1) Put this file in your openMSX/share/scripts directory
2) Bring up the console and type in trainer_[your game] see the TCL file for exact names.

Please feel free to add cheats you have found using the cheatfinder :)

Login or register to post comments

By andete

Expert (96)

andete's picture

06-04-2005, 18:24

Very neat Smile

Am I wrong or do some of them update the cheat values every frame?

By Vampier

Prophet (2297)

Vampier's picture

06-04-2005, 18:34

yes they do update every frame.... Smile

I made this file until a solution is made/found trough some interface where you can actually choose cheats... after a game is auto detected. But I'm still working on a XML structure for that.

By Vampier

Prophet (2297)

Vampier's picture

09-04-2005, 06:01

I just updated with 4kb more cheats Smile

By sd_snatcher

Prophet (3095)

sd_snatcher's picture

22-11-2015, 02:25

Necromancing this old thread with a contribution of some enhanced versions of some trainers for openMSX:

create_trainer "Road Fighter" {frame} {
	"Invulnerable: Invulnerable" {if {[peek 0xe049 ] != 3} {poke16 0xe049 0 }}
	"Infinite fuel" {dpoke 0xe083 220}
	"Press up for Nitro" {if {[expr (([peek 0xe009] & 0x11) == 0x11) && ([peek 0xe04f] < 244) && ([peek 0xe083] > 0) && ([peek 0xe049] == 0) ]} {dpoke 0xe04f [expr [peek 0xe04f]+1] ;dpoke 0xe04c [expr 128+[peek 0xe04f]/8] }}
	"Press down to brake" {if {[expr (([peek 0xe009] & 2) == 2) && ([peek 0xe04f] > 0) && ([peek 0xe049] == 0) ]} {dpoke 0xe04f [expr [peek 0xe04f]-1] ;dpoke 0xe04c [expr 128+[peek 0xe04f]/8] }}
	"Lone runner at max speed" {if {[expr (([peek 0xe009] & 0x10) == 0x10) && ([peek 0xe083] > 0) && ([peek 0xe049] == 0) ]} {dpoke 0xe04f 255 ;dpoke 0xe04c 0x90 }}
}

create_trainer "Hyper Rally" {frame} {
	"Always First Place" {dpoke 0xe05b 0;poke 0xe05c 1}
	"Infinite Fuel" {dpoke 0xe065 255}
	"Top Speed" {if {[expr (([peek 0xe00a] & 0x10) == 0x10) && ([peek 0xe065] > 0) ]} {dpoke 0xe085 255 ; dpoke 0xe086 1}}
	"Time: Time" {dpoke 0xe068 0}
	"Press trigger-2 for Nitro (automatic gearbox recommended)" {if {[expr (([peek 0xe00a] & 0x30) == 0x30) && ([peek 0xe085] < 255) && ([peek 0xe065] > 0) ]} {dpoke 0xe085 [expr [peek 0xe085]+1] }}
	"Automatic gearbox" {if { [expr ([peek 0xe085] > 0x60) ]} {dpoke 0xe086 1 }}
}

Note: On older Konami games, the trigger-2 on keyboard is mapped to the SELECT button. Maybe this was an influence of the Sony keyboard layout?

By Vampier

Prophet (2297)

Vampier's picture

22-11-2015, 06:58

urgh.... these can't go in automatically because the file is generated from this webpage:

http://romdb.vampier.net/cheats/index.php

By mars2000you

Enlighted (5515)

mars2000you's picture

22-11-2015, 10:17

But end-users can add the new cheats to the big generated file ! Wink

Thanks sd_snatcher for your contribution ! Smile

By sd_snatcher

Prophet (3095)

sd_snatcher's picture

22-11-2015, 14:46

Some funny notes on the Road Fighter cheats: Big smile

- Ever wondered if you could ever pass that fast blue car that always overtakes you on level-B? With the Nitro cheat now you can finally give him a lesson!
- Could you ever imagine running against those very fast cars that take off like a rocket in the 1st starting line? With the "Lone rider at max speed" cheat you now can keep up with them for the entire stage. But you have to reduce your speed and let them go before the finish line, otherwise you'll crash into it (!), because for the game engine the race only starts after those cars get out of the screen! Running Naked in a Field of Flowers

By thinlizzy

Champion (262)

thinlizzy's picture

22-11-2015, 19:42

whee! it is so fun "playing" games with no challenge at all
oO