Sega Pico ROM support in RetroPie
-
As nice as RetroArch is, it's notorious for leaving this type of peripheral functionality out during integration. I can't find a word about the 'Magic Pen' at the RetroArch wiki, but the PicoDrive emulator is perfectly capable of pen emulation by way the mouse. Perhaps like Stella for the 2600, a standalone port would be necessary to control all the games.
-
As nice as RetroArch is, it's notorious for leaving this type of peripheral functionality out during integration.
That is what I'm discovering in my searches as well but I did find something about lr-genesis-plus-gx now having Light Gun / Mouse support
a standalone port would be necessary to control all the games.
I was actually thinking the same thing last night and started experimenting with DGen which I can get a mouse point to show and move on top of the game but I can't get the game to use it as the "Magic Pen".
There might be a setting in /opt/retropie/configs/megadrive/dgenrc that I'm missing.
Thanks for the reply!
-
The DGen feature list doesn't mention Pico Pen support and I suspect mouse support is limited to the 'Sega Mouse'. However, taking into account the RetroArch wiki notation that says PicoDrive was "written having ARM-based handheld devices in mind" and the fact that several pre-compiled binaries exist for various ARM devices on the PicoDrive site, I wonder if it wouldn't be a reasonably simple task of just compiling and running PicoDrive natively.
-
I wonder if it wouldn't be a reasonably simple task of just compiling and running PicoDrive natively.
Thanks @mediamogul I got it working!
Okay so I cheated and found a pre-compiled version of PicoDrive for Raspberry Pi here:
https://www.raspberrypi.org/forums/viewtopic.php?f=78&t=53061Then I extracted it to the emulation directory:
sudo tar xvzf picodrive.tgz -C /opt/retropie/emulators/
I added this line to the bottom of the Megadrive emulators list:
nano /opt/retropie/configs/megadrive/emulators.cfg
picodrive = "/opt/retropie/emulators/picodrive/PicoDrive -config /opt/retropie/configs/megadrive/picodrive.cfg %ROM%"
(Optional) I added this so my wireless Xbox 360 controller would work with the emulator:
nano /opt/retropie/configs/megadrive/picodrive.cfg
binddev = sdl:Xbox 360 Wireless Receiver (XBOX) bind backspace = Fast forward bind \xA0 = player1 B bind \xA1 = player1 C bind \xA2 = player1 A bind \xA3 = player1 X bind \xA4 = player1 Y bind \xA5 = player1 Z bind \xA8 = player1 MODE bind \xA9 = player1 START bind \xAA = Enter Menu bind up = player1 UP bind down = player1 DOWN bind right = player1 RIGHT bind left = player1 LEFT bind f1 = Save State bind f2 = Load State bind f3 = Prev Save Slot bind f4 = Next Save Slot bind f5 = Switch Renderer bind f6 = Pico Prev page bind f7 = Pico Next page bind f8 = Pico Switch input
When you launch the Pico ROM just pick "picodrive" from the Runcommand and after the "game" loads, you have to press F8 on the keyboard to toggle to "Input: Pen on Pad" and then I can use my left Analog stick to move the mouse cursor around and the B button to click on objects. F6 & F7 will flip through the "pages".
I guess I could have bound the F6/F7/F8 keys to buttons on my controller but I haven't gotten that far yet.
-
I did noticed that PicoDrive is not using my custom
/opt/retropie/configs/megadrive/picodrive.cfg
but instead using the defaultconfig.cfg
from the same directory as PicoDrive.This is the PicoDrive usage example:
PicoDrive v1.81 (c) notaz, 2006-2009,2013 usage: /opt/retropie/emulators/picodrive/PicoDrive [options] [romfile] options: -config <file> use specified config file instead of default 'config.cfg' -loadstate <num> if ROM is specified, try loading savestate slot <num>
Does anyone see something I'm missing?
-
Nice work. I might try to compile the latest version and add it later this evening. It's always great when things go this smoothly.
Does anyone see something I'm missing?
Unless it's a typo above, it appears you have a return after
-config
and before your path in the 'emulators.cfg' file. It should all be one line. -
Nice work. I might try to compile the latest version and add it later this evening. It's always great when things go this smoothly.
Agreed!
Unless it's a typo above, it appears you have a return after -config and before your path in the 'emulators.cfg' file. It should all be one line.
Good eye. I've corrected my earlier post but I looked on my Pi and I had it all one line so I guess that wasn't the issue :(
-
Curiouser and curiouser. Could be a permissions problem perhaps. I have also seen the rare and odd occasion where the software requires the config file to have a particular name. You might try renaming the file and 'emulators.cfg' reference to 'config.cfg', noted as being the default file name in your usage example above.
-
You might try renaming the file and 'emulators.cfg' reference to 'config.cfg', noted as being the default file name in your usage example above.
I tried renaming to 'config.cfg' and I don't think that worked.
Really this isn't a big deal. I was just hoping to have all my config files under one roof
/opt/retropie/configs/
so they're easy to backup.Now I've got some appropriate games for the little kiddos to play over the holidays!
-
Just keep them away from 'Donkey Kong Jr. Math'. An ape in a diaper has no business teaching arithmetic.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.