mupen64plus / mupen64plus-ui-console

Console (command-line) front-end user interface for Mupen64Plus v2.0 project
46 stars 68 forks source link

Basic support for GB cart loader command. #41

Closed bsmiles32 closed 7 years ago

bsmiles32 commented 7 years ago

Definition of GB carts loaded inside transferpak is done through the mupen64plus.cfg file as follow :

[TransferPak]
GB-rom-1 = "path/to/gb_rom.gb"
GB-ram-1 = "path/to/gb_rom.sav"
GB-rom-2 ...
GB-ram-2 ...

Setting an empty GB ROM acts as if GB cart was removed form TransferPak. Setting an empty GB RAM let the Core generate a blank save file.

These parameters are modifiable during emulator execution. You just need to trigger the GB cart change button, and these parameters will be reloaded.

You can also specify these at program startup using command-line arguments --gb-{rom,ram}-{1,2,3,4}

bsmiles32 commented 7 years ago

Currently it fails on Travis because https://github.com/mupen64plus/mupen64plus-core/pull/411 (PR which adds the GB_CART_LOADER functions) is not yet merged.

bsmiles32 commented 7 years ago

Closing & Reopening PR to re-trigger travis CI build.

fzurita commented 6 years ago

@bsmiles32 I haven't looked to deeply into this, so I might as well ask to save some time. Is the core able to write back to the RAM files?

bsmiles32 commented 6 years ago

Not deeply tested, but should work no problem. If unsure, backup your GB saves before using them with m64p.

fzurita commented 6 years ago

Thanks!