Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: vibez on February 26, 2005, 12:19:25 pm

Title: zinc question
Post by: vibez 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
Title: Re: zinc question
Post by: somunny 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
Title: Re: zinc question
Post by: vibez 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?

Title: Re: zinc question
Post by: Jedi Master Matt 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. 
Title: Re: zinc question
Post by: vibez 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?
Title: Re: zinc question
Post by: somunny 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
Title: Re: zinc question
Post by: vibez 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  ???
Title: Re: zinc question
Post by: vibez 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)
Title: Re: zinc question
Post by: simcomm 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.
Title: Re: zinc question
Post by: Jedi Master Matt 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!
Title: Re: zinc question
Post by: vibez on February 28, 2005, 01:23:30 pm
I need a host, its only 27kb, unless you can attach files here?
Title: Re: zinc question
Post by: Jedi Master Matt 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
Title: Re: zinc question
Post by: vibez on February 28, 2005, 02:16:28 pm
Check http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=26128&page=0&view=collapsed&sb=5&o=&fpart=&vc=1

Let me know how it works please
Title: Re: zinc question
Post by: somunny 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
Title: Re: zinc question
Post by: Jedi Master Matt 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!
Title: Re: zinc question
Post by: vibez on March 01, 2005, 03:50:13 am
Thanks guys :)