jombo23 / N64-Tools

N64 Tools
The Unlicense
239 stars 113 forks source link

Document gameconfig{midi,sound}.ini #50

Open mmontag opened 1 year ago

mmontag commented 1 year ago

It would be nice to document the format of gameconfig.ini, gameconfigmidi.ini, and gameconfigsound.ini. This way, contributions would be easier.

Could be nice to split these by game, i.e. Banjo Kazooie (U).ini instead of [Banjo Kazooie (U)] in each ini file. gameconfigmidi.ini and gameconfigsound.ini are very large and not indexed by Github.

SubDrag commented 1 year ago

I can document, but a fairly simple format with a lot of examples. We're you stuck on anything? I'd prefer a single file instead of literally thousands of files and easy to transfer.

mmontag commented 1 year ago

Thanks, not stuck but just wondering related to the PR that I posted, for example: What does each address mean on a given line? What are the available options on the track line?

SubDrag commented 1 year ago

The midi one starts at that offset until end, scanning for midi header, then reading, then repeat. Each type is slightly different. Most just do individual but N64 midi I just had made it simpler.