Commit Graph

11 Commits

Author SHA1 Message Date
Harrison 92c591da22
GBA database updates (#128) 2023-08-23 01:30:01 +02:00
profi200 2308e59c85 Begin separating oaf into lib and FIRM. Removed unnecessary config.ini file. 2021-11-07 13:55:59 +01:00
HTV04 1375224a6e Post-review changes 2021-11-07 13:55:59 +01:00
Harrison 6899a7a892 Finishing touches 2021-11-07 13:55:59 +01:00
Harrison eee47c5de1 Full gba_db.bin integration and other changes 2021-11-07 13:55:59 +01:00
Harrison 157a973006 Finally fixed builder script and gba_db.bin
The generated gba_db.bin now works with open_agb_firm!

With a ton of help from profi200, I finally figured out the issue. Turns out open_agb_firm uses a binary search algorithm to find the hash from the gba_db.bin file. After a ton of (probably unnecessary) trial and error, I fixed my script so that it sorts the entries in the way open_agb_firm expects, and boom, it works!
2021-11-07 13:55:59 +01:00
Harrison 675db2942f A ton of changes
* Updated gba_db.bin Builder to v2.1, adding some important fail-safes and fixing some nasty bugs.
* Updated Makefile to create releases as ZIPs instead of 7Zs and include the gba_db.bin file in releases.
* Updated gitignore to allow necessary files for gba_db.bin Builder to be added to the repo, among other changes.
* Moved script and necessary files to a new "tools" folder. The resources folder is now used for files that facilitate releases, such as "safe" versions of gba_db.bin.
* Made a few changes to open_agb_firm.c to prepare for full gba_db.bin integration.
* Updated README to reflect the new changes, among other changes.
2021-11-07 13:55:59 +01:00
Harrison c4f6f3dabe open_agb_firm gba_db.bin Builder v2.0 and other changes
open_agb_firm gba_db.bin Builder:
* Updated to v2.0
* No-Intro DAT support
* Additional entry support
* Entries added/skipped are now output
* Other optimizations

Other changes:
* Remove most overrides in `open_agb_firm.c` to prepare for gba_db.bin
* Add `resources/gba.dat` entry to gitignore
2021-11-07 13:55:59 +01:00
Harrison 2c8db472ab Fix save type detection bug
Fixed dumb mistake that caused the save type to always be returned as 15 OOPS

Also added/changed some comments
2021-11-07 13:55:59 +01:00
Harrison 76092e9093 gba_db_builder Improvements
Also fix gba_db.bin
2021-11-07 13:55:59 +01:00
Harrison 6538c56106 Add gba_db_builder 2021-11-07 13:55:59 +01:00