Got GameGear emulator running - osmose
  • Hi all,

    I have been trying to get a GameGear emulator running over the last week or so, anyhow I finally have made some progress.

    I downloaded the latest version of osmose from here:

    https://www.dropbox.com/s/z6l69wge8q1xq7r/osmose-0.8.1+rpi20121122.tar.bz2

    Then using PC, I extracted the folder and renamed it just osmose. I then copied it to RPi - /home/pi/emulators/
    I also created rom folder /home/pi/emulators/gamegear

    Running my RPi via PC I got the emulator running with this:

    sudo /home/pi/emulators/osmose/./osmose -fs -scale2xscanline /home/pi/roms/gamegear/*.*

    To alter the controls edit osmose.ini in /home/pi/osmose_files

    I now have to work out how to select a rom rather than just load a specfic title.

    On Pimame 0.7.10 I moddied the menu.py to add the GameGear emulator:

    { 'title': "Game Gear(osmose)", 'type': COMMAND, 'command': 'sudo /home/pi/emulators/osmose/./osmose -joy -tv -fs shinobi1.gg }
  • Just another update before bedtime!

    I see that after making alterations to the files you need to reboot so see if it works, I was not doing this!

    I now have ROM selection working. My menu.py entry is this:

    { 'title': "Game Gear(osmose)", 'type': COMMAND, 'command': 'advmenu -cfg advmenu-osmose.rc' },

    I moddied one of the original advmenu.rc files and changed Lines 40 & 41:

    emulator "osmose" generic "/home/pi/emulators/osmose/osmose" "-scale2xscanline %p"

    emulator_roms "osmose" "/home/pi/roms/gamegear/"

    Just need to see how to alter the SAVE/LOAD commands to my GPIO assigned keys. Many other keys are easily changed in the osmose.ini file.

    Enjoy.
  • i've been trying to add this into 0.8. it runs great, but for some reason, it wont recognize the ' -fs' to go fullscreen in the command section of the menu config. any ideas?
  • @zzediker
    I'm working on it, the parameter must go after the rom file which the menu doesn't support. We will have to edit the menu itself to work with it or write a shell script to call instead of osmose which will run osmose with the parameter. Confusing?
  • haha, no i follow ya! thanks for the heads up!
  • Example of script. Point the menu to this file instead of the osmose binary.

    #!/bin/sh
    /home/pi/pimame/emulators/osmose/osmose $1 -joy 1 -joy 2 -fs -llama -etc

    The parameters are just random and won't work though. It will put the rom in the $1 place
  • so i would place this in the 'command' area of the menu config?
  • Well save it as osmose.sh and then point the menu to the file in the 'command' section
    :)
  • does the osmose.sh need to be located in a specific folder to work?
  • No, anyone is fine ;)
  • i got:

    /home/pi/pimame/emulators/osmose/osmose.sh: 1: /home/pi/pimame/emulators/osmose/osmose.sh: {rtf1ansiansicpg1252cocoasubrtf360: not found
    /home/pi/pimame/emulators/osmose/osmose.sh: 2: /home/pi/pimame/emulators/osmose/osmose.sh: {fonttblf0fmodernfcharset0: not found
    /home/pi/pimame/emulators/osmose/osmose.sh: 3: /home/pi/pimame/emulators/osmose/osmose.sh: {colortbl: not found
    /home/pi/pimame/emulators/osmose/osmose.sh: 3: /home/pi/pimame/emulators/osmose/osmose.sh: red255green255blue255: not found
    /home/pi/pimame/emulators/osmose/osmose.sh: 4: /home/pi/pimame/emulators/osmose/osmose.sh: margl1440margr144vieww9000view8400viewkind0: not found
    /home/pi/pimame/emulators/osmose/osmose.sh: 5: /home/pi/pimame/emulators/osmose/osmose.sh: deftab720: not found
    /home/pi/pimame/emulators/osmose/osmose.sh: 6: /home/pi/pimame/emulators/osmose/osmose.sh: pardpardeftab720qlqnatural: not found
    /home/pi/pimame/emulators/osmose/osmose.sh: 8: /home/pi/pimame/emulators/osmose/osmose.sh: f0fs24: not found
    /home/pi/pimame/emulators/osmose/osmose.sh: 9: /home/pi/pimame/emulators/osmose/osmose.sh: /home/pi/pimame/emulators/osmose/osmose: not found

    did i do something wrong?
  • You will have to edit the script to point to where OsmOse is stored.
    I just used /home/pi/pimame/emulators/osmose/osmose as an example ;)
  • yeah, sorry i did end up figuring out that mistake. but it only removed the last line of the errors above.
  • What parameters are you using?
    Try it without any just to test.
  • i only used -fs, but i'll give it a go without

    EDIT: i got the same resulting error messages
  • Oh alright ;)
    Good luck!

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!