Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: big daddy on October 22, 2004, 03:29:29 pm
-
OK I've been playing around with it for hours, but still can't get it to work right. Here's what I have
- I configured johnny5, downloaded the latest controls.ini file and put in Johnny5\data files directory, I'm using the defaul .lof for now, my lof has lables like "keycode_lshift", "joycode_1_up", etc.
- I currently don't have any ctrlr files used when I use mame (so I just use all the defaults right now). It appears I needed 1 for Johnny5 (and I'm sure I'll need 1 later when I configure more games) so I created a new one (actually copied the existing one for xarcade.cfg) and renamed it to cntrl.cfg and put it in c:\mame\ctrlr\ctrlr.cfg.
- in that .cfg file I have a line similar to the following
<input>
<port type="P1_BUTTON1">
<newseq type="standard">KEYCODE_LSHIFT OR JOYCODE_1_BUTTON1</newseq>
</port>
</input>
- in the Johnny5 options I put "ctrlr" in the "The ctrlr folder you use" option. (note: I also tried putting "ctrlr.cfg" and "c:\mame\ctrlr\ctrlr.cfg")
From my understanding Johnny5 looks at my .lof and sees a "keycode_lshift" lable. It then looks in my cntrl\cntrl.cfg file and sees that "keycode_lshift" is mapped to "p1_button1". It then looks in controls.ini and sees that "P1_button1" should have a label for "Attack" for rom ddsom. It then displays that "attack" label onto the "keycode_lshift" lable.
But when I run "johnny5.exe ddsom" from commandline, it pulls up the right .lof file, and displays things like game name and number of players from the controls.ini file, but for some reason doesn't display any of my labels.
Anybody know what I'm missing? My guess is it's how I'm setting up my cntrlr .cfg file or how I'm referencing that file from Johnny5. Any guesses?
-
I just tried to get Johnny5 working for me again and it doesn't work, I have a similar problem to yours:
I created my own lof file with my own background and (atm) labeled left shift, left alt, space, key 1 and key 2.
I cleared the CTRL entry in the options (which by default said dragonking), pointed the program to the mame executable.
When I launch johnny5 with my lof, it only shows the background pic and no labels (I launch using sf2 just like in the readme). If I use the default lof I get proper labels.
So somehow it appears that I'm not tying the labels to the right variable?
I know nothing of CTRL files and use the default MAME ones (I think, I never touch any of it). Is this the issue?
Edit: using johnny5_0.7beta.zip if it makes any difference.
-
I'm having the same problem. None of control labels will display.
-
I figured it out: you *have to* name yout layour file default.lof.
The -lof options doesn't appear to work.
At leasst it did the trick for me.
-
I am using default.lof but still can't get the control lables to work. Are you using the ctrlr option, and how to you have this configured? Thanks.
-
How does Johnny5 work with say..Mamewah?
I had CPviewer working within Mamewah, but it would hang once in awhile...
I have no idea how to setup Johnny5 to launch within Mamewah. though ???
-
OK. This is driving me insane! It works fine on one PC, but when I copy the folder to my arcade PC it doesn't show the control labels. Aaaaarrrrgh!
-
what do you copy from one PC to the other exactly?
To be safe copy the entire johnny5 directory and subdirectories, the controls.ini and controls.xml in your MAME root folder and the CTRL directory..
-
Thanks! I finally got it working on the arcade PC. A file was missing from the ctrlr folder.
-
I still can't get it to work. Can someone who has it working maybe give me a sample ctrl file (the xml version)?
-
bbodin,
If this isn't completely accurate hopefully somebody will correct me, but here goes:
You need to use the existing or create a new default.lof file and set your mame path and executable in the viewer. Also, leave the ctrlr section blank. If you do this, johnny5 uses the std.ini file in your mame ctrlr folder for the list of standard controls. If this file is missing, johnny5 will not display your control tags at all.
Once you have this working, you can create custom control lists (e.g. asteroid.ini) and they will be used by johnny5 automatically. Just be sure they are in the root of the ctrlr folder.
I still haven't figured out how to use the controls.xml file.
Hope this helps.
-
I can't get the labels to display either. I presume since it asks for a ctrlr 'folder' that it still works on the old ctrlr ini style format...I only have a new style ctrlr .cfg file.
I read at http://fe.donkeyfly.com/yabbse/index.php?board=10;action=display;threadid=119;start=0 that Howard started the move over to xml, so I assume both controls.xml and xml ctrlr files will be supported in the first official release :)
-
I can't get the labels to display either. I presume since it asks for a ctrlr 'folder' that it still works on the old ctrlr ini style format...I only have a new style ctrlr .cfg file.
I read at http://fe.donkeyfly.com/yabbse/index.php?board=10;action=display;threadid=119;start=0 that Howard started the move over to xml, so I assume both controls.xml and xml ctrlr files will be supported in the first official release :)
Yes and no.... i'll still use the controls.ini, mainly because I hate the xml format with a passion and believe it to be a fad. (But sirp and myself believe in giving people a choice, thus the two formats instead of one) However, as I always want the viewer to work with latest version of mame, from now on the viewer will support only the new cfg files.
Your assumptions are correct... the current beta version doesn't work with the new xml/cfg format.
-
Yes and no.... i'll still use the controls.ini, mainly because I hate the xml format with a passion and believe it to be a fad. (But sirp and myself believe in giving people a choice, thus the two formats instead of one) However, as I always want the viewer to work with latest version of mame, from now on the viewer will support only the new cfg files.
Your assumptions are correct... the current beta version doesn't work with the new xml/cfg format.
I'm with you on the xml thing...glad you're supporting the new ctrlr format tho as I've recently been configuring mine (the hard way!)...