Loading ROM doesn't work with library
I installed 2.4.1 on my laptop, attempting to load metroid2 with the pyboy binary works fine, but when attempting to load the same ROM in a python file fails:
I get this error:
Really strange since I can load SML fine
5 Replies
And you're certain this is a Game Boy ROM? Does it work in other emulators?
That check is just a validation that we have data enough in the file to fill the expected ROM banks. Could be that some ROM dumper is truncating or something
Yeah it works with sameboy and works when I use the pyboy binary from the command line. Very strange
It works from the command line? That is strange. Could you paste that example?
I guess I'm at fault, that PyBoy doesn't report it's own version on start-up or on the command line, but do you know if you're using two different versions?
I'm pretty sure they aren't, as I was running the above script and pyboy from the command line in the same terminal instance in the same virtualenv
If you do
ls -la metroid2.gb
how large is the file then?