Regamebox for Pi2jamma

Regamebox Version 20170914

Click on this folder name the following files show up.

  • Regamebox_20170914.img
    • This is the image file for the SD Card
  • rpi2jamma.zip
    • This is the file for the USB Stick with all snaps and advmenu videos
  • rpi2jamma_nosnaps.zip
    • This is the file for the USB Stick without snaps.
  • patch_controls.tgz
    • patch if your controls do not work

We recommend to use this procedure

  1. Download the image file. Use MegaSync Program. Buy here if you don’t want to download.
  2. Download file rpi2jamma_nosnaps.zip. Use the one with the snaps later. First make sure with a simple setup that everything is fine.
  3. Please write image file to SD Card. Use 8 Gbyte SD Card. Use Windows Tool Win32diskimager Check this Youtube Video
  4. Unzip the file rpi2jamma_nosnaps.zip. Use 7zip (http://www.7-zip.de/download.html)
  5. Copy unzipped folder “rpi2jamma” to USB Stick. Use 32 Gbyte USB Stick

You are now finished with the basic software preparation Proceed with installation of your Pi2Jamma

If this first test is successful, start copying your roms or head to rpi2jamma with snaps.

File rpi2jamma.zip contains the files with snaps for USB Stick. 32Gbyte USB Stick is recommended. Decompress file and copy folder “rpi2jamma” to your USB stick. Copy patch file “patch_controls.tgz” to rpi2jamma folder on usb stick. Delete file “pi2scart_mode” from folder rpi2jamma USB Stick.

Support on Facebook Group Pi2Jamma

ReGamebox has the following features.

  • Backup solution
  • Configuration
    • Key Setting,
    • Video Settings,
    • Resolutions
    • Emulators Configurations
  • Export and import of configuration files
  • Logging
  • Support of USB sticks and HDs
  • Access via SFTP, SSH, Samba and Shell
  • Custom pixel perfect resolutions for all console emulators
  • Support of horizontal and vertical screen with automatic generation of game lists.
  • Video snaps in advmenu
  • Snaps for all other emulators
  • Dynamic Resolution Switcher Algorithms for Arcade Games
  • Patch Management System
  • Reboot and Shutdown Procedurs
  • Support of thousands of games
  • Game Menu is developed for display at 15Khz and low resolutions.
  • Dozen of themes
  • backgound music

 

Contents

End of content table.

Pi2Jamma Installation

Prerequisites:

Hardware

  • Pi2Jamma PCB
  • Stock Audio Cable for Pi2Jamma
  • SD Card for Raspberry Pi 8 Gbyte recommended
  • Raspberry Pi 3
  • USB Stick

Software

Installation

Step 1. Insert SD card to Raspberry Pi
Step 2. Insert USB Stick to Raspberry Pi
Step 3. Plug Audio Cable to Raspberry Pi
Step 4. Plug Raspberry Pi to Pi2jamma
Step 5. Plug Audio Cable to Pi2jamma
Step 6. Plug Pi2jamma to your Arcade Cab

You should see menu booting up. Congratulations you can now start copying your roms to the USB Stick.

Pi2Jamma Hardware

The Pi2Jamma comes with a GPIO female connector and will be plugged directly on the Raspberry Pi.

The Pi2Jamma has a Jamma Interface. The Jamma harness will plugged on the Jamma connector without any modification on the cab. Parts side is the top Side.

For Audio the stock audio cable will be plugged to the audio connector of the Pi2Jamma and Raspberry Pi.

Volume control is on the black potentiometer on the Pi2Jamma. Adjust it to your needs.

Button 4, 5 for both Player is on Jamma Connector Pin 25 and 26 and bottom side. Bottom 6 for both players is available on the screw terminal. The screw terminals has also one GND.

Raspberry Pi is powered via Jamma. Again, there’s no need for extra power, just Jamma interface. Raspberry Pi has over voltage protection.

ReGamebox Software Image

ReGamebox is based on the Arch Linux OS.

Emulators and Roms

It supports :

  • AdvMame
  • AdvMenu
  • Genesis
  • MegaDrive
  • lr-fbalpha
  • piFBA
  • Mame4All
  • Mame2000
  • Mame2003
  • PC Engine
  • Turbografx16
  • C64
  • SNES
  • NES
  • FDS
  • Atari 2600
  • PC Engine CD
  • SEGA CD
  • Master System
  • Game Gear
  • Sega 32x
  • N64 (experimental)
  • NEC supergrafx

commodore genesis snes pce tg16 gba arcadeNES atari2600gamegear master system sega cd

All roms are stored on USB Stick folder. On windows a USB Stick is listed as normal drive. Please format as fat32 or extfs. The downloaded image contains the files needed for the USB Stick. Search the folder rpi2jamma and copy this folder to the USB Stick.

Next copying of roms is described. Please copy roms to rpi2jamma/ plus the folder name in the table below.

i.e. Copy roms for atari2600 to folder rpi2jamma/roms/atari2600″ on USB stick. In the Pi2jamma distribution the path for the USB Stick is /mnt/sda.

System Folder Emulator
AdvMenu roms/advmame Front end AdvMame
AdvMame roms/advmame AdvMame
mame4all roms_m4all mame4all
piFba roms_fba piFba
lr-fbalpha roms/lr-fbalpha lr-fbalpha
Genesis roms/genesis Genesis Plus GX
Megadrive roms/genesis Genesis Plus GX
Master System roms/mastersystem Genesis Plus GX
Sega CD roms/segacd Genesis Plus GX
Gamegear roms/gamegear Genesis Plus GX
C64 roms/C64 Vice
PCE roms/pce lr-beetle-pce-fast
PCE CD roms/pcecd lr-beetle-pce-fast
TG16 roms/pce lr-beetle-pce-fast
SNES roms/snes lr-snes9x-next
NES/FDS roms/nes fceumm
NES roms/nestopia nestopia
Atari2600 roms/atari2600 stella
Mame2000 roms/mame2000 mame2000
Mame2003 roms/mame2003 mame2003
Sega 32x roms/sega32x picodrive

For Rom Set information refer to https://github.com/retropie/retropie-setup/wiki/Managing-ROMs

Do check the correct rom set speccification. Roms will be scanned on each start of system. The game menu shows the roms according the roms in your rom folders.

For emulator specific setting refer to emulator documentation.

For NES emulator the alternative nestopia exists. Use rom folder nestopia for using this this emulator.

For Megadrive emulator the alternative picodrive exists. Please adjust in autostart_test.sh if you want to to use this emulator.

The N64 is experimental and not good enough for playing.

Arcade Rom Versions

For downloading rom set basic knowledge of using zip files and torrent downloads is needed.

Arcade Rom Naming

Arcade roms come with a simple rom file and name like 1942b.zip. This name is unique and will be translated with the gamelister programm to the real name like “1942 (First Version)”. For this task a file name mapping table is needed. Find this files here:

/root/gamelister_folder/mame_list.csv 
/root/gamelister_folder/fba_list.csv

Carefully edit this file when you need to alter or to add names. Data Format is CSV

 1942b;1942 (First Version);a
  1. parameter is rome name.
  2. parameter is game name, which will be shown in game menu
  3. third parameter is orientation of game
    a – all ( game will be shown in both orientations: horizontal and vertical
    h – game will be shown only in horizontal orientation
    v – game will be shown only in vertical orientation

BIOS

The following console emulators require bios files to operate.

  • FDS – DISKSYS.ROM
  • PC Engine CD – SYSCARD3.PCE
  • Sega CD – bios_CD_E.bin, bios_CD_J.bin, bios_CD_U.bin

Place these bios files in their respective rom folders.

  • rpi2jamma/roms/nes
  • rpi2jamma/roms/pcecd
  • rpi2jamma/roms/segacd

Download the console bios files here

Dynamic Resolution Switching

DSR is offered for piFBA and mame4all. It works with two tables. One table is deduced from the emualtor and roms. One table maps the games resolution to the best resolution for your CRT and rpi. This table can be found in /root/res_table.txt. If you want to add or improve resolutions, then use this table.

Options and Themes

This section describes the features that can be used with the regamebox distribution. They gives you control about the whole software installation. The features are filtered which orientation and resolution one is using.

Option table can be found here

low res resolution, horizontal orientation

/root/.lemonlauncherH/game_options_lowres.conf

high res resolution, horizontal orientation

/root/.lemonlauncherH/game_options_highres.conf

low res resolution, vertical orientation

/root/.lemonlauncherV/game_options_lowres.conf

high res resolution, vertical orientation

/root/.lemonlauncherV/game_options_highres.conf

All Options have snaps on snap folder on USB Stick. Find this features:

  • Shutdown : Shutdown System
  • Set Volume: Set colume with joystick from 0 – 100. Exit menu with Start Player 1 Button
  • Command Shell : opens command shell with root rights. Execute “/root/autostart_test.sh” to get again to the menu.
  • Shutdown : Shutdown System
  • Reboot : Reboots System
  • IP Adress : If you connnected your rpi to network, this shows the ip.
  • Retroarch Menu : Opens graphical retroarch configuration menu.
  • Amiga UAE config : Opens uae4arm config screen.
  • C64 Vice Menu : Opens C64 Vice Config Screen.
  • Edit retroarch.config : retroarch config can be edited directly with the onbaord editor nano. Save with CTRL + x. Keyboard is needed. There is one retroarch config for high res and one for low res. Find the retroarch configs in /root/.config/retroarch
  • Edit advmame.rc : Advmame.rc can be edited directly with the onbaord editor nano. Save with CTRL + x. Keyboard is needed. There is one advmame.rc config for high res and one for low res. Find the advmame configs in /root/.advance
  • Edit C64 Keys : pikeyd is the demon for controlling keys via pi2jamma. The config file is at /etc/pikey165.conf
    With this options the vice specific settings will be edited.
    It can be edited directly with the onbaord editor nano. Save with CTRL + x. Keyboard is needed.
  • Edit Keys : pikeyd is the demon for controlling keys via pi2jamma. The config file is at /etc/pikey165.conf
    With this options the Key settings will be edited.
    It can be edited directly with the onbaord editor nano. Save with CTRL + x. Keyboard is needed.
  • Edit Custom Res: Each emulator can be started with custom hdmi_timings. hdmi_timings define the resolution of the screen. Edit the resolution for your needs and probably your crt.  See extra section
  • Make Backup : Whole Image will be backed up. The system files without roms of your USB Stick will be backed as well. All files will be copied as image file to “/mnt/sda/backup”
  • Show Log : Shows the log of regamebox.
  • Edit *.config : Various configs can be edited directly with the onbaord editor nano. Save with CTRL + x. Keyboard is needed.
  • Center Image: This tool helps to center your screen and outputs the proper hdmi_timings. This hdmi_timing can be used in option Edit custom res or in /boot/config.txt
  • Export config : Stores important configurations files like keymapping, retroarch, advmame, front end lemonlauncher config to USB Stick “/mnt/sda/config”. Compressed file is generated “/mnt/sda/config_pi2jamma.tgz”.
  • Import config : Restores config from “/mnt/sda/config”. Take care. This can mess up your system of course. Old configs will be backed up in /mnt/sda/backup_config
  • Lock Games:  Lock mode, this mode lock the ESC key and options shortcuts from the keyboard layout. Take this option if you want to run only one game and user should not change any setting, ie cabs in your store or public.
  • Unlock Games:  Lock mode, this mode lock the ESC key and options shortcuts from the keyboard layout. Take this option if you want to run only one game and user should not change any setting, ie cabs in your store or public.
  • Show Modes : Show settings of regamebox like high res or low res, screen orientation, flip screen, pi2scart mode etc
  • PI2SCART Mode : This mode shutdowns the pi2jamma control key demon pikeyd. Now the pi2scart addon can be used with pi2jamma. Also this mode disable the emulators piFBA and Mame4all since the only run with direct controls.
  • Toggle H/V changes the orientation settings for your CRT on the fly.
  • Toggle Music On/Off: Toggles music on and off. Find music on usb stick /mnt/sda/menu-audio
    Add mp3 and edit the arcade.pls playlist if you need new music.
  • Toggle Custom Res: Toggles custom res on or off. If off only the config.txt resolution is used.
  • Delete History : History stores all played retroarch games. Delete this list with this option.
  • Toggle History : Enable or Disable history menu item.
  • Toggle FAvourites : Enable or Disable favourites menu item.
  • Toggle Low/High Res:Use lowres for 15 khz screens and highres for other, iw bartops with hdmi, DVI or VGA
  • Toggles Themes : Enable or Disable themes menu item.
  • Flip Screen : Turns screen upside down or left right.
  • Set German Keyboard: Set keyboard locale to german.
  • Set UK Keyboard: Set keyboard locale to UK.
  • Test Keys: Keyboard is tested. This way pi2jamma can be tested. Keyboard is needed.
  • Test Gamepad : SNES USB Gamepad is tested.
  • Show Version : Shows version
  • Show Help : Show Help file
  • Admin or Gamer mode: Admin mode has all options and themes. Gamer mode has only emulators. This is for hiding all the configuration features from users. Ie for your game party. If you put your setup in game mode you need to modify file game_mode to admin_mode on your USB Stick in folder rpi2jamma to get again admin features.

Custom Resolutions

In the root folder is a file called custom_resolutions.txt . This table contains hdmi_settings for various resolutions. The best resolutions will be cho0sen for your emulator.

Resolutions can be added to the Optionmenu and select the resolution you want and it will be set for the system. This list can extended of course. Add your desired in the custom_resolutions.txt.

Another nice resolutions can be achieved by taking this hdmi_timings settings:

hdmi_timings=1600 1 115 150 170 240 1 4 3 15 0 0 0 60 0 32000000 1

for arcade setups

hdmi_timings=1536 1 115 150 170 224 1 4 3 15 0 0 0 60 0 32000000 1

Sir Ironic posted in our “free the raspberry pixel clock!” following resolutions.

https://github.com/raspberrypi/firmware/issues/734#issuecomment-282567810


EMULATIONSTATION
hdmi_timings 450 1 50 30 85 288 1 10 1 25 0 0 0 60 0 9600000 1

NEOGEO
hdmi_timings 1920 1 152 247 280 224 1 13 8 19 0 0 0 59.186 0 40610000 1

PCENGINE
hdmi_timings 1920 1 158 250 286 232 1 4 3 23 0 0 0 59.94 0 41060000 1

PLAYSTATION
hdmi_timings 1920 1 152 247 280 240 1 1 7 14 0 0 0 60 0 40860000 1
hdmi_timings 1920 1 132 247 280 288 1 3 3 18 0 0 0 50 0 40240000 1

MEGADRIVE/GENESIS/MASTER SYSTEM
hdmi_timings 1920 1 48 192 240 240 1 3 3 16 0 0 0 59.92 0 37680000 1
hdmi_timings 1920 1 48 192 240 288 1 6 3 16 0 0 0 49.70 0 37340000 1

NES
hdmi_timings 1920 1 158 200 286 240 1 1 8 13 0 0 0 60.10 0 40380000 1
hdmi_timings 1920 1 158 200 314 240 1 23 6 43 0 0 0 50.01 0 40450000 1

SNES
hdmi_timings 1920 1 160 200 286 224 1 9 8 21 0 0 0 60.10 0 40410000 1
hdmi_timings 1920 1 158 200 314 239 1 25 6 42 0 0 0 50.01 0 40450000 1

AMIGA
hdmi_timings 1920 1 180 192 334 262 1 14 15 22 0 0 0 50 0 41200000 1

224p x 60Hz
hdmi_timings 1920 1 152 247 280 224 1 8 7 23 0 0 0 60 0 40860000 1

240p x 60Hz
hdmi_timings 1920 1 152 247 280 240 1 3 7 12 0 0 0 60 0 40860000 1

216 x 60Hz
hdmi_timings 1920 1 152 247 280 224 1 8 7 23 0 0 0 60 0 40860000 1

192 x 60Hz
hdmi_timings 1920 1 152 247 280 224 1 8 7 23 0 0 0 60 0 40860000 1

256p x 55Hz
hdmi_timings 1920 1 100 320 260 288 1 1 3 1 0 0 0 55 0 41900000 1

254p53.20Hz
hdmi_timings 1920 1 100 320 260 254 1 1 3 36 0 0 0 53.20 0 40670000 1

224p58.97Hz
hdmi_timings 1920 1 50 250 250 250 1 8 10 8 0 0 0 58.97 0 38750000 1

240p55.72Hz
hdmi_timings 1920 1 50 250 250 260 1 4 5 8 0 0 0 55.72 0 38130000 1

For retropie good experience was made with this setting (advanced user only)

/opt/retropie/configs/all/runcommand-onstart.sh
vcgencmd hdmi_timings 1600 1 115 150 170 240 1 4 3 15 0 0 0 60 0 32000000 1
tvservice -e "DMT 87"
fbset -depth 8 && fbset -depth 16 -xres 1600 -yres 240

/opt/retropie/configs/all/runcommand-onend.sh
vcgencmd hdmi_timings 320 1 23 25 39 240 1 4 3 15 0 0 0 60 0 6400000 1
tvservice -e "DMT 87"
fbset -depth 8 && fbset -depth 16 -xres 320 -yres 240

Themes

Themes can be selected in the section themes and will be installed on the fly. There is a test theme for adjusting your Arcade TV.

Here are some examples

theme_00 theme_01 theme_02 theme_03 theme_04

Test

The test section is for finding the correct button mapping. Since Pi2Jamma deals now with loads of stand alone emulators plus retroarch cores, special attention is needed for button mapping. Thus we added for a test section. The test section needs the rom “sf2ce”, because this rom is a 6 button game. The following emulators are listed :

  • piFBA
    • Find the service menu with “P1 coin + P1 start + P1 Button3″
  • lr-fbalpha
    • Find the service menu with key F1, Go to list of previously played games>options>game mode = test
  • advmame
    • Key F2
  • mame4all
    • Key F2

File test.conf is needed. Please ask for it.

Key Settings

For all emulators a common key layout is used

  • Player 1 Start + Player 1 Button 1 = ESC (Quit Game)
  • Player 1 Start + Player 1 COIN = ESC (Quit Game)
  • Player 1 Up = Arrow Up
  • Player 1 Down = Arrow Down
  • Player 1 Left = Arrow Left
  • Player 1 Right = Arrow Right
  • Player 1 Button 1 = LEFT CTRL
  • Player 1 Button 2 = LEFT ALT
  • Player 1 Button 3 = SPACE
  • Player 1 Button 4 = LEFT SHIFT
  • Player 1 Button 5 = Z
  • Player 1 Button 6 = X
  • Player 1 Start = 1
  • Player 1 Coin = 5
  • Player 2 Up = R
  • Player 2 Down = F
  • Player 2 Left = D
  • Player 2 Right = G
  • Player 2 Button 1 = A
  • Player 2 Button 2 = S
  • Player 2 Button 3 = Q
  • Player 2 Button 4 = W
  • Player 2 Button 5 = I
  • Player 2 Button 6 = K
  • Player 2 Start = 2
  • Player 1 Start + Player Start 2 + Player 1 Button 1 = F1 (Service Menu)
  • Player 1 Start + Player Start 2 + Player 1 Button 2 = F2 (Service Menu)
  • Player 1 Start + Player Start 2 + Player 1 Button 3 = TAB (Settings Menu)
  • Player 2 Start + Player 1 Button 1 = F12 (Menu C64, Filter ADVMAME)
  • Player 1 coin + Player 2 Start = 6 (Coin Player 2)
  • Player 1 Start + Player 2 Start + Player 1 up = 5 (Coin Player 1)

piFba and m4all do work with direct controls and the exit key is hard coded : coin+p1start+p1down

C64 and similar home computers needs extra settings. To change this settings go to options – edit keys.

I’ve given up to find a good ESC button combination for all users. Just go to Options – Edit Keys and define your own. Or use my settings. There will be no more changes here on this topic.

Background Music

Background Music is played when started. If a USB Stick is used, then check folder USB Stick rpi2jamma/menu-audio
All the items in playlist file arcade.pls are played. Add your music mp3 files in this folder and add them to the playlist file. Player app used is mpg123

Turn Off Background Music  in Options – Toggle Music

Splash Screen

A splash screen is loaded on startup. Find this file on /root/pleasewait.png. Just add here a new file if you want a new splash.

Implementation via splash.service file

[Unit]
Description = Splashscreen during boot
DefaultDependencies=no
After=local-fs.target
Before=base.target

[Service]
type=oneshot
ExecStart=/bin/sh -c ‘fbv /root/pleasewait.png’
RemainAfterExit=yes

[Install]
WantedBy=getty.target

This /boot/cmdline.txt is used

root=/dev/mmcblk0p2 rw rootwait console=ttyAMA0,115200 console=tty9 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyAMA0,115200 elevator=noop

Put these files in splash folder on usb stick and use this script splash.sh for installation

#!/bin/bash
#pacman -S fbv
cp /mnt/sda/splash/cmdline.txt /boot
cp /mnt/sda/splash/pleasewait.png /root/
cp splash.service /lib/systemd/system

systemctl enable /lib/systemd/system/splash.service

#Taken from https://natahori.wordpress.com/2013/04/04/silentboot-und-bootsplash-auf-raspberry-pi/

 

Snaps

Snaps show a little preview image on lemonlauncher and advmenu. The snaps for lemonlauncher are located on the USB Stick folder rpi2jamma/snaps. The snaps for lemonlauncher are not full screen so a resolution of 140x 105 can be used. For the snaps in advmenu the preview is almost fullscreen, so a higher resolution is recommended. For this snaps use folder rpi2jamma/roms_advmame/snap

Find below new 4443 Images for NES, SNES, MegaDrive, Atari2600, Sega32x, GamesGear, Genesis, Master System, PC Engine

Arcade

http://www.progettosnaps.net/snapshots/

NES, 1271 Images
https://mega.nz/…

SNES, 973 Images
https://mega.nz/…

Atari 2600, 349 Images
https://mega.nz/…

Sega 32x, 36 Images
https://mega.nz/…

Mega Drive, Genesis, 948 Images
https://mega.nz/…

GameGear, 293 Images
https://mega.nz/…

MasterSystem, 312 Images
https://mega.nz/…

PC Engine, 261 Images
https://mega.nz/…

Patches

Patches must be copied to USB Stick in folder “rpi2jamma”. Plug in usb stick, start your arcade machine. Patch is executed automatically by ReGamebox. After installation the patch will receive the file name addition “done”.

Creating own patch. Create the folders and file you want to patch. Compress the files to tar and gzip format using 7zip or similar programs. Patch name extension name is .tgz

Find here a patch for fixing game emulator exits and blurry advmame screen.

https://mega.nz/#!ARYSkJrZ!Nsh4Ud72v3fdw4d7Uq_lnra3P2WeSihEbHD8BjWXBUg

FAQ

Q: What the heck about this resolution and pixel perfect display?A: The resolution of an arcade game is different from game to game. Some games don’t display at a true 15khz and therefore won’t display a picture. What the dsr tool does is set the pi output to match the game as close to the original hardware as possible. Arcade hardware also made use of the overscan to increase there horizontal pixel count and tweaked the vertical sync to display more lines. The point of it is to display the games as true to original hardware as possible. Because the pi doesn’t output all the resolutions natively if it’s set to say 320×240 @ 15khz any game with a different resolution displays a blank screen the dsr fixed that issue and also allows the resolution to change without a reboot.

Q: How does the dynamic resolution switching works?

A: We work with two tables. One table is deduced from the emualtor and roms. One table maps the games resolution to the best resolution for your CRT. This table can be found in /root/res_table.txt. If you want to add or improve resolutions, then use this table.

i.e. m4all: file named “m4all_games_res.txt”..
..
gauntlet;”Gauntlet”;336×240@60;H
.
.
/root/res_table.txt”
.

344×240@60;hdmi_timings 506 1 8 44 52 256 1 6 10 6 0 0 0 60 0 9600000 1

ie : for Gauntlet
336×240@60;hdmi_timings 506 1 8 44 52 240 1 6 10 6 0 0 0 60 0 9600000 1

Q: Is it possible to map your gpio interface to keyboard events?

A: Yes, use pikeyd https://github.com/mmoller2k/pikeyd . We made a version called pikeyd165. Lib http://www.airspayce.com/mikem/bcm2835/ is needed for that.

Q: How to change keyboard leayout?

A: To change keyboard layout edit this file:

etc/vconsole.conf

KEYMAP=de-latin1-nodeadkeys

Change to:

KEYMAP=gb-latin1-nodeadkeys

That’s for British input. Use ‘us’ for American.

Or use options – Set keyboard

Q: Vertical mode is flipped. How can I change orientation of display ?

A: in /boot/config.txt add one of this option.

display_rotate=0 Normal
display_rotate=1 90 degrees
display_rotate=2 180 degrees
display_rotate=3 270 degrees
display_rotate=0x10000 horizontal flip
display_rotate=0x20000 vertical flip

Or use Options – Flip

Q: Which fs types will be supported for the USB Sticks

A: fat32, exfat

Q: Is ssh possible?

A: Login with use x pass y, change to su pass root

Q: CPS has a pixel clock of 7Mhz. Is is supported natively?

A: Rpi has 6,4 and 9,6 Mhz. Important is to get as close as possible to the V-fequency, because this defines the speed of the game. By adjusting the V-Freq ie. for R-Type one can get very close to 55hz, and this is the exact gameplay. See above question for dynamic resolution switching, how to configure the resolution and V-freq. We’re have retrieved the best values using an o-scope.

Ie. R-ytpe
 /opt/vc/bin/vcgencmd hdmi_timings 506 1 8 44 52 264 1 6 10 6 0 0 0 60 0 9600000 1

is giving 55hz measured with o-scope.

Q: How does this game menu work?

A: Look at directory /root

.lemonlauncherH
.lemonlauncherV
.lemonlauncher -> .lemonlauncherH

lemonlauncherH == Horizontal Config
lemonlauncherV == VerticaleConfig

file .lemonlauncher is a link on one of both. link will be set with startup script according orientation set.

Make your changes to .lemonlauncherH and .lemonlauncherV .

Q: How to wifi?

A: Edit /etc/netctl/wlan-home is needed


/etc/netctl# nano /etc/netctl/wlan-home
Description='A simple WPA encrypted wireless connection'
Interface=wlan0
Connection=wireless
Security=wpa

IP=dhcp

ESSID='MyNetwork'
# Prepend hexadecimal keys with \"
# If your key starts with ", write it as '""<key>"'
# See also: the section on special quoting rules in netctl.profile(5)
Key='WirelessKey'
# Uncomment this if your ssid is hidden
#Hidden=yes

Edit MyNetwork and WirelessKey as needed.

Proceed with start :

# netctl start wlan-home

To make this network start on boot:

# netctl enable wlan-home

Find out your ip adress with ifconfig. It should start with 192.168.x.x. Take care if you use cable connection eth0 or wlan wlan0.

 

Q: How to play vertical games on a horizontal monitor in AdvMame?

A: Open shell, type “nano root/.advance/advmame.rc” or options – command shell

Add the following line:

vertical/display_ror yes

Disable with:

verical/display_ror no

To do it on a per game basis:

dkong/display_ror yes

Q: How is the joystick mapped?
A: Start options – Edit Keys -configuration files is in /etc/pikeyd165.conf

Q: Is there a documentation to edit retroarch.config
A: Look here

https://github.com/libretro/RetroArch/blob/master/retroarch.cfg

some nice forum posts

https://retropie.org.uk/forum/topic/3634/core-input-remapping-and-saving-core-retroarch-cfg-files/8

https://retropie.org.uk/forum/post/12587

For core dependent control remapping read this

https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration#core-input-remapping

This may also help (input remapping is outside of the retroarch.cfg files)

https://retropie.org.uk/forum/topic/2199/specific-retroarch-emulator-settings-are-being-over-written-after-i-quit-the-game/24

Q: how to change to USB Joystick for retroarch emulator. A: Start retroarch emulator core like lr-fbaalpha, snes or other. Change to menu with F1. Apply your settings.

Changes in Image

Version 20170914

  • New feature graphical config for retroarch menu, amiga uae4arm and c64 vice
  • New feature audio on and off improved as variables on usb stick
  • New feature custom resolution on and off. This is the 1600 resolution stuff by Michael
  • New feature autostart for advmame. use file autostart_advm in folder rpi2jamma on usb stick
  • New feature volume control. Find it in Options – volume control
  • New feature history. Every game played will be added to the history list. This is useful for building up a favourites list or just to keep track what was played. History list will be stored on USB Stick
  • New feature delete history list
  • New feature Toggle history list. History will be shown or not shown.
  • New feature Favourites List. Put in your favourites in this list. The list is stored on the USB Stick. favourites.conf are stored on usb stick folder rpi2jamma. Recommended use is to gather your games and then copy and paste them from history.conf
  • New feature Toggle favourites list. Favourites will be shown or not shown.
  • reworked some themes
  • New feature Toggle Themes. Themes menu will be shown or not shown.
  • fix : show only advmenu if roms are present in roms/advmame
  • fix : added p1start p1coin as ESC to pikeyd165.conf and pikeyd165_jukebox.conf
  • New feature show log. Shows last 100 lines of log. Navigate with P1 Stick and quit for exit.
  • New feature show modes. Shows the current set variables like screen orientation, flip, music on and off, path setting etc
  • New Feature Set Keyboard locale UK, system will reboot
  • New Feature Set Keyboard locale Germany, system will reboot
  • New Feature Flip screen. Works on both orientations horizontal and vertical. Advame can flip on horizontal screen via config file advmame.rc.
  • New gamelists for arcade and fba emulators. Gamelist now supports the current romsets for advame (6000 games plus) and lr-fbaalpha ( 5000 games plus).
  • New Feature Vertical Game support for all arcade emulators and lr-fbaalpha.
  • New snaps for options. All options have now a snap with a short description what they do.
  • New Feature highres mode. This mode allows now to use regamebox edition in bartop systems with LCD.
  • reworked make backup
  • reworked export and import config
  • added retroarch, vice, mednafen to import and export configs.
  • reworked autostart.sh
  • New feature options, test gamepad
  • New feature options, test keyboard for pi2jamma controls
  • New feature options, show version
  • New feature options,  show help
  • Added SNES USB Gamepad support
  • added SNES USB Gamepad to advmame
  • added SNES USB Gamepad to retroarch
    • - use L + R + START + SELECT for toggle menu in retroarch. Use A for activate menu, B deselect
      – use start + select for quit in advmame
  • fixed bad audio quality in config.txt with audio_pwm_mode = 2
  • game controls in menu for retroarch. Space ist b1 enter menu item, alt b2 leave menu item
  • moved patch handling to bashrc. This way autostart can be patched.
  • advmame modelines uncommented, but still there
    advmame_lowres.rc

Version 20170427

New features are based on the work on Frank Skilton Set-Video Tool (Options-Center Image), Michael Vencio Resolution scripts for retroarch cores pixel perfecty, Nicholas Tod work on the game list handling plus launch scripts plus testing from Lewis Waddington, Mark Singleton and Joeri van Haren.

For features regarding new resolution see https://www.facebook.com/groups/1649021265123737/permalink/1880674195291775/
version 0.6.2

For features regarding resolution timing tool see https://www.facebook.com/groups/1649021265123737/permalink/1893986943960500/
version 2.0

Lots of bug fixes, new key mapping, ssh root access, improved gamelister for retroarch arcade cores, new version of lemonlauncher with filter empty folders, continue menu on last executed game, new logging functions, new resolution handling based on configuration files. New emulators psx, gb, gba, spectrum under test.

Version 20170316

New background music loop
New splash screen
Option background audio on and off
Pi2scart mode with ghost key fix
New emulators mame 2003, mame 2000 retroarch core, picodrive for 32x and Megadrive , nestopia, , n64 experimental, nec supergrafx
New game menu sort order
Bug fixes on themes
Retroarch pixel theme icons fixed
Coin hotkey is start and joystick up
New hotkeys

Version 20170403

  • Splash Screen
  • Background Audio
  • New Keyboard Layout (exit is Start P1 and Start P2)
    full names for advmame
  • lr-alpha esc fixed
  • snaps for advmame
  • snaps for themes
  • Exports with date stamp
  • Game and EMU Escape now Start1 plus Start2
  • fixed Player Button4 issue
  • Samples for advmame and m4all
  • reworked Vertical settings
  • added 10 new themes simple, lava and yellow, mashup-1, mashup-2, marioinvaders, tron arcade, tron flynn, forge-vert, simple-vert. We now have about 30 themes
  • added toggle hv without reboot. See options
  • no consoles in vertical mode, because all consoles will play horizontal
  • admin and game mode
    if on USB Stick folder rpi2jamma file admin_mode exists, then options will be shown
    if on USB Stick folder rpi2jamma file gamer_mode exists, no options will be shown
  • pi2scart mode: no emulators with direct controls are in the list
  • test version for mame2003
  • fixed pikeyd165 loop
  • fixed saving of temp files in rom folders
  • Gamelister with parameter files and filter lists for advmame and lr-fbaalpha
  • Support for AdcMame 3.1
  • snaps on sd card
  • pi2scart function
  • added package mame2003(test), fbv, joy2key, midnight commander (mc)

 

Image version 20170129

Changes

resolution 240p corrected
resolution scart fixed
reworked resolutions section
added resolution Mark
add in option the point “edit key config” making own key layouts
reworked themes. for own just add themes in /root/themes/themes and games_options.conf
reworked rom startup
new themes outrun v2, internaional karate, ps wide and align
reworked c64, p1start = F12, P1B1 = ENTER. emulator quit without keyboard
installed wifi support wpa_supplicant
samples copied to /root/.advance/sample, added this path to mame4all
made pixel perfect settings for lr-fbalpha
alpha sorting corrected. Joy left or right plus P1B3 jumps letter

Comments are closed.