Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unneeded ROMs #32

Open
AlvaroBurnett opened this issue Nov 17, 2020 · 8 comments
Open

unneeded ROMs #32

AlvaroBurnett opened this issue Nov 17, 2020 · 8 comments

Comments

@AlvaroBurnett
Copy link

AlvaroBurnett commented Nov 17, 2020

The following invocation:

python generate.py -r World,USA,Europe -l en --all-regions-with-lang -o out --no-program --no-enhancement-chip --no-proto --no-beta --no-demo --no-sample --no-pirate --no-promo -i roms -d "Nintendo - Game Boy (Parent-Clone) (20201106-150142).dat"

Results in the following two roms being included:

Fastest Lap (Japan) (En)
Fastest Lap (USA)

In this case the Japanese rom should be ignored.

And these two roms are also included:

Mulan (Europe) (SGB Enhanced)
Mulan (USA) (SGB Enhanced)

Don't know if I'm using the wrong arguments or it's a bug in the generator.

@AlvaroBurnett AlvaroBurnett changed the title unneeded ROM unneeded ROMs Nov 17, 2020
@andrebrait
Copy link
Owner

andrebrait commented Nov 17, 2020

I'll look into it.

Just one thing: the regions in the arguments should be provided using 2-or-3-letter region codes, like: -r USA,EUR, not like -r USA,Europe. World is not a region itself (it just means "USA, Europe, Japan"), so ROMs with World in the name are candidates for both USA, EUR and JPN.

Can you upload the DAT file you used?

@AlvaroBurnett
Copy link
Author

Oh OK. Thanks for the clarification. Here is the DAT.

Nintendo - Game Boy (Parent-Clone) (20201106-150142).zip

@andrebrait
Copy link
Owner

The fault is in the DAT, unfortunately.

Neither of these games have a cloneof field, so I cannot know for sure they're the same game in multiple regions.
This is something you need to report to the No-Intro group if you're 100% sure these games are the same.

If you open the DAT in a text editor you can see that the entries for these games lacks the information the tool needs. There's not much I can do in this case, because name alone is not enough to properly identify a Parent-Clone relationship.

@AlvaroBurnett
Copy link
Author

Thanks. I will report it to the No-Intro group.
Congratulations for making this great tool. I like it so much that I'm considering rewriting it in C++ to get rid of the Python dependency :-)

@andrebrait
Copy link
Owner

If you're going to rewrite something, than this might be a better idea: https://github.com/andrebrait/DATROMTool

It depends on Java for a few reasons (one being abundance of libraries, platform independence and the fact I'm a full-time Java developer so it's much easier for me to just code stuff in Java).

It currently already works to do the same stuff as this tool does, but it's much more modular and will even have a GUI in the future. I still need to enhance test coverage and other stuff, though.

@AlvaroBurnett
Copy link
Author

Cool.
How does it work?
Should I invoke cli/src/main/java/io/github/datromtool/cli/DatRomCommand.java and use the same command line arguments as with your python tool?

@andrebrait
Copy link
Owner

andrebrait commented Nov 17, 2020 via email

@andrebrait
Copy link
Owner

andrebrait commented Nov 17, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants