Difference between revisions of "Extras/picodrive"

From Maemo Leste Wiki
Jump to navigationJump to search
 
(6 intermediate revisions by the same user not shown)
Line 9: Line 9:


Picodrive is a Master System, Megadrive/Genesis, Mega CD/Sega CD and 32X emulator running on Maemo-Leste.
Picodrive is a Master System, Megadrive/Genesis, Mega CD/Sega CD and 32X emulator running on Maemo-Leste.
(Note: Maemo 5 Picodrive version didn't support 32X emulation)


It works only on Nokia N900 and Motorola Droid 4 at the moment (thanks to their physical keyboards).
It works only on Nokia N900 and Motorola Droid 4 at the moment (thanks to their physical keyboards).


The emulator uses the generic GTK UI (this version of Picodrive is based on a well working raspberry version and not the old maemo one)
The emulator uses the generic GTK UI: This version of Picodrive is based on a well working raspberry version and not the old maemo one.




== Status ==
== Status ==


[[File:2024-06-06-000341_800x480_scrot.png|500px|center]]
[[File:2024-06-06-000341_800x480_scrot.png|500px|center]]


* Megadrive games are playable, with sound and input, running at 30 fps on N900 with frameskip=1.
* Megadrive games are playable, with sound and input, running at 30 fps on N900 with frameskip=1.
Without frameskip and sound, games run at 60 fps with default CPU frequencies.
Without frameskip and sound, games run at 60 fps with default CPU frequencies.


* 32X games are only playable without sound on N900 and run at around 40-50 fps. Some games work better with frameskip=1.
* 32X games are only playable without sound on N900 and run at around 40-50 fps. Some games work better with frameskip=1.


Default configuration is already optimised for Megadrive/Genesis games (with sound and 30 fps). Like other emulators hildon compositing must be deactivated while playing, using Ctl+Shift+N.
Default configuration is already optimised for Megadrive/Genesis games (with sound and 30 fps). Like other emulators hildon compositing must be deactivated while playing, using Ctl+Shift+N.


Keymapping and all other parameters can be modified directly in the user config file available in /home/user/.picodrive/config2.cfg
Keymapping and all other parameters can be modified directly in the user config file available in /home/user/.picodrive/config2.cfg


WARNING: on N900 in the GUI, 'enter menu' is associated to 'escape' key.  
WARNING: on N900 in the GUI, 'enter menu' is associated to 'escape' key.  
'back' is associated to 'e' key (hardcoded).
'back' is associated to 'e' key (hardcoded).
Almost all configuration parameters are available from the GUI.


=== Tested Megadrive/Genesis games ===
=== Tested Megadrive/Genesis games ===
Line 37: Line 52:


[[File:2024-06-06-000430 800x480 scrot.png|500px|center]]
[[File:2024-06-06-000430 800x480 scrot.png|500px|center]]


=== Tested 32X games ===
=== Tested 32X games ===
Line 48: Line 66:
If (for some reason) the GUI is not working, it is possible to directly launch a game from command line:
If (for some reason) the GUI is not working, it is possible to directly launch a game from command line:


/usr/games/picodrive/picodrive /game_dir/game.zip
/usr/games/picodrive/picodrive /game_dir/your_game.zip


Default keymap is visible in /home/user/.picodrive/config2.cfg
Default keymap is visible in /home/user/.picodrive/config2.cfg
Line 58: Line 76:
echo 1 > /sys/devices/system/cpu/cpufreq/boost
echo 1 > /sys/devices/system/cpu/cpufreq/boost


echo 720 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 720000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq


== TODO ==
== TODO ==

Latest revision as of 20:43, 6 June 2024

Extras/picodrive
Status Working
Devices Nokia_N900,Motorola_Droid_4
Import date 2024-05-27
Leste repo https://github.com/maemo-leste-extras/picodrive
Category Category:Games
Packager User:Arno11

Picodrive is a Master System, Megadrive/Genesis, Mega CD/Sega CD and 32X emulator running on Maemo-Leste.

(Note: Maemo 5 Picodrive version didn't support 32X emulation)

It works only on Nokia N900 and Motorola Droid 4 at the moment (thanks to their physical keyboards).

The emulator uses the generic GTK UI: This version of Picodrive is based on a well working raspberry version and not the old maemo one.


Status

2024-06-06-000341 800x480 scrot.png


  • Megadrive games are playable, with sound and input, running at 30 fps on N900 with frameskip=1.

Without frameskip and sound, games run at 60 fps with default CPU frequencies.


  • 32X games are only playable without sound on N900 and run at around 40-50 fps. Some games work better with frameskip=1.


Default configuration is already optimised for Megadrive/Genesis games (with sound and 30 fps). Like other emulators hildon compositing must be deactivated while playing, using Ctl+Shift+N.


Keymapping and all other parameters can be modified directly in the user config file available in /home/user/.picodrive/config2.cfg


WARNING: on N900 in the GUI, 'enter menu' is associated to 'escape' key. 'back' is associated to 'e' key (hardcoded).

Almost all configuration parameters are available from the GUI.



Tested Megadrive/Genesis games

Aladdin, , Behind Oasis, Desert Strike, Psycho Pinball, Phantasy Star 4, Sonic 2, Sonic 3, Street Fighter II CE, Strider, James Pond, Landstalker, Monster World, Quack Shot, Road Rash, Street Of Rage 2.

2024-06-06-000430 800x480 scrot.png



Tested 32X games

After Burner Complete, Knuckles Chaotix, Mortal Kombat 2, NBA Jam, Star Wars Arcade, Virtua Racing Deluxe.

2024-06-06-001745 800x480 scrot.png

Tips

If (for some reason) the GUI is not working, it is possible to directly launch a game from command line:

/usr/games/picodrive/picodrive /game_dir/your_game.zip

Default keymap is visible in /home/user/.picodrive/config2.cfg

On N900, it is recommended to activate boost mode (720MHz or 805MHz) while playing 32X games.

As root:

echo 1 > /sys/devices/system/cpu/cpufreq/boost

echo 720000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

TODO

  • Implement sane default keys for the devices
  • Try to implement Maemo 5 -touch- UI
  • Find a way to get a proper fullscreen mode