Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

Managed to get Zinc to see, run and play it's respective roms but can I use my controller like I can when I use ZincFE? nope.

I'm trying to pass parameters to zinc.exe --use-controller-config=controller.ini and it's not returning any errors on that but sadly my joystick1 is still not doing nowt in zinc.

please help. managed to source why my mame roms were starting up in service mode, poorly calibrated ps2 controller had no deadzone defined.

Love the software, got epsxe, pj64, gens up and running. and liking the media capabilities a lot. specially in the living room :)

Posted
Managed to get Zinc to see, run and play it's respective roms but can I use my controller like I can when I use ZincFE? nope.

I'm trying to pass parameters to zinc.exe --use-controller-config=controller.ini and it's not returning any errors on that but sadly my joystick1 is still not doing nowt in zinc.

please help. managed to source why my mame roms were starting up in service mode, poorly calibrated ps2 controller had no deadzone defined.

Love the software, got epsxe, pj64, gens up and running. and liking the media capabilities a lot. specially in the living room :)

Here's how I got it working for me:

http://www.gameex.info/forums/index.php?sh...findpost&p=3727

Hope it helps,

Toonces

Posted (edited)

Magic, looks like I was generating the wrong type of configs from zincfe. looks very promising.

:edit:

Turns out that Zinc 1.1 controller.znc wasn't accepting use controller.cfg cmd line option. Winterblasts does however and once z1.1's is replaced Winterblasts works a treat.

So..

Downloaded:

Zinc 1.1 command line emulator

Aldo's Frontend (ZincFE) - Ignore the Dafreaks Frontend.

Winterblast's input plugin.

All from here:

http://www.emulator-zone.com/doc.php/arcade/zinc.html

extracted zinc 1.1, then ZincFE and then Winterblasts input plugin (so winterblasts controller.cfg is last cfg written out.

Ran ZincFE & pointed to the roms etc, setup display et al.

(note gamex takes care of rom locations so leave path to roms to Gamex)

Then picked up joystick and started defining the buttons for each button

for one game only just now and ran the rom to check they worked.

this will update the controller.cfg

Then in GameX used the command line:

--use-config-file="G:\HomeArcade\Zinc2\zinc.cfg" --use-renderer-cfg-file="G:\HomeArcade\Zinc2\renderer.cfg"

The zinc.cfg contains:

;Created with Aldo's ZiNc Front End 15/05/2005 14:40:59

--use-sound=yes

--sound-filter-enable=yes

--sound-filter-cutoff=44100

--sound-surround-lite-enable=yes

--sound-surround-lite-multiplier=40

--sound-stereo-exciter=yes

--use-slow-geometry=yes

--use-controller-cfg-file=G:\HomeArcade\Zinc2\controller.cfg

(NOTE: I did attempt to use controller-cfg cmd line in Gamex as awell but didn't work, suspect I had it repeating itself, try it yourself see if it needs to be in zinc.cfg or gamex commandline)

controller.cfg contains:

You shoud see a lot of ";comments" lines explaining the workings of controller.cfg a bit more but I've removed these for this posting.

[general]

;file to output controller messages and errors

output="G:\HomeArcade\Zinc2\wbout.txt"

;indicate if controller will fail or not if a config error occured

noerror=1

;the order of controls :

[all]

;F3

test=k3d

;F2

services=k3c

[player1]

;example for ZN1 player 1 with joy1

;useMM=1 ;allow player 1 to use WinMM joystick instead of DirectX

coin=j1b9

start=j1b12

right=j1right

left=j1left

down=j1down

up=j1up

btn1=j1b1

btn2=j1b2

btn3=j1b3

btn4=j1b4

btn5=j1b5

btn6=j1b6

c1=j1b7

c2=j1b8

[player2]

;example for ZN1 player 2 with joy2

coin=k03

start=k07

right=j2right

left=j2left

down=j2down

up=j2up

btn1=j2b1

btn2=j2b2

btn3=j2b3

btn4=j2b4

btn5=j2b5

btn6=j2b6

c1=j2b7

c2=j2b8

Hope this helps anyone who needs to config zinc with a joystick!

TX

Update:

Some roms don't respond to the buttons shown above (eg: Tekken).

I expect I have to include some of the additional comments from the original winterblast controller.cfg and do some testing.

Once you defined your stick & buttons in ZincFE

Also inspect the .cfg files that are generated for the game your testing

if your controller.cfg isn't changing. Generally a bit of detective work is involved but is well worth it to play SF EX 2 plus from Gamex.

edit:

Edited by TX_TRINITY
  • 11 months later...
Posted
Update:

Some roms don't respond to the buttons shown above (eg: Tekken).

I expect I have to include some of the additional comments from the original winterblast controller.cfg and do some testing.

Once you defined your stick & buttons in ZincFE

Also inspect the .cfg files that are generated for the game your testing

if your controller.cfg isn't changing. Generally a bit of detective work is involved but is well worth it to play SF EX 2 plus from Gamex.

edit:

hey sorry for bumping this but i really need help with this.

zinc works fine in game ex for all my games but some games like tekken, soul blade etc the controls dont work at all accept for the coin and start buttons. i figured that this was because these are 4 button games so i made a new controller.cfg file and mapped the keys according, then in the individual ini files i pointed all the 4 button games to my new controller.cfg ( controller4.cfg ) but the results are still the same, only coin and start work.

has anyone got this working properly with all games?

thanks

Posted

I've got it running correctly... Give me a sec to look into this.

.: EDIT :.

I just played Rival Schools to make sure everything works and it does. I have a controller.cfg set up and zinc.exe is running without any command line arguments. Here's what it looks like:

[general]
;file to output controller messages and errors
output="c:\wbout.txt"
;indicate if controller will fail or not if a config error occured
noerror=1

;the order of controls :

; ZN1 : 6 btns
; S11 : 11 btns + 2 special btn (see below)
; KN1 : 2 btns
; RZ : 3 btns

; codes are :
; k'hexcode' for keyboard (see dik_code.txt for a list of keys)
; j'joystick number' followed by b'button number' for button or 'up', 'down', 'left, 'right' for pad
; examples :
; k1f for key S
; j2b3 for joy 2 button 3
; k0 for no key


; combos :
; you can define up to 32 combos
; combos are available for every player
; syntax is :
; d down
; u up
; r right
; l left
; s start
; b1 button 1
; ....
; bn button n
; , is the separator for each frame
;
; to map an input key for a combo, put
;c'combo number in combo list'=code
; see below for examples
[combos]
;hadoken from left
1=d,,dr,,rb3
;hadoken from right
2=d,,dl,,lb3


[all]
;F3
test=k3d
;F2
services=k3c


; for S11 works well with tekken2, souledge
; seems btn1 to btn8 do nothing
;[player1]
;coin=k02
;start=k06
;right=kcd
;left=kcb
;down=kd0
;up=kc8
;btn9=k20
;btn10=k21
;btn11=k22
;btn12=k2e
;btn13=k2f

; S11 keys are :
; 1
; 5
; rightarrow
; leftarrow
; downarrow
; uparrow
; btn 1 to 8 : none
; D
; F
; G
; C -> tekken 2 kick 1
; V -> tekken 2 kick 2 / souledge block


[player1]
;example for ZN1 player 1 with joy1
;useMM=1;allow player 1 to use WinMM joystick instead of DirectX
coin=j1b10
start=j1b9
right=j1right
left=j1left
down=j1down
up=j1up
btn1=j1b4
btn2=j1b1
btn3=j1b7
btn4=j1b3
btn5=j1b2
btn6=j1b8
c1=j1b5
c2=j1b6

[player2]
;example for ZN1 player 2 with joy2
coin=k03
start=k07
right=j2right
left=j2left
down=j2down
up=j2up
btn1=j2b1
btn2=j2b2
btn3=j2b3
btn4=j2b4
btn5=j2b5
btn6=j2b6
c1=j2b7
c2=j2b8


;example for KN1 with joy1
;[player1]
;coin=k02
;start=k06
;right=j1right
;left=j1left
;down=j1down
;up=j1up
;btn1=j1b1
;btn2=j1b2

;example for RZ with joy1
;[player1]
;coin=k02
;start=k06
;right=j1right
;left=j1left
;down=j1down
;up=j1up
;btn1=j1b1
;btn2=j1b2
;btn3=j1b3

I'm not sure how I mapped them, other than I tried the setup in the configuration for your joystick.

Like on my Playstation controller, I figured out b1 was the square(btn1=j1b1 or if it's second controller btn1=j2b1), and so on.

I don't use the GUI so I don't know if that's helpful to you or not, I just feel that zinc.exe automatically loads the controller.cfg and renderer.cfg by default.

If you don't have a controller.cfg you can copy mine, save it as controller.cfg from Notepad and change your buttons accordingly.

I hope that's helpful.

.: EDIT #2 :. I did some research and it appears there's a glitch with Namco games in 1.1 - I hadn't noticed before, but none of my Namco's are running properly...

Posted
I've got it running correctly... Give me a sec to look into this.

.: EDIT #2 :. I did some research and it appears there's a glitch with Namco games in 1.1 - I hadn't noticed before, but none of my Namco's are running properly...

Adultrey, Thanks for your help man.

are you using playstation controller with this config because it is exactley the same as my controller.cfg.

i think you are right, the only namco games that run at full speed with my zinc is tekken 1/2 and soul blade but the buttons dont work with them, but here is the strange thing..

if open zinc outside gameex ( zinc Gui )and reconfigure the controllers for the 4 button namco games using tekken 2 to test, and it worked fine.... all the buttons and full speed, this is a very stange problem, but to be honest if it is only namco games that dont work under zinc in gameex it is not all bad because they work fine in mame, ( though i dont have soul blade yet ).

is there a way to setup multiple configuration's within the controller.cfg in zinc i.e zinc knowing what games are 4/5 button and applying the relevant config for it autamatically? the reason i ask this is because games like techromancer and battle arena toshinden work fine but the buttons are assigned all wrong.

again thanks for your help.

massop

Posted

Okay while I clearly need to clean this up...it does allow you to pass different controller configs to zinc per game.

If you'll create the required controller configs, and a list of which goes with which game...I'll clean up my zinc setup and package those with them...hell maybe Tom will package them as part of GameEX's zinc support.

Posted

If I was to try to figure this out, I'd need to also launch joy2key and terminate it when zInC exits (I think... Not positive however.)

The problem seems to me that the Namco System 11 games have a completely different setup and need their own controls. I mapped joy2key so it supports the S11 setup on the keyboard, but without a LaunchBefore= and LaunchAfter= for zInC in the MAME menu, I can't do this. I'm sure there's a way to make a bat file that loads both, but how do I launch the killjoy2key Auto-IT script using the bat file?

So... Long story short is that other than setting up zInC as a seperate emulator, I can't get System 11 controls to work properly.

Posted

I'm not fully following you.

Replacing the Zinc.exe in your Mame setup with an AutoIt wrapper would do the trick based off the rom passed to the wrapper.

I'm just not seeing the need for Joy2Key...I understand that s11 requires a different controls binding...but that can be switched out by simply telling ZiNc to use a different config....say we have two different ones CRTL_SYSTEM11.cfg & CTRL_OTHER.cfg by passing the ZiNc executable CRTL_SYSTEM11.cfg when launching a System 11 game, would result in the correct controls for System 11....when playing other non System 11 games passing the ZiNc executable CTRL_OTHER.cfg would then result in proper controls for non System 11 games....that is IF we are only dealing with two different configs being required. ;)

hmm actually maybe I can do it myself based off your above config.

[player1]
coin=j1b9
start=j1b10
right=j1right
left=j1left
down=j1down
up=j1up
btn9=j1b1
btn10=j1b2
btn11=j1b3
btn12=j1b4
btn13=j1b5

The above over all works okay.

I've attached a file that lists what system a given game is to, rom name, and numeric value used to pass to ZiNc.exe

* Update *

Uploaded some base control configs based on what Adultery & TX_TRINITY posted above. These appear to be working fine with my Logitech Dual Action thingy-ma-bob. :)

Now the question is...should we just leave it to base configs per system...or should we get out of hand with things and do up configs that have combo's where they apply?

I can code in a wrapper to apply these ether way, to ether by altering my prior wrapper or creating a new one that plays nice with how GameEx has things done.

I'm just looking to see if there is interest and help creating the combo's. :)

* Update Again *

Now have a full set of all 8 systems...that said I'm still not happy with things...button placement can very greatly from game to game...so thinking of going to per game configs...rather than just bulk system ones.

* Update Another *

Added FX1 per game configs

Added RZ per game configs - Missing Bloody Roar 2 (JP)

Added S11 per game configs - Missing Prime Goal EX (JP) Ver. A

Added S12 per game configs

Added TPS per game configs

Added ZN1 per game configs

Added ZN2 per game configs

Missing all KN1 game configs

Posted
Now the question is...should we just leave it to base configs per system...or should we get out of hand with things and do up configs that have combo's where they apply?

I can code in a wrapper to apply these ether way, to ether by altering my prior wrapper or creating a new one that plays nice with how GameEx has things done.

I'm just looking to see if there is interest and help creating the combo's. :)

this is great.

IMHO i dont see the need to configure combos, it kind of takes the fun out of doing it yourself, plus i wouldnt want my friends beating me up on streetfigher ex pressing just a single button ( we are talking about ingame combos right? ).

o.k i downloaded your controls.zip file and i understand what config goes with what system, but how do i impliment them into your current wrapper? i have an idea but am not too sure and i dont want to mess up my current zinc setup as it took me ages to get working within gameex.

sorry for being a noob :P

Posted

Okay using my stand alone wrapper...you'll have to replace the current INI's with the ones attached.

Yeah I've been dinking around with the combo's and not developing much love for them...to hardware dependant it seems...so what ever I or some one else gets done...its not going to work for everyone. :(

hehe plus they suck in general to write up...even with a cheat sheet. ;)

*Update*

Prefab ini's are attached that match the current system configs.

Posted

right....... after opening almost every single game i have finally got zinc configured.... yay

this configuration is for the psx and dual shock pads. the S11.cfg/KN1.cfg..etc files are not named propely because i was making names up as i was configurimg the buttons, but for the peole who want to setup zinc with playstation pads do the following from the attached file..

1. copy the over the ini's

2. copy the controls folder to the directory where zinc.exe is

3. copy the cfg's in "Config" to the directory where zinc.exe is

dont forget to backup these files before doing this...

for me nologic this is definatley golden,

thanks man

INI.zip

Guest
This topic is now closed to further replies.
×
×
  • Create New...