Forum Replies Created
-
AuthorPosts
-
k-bertParticipant
herbfargus: I was looking at the control block, but when I did it was temporarily out of stock. It also has a lot of functionality that I will never use with my NES only system. Besides, I have lots of electronic components on hand to build my own power control circuit and I want to be able to say that I built it myself (even though all the coding is already available).
w3ace: I haven’t seen anything written about risk of damage. I checked through the gamecon readme and the only mention I have found is that the raspberry can supply enough current to run four controllers. That’s two more than I will ever use. The circuitry is just a CMOS parallel to serial shift register which isn’t particularly fragile.
Cheers,
K-bertk-bertParticipantThanks again for your help, just wanted to report that I now happily have two controllers working with my raspberry. I did use GPIO7 and mapped the gamecon as 0,0,2,2,0,0.
Right now its just wires jammed into the controller plugs, something more permanent will come later.
[URL=http://s150.photobucket.com/user/Berg9987/media/NESMESS_zps4kh33o7q.jpg.html][IMG]http://i150.photobucket.com/albums/s117/Berg9987/NESMESS_zps4kh33o7q.jpg[/IMG][/URL]
Cheers,
K-bergk-bertParticipantI have not until now. That is pretty impressive, a NES anywhere there is a screen and power. How much deeper is the controller with that printed back? I’m kind of embarrassed now, I’m just going to build a mounting plate and a circuit board for controller break outs and a power supply. It won’t even compare to what you made.
I’m going to try and wire up a second controller in the next few days. If I’m reading the readme right I can use all the same connections except for the data pin which I can put on GPIO7 and then map the gamecon as 0,0,1,1,0,0. Sound right to you?
The problem with getting the controller working is now I’m spending time playing games instead of working on the project.
Cheer,
K-bertk-bertParticipantHey Herbfargus,
Sorry I didn’t see your post until after I posted my last one.
I am just using my pi for NES, nothing else. And I am mounting it in my dead NES with the goal of having it look and behave as close to an actual NES as possible.
As for your questions I’m not sure. Yes there is the nostalgia factor with using actual NES controller for a NES game, but the SNES also has all the buttons the NES would need. If I were to use my pi for NES and SNES I would just use the SNES controllers all the time (they are more comfortable after all).
According to the readme for the gamecon up to four controllers of mixed types can be used, so two NES and two SNES could be connected at all times and you can use either depending on what you are playing.
If I were building a multi platform emulator I would probably use PS3 controllers for everything but the N64 (I’m talking anything pre-Xbox or PS3), just because the N64 is a bit of a weird one. Also using PS3 would have sidestepped all of the headaches I just had trying to get this NES controller to work.
Cheers,
K-bergk-bertParticipantGuess I had more time than I thought…
RESULT!
Now able to play games with NES controller connected to GPIO. Well at least a game (only had one loaded).
Thank you very much!
Now I just need to go dig out another controller and mount my pi inside my dead NES.
Thanks again!
K-bert
k-bertParticipantThank you, I will give it a try and report back (might be tomorrow).
I’m not using wifi though, just a wired connection.
Cheers,
K-bertk-bertParticipantTried another test:
Changed the gamecon map to 0,0,2,0,0,0
Now when a game starts it does say NES controller on port 0.
Still not being used as controller 1 though.
I’m thoroughly confused….
k-bertParticipantI got rid of the SNES as you suggested. I then removed the config file again as you suggested. I rebooted again with the keyboard disconnected again and when emulation station fired up it right away stated that two controllers were detected. I mapped the NES controller an I am still in the same situation (controller works in ES but not in the games).
By the way the config file now looks like this:
<?xml version=”1.0″?>
<inputList>
<inputConfig type=”joystick” deviceName=”NES pad” deviceGUID=”150000000$
<input name=”a” type=”button” id=”0″ value=”1″ />
<input name=”b” type=”button” id=”1″ value=”1″ />
<input name=”down” type=”axis” id=”1″ value=”1″ />
<input name=”left” type=”axis” id=”0″ value=”-1″ />
<input name=”right” type=”axis” id=”0″ value=”1″ />
<input name=”select” type=”button” id=”2″ value=”1″ />
<input name=”start” type=”button” id=”3″ value=”1″ />
<input name=”up” type=”axis” id=”1″ value=”-1″ />
</inputConfig>
</inputList>I am trying to avoid connecting the keyboard so I used putty to reset the pi so I don’t need to use the keyboard to exit the game.
I did a little more testing and I can’t get the NES to map to a second controller. I tried various GPIO pins, but it only seems to like GPIO4.
I did try to change the retroarch.cfg file to state that the first controller is 1 instead of 0, but again no change.
Thanks for the help, I might be getting close to starting from scratch again…
Cheers,
K-bertk-bertParticipantI did not install SNESdev. If you think a new image would help I could try all over again. I do have the NES controller working as player two, I feel I am so close now…
k-bertParticipantAnd through further experimentation I have found that the keyboard is controller on (even though it is listed as js2) and the NES controller is working as controller 2! So it is working, it’s just registered wrong somehow.
How can I change it?
Cheers,
K-bertk-bertParticipantI just tried rebooting my pi with the keyboard disconnected. The NES pad is now js0, but still doesn’t work in the games.
k-bertParticipantThank you for the reply Craig.
You were right I did have 0,0,1,0,0,1 in the map.
I did as you suggested and then remapped the controller as a NES controller in emulation station. Unfortunately I still have the same problem: The controller works in emulation station but not the games. Now it recognizes a NES controller on port 0 and on port 1 according to the dialogue on the bottom left when I start a game, but no button inputs are working.
Checking the js in /dev/input/ I have found that js1 is the controller I have plugged in and js0 is the keyboard. js2 is recognized as another NES controller but I don’t have one hooked up yet.
Do I need to somehow get the NES controller to be js0?
Thanks again!
K-bert
k-bertParticipantAlso I should mention that I tried the fix in the link I posted above, but I can not find the minimal.cpp file.
K-bert
k-bertParticipantI suppose that I wasn’t too clear…
PS3 Controller works fine wired.
In emulation station the ps3 controller works fine wired and wireless.
In the NES and SNES emulators the ps3 controller works fine wired and wireless.
In mame4all and advancemame the Ps3 controller works fine wired. I can not get it to work wireless. I tried pressing the PS button and nothing happened. I tried using a keyboard to get into the menu (TAB button) to map the buttons on the controller but none of the keypresses on the ps3 controller are registering. The controller light remains lit up as controller one.
I’m sure that somewhere there is a simple setting that I have missed…
Cheers,
K-bertk-bertParticipant…and as an update: I couldn’t get it done in clrmamepro (first time I tried to use the program and I’m positive that the fault is mine as I don’t know my way around the program), but extracting the files and doing it myself as described above worked perfectly.
Thank you very much!
Cheers,
K-bertEdit: You must have posted the video while I was typing my reply. I will watch it and try it out. Thanks again!
k-bertParticipantI would appreciate it.
I’m still going to try the methods that herbfargus described, I feel I need to understand…
Cheers,
K-bertk-bertParticipantThank you for the reply! I will try this as soon as I’m reunited with the computer with the roms Monday.
Cheers,
K-bert -
AuthorPosts