Forum Replies Created
-
AuthorPosts
-
dudleydesParticipant
Thanks to EBZero for his post at the RetroPie subreddit for pointing me in the right direction (https://www.reddit.com/r/RetroPie/comments/3p5pkq/beware_using_select_as_a_joypad_hotkey_in_nes/).
The problem arises because the Select key is used in Star Tropics to navigate down in the game menus as well as being the hotkey. The easiest way to get around this is to remap the Select key to another button.
1. Launch Star Tropics from ES and before it loads, press any key or js0 to bring up the runcommand menu, then select option 9 (Edit custom RetroArch config for this rom).
2. Add the following line to the custom config file:
input_player1_select_btn = "x"
where x is the number of the button you wish to use for Select.3. Now exit and launch the rom. You should now be able to enter a name and start a game using the remapped Select button.
This works in lr-fceumm but not in lr-nestopia. I haven’t tested Star Tropics 2 but I assume it should work with the same method.
dudleydesParticipantI think I may know what you are referring to. In Kodi, it is possible to remove the mouse pointer by going to System > Settings > System > Input Devices and unchecking the Enable Mouse and touch screen support. After doing this, when you launch Kodi, the mouse pointer will appear momentarily, then disappear and you will see the Kodi logo.
I have not found a way to do the same with lbreakout2. I don’t find it a problem as the mouse pointer disappears as soon as I press fire. You could contact the developer.
Yes, you can use the Linux Joystick Mapper program to map DOS games. I mapped mouse and keyboard controls to my PS3 controller for Ultima Underworld: Stygian Abyss. Before you try, please check your post on mapping multiple controllers in DOSBox as I have posted a link that may be helpful.
dudleydesParticipantIs this post useful for enabling multi tap for SNES?
https://www.petrockblock.com/forums/topic/multi-tap-support/#post-95739
dudleydesParticipantI have tried lbreakout2 (built from http://lgames.sourceforge.net/index.php?project=LBreakout2) and have not observed any of the behaviour you mention in your post.
Here is the mapping file I used for a PS3 controller
# Mapping for lbreakout2 for PS3 Controller # Map mouse axis vendor=0x054c product=0x0268 src=0 target=mouse axis=0 axis vendor=0x054c product=0x0268 src=1 target=mouse axis=1 button vendor=0x054c product=0x0268 src=14 target=mouse button=0 button vendor=0x054c product=0x0268 src=15 target=mouse button=1 # Actions button vendor=0x054c product=0x0268 src=0 target=kbd button="esc" button vendor=0x054c product=0x0268 src=3 target=kbd button="enter" button vendor=0x054c product=0x0268 src=10 target=kbd button="x" button vendor=0x054c product=0x0268 src=11 target=kbd button="c" button vendor=0x054c product=0x0268 src=12 target=kbd button="y"
dudleydesParticipantAbove the exit 0 in the /etc/rc.local file, try adding the following:
hciconfig hci0 piscan
dudleydesParticipantTry adding a sleep command before ES starts so that there is enough time for your controller to pair. Instructions to do this at the following post:
https://www.petrockblock.com/forums/topic/solved-2-ps3-controllers/#post-106888
If you are losing connection after pairing, then try the second step, changing the rc.local file and rebooting.
dudleydesParticipantI’ve managed to get a mouse working in Body Count by changing the device type. In the RGUI, I went to Settings > Input and changed user 1 device type to MD Mouse.
I’ve had no luck with Gangster Town. Like you, if I set the input device to MS Light Phaser, the mouse buttons work but I can’t move the cursor.
As I’m not sure what I’m trying to map, I’m not sure the Linux Joystick Mapper will help.
dudleydesParticipantI’ve successfully used the Linux Joystick Mapper (http://sourceforge.net/projects/linuxjoymap/) to map the mouse to my controller for Ultima Underworld: Stygian Abyss in DOSBox.
I have written a tutorial on how to compile the binary and launch the program with an emulator or port at the link below.
https://www.petrockblock.com/forums/topic/mapping-a-game-controller-in-kodi/
To map the mouse, these are the lines I used in my mapper file (for a PS3 controller).
# Map mouse axis vendor=0x054c product=0x0268 src=0 target=mouse axis=0 axis vendor=0x054c product=0x0268 src=1 target=mouse axis=1 button vendor=0x054c product=0x0268 src=14 target=mouse button=0 button vendor=0x054c product=0x0268 src=15 target=mouse button=1
This maps mouse movement to the left analogue stick, left click to the X button and right click to the square button.
Let me know what ROM for the Genesis Plus GX you’re looking at and I’ll take a look at it.
dudleydesParticipantThanks. I may have found a solution in the Linux Joystick Mapper.
dudleydesParticipantYou could try running a bash script to rename the roms. I don’t know how to do that myself but try google (http://bfy.tw/rVb)
Regards the gamelist.xml files, the simplest solution may be to insert your SD card into your desktop and use the search and replace function on a text editor.
Either way, make sure you back up your romset and gamelist.xml before you start. It may also be worthwhile trying your bash script on a subset of roms.
dudleydesParticipantCan you try renaming your rom without the #? To Jurassic Park.SMD, maybe. I renamed one of my roms to Batman # SMD.smd and picodrive wouldn’t load it.
dudleydesParticipantTo use a game controller with jzIntv, you need to create keyboard hackfiles. To create these, you need to know how jzIntv recognises game controller inputs. The event_diag.rom will show you the events sent by your joystick. You can download it from the binaries package at the jzIntv project page at the link below. Check the rom folder.
http://spatula-city.org/~im14u2c/intv/dl/jzintv-20150213-win32.zip
Place event_diag.rom in the intellivision roms folders for now and run the following command from the console.
/opt/retropie/emulators/jzintv/bin/jzintv -z1 -f1 -p /home/pi/RetroPie/BIOS /home/pi/RetroPie/roms/intellivision/event_diag.rom"
Make a note of the output. I found the button bindings to be the same as those used in RetroArch. The disc was bound to the left analogue stick so I didn’t map these in my hackfile. You can delete event_diag.rom now if you wish.
Documentation at the link below will tell you how to use these event names to bind them to controller inputs in jzIntv.
http://spatula-city.org/~im14u2c/intv/jzintv-1.0-beta3/doc/jzintv/kbdhackfile.txtBelow is a hackfile for a PS3 controller that I use for a lot of arcade-style games (Astrosmash, Beauty and the Beast, Bump’n’Jump, BurgerTime, Chip Shot, Defender, Lock’N’Chase, Star Strike). Select is used to exit the emu.
MAP 0 ; Game interface JS0_BTN_00 QUIT ; Quit jzintv JS0_BTN_16 RESET ; Reset game ; Keypad JS0_BTN_04 PD0L_KP1 ; Key press 1 JS0_BTN_05 PD0L_KP2 ; Key press 2 JS0_BTN_06 PD0L_KP3 ; Key press 3 JS0_BTN_07 PD0L_KP4 ; Key press 4 JS0_BTN_01 PD0L_KP5 ; Key press 5 JS0_BTN_03 PD0L_KPE ; Key press Enter JS0_BTN_13 PD0L_KPC ; Key press Clear ; Action Side Button JS0_BTN_11 PD0L_A_T ; Top Action Button JS0_BTN_14 PD0L_A_L ; Lower Left Action button JS0_BTN_15 PD0L_A_R ; Lower Right Action button
Copy and paste the above into a text editor. Save it as arcade.kbd and place it in the Intellivision roms folder.
To make use of the hackfile, you need to use the kbdhackfile flag. I use arcade.kbd for the majority of games but some games require more complex bindings (e.g. B17 Bomber) so I use custom hackfiles for these. As I have a few Intellivision games (20-25), I have created shell scripts to launch each game mapped to its relevant hackfile.
The shell script below is for Lock and Chase. Note I have changed the name of the rom.
#!/bin/bash /opt/retropie/supplementary/runcommand/runcommand.sh 0 "/opt/retropie/emulators/jzintv/bin/jzintv -z1 -f1 -p /home/pi/RetroPie/BIOS -q --kbdhackfile=/home/pi/RetroPie/roms/intellivision/arcade.kbd /home/pi/RetroPie/roms/intellivision/locknchase.int"
Place the script in Intellivision roms folder. Edit es_systems.cfg so that only .sh and .SH extensions are included in ES. Restart ES and you’re good to go.
If this works for you, please let me know and I’ll add it to the Wiki.
dudleydesParticipantYou need the +Start DOSBox.sh file. You can regenerate it by running the commands:
cd RetroPie-Setup sudo ./retropie_packages.sh dosbox configure
You will need to re-edit es_systems.cfg if that’s how you chose to do it.
dudleydesParticipantAlternatively, keep the game data where it is, in the pc folder. Edit es_systems.cfg so that the the <extension> tag for the pc entry reads:
<extension>.sh .SH</extension>
This way, only scripts will appear in ES. You may have to delete the gamelist.xml file in the pc folder for the effects to take place.
dudleydesParticipantI have similar concerns so what I am thinking of doing is to create in the roms folders a pc-gamedata sub-folder where I would place the game data. In the pc folder, I would only include shell scripts. For example, to run Dangerous Dave, the script would be:
#!/bin/bash /opt/retropie/emulators/dosbox/bin/dosbox -c "mount c /home/pi/RetroPie/roms/pc-gamedata" -c "c:" -c "cd DDAVE" -c "DAVE.EXE" -c "exit"
DOSBox should be configured to run scripts from EmulationStation. If not, then update the RetroPie setup script and run the following command:
sudo ./retropie_packages.sh dosbox configure
I appreciate it’s a lot of work creating scripts, especially if you have a lot of games but it will give a neater appearance in ES.
For more info, please check at my tutorial at link below:
http://dosonthepi.blogspot.co.uk/2015/01/run-dos-games-in-retropie_15.htmldudleydesParticipantSorry, neither game works in MAME. Check links below:
Crazy Taxi
http://www.progettoemma.net/index.php?gioco=crzytaxi&lang=en
Virtua Tennis 2
http://www.progettoemma.net/index.php?gioco=vtenis2c&lang=en
Your best bet is installing Reicast from the setup script.
dudleydesParticipantI have found a fix.
Press Select + Triangle to bring up the RGUI. Then go to Input Settings in the Settings menu and change User 1 Device Type to Kempston.
As far I know, this needs to be done every time you load a rom.
dudleydesParticipantAs far as I understand, ES is called by the bash script /usr/bin/emulationstation. You could try adding the –gamelist-only switch to the emulationstation command in the line that begins es_bin.
I reduced the number of ROMs from my 0.37b5 set from 2271 to 782. I can go through the steps I took if you would like.
dudleydesParticipant[quote=99667]is the .sh method working again now?
[/quote]Yes, the .sh method is working in Retropie 3.0. If you update the Retropie scripts and reconfigure dosbox using the commands in my first post, then you will be able launch games using scripts without having to make any changes to the config files. Alternatively, you could start afresh with the version 3.0 BETA 3 image.
dudleydesParticipantI too only have a few games so creating individual shell scripts for each one is pretty straightforward.
It is possible to install wolf4SDL, a port of Wolf3d that runs better than in DOSBox, well certainly on my Rpi1. The binary needs to be compiled depending on which version of the game you have so some editing of the original source code will be required. Full details in the tutorial below.
http://dosonthepi.blogspot.co.uk/2015/01/install-wolf4sdl.html
@labelwhore, I would be interested in how you are using .bat files.
@dishins, I certainly found rpix86 to be faster for Formula One Grand Prix. You can find a list of compatible games at http://dsx86compatibility.pbworks.com/w/page/26738915/Compatibility%20List. If there’s a game you would like to add to the list, you can ask the developer if it’s possible at the rpix86 forum thread (https://www.raspberrypi.org/forums/viewtopic.php?f=78&t=32934).Incidentally, a new version 0.18 of rpix86 was released on 31 May which now supports Jazz Jackrabbit and Ultima VII (http://rpix86.patrickaalto.com/rblog.html)
dudleydesParticipantI managed to get Leisure Suit Larry running in ScummVM, both the floppy DOS version and the VGA remake, in a matter of minutes, a lot more straightforward than DOSBox.
I just followed the quick start instructions at the Retropie wiki. Alternatively, check out herbfargus’ video at https://www.youtube.com/watch?v=txdiaZlDUEs
dudleydesParticipantElgur, I’m assuming that lsl1 stands for Leisure Suit Larry, in which case, you may be better off using ScummVM as it is much better suited to point and click adventure games. You can find instructions on how to set up ScummVM at the RetroPie wiki.
https://github.com/retropie/RetroPie-Setup/wiki/ScummVM
A list of ScummVM compatible games is available at http://scummvm.org/compatibility/.
I’ve not set up ScummVM on version 3 but it is on my to-do list.
I’m going to update my blog regarding the latest script changes for DOSBox. If you do wish to test DOSBox, then a good game to use is Dangerous Dave which is available as freeware from the DOS Games Archive (http://www.dosgamesarchive.com/download/dangerous-dave/).
dudleydesParticipantI, too, felt that the buttons were not correctly mapped for Retroarch (libretro) emulators so here is my fix.
I assume from your references to square and triangle that you are using a PlayStation controller but you don’t say whether it’s connected by USB or Bluetooth. For a wired (USB) PS3 controller, this is what I did. Run the command
sudo nano "/opt/retropie/emulators/retroarch/configs/Sony_PLAYSTATION(R)3_Controller.cfg"
Here, you can reassign input_b_btn, input_y_btn, input_a_btn and input_x_btn to your own preferences.
If you are connecting via bluetooth, then you should be able to find the BT config file in the /opt/retropie/emulators/retroarch/configs folder.
dudleydesParticipantI found raspi2png easy to compile and use. You can get the source code and instructions how to compile at the link below:
https://github.com/AndrewFromMelbourne/raspi2png
To use, make raspi2png the working directory and type the command raspi2png. You can add a –delay parameter that will delay the snapshot for a specified number of seconds. The best thing about raspi2png is that I can use it over SSH.
Though I’ve not used it, an alternative is scrot. You can find a tutorial at the link below:
http://www.raspberrypi-spy.co.uk/2013/10/how-to-take-screenshots-on-the-raspberry-pi/
dudleydesParticipantThere is a problem with folder permissions in RetroPie 3.0 image. To fix, update the retropie-setup script and re-install the dosbox binary.
dudleydesParticipantIn RetroPie 3.0, the keyboard does not work correctly in DOSBox. To fix, you need to edit the DOSBox config file, dosbox-SVN.conf, which is located in the hidden folder, .dosbox, in your home folder.
From the home folder, run the following commands:
cd .dosbox sudo nano dosbox-SVN.conf
In the [sdl] section, edit line 34 of dosbox-SVN.conf so that usescancodes is set to false as below:
usescancodes=false
dudleydesParticipantI have published a tutorial on how to update to RetroPie 3.0.
http://dosonthepi.blogspot.co.uk/2015/04/retropie-30-update.html
dudleydesParticipantMame4all uses the v0.37b5 romset. The link below is a list of supported games:
MAME4ALL Game List (2270 romsets)
So Super Puzzle Fighter 2 Turbo isn’t supported by mame4all.
dudleydesParticipantYou can set up the sixad controller manager to run at boot with the following command:
sudo update-rc.d sixad defaults
03/21/2015 at 11:59 in reply to: DosBox launching from emulationstation crashes Pi when exiting #92155dudleydesParticipantWith your current config, the framebuffer is left in an unusable state when you exit DosBox. To fix, add runcommand.sh to your es.systems.cfg so the <command> tag now reads:
<command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 "%ROM%"</command>
More info at Run DOS games in RetropiedudleydesParticipantHave you tried locking the mouse manually by pressing CTRL-F10?
dudleydesParticipantI have managed to compile ResidualVM from source and get Grim Fandango running in X. I have a Pi B model overclocked at turbo and it’s too slow to be playable. I’d appreciate it if somebody could test it on a RPi 2. It would give me a reason to get one myself.
The instructions to build from source are at the link below.
You can get game data at the links below.
Patch to be copied to grimdemo folder
You can launch ResidualVM with the command in a terminal session in X.
residualvm
The UI is similar to ScummVM so select Add Game… and browse to and select the grimdemo folder. Select Start to launch the game.I’d be interested to hear how it runs on the Pi 2. Also, if anybody can get it to run from the console, that would be great as we can integrate it into Retropie. When I tried to launch residualVM from the console I get an OpenGL not available error.
dudleydesParticipantYou can set up the sixad controller manager to run at boot with the following command:
sudo update-rc.d sixad defaults
dudleydesParticipantYou can press and hold the PS button for 10-12 seconds to switch your controller off. Just press the PS button to wake your controller.
dudleydesParticipantYou can set up the sixad controller to run at boot with the following command:
sudo update-rc.d sixad defaults
For getting 2 controllers working over BT, try the solutions suggested at the following link:
-
AuthorPosts