snakelimb
Issue asserting Cartridge title SML
I am having some difficulty running the SML land Rom in pyboy. I am under the impression that pyboy will use the cartridge title (from the header) to determine which game wrapper to use, and this is why the sample code includes the assert pyboy.cartridge_title == "SUPER MARIOLAN".
Right now my code fails this assertion, and when I made some code to read the header, it says the title should be "SUPER MARIOLAND"
with the "D" at the end. Well, modifying the assert statement to reflect this additional D did not help.
I can run the code without the assert statement but then I get issues, like "AttributeError: '_cython_3_0_8.cython_function_or_method' object has no attribute" 'game_area_mapping' which I assume is because the proper wrapper is not being used.
I did just check the pyboy version and it is Version: 1.6.14, so perhaps I need to update. I am running the code in the puffertank container in WSL, which VS Code is connected to. It looks like that was the pyboy version that was required by pokegym.
25 replies