Bækalfen
Bækalfen
PPyBoy
Created by thatguy on 4/20/2025 in #support
Is there a way to convert a pyboy .state file to an mgba save state?
You can transfer the progress of the game by saving, turning off PyBoy (.stop(True)) and then copy the .ram to .sav and open mGBA. Then you can open up the game where PyBoy was. But your RNG etc. will vary. And even if you force set all RNG, just slightly different timings will quickly desync them (if it matters)
6 replies
PPyBoy
Created by thatguy on 4/20/2025 in #support
Is there a way to convert a pyboy .state file to an mgba save state?
I can’t imagine it’s possible to convert the state. But a .ram/.sav file is easy
6 replies
PPyBoy
Created by NicoleFaye on 4/6/2025 in #support
Cant get Bootrom tests to pass
5 replies
PPyBoy
Created by NicoleFaye on 4/6/2025 in #support
Cant get Bootrom tests to pass
Thank you for finding this. It of course shouldn't be like this
5 replies
PPyBoy
Created by NicoleFaye on 4/6/2025 in #support
Cant get Bootrom tests to pass
I see. I've made a mistake here to use the filename of the boot ROM for the test file. My DMG ROM is name DMG_ROM.bin
5 replies
PPyBoy
Created by rob on 2/28/2025 in #support
Is it possible to write to tilemaps?
You can technically do it through pyboy.memory[...] but it might not have any lasting effect. Depends on whether the game reads the tilemap or just writes to it
2 replies
PPyBoy
Created by ttv94 on 1/7/2025 in #support
.sav file not being picked up
Shouldn’t matter for that part of the code where the error is
40 replies
PPyBoy
Created by ttv94 on 1/7/2025 in #support
.sav file not being picked up
Notice: 4 RAM banks of 8KB
40 replies
PPyBoy
Created by ttv94 on 1/7/2025 in #support
.sav file not being picked up
This is how it should look:
pyboy.core.cartridge.cartridge DEBUG Loading ROM file: 1048576 bytes
pyboy.core.cartridge.cartridge DEBUG Cartridge type: 0x13 - MBC3, SRAM, Battery
pyboy.core.cartridge.cartridge DEBUG Cartridge size: 64 ROM banks of 16KB, 4 RAM banks of 8KB
pyboy.core.cartridge.cartridge DEBUG Loading ROM file: 1048576 bytes
pyboy.core.cartridge.cartridge DEBUG Cartridge type: 0x13 - MBC3, SRAM, Battery
pyboy.core.cartridge.cartridge DEBUG Cartridge size: 64 ROM banks of 16KB, 4 RAM banks of 8KB
40 replies
PPyBoy
Created by ttv94 on 1/7/2025 in #support
.sav file not being picked up
Your file is the right size, and PyBoy reads banks at a fixed 8KB banks. So the only dynamic part is if your ROM reports too many banks (more than 4).
40 replies
PPyBoy
Created by ttv94 on 1/7/2025 in #support
.sav file not being picked up
You can also add --log-level=DEBUG to the command line. Maybe it tells you something more
40 replies
PPyBoy
Created by ttv94 on 1/7/2025 in #support
.sav file not being picked up
Ah, I see the assertion you mean now. You can send the .ram/.sav file (not the ROM!)? Then I'll look at it
40 replies
PPyBoy
Created by ttv94 on 1/7/2025 in #support
.sav file not being picked up
On PyBoy the file is not named .sav, but .ram, as you might have found out. The error in the screen shot is you pressing ctrl-c, so does it work?
40 replies
PPyBoy
Created by Sas2k on 12/18/2024 in #support
Save states not functioning properly when sound flag is used
I think I've inadvertently fixed this in the next version. I can only reproduce it on master
30 replies
PPyBoy
Created by Sas2k on 12/18/2024 in #support
Save states not functioning properly when sound flag is used
I’ll be waiting for your PR
30 replies