SabreTools / SabreTools

DAT management tool with advanced editing and sorting features
MIT License
103 stars 10 forks source link

New datfile format: GameHeader #64

Open mariomadproductions opened 2 years ago

mariomadproductions commented 2 years ago

https://www.romhacking.net/utilities/931/ https://no-intro.org/tools.htm

This is one of the main import formats for No-Intro DAT-o-MATIC.

Examples: ds.txt genericfile.txt

Lothrien commented 2 years ago

Reads from ROM for SNES, NDS, N64, NES, GBA, GB, GBC, FDS to create DAT List

mnadareski commented 2 years ago

@mariomadproductions are there multiple file details in a single one of these files? Or are the samples provided above accurate to what is output from No-Intro?

If this is only a single file per GameHeader file, I'm hesitant to add it as a possible output. The reason is that converting from XML or something similar to GameHeader would mean that there are X number of files created on output.

mariomadproductions commented 2 years ago

Here's some quick example of multiple files multiplefiles.txt multiplefiles2.txt As you can see, it doesn't really do "subfolders-within-subfolders" properly, but maybe you could just do it like datfile XML with the path being two folders seperated by a slash, even if the GameHeader tool cannot output that atm.

mnadareski commented 2 years ago

Okay, so it does support multiple pieces of file metadata in the same file. Okay, that's a little more encouraging. Still one of the harder-to-parse formats, unfortunately.