alucryd / oxyromon

Rusty ROM OrgaNizer
Other
111 stars 13 forks source link

[FEATURE] 1G1R Sub-Folders #53

Closed aarongeorge closed 1 year ago

aarongeorge commented 1 year ago

Systems like the Analogue hardware choke when too many ROMs are present in a single directory. The work around it putting ROMs inside of a Letter directory. For example Test Game.rom would exist in a T directory inside the 1G1R.

Is this something that could be considered for sort-roms?

alucryd commented 1 year ago

Sounds easy enough, I can gate that behind a cli flag and/or a config option, will have a look over the weekend.

aarongeorge commented 1 year ago

Great! Thanks mate! I'm slowly working my way through the Rust book so should be able to actually submit merge requests instead of asking for things

alucryd commented 1 year ago

No worries. I just pushed https://github.com/alucryd/oxyromon/commit/dd005d8a158b88fab2f20fd73d1ed02da560a347 in the develop branch.

It adds 2 new flags to the sort-roms command, one for 1G1R subfolders, and one for non-1G1R. They are also available as permanent configuration entries, these will apply if the flags are omitted when calling sort-roms. Updated the README to reflect the new addition.

Please let me know how that goes, I haven't tested it on my romsets, but I made some unit tests to verify it's working as intended.

aarongeorge commented 1 year ago

Just built and tested it. That's great! Thank you!