Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: johnny5 setup  (Read 1719 times)

0 Members and 1 Guest are viewing this topic.

big daddy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 179
  • Last login:May 01, 2019, 12:16:13 pm
  • I'm a llama!
johnny5 setup
« 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?

papaschtroumpf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 972
  • Last login:July 23, 2013, 11:41:10 pm
  • Have a Cow!
Re:johnny5 setup
« Reply #1 on: October 28, 2004, 12:13:51 pm »
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.
« Last Edit: October 28, 2004, 12:20:53 pm by papaschtroumpf »

turboc

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:October 30, 2004, 08:27:55 am
  • I'm a llama!
Re:johnny5 setup
« Reply #2 on: October 30, 2004, 02:07:30 pm »
I'm having the same problem.  None of control labels will display.

papaschtroumpf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 972
  • Last login:July 23, 2013, 11:41:10 pm
  • Have a Cow!
Re:johnny5 setup
« Reply #3 on: October 30, 2004, 03:15:27 pm »
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.

turboc

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:October 30, 2004, 08:27:55 am
  • I'm a llama!
Re:johnny5 setup
« Reply #4 on: October 30, 2004, 05:35:08 pm »
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.

deadmoney5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 428
  • Last login:February 03, 2020, 11:02:02 pm
  • I don't feel tardy
Re:johnny5 setup
« Reply #5 on: October 30, 2004, 06:38:46 pm »
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 ???

turboc

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:October 30, 2004, 08:27:55 am
  • I'm a llama!
Re:johnny5 setup
« Reply #6 on: October 30, 2004, 07:23:55 pm »
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!

papaschtroumpf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 972
  • Last login:July 23, 2013, 11:41:10 pm
  • Have a Cow!
Re:johnny5 setup
« Reply #7 on: October 30, 2004, 08:39:03 pm »
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..

turboc

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:October 30, 2004, 08:27:55 am
  • I'm a llama!
Re:johnny5 setup
« Reply #8 on: October 30, 2004, 09:32:03 pm »
Thanks!  I finally got it working on the arcade PC.  A file was missing from the ctrlr folder.

big daddy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 179
  • Last login:May 01, 2019, 12:16:13 pm
  • I'm a llama!
Re:johnny5 setup
« Reply #9 on: October 30, 2004, 11:17:57 pm »
I still can't get it to work.  Can someone who has it working maybe give me a sample ctrl file (the xml version)?  


turboc

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:October 30, 2004, 08:27:55 am
  • I'm a llama!
Re:johnny5 setup
« Reply #10 on: October 31, 2004, 11:00:46 am »
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.

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:johnny5 setup
« Reply #11 on: November 01, 2004, 09:01:30 am »
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 :)

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:July 13, 2025, 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:johnny5 setup
« Reply #12 on: November 02, 2004, 01:46:47 am »
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.  

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:johnny5 setup
« Reply #13 on: November 02, 2004, 05:02:42 am »
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!)...