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: zinc question  (Read 7110 times)

0 Members and 1 Guest are viewing this topic.

vibez

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 411
  • Last login:February 09, 2011, 08:33:20 am
  • I want to build my own arcade controls!
zinc question
« on: February 26, 2005, 12:19:25 pm »
How do you set zinc's default controls to be the same as using mame.


I'm also using mamewah to launch it so need to be able to config it from the command line

somunny

  • Trade Count: (+8)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1618
  • Last login:June 17, 2025, 02:49:55 pm
  • Is it hot in here?
Re: zinc question
« Reply #1 on: February 26, 2005, 01:34:20 pm »
This topic has been covered more than a few times here (searching 'zinc' will bring those threads up on a search, asd I know all too well  ;)) , but because I had a little trouble getting it to work just right even with the useful info I found on the boards, I'll tell you how I did it.

Install zinc and delete the controller.cfg that it creates.

Install ZincFE (aldo's) and use it to configure you controls.  You'll see the file it creates in the Zinc root directory (controller.cfg).

Then point your wrapper command line option to look at the controller.cfg file.  For example, here's what my zinc.cfg file from Howard Casto's wrapper looks like:

extension=.zip
path=e:\zinc\
exe=cmd-launch7.exe
send rom path=1
send exit keys=1
command line options;--use-config-file=zinc.cfg --use-renderer-cfg-file=renderer.cfg
--use-controller-cfg-file=controller.cfg

Naturally, your 'path' may differ, but notice that I put in the --use-controller-cfg-file command in.  That tells the wrapper to use the cfg file from ZincFE that I created.

Also, make sure that the 'enable keys' option in your renderer.cfg is set to 0.  I'm using the d3d-ogl renderer plugin from the zinc homepage.  Unzip it and drop the renderer.cfg into the zinc root directory (with said change).

Here's part of my zinc.ini for Mamewah:

### List Generation Settings ###
rom_path                                  e:\zinc\roms
rom_extension                             zip
dat_file                                  e:\zinc\zinc.dat
nms_file                                 
catver_ini_file                           e:\zinc\zinccatver.ini
list_generation_method                    rom_folder_vs_dat_file

### Execution Settings ###
emulator_executable                       e:\zinc\cmd-launch7.exe
commandline_format                        [name]{nodosbox}{safelaunch}
alt_commandline_format_1                  [name]
alt_commandline_format_2                  [name]
game_specific_config_path                 


If you're using Howard's wrapper (which I'd recommend), you don't need to change anything in the lconfg.ini file.  Just make sure it's in the zinc root directory with the wrapper executable.

I'm pretty sure that should work.  At least it did for me.  ;D 

Good luck!

Coop

vibez

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 411
  • Last login:February 09, 2011, 08:33:20 am
  • I want to build my own arcade controls!
Re: zinc question
« Reply #2 on: February 27, 2005, 06:18:09 am »
Thanks, that has really helped me out. Got it running from mamewah now.
 ;D ;D ;D

Only problem now is that I cant control some games like tekken using my default controller.cfg. but some games like SF work flawlessly with it. Do games like tekken need an alternative controller.cfg?


Jedi Master Matt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 68
  • Last login:February 22, 2009, 02:51:09 pm
  • I'm a llama!
Re: zinc question
« Reply #3 on: February 27, 2005, 10:22:46 am »
vibez - I think there is a glitch with the Namco games in the newest version of Zinc.   I've tried to find a solution with no success. 

vibez

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 411
  • Last login:February 09, 2011, 08:33:20 am
  • I want to build my own arcade controls!
Re: zinc question
« Reply #4 on: February 27, 2005, 11:00:35 am »
vibez - I think there is a glitch with the Namco games in the newest version of Zinc.   I've tried to find a solution with no success. 

Ah so that could be why the controls don't work?

somunny

  • Trade Count: (+8)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1618
  • Last login:June 17, 2025, 02:49:55 pm
  • Is it hot in here?
Re: zinc question
« Reply #5 on: February 27, 2005, 12:14:15 pm »
Glad to help!  FYI I'm having the same control problems with the Namco games, as well. 

Coop

vibez

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 411
  • Last login:February 09, 2011, 08:33:20 am
  • I want to build my own arcade controls!
Re: zinc question
« Reply #6 on: February 27, 2005, 12:46:19 pm »
I see its reported here
http://www.bannister.org/ubb/ultimatebb.php?ubb=get_topic;f=24;t=001563

not sure how we would get the suggested 'fix' to work when launching via mamewah though  ???
« Last Edit: February 27, 2005, 12:53:42 pm by vibez »

vibez

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 411
  • Last login:February 09, 2011, 08:33:20 am
  • I want to build my own arcade controls!
Re: zinc question
« Reply #7 on: February 28, 2005, 11:22:47 am »
Ok guys, the problem is the keyboard plug-in is broken. Therefore the best option is just to use the default controller.znc that comes with zinc.

This controller doesn't use a cfg file & thus the keymappings are fixed. I delved into the source & re-mapped all player1 & 2 keys to be identical to those used by Mame. I've yet to test it out fully but if anyone is interested I'll post a copy up here. Remember I've only done player 1 & 2, and the button mappings are fixed, so its only really usefull for people who run zinc via commandline & with an i-pac (like me)
« Last Edit: February 28, 2005, 02:20:03 pm by vibez »

simcomm

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 41
  • Last login:March 20, 2016, 07:21:16 pm
  • I want to build my own arcade controls!
Re: zinc question
« Reply #8 on: February 28, 2005, 11:51:04 am »
vibez,

Please show us what you came up with...

I just started using zinc with the Mamewah Fe, and have the same problems as everybody.

But i noticed that if you used zincgui the controls work for some reason.

So if have something that fixes the controls for comand line, it'll be great.

Jedi Master Matt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 68
  • Last login:February 22, 2009, 02:51:09 pm
  • I'm a llama!
Re: zinc question
« Reply #9 on: February 28, 2005, 01:18:46 pm »
vibez - please post your fixed file.   I'm using the default MAME mapping and would love to have this problem solved.

Thanks!

vibez

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 411
  • Last login:February 09, 2011, 08:33:20 am
  • I want to build my own arcade controls!
Re: zinc question
« Reply #10 on: February 28, 2005, 01:23:30 pm »
I need a host, its only 27kb, unless you can attach files here?
« Last Edit: February 28, 2005, 01:30:55 pm by vibez »

Jedi Master Matt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 68
  • Last login:February 22, 2009, 02:51:09 pm
  • I'm a llama!
Re: zinc question
« Reply #11 on: February 28, 2005, 01:47:51 pm »
I don't think you can attach files here.   Can you try the Mamewah forum at MAMEWorld?

http://mameworld.info/ubbthreads/postlist.php?Cat=&Board=arcadeospc2jamma

vibez

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 411
  • Last login:February 09, 2011, 08:33:20 am
  • I want to build my own arcade controls!
Re: zinc question
« Reply #12 on: February 28, 2005, 02:16:28 pm »

somunny

  • Trade Count: (+8)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1618
  • Last login:June 17, 2025, 02:49:55 pm
  • Is it hot in here?
Re: zinc question
« Reply #13 on: February 28, 2005, 05:21:02 pm »
Way to run with it Vibez!  I'll plug it in tonight and let you know how it works.

Coop

Jedi Master Matt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 68
  • Last login:February 22, 2009, 02:51:09 pm
  • I'm a llama!
Re: zinc question
« Reply #14 on: February 28, 2005, 08:23:38 pm »
vibez, you fixed it!!   Way to go.   Just replace the controller cfg with the corrected one and your all set!

vibez

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 411
  • Last login:February 09, 2011, 08:33:20 am
  • I want to build my own arcade controls!
Re: zinc question
« Reply #15 on: March 01, 2005, 03:50:13 am »
Thanks guys :)