![]() ![]() |
Jan 19 2006, 04:04 AM
Post
#1
|
|
|
Group: Members Posts: 176 Joined: 24-December 03 Member No.: 1,271 |
Has anyone actually managed to play one of the emulators with a joystick on USB host? if so, any instructions on how to do it?
The joystick is recognised by the Z, but I don't know how to use it in any games or map the keys...... |
|
|
|
Jan 19 2006, 06:35 PM
Post
#2
|
|
|
Group: Moderators Posts: 1,619 Joined: 29-October 03 From: Los Angeles Member No.: 809 |
how do you know it works and if you open a text file, can you type into it?
|
|
|
|
Jan 20 2006, 08:31 AM
Post
#3
|
|
|
Group: Members Posts: 176 Joined: 24-December 03 Member No.: 1,271 |
cat /dev/js0 gives me stuff in the console, and jstest gives me all the information that the buttons and direction pads are working.
Now how would I use it? It doesnt seem to map to regular keyboard keys so I cant see keyhelper customisation being the way forward... |
|
|
|
Jan 20 2006, 02:12 PM
Post
#4
|
|
![]() Group: Members Posts: 1,156 Joined: 5-January 05 From: Winnipeg, Manitoba Member No.: 6,127 |
QUOTE(anonuk @ Jan 19 2006, 07:04 AM) Has anyone actually managed to play one of the emulators with a joystick on USB host? if so, any instructions on how to do it? The joystick is recognised by the Z, but I don't know how to use it in any games or map the keys...... What make model of joystick do you have? If you have sucess I may grab the same. |
|
|
|
Jan 22 2006, 02:53 PM
Post
#5
|
|
|
Group: Members Posts: 176 Joined: 24-December 03 Member No.: 1,271 |
QUOTE(Antikx @ Jan 20 2006, 02:12 PM) Its a regular cheap gamepad (PC-line) i got it for 3 pounds in PC world - i think any gamepad would work, also only about 6 buttons are needed for most of the old console games (4+Start+Select) I just managed to get it working for SNES games, im busy editing the ZEMUFE scripts so that I can launch them in the gui, I will post instructions once I'm sure it works - also gonna try it with dgen and nester, thanks to whoever compiled joystick support in on the cacko feed! So far, it seems that most stuff is quite playable - ive tried mariokart, fifa98 and desert strike - much better than on the keyboard. I'm wondering if two player will work, i'm getting another gamepad from a friend later tonight to give it a try. |
|
|
|
Jan 22 2006, 04:00 PM
Post
#6
|
|
|
Group: Members Posts: 409 Joined: 23-November 04 From: Murphy, North Carolina USA Member No.: 5,590 |
I just hooked up my Gravis Eliminator Gamepad Pro and it is recognized by name in system info! But how do I get it to actually work in games? Heretic and Doom don't seem to have a choice for joystick and I just tried a few snes games and it doesn't automatically work.
Could you explain what files you changed to get yours to work? And what is the ipk in the Cacko feed you used? Thanks... QUOTE(anonuk @ Jan 22 2006, 10:53 PM) QUOTE(Antikx @ Jan 20 2006, 02:12 PM) Its a regular cheap gamepad (PC-line) i got it for 3 pounds in PC world - i think any gamepad would work, also only about 6 buttons are needed for most of the old console games (4+Start+Select) I just managed to get it working for SNES games, im busy editing the ZEMUFE scripts so that I can launch them in the gui, I will post instructions once I'm sure it works - also gonna try it with dgen and nester, thanks to whoever compiled joystick support in on the cacko feed! So far, it seems that most stuff is quite playable - ive tried mariokart, fifa98 and desert strike - much better than on the keyboard. I'm wondering if two player will work, i'm getting another gamepad from a friend later tonight to give it a try. |
|
|
|
Jan 22 2006, 04:44 PM
Post
#7
|
|
|
Group: Members Posts: 116 Joined: 25-July 05 From: Brazil Member No.: 7,691 |
See at these pages:
http://d.hatena.ne.jp/taketyon/ http://www.piro.hopto.org/~piro/pukiwiki/p...%D1libSDL%5D%5D http://www.piro.hopto.org/~piro/pukiwiki/p...%DF%A5%E5%5D%5D Use versions with joystick enabled, and be happy. |
|
|
|
Jan 22 2006, 07:14 PM
Post
#8
|
|
|
Group: Members Posts: 176 Joined: 24-December 03 Member No.: 1,271 |
to get it working in cacko rom on 3100 (but should be similar on all Zs)
- install snes9x-sdljoy from cacko feed - you can play with a joystick by typing: CODE snes9x-sdljoy -j <gamename> but this will only give you a small snes9x screen - run full screen with joystick: CODE snes9x-sdljoy -j -xs 320 -ys 240 <gamename> - install ZEMUFE and edit the scripts to enable joystick: example: for snes9x smc games edit /opt/QtPalmtop/bin/zemufeex_smc.sh and change snes9x to snes9x-sdljoy and add the -j command line option. -load zemufe and select the snes game - It should play full screen with joystick no problems. A similar method should work with znester,dgen and sms - not sure about zgnuboy - they will have different command line options to enable joystick support though.. I havent tried doom or heretic (only emulators so far), i am installing them at the moment and i'll post results... Good luck! UPDATE: From the page sidmoraes posted i got the other emulators command options: CODE znester-sdljoy <rom_image_file> --joystick
sms-sdl <rom_image_file> --joystick dgen -j <rom_image_file> |
|
|
|
Jan 22 2006, 11:18 PM
Post
#9
|
|
|
Group: Members Posts: 176 Joined: 24-December 03 Member No.: 1,271 |
QUOTE But how do I get it to actually work in games? Heretic and Doom don't seem to have a choice for joystick and I just tried a few snes games and it doesn't automatically work. There is a menu option in doom to enable the joystick and it works nice: : 1 Press cancel to see menu 2.Select options then general options 3. Press right arrow to move to next page of options 4. Select enable joystick and press enter to enable it 5. Enjoy joystick enabled doom! There you go, its really simple - i imagine heretic and quake have similar menu settings. Are there any other games that might work with the joystick anyone can recommend? |
|
|
|
Jan 23 2006, 04:10 PM
Post
#10
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
Hi anonuk,
My only "newer" joystick with USB has 26 switches in it. It isn't recognized. I tried to type into a text document, but nothing shows up. It's a logtech dual action. Do you get an "Updating" message in Qtopia when you plug it in? Like when you insert an SD card? My other older joysticks have a gameport type connectors, I know these wouldn't work. Jon |
|
|
|
Jan 23 2006, 09:03 PM
Post
#11
|
|
|
Group: Members Posts: 116 Joined: 25-July 05 From: Brazil Member No.: 7,691 |
What did you get with lsusb?
Maybe you only need to adjust /etc/hotplug/usb.handmap including your joystick. |
|
|
|
Jan 23 2006, 10:35 PM
Post
#12
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
It must have been detected. This is the bash output
-------------------------------------------------------- # lsusb Duplicate product spec at line 2454 product 0846:4240 WG111 WiFi Unknown line at line 5752 Unknown line at line 5753 Unknown line at line 5754 Unknown line at line 5755 Unknown line at line 5756 Unknown line at line 5757 Unknown line at line 5783 Unknown line at line 5784 Unknown line at line 5785 Unknown line at line 5786 Unknown line at line 5787 Bus 001 Device 001: ID 0000:0000 Bus 001 Device 002: ID 046d:c216 Logitech, Inc. -------------------------------------------------------- I don't have WiFi (It is listed on first line). I deleted some lines (36 total) to make this post smaller. (Unknown line at line xxxx are all sequential from 5752 to 5787) I looked in /etc/hotplug/usb.handmap, with ZEditor, but I'm not shure what to add to it, or look for. I saw there are other brands of joysticks listed in there, but I didn't edit it because I'm not sure what I need to "add" to it. Thank you, Jon EDIT: I used the command anonuk showed up in this post. ------------------------------- $ jstest /dev/js0 Joystick (Logitech Logitech Dual Action) has 6 axes and 12 buttons. Driver version is 2.1.0. Testing ... (interrupt to exit) ------------------------------- Again, I cut off some of the output to save space in this post. |
|
|
|
Jan 24 2006, 02:19 PM
Post
#13
|
|
|
Group: Members Posts: 409 Joined: 23-November 04 From: Murphy, North Carolina USA Member No.: 5,590 |
Your directions did not work for me. I just get thrown back to the desktop and the game won't launch.
I installed snes9x-sdljoy. If I type snes9x-sdljoy -j <gamename> at the console it spews forth a lot of lines which look promising but then says "Error opening Flashback". Do I have to gravitate to the folder which contains Flashback? Tried various ways of putting "snes9x-sdljoy -j -xs 320 -ys 240" in the zemufeex_smc.sh file but the game will not launch if I change that line. The present line is: snes9x -win "$2" QUOTE(anonuk @ Jan 23 2006, 03:14 AM) to get it working in cacko rom on 3100 (but should be similar on all Zs)
- install snes9x-sdljoy from cacko feed - you can play with a joystick by typing: CODE snes9x-sdljoy -j <gamename> but this will only give you a small snes9x screen - run full screen with joystick: CODE snes9x-sdljoy -j -xs 320 -ys 240 <gamename> - install ZEMUFE and edit the scripts to enable joystick: example: for snes9x smc games edit /opt/QtPalmtop/bin/zemufeex_smc.sh and change snes9x to snes9x-sdljoy and add the -j command line option. -load zemufe and select the snes game - It should play full screen with joystick no problems. A similar method should work with znester,dgen and sms - not sure about zgnuboy - they will have different command line options to enable joystick support though.. I havent tried doom or heretic (only emulators so far), i am installing them at the moment and i'll post results... Good luck! UPDATE: From the page sidmoraes posted i got the other emulators command options: CODE znester-sdljoy <rom_image_file> --joystick sms-sdl <rom_image_file> --joystick dgen -j <rom_image_file> |
|
|
|
Jan 24 2006, 02:24 PM
Post
#14
|
|
|
Group: Members Posts: 409 Joined: 23-November 04 From: Murphy, North Carolina USA Member No.: 5,590 |
Duh! Thanks I had tried to look there before but looked again and found it under "general", and the joystick worked! But I can't get Heretic to work. I changed a line in the heretic.cfg file to show "1" instead of "0" for joystick but no success. There are no gui adjustments in the game itself other than for the mouse.
Anybody have success with Heretic? Also can't get any snes games to recognize the joystick...directions posted here didn't work for me and I couldn't understand the Japanese pages...stupid American here...what can I say...sorry. QUOTE(anonuk @ Jan 23 2006, 07:18 AM) QUOTE But how do I get it to actually work in games? Heretic and Doom don't seem to have a choice for joystick and I just tried a few snes games and it doesn't automatically work. There is a menu option in doom to enable the joystick and it works nice: : 1 Press cancel to see menu 2.Select options then general options 3. Press right arrow to move to next page of options 4. Select enable joystick and press enter to enable it 5. Enjoy joystick enabled doom! There you go, its really simple - i imagine heretic and quake have similar menu settings. Are there any other games that might work with the joystick anyone can recommend? |
|
|
|
Jan 24 2006, 03:41 PM
Post
#15
|
|
|
Group: Members Posts: 116 Joined: 25-July 05 From: Brazil Member No.: 7,691 |
QUOTE(tombraider @ Jan 24 2006, 02:24 PM) Also can't get any snes games to recognize the joystick...directions posted here didn't work for me and I couldn't understand the Japanese pages...stupid American here...what can I say...sorry. Command to start snes: snes9x-sdljoy -sound -j -xs 320 -ys 240 "rom" I use opie-sh-snes, zemu sucks with cacko... See http://www.oesf.org/forums/index.php?showtopic=9438 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th June 2013 - 03:38 PM |