Forum Replies Created
-
AuthorPosts
-
trimmtrabbParticipant
ah great thanks for sharing!
trimmtrabbParticipantHi, try putting quotation marks either side of the numbers:
input_player1_turbo = "4" input_turbo_period = "6" input_turbo_duty_cycle = "3"
trimmtrabbParticipantas above, then I use Paragon Partition Manager (free trial but resizing still works after trial) to resize the ext4 partition.
trimmtrabbParticipantVery nice, would you mind sharing it?
trimmtrabbParticipantthanks for sharing!
trimmtrabbParticipantIf you install the jtest utility you can determine which buttons are being pressed on your pad. To install:
sudo apt-get install joystick
Then run:
jstest /dev/input/js0
trimmtrabbParticipantYou can use the usb copy function of RetroPie to transfer roms, it’s enabled by default on the RetroPie image. See here for more details: https://github.com/retropie/RetroPie-Setup/wiki/How-to-get-ROMs-on-the-SD-card
trimmtrabbParticipantHi, in the retroarch.cfg, any line beginning with a ‘#’ is commented out. You need to remove the # to enable the setting. Regarding save states, I don’t think imame4all supports save states but i’m sure mame4all-pi does (I don’t have my Pi at the moment so I can’t check) You can install mame4all-pi via the setup script:
cd RetroPie-Setup sudo ./retropie_setup.sh
Option 4 “Update RetroPie setup script”
restart RetroPie setup script then
Option 2 “Source based installation”
There should be an option in there to install mame4all-pi.
More info in this thread: https://www.petrockblock.com/forums/topic/mame-confusion-why-multiple-versions/Hope this helps
trimmtrabbParticipantHi, you can overclock your Pi by editing config.txt (the Pi’s version of a BIOS)
sudo nano /boot/config.txt
More info here: http://elinux.org/RPiconfig
Also have a look at the RetroPie overclocking thread: https://www.petrockblock.com/forums/topic/whats-your-overclock-settings/
trimmtrabbParticipantThanks guys, worked it out in the end and the sound was on a particular rom (though it worked fine on another tv…) Runs so much better than the default mame4all emuulator.
trimmtrabbParticipantcan you post the contents of your config.txt?
trimmtrabbParticipantGlad you got it working :-) To connect another pad you just need to add another line to /etc/rc.local (straight after the other line you added):
xboxdrv --trigger-as-button --wid 1 --led 3 --deadzone 4000 --silent & sleep 1
Info from the RetroPie Wiki: https://github.com/retropie/RetroPie-Setup/wiki/Setting-up-the-XBox360-controller
Then you will need to add 2 player controls to your Retroarch.cfg, just copy the player 1 controls and paste underneath. Then change
input_player1_joypad_index = "0"
toinput_player2_joypad_index = "1"
All keymaps need to change to input_player2 instead on input_player1, for example
input_player2_b_btn = "1"
etctrimmtrabbParticipantHi, start with a new image of RetroPie 1.9.1 on your SD card: https://www.petrockblock.com/download/retropie-project-image/
Boot the Pi up and SSH in, then run:sudo apt-get install xboxdrv
After it has installed run
sudo nano /etc/rc.local
You need to add this line:
xboxdrv --trigger-as-button --wid 0 --led 2 --deadzone 4000 --silent & sleep 1
just before exit 0
so it reads:
fi xboxdrv --trigger-as-button --wid 0 --led 2 --deadzone 4000 --silent & sleep 1 exit 0
Reboot and your pad should connect. If it doesn’t the 3rd party receiver may be incompatible. Assuming it does connect you can then follow the prompts on screen to input controls for Emulation Station. Then please follow post #2 in this thread to configure your Xbox pad:
That should get you up and running with the main emulators, hope this helps!
trimmtrabbParticipantyou need to SSH into the Pi and run:
cd RetroPie-Setup chmod +x retropie_setup.sh sudo ./retropie_setup.sh
This will start the setup script, then choose the ‘setup’ option and follow the instructions in the first link
trimmtrabbParticipantHi, if you are using a usb gamepad this guide should help you: https://www.petrockblock.com/2013/12/02/retropie-autoconfig-functionality/
If you are using a wireless gamepad such as an Xbox 360 pad or a PS3 pad have a look at the RetroPie-Setup wiki: https://github.com/retropie/RetroPie-Setup/wiki
Regarding the Mega Drive emulator the roms need to be in .smd or .bin format and need to be placed in /home/pi/RetroPie/roms/megadrive
Hope this helps!
trimmtrabbParticipantA configuration menu was added for Retroarch Netplay in the RetroPie setup script on 22/10/13: https://github.com/retropie/RetroPie-Setup/commits/master
Haven’t tried it yet, let us know how you get on!trimmtrabbParticipant[quote=4564]I found the .emulationstation folder but there was no folder inside, or anything. Is this bad?[/quote]
Did you try the roms from different source?
Did you install via the RetroPie setup script? If so it could be that some packages have failed to install correctly for whatever reason. Try using one of the pre-built Retropie images:
https://www.petrockblock.com/retropie/retropie-downloads/Use Windisk32imager to write the image to your card:
http://www.softpedia.com/get/CD-DVD-Tools/Data-CD-DVD-Burning/Win32-Disk-Imager.shtmltrimmtrabbParticipantHave you tried the roms from another source? Could you post the contents of es_systems.cfg from
/home/pi/.emulationstation/es_systems.cfg
trimmtrabbParticipantnice work, thanks for sharing :-)
trimmtrabbParticipantAh good, thanks for that think i’ll take the risk on a 3rd party one
trimmtrabbParticipantThe person in this thread: https://www.petrockblock.com/forums/topic/force-43-screen/ said setting
video_aspect_ratio = 1.175
gave good results. Or you can change it in the emulator (if it’s a Retroarch core) by accessing the GUI, think it’s f1 if you’re using a keyboard or you can map it to your gamepad/joystick in retroarch.cfg with:input_enable_hotkey_btn = "**" input_menu_toggle_btn = "**"
(the stars are where you specify the buttons on your controller)
trimmtrabbParticipant[quote=4514]I have just added that theme to the RetroPie downloads – thanks a lot for that![/quote]
Oh no problem! I softened the N64 logo on the second upload, it was a bit too pixelated around the edges. It’ll do for now, i’m sure somebody with Photoshop skills could do a better job! Thanks for all your hard work on RetroPie :-)
trimmtrabbParticipantI think you need to add this line to retroarch.cfg:
video_aspect_ratio_auto = false
According to the retroarch.cfg config file:
If this is true and video_aspect_ratio is not set,
aspect ratio is decided by libretro implementation.
If this is false, 1:1 PAR will always be assumed if video_aspect_ratio is not set.Here is the rest of the config options for retroarch.cfg for reference:
https://github.com/libretro/RetroArch/blob/master/retroarch.cfgtrimmtrabbParticipantjust to add, if you have the Xbox pad plugged into non-powered usb it won’t be able to draw enough power, try plugging it directly into one of the Pi’s usb ports
trimmtrabbParticipantcould be a power issue, what is your setup, devices attached, output of power supply etc?
trimmtrabbParticipantAh good :-) More info here on configuring a Xbox 360 gamepad:
trimmtrabbParticipantDon’t bother with the input config menu, the script does not seem to work at the moment. Here is my retroarch.cfg, located in /home/pi/RetroPie/configs/all/ This file contains the configurations for all Retroarch cores and the default gamepad/joystick controls for all cores. If you wish to specify different controls for certain cores you need to place a retroarch.cfg in the config folder for that core, for example for the psx emulator you place it in /home/pi/RetroPie/configs/psx This will override the default ‘all’ controls.
Edit via SSH:
nano /home/pi/RetroPie/configs/all/retroarch.cfg
input_player1_joypad_index = "0" input_player1_b_btn = "1" input_player1_y_btn = "3" input_player1_select_btn = "8" input_player1_start_btn = "9" input_player1_up_axis = "-5" input_player1_down_axis = "+5" input_player1_left_axis = "-4" input_player1_right_axis = "+4" input_player1_a_btn = "0" input_player1_x_btn = "2" input_player1_l_btn = "4" input_player1_r_btn = "5" input_player1_l2_btn = "6" input_player1_r2_btn = "7" input_player1_l3_btn = "11" input_player1_r3_btn = "12" input_player1_l_x_plus_axis = "+0" input_player1_l_x_minus_axis = "-0" input_player1_l_y_plus_axis = "+1" input_player1_l_y_minus_axis = "-1" input_player1_r_x_plus_axis = "+2" input_player1_r_x_minus_axis = "-2" input_player1_r_y_plus_axis = "+3" input_player1_r_y_minus_axis = "-3" input_enable_hotkey_btn = "8" input_exit_emulator_btn = "9" input_enable_hotkey_btn = "8" input_save_state_btn = "5" input_enable_hotkey_btn = "8" input_load_state_btn = "4" input_enable_hotkey_btn = "8" input_state_slot_increase_btn = "7" input_enable_hotkey_btn = "8" input_state_slot_decrease_btn ="6" input_enable_hotkey_btn = "8" input_menu_toggle_btn = "3"
The inputs listed above are for an Xbox 360 controller but you can use the template for your own controls. To determine which buttons are what on your controller you can install the jtest utility:
sudo apt-get install joystick
and then run:
jstest /dev/input/js0
(assuming you only have one gamepad plugged in)
This will tell you which buttons are being pressed so you can edit the retroarch.cfg accordingly.Regarding your last question, yes you can change settings like frame skip etc in the Retroarch cores by accessing the Retroarch GUI. You’ll see in my retroarch.cfg above I have to setup to access the GUI with:
input_enable_hotkey_btn = "8" input_menu_toggle_btn = "3"
So when you press your specified hotkey (back button on my Xbox pad) and the menu button you can access the GUI and change settings whilst running the emulator.
Here is the default Retroarch.cfg file for reference, have a look at the various options you can configure:
https://github.com/libretro/RetroArch/blob/master/retroarch.cfgtrimmtrabbParticipantIf you edit es_systems.cfg via SSH:
nano /home/pi/.emulationstation/es_systems.cfg
Locate the emulator you wish to modify and change the runcommand.sh start type from 1 to 2. For example, in the Playstation section you need to change this line:
/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1
so it reads:
DESCNAME=Sony Playstation 1 NAME=psx PATH=/home/pi/RetroPie/roms/psx EXTENSION=.img .IMG .7z .7Z .pbp .PBP .bin .BIN COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 2 "/home/pi/RetroPie/emulators/RetroArch/installdir/bin/retroarch -L /home/pi/RetroPie/emulatorcores/pcsx_rearmed/libretro.so --config /home/pi/RetroPie/configs/all/retroarch.cfg --appendconfig /home/pi/RetroPie/configs/psx/retroarch.cfg %ROM%" PLATFORMID=10
Then press ctrl-x and then y to save.
This should preserve the aspect ratiotrimmtrabbParticipantHi guys for anybody having problems loading roms, I have installed mame4all-pi via the setup script and the directories have changed from the guide in post #5. On RetroPie image 1.9.1, open es_systems.cfg to edit:
sudo nano /home/pi/.emulationstation/es_systems.cfg
Replace this:DESCNAME=MAME NAME=mame PATH=/home/pi/RetroPie/roms/mame EXTENSION=.zip .ZIP COMMAND=/home/pi/RetroPie/emulators/RetroArch/installdir/bin/retroarch -L /home/pi/RetroPie/emulatorcores/imame4all-libretro/libretro.so --config /home/pi/RetroPie/configs/all/retroarch.cfg --appendconfig /home/pi/RetroPie/configs/mame/retroarch.cfg %ROM%" # alternatively: COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/pifba/fba2x %ROM%" PLATFORMID=23
with this:
DESCNAME=MAME NAME=mame PATH=/home/pi/RetroPie/emulators/mame4all-pi/roms EXTENSION=.zip .ZIP COMMAND=/home/pi/RetroPie/emulators/mame4all-pi/mame %BASENAME% PLATFORMID=23
The roms need to go in /home/pi/RetroPie/emulators/mame4all-pi/roms (you need to create the directory)
So I can load roms ok but I have no sound on any roms, anybody else encountered this? Also has anybody managed to map controls to a gamepad and where is the config for this stored, mame.cfg does not specify any controls apart from the front end controls.
edit: just realised I didn’t update the RetroPie setup script before installing mame4all-pi, which may explain the naming difference of the directories
trimmtrabbParticipantAre you using a gamepad? Here is my retroarch.cfg, located in /home/pi/RetroPie/configs/all/ This file contains your gamepad configuration for all the Retroarch emulators, NES included.
input_player1_joypad_index = "0" input_player1_b_btn = "1" input_player1_y_btn = "3" input_player1_select_btn = "8" input_player1_start_btn = "9" input_player1_up_axis = "-5" input_player1_down_axis = "+5" input_player1_left_axis = "-4" input_player1_right_axis = "+4" input_player1_a_btn = "0" input_player1_x_btn = "2" input_player1_l_btn = "4" input_player1_r_btn = "5" input_player1_l2_btn = "6" input_player1_r2_btn = "7" input_player1_l3_btn = "11" input_player1_r3_btn = "12" input_player1_l_x_plus_axis = "+0" input_player1_l_x_minus_axis = "-0" input_player1_l_y_plus_axis = "+1" input_player1_l_y_minus_axis = "-1" input_player1_r_x_plus_axis = "+2" input_player1_r_x_minus_axis = "-2" input_player1_r_y_plus_axis = "+3" input_player1_r_y_minus_axis = "-3" input_enable_hotkey_btn = "8" input_exit_emulator_btn = "9" input_enable_hotkey_btn = "8" input_save_state_btn = "5" input_enable_hotkey_btn = "8" input_load_state_btn = "4" input_enable_hotkey_btn = "8" input_state_slot_increase_btn = "7" input_enable_hotkey_btn = "8" input_state_slot_decrease_btn ="6" input_enable_hotkey_btn = "8" input_menu_toggle_btn = "3"
I have assigned the save/load function to the shoulder buttons of my Xbox gamepad, enabled with a hotkey button (the back button). You can assign your own buttons but you need to determine how the buttons are recognised by the OS. You can install the jtest utility:
sudo apt-get install joystick
and then run:
jstest /dev/input/js0
(assuming you only have one gamepad plugged in)
This will tell you which buttons are being pressed so you can edit the retroarch.cfg accordingly.trimmtrabbParticipantSounds like it’s connected ok, try deleting es-input.cfg to reset the controls for Emulation Station:
cd .emulationstation sudo rm es_input.cfg
trimmtrabbParticipantah great, thanks for your advice. Will report back when I have finished the project
trimmtrabbParticipantAh great, thanks for the diagram! Just one last question, I was planning to purchase one of these LED’s with a built in resistor: http://www.maplin.co.uk/p/5mm-red-led-ck46a for use as power indicator for the SNES case. Is it possible to plug this LED straight into a pair of female to female jumper leads and then into the 5v & ground pins on the Pi (making sure the long and short leg are connected correctly) Would this leave enough power for the usb ports? (running a flash drive and a usb pad)
ThankyoutrimmtrabbParticipantHi, thanks for the quick reply! Think i’m going to get a faulty PAL SNES off Ebay, looks like the same power button as the USA SNES:
So I need to solder half of the red usb +5v to the red SNES power button wire and the other half to the black wire, does it matter which order? Would twisting the wires together and wrapping in electrical tape be ok as I don’t have a soldering iron? I see you have the SNES power LED working, would love to get this working too how did you achieve this? Sorry for all the questions, absolute beginner with all this!
ThankstrimmtrabbParticipantGreat work, really tidy. Could you tell me how you wired the SNES power button to the micro usb cable and what tools I would need to do this? Also what filler/resin did you use to set the extension ports in the back of the SNES?
-
AuthorPosts