GB and GBC Console Verification Pipeline
tikevin83 May 12th, 2018 (edited) 1,074 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Game Boy/ Game Boy Color Console Verification Pipeline
- Needed - A Game Boy Player and Game Boy Interface (GBI). An SD Media Launcher, modchip, or some other method is needed to load GBI and the input movie. These methods are -only- used to load the GBI homebrew software and interact with the Game Boy Player, they do not in any way modify the behavior of the official Game Boy Player hardware.
- Use BizHawk interim builds and an interim prereq install:
- Write your TAS using the Gambatte core. Make sure to force the GBC platform and GBA as GBC mode for exact GBP timings (GB->Settings->Console Mode GBC, CGB in GBA to True). Use the LUA script linked below to dump the inputs to a file that GBI can use. There are some indications that it is faster and more accurate than the GBHawk core at the moment.
- rename your timestamp output to yourmoviename.txt and optionally gzip it
- put the movie file on an SD card with GBI or GBI-HF, both inside a folder named GBI (for example E:\GBI\gbihf.dol and E:\GBI\yourmoviename.txt.gz)
- create a CLI file in the same directory name gbi.cli or gbihf.cli respectively to pass your input movie to GBI, the cli should contain an argument --movie=yourmoviename.txt.gz along with any other arguments that you use to tune GBI.
- Run GBI or GBI-HF from the SD card. I do this using Swiss, which I rename to autoexec.dol and place on the root of the FAT16 formatted SDHC SD card. From swiss it's easy to choose which version of GBI to load to load other homebrew.
- Watch as GBI plays back your console-accurate TAS!
- Credit to Extrems, AlyoshaTAS, Natt, Gifvex, Entrpntr, and Sinamas for their help with getting console verification to where it is.
RAW Paste Data