Elektranox posted on Mar 18 2007 at 11:50 AM said:
did you already wrote a tutorial, how to add entries to the game_config file? Would be nice, if some european games are added ^^
Alright, I'm hope I'm not going too far off-topic with this reply. I spent some time googling around, and found some instructions on a Japanese PSP information site (
http://pspnfo.orz.hm/index.php, try looking for "GPSP" in the left column). Now I didn't have time to test this on my Windows box (and for some reason Wine refuses to launch VisualBoyAdvance), but it might be worth a try. They're using VisualBoyAdvance for Windows, so you might need to get that first. Here's a quick translation of what they've found out:
1. Start VBA
2. Choose "Disassemble" from menu
3. Check the "Automatic Update" box
4. Load game. The "Disassemble" window should fill up with pointers now (just tell me if I'm using the wrong expressions here... I'm not a doctor, just translating that stuff :rolleyes
5. The information in the "Disassemble" window might be scrolling quite fast. However you should try to look for obvious loops in their examples. They included an example on the page mentioned above (the GPSP link), or just have a look at the 3rd and 4th pictures on this page:
http://bandersnatch.blog54.fc2.com/blog-entry-27.html
See the final line in the example given? It seems like 08000252 is causing a jump to 0800024a, thus creating an idle loop. Now that should be the pointer you'd want to eliminate using the "idle_loop_eliminate_target" parameter.
In every game, there might be a couple of loops, depending on the screen you're at. In Gradius Generation (J), for example, they have discovered four different loops so far:
# Gradius Generation (J)
game_name = GRADIUSGENER
game_code = AGAJ
vender_code = A4
#-Opening Demo
idle_loop_eliminate_target = 08010308
#-Title
idle_loop_eliminate_target = 08010968
#-Power Up Select
idle_loop_eliminate_target = 08012650
#-Stage
idle_loop_eliminate_target = 080151e4
As for the additional data like "game_name" and the likes, it seems like you can find them under "File-> Rom Information" in VBA.
That's all they've got... now I don't know if this works as easily as it sounds, but it certainly might be worth a try. They've also compiled a list with configurations for various (J) games, which seem to work quite o.k, though admittedly I didn't test theses games
withoutthese settings. Except for the occasional random freezes, I had no problems at all running Advance Wars 1+2, FF5, Made in Wario (AKA Warioware Inc.) and Rhythm Tengoku.
Now... a good way to begin might be to just load up a game where we already
have some loops in the game_config, and try to find these loops on your own using VBA(that's what I'm probably going to do tonight). Once you start to get the hang of it, its time to start exploring uncharted games...
Once again, I don't have any programming skills, and I don't even now if that method works....... so don't sue my if something breaks