The Mugen Fighters Guild

I.K.E.M.E.N. Central => IKEMEN Releases => Ikemen General Discussion and Help => Topic started by: RodKnee on November 16, 2016, 03:04:45 am

Title: Config.ssz Tricks
Post by: RodKnee on November 16, 2016, 03:04:45 am
This is an example to use NumberPad Keys on Ikemen in the Config.ssz

Spoiler, click to toggle visibilty

To do this simply Put in "KP_(Number)" in the code

Also the guy who found it used this as a reference https://wiki.libsdl.org/SDL_Keycode (https://wiki.libsdl.org/SDL_Keycode)

Thanks PeeJay Bonobo for finding this
Title: Re: Config.ssz Tricks
Post by: Ace Syntax on November 16, 2016, 07:03:05 pm
Thanks for sharing this neat trick mate ;)
Title: Re: Config.ssz Tricks
Post by: TheFclass97 on November 16, 2016, 07:15:28 pm
Yeah... Fuckin' awesome! Glad someone found out how to do it. I did it once for one guy and never again (that was like, 3-4 years ago). Hope it helps those who need it ^_~
Title: Re: Config.ssz Tricks
Post by: mr_bourrepalestick on April 17, 2017, 05:51:22 pm
For Xbox360 / XboxOne controllers , on a Win10 system, here is what it gives me :
(directions are with the D-pad)

Controller Button | Mugen's adress | Ikemen's adress |
Up | 11 | -7 |
Down | 12 | -8 |
Left | 13 | -5 |
Right | 14 | -6 |
A | 15 | 0 |
B | 16 | 1 |
X | 17 | 2 |
Y | 18 | 3 |
LB | 19 | 4 |
RB | 20 | 5 |
LT | 6 | -19 |
RT | 5 | -20 |
Start | 22 | 7 |
Back | 21 | 6 |

So, for a "classical" button layout (for player1), config.ssz section should be like :

Code:
  in.new[0].set(
    0, -7, -8, -5, -6,
    0, 1, 4, 2, 3, 5,
    7 );

I hope it helps :)
Title: Re: Config.ssz Tricks
Post by: TheFclass97 on April 17, 2017, 06:20:23 pm
Cool addition :3

In case that doesn't work or there might be a couple of issues, you can always try this:

Spoiler, click to toggle visibilty
Title: Re: Config.ssz Tricks
Post by: SagirisOniiChan on May 02, 2017, 10:02:40 pm
For Xbox360 / XboxOne controllers , on a Win10 system, here is what it gives me :
(directions are with the D-pad)

Controller Button | Mugen's adress | Ikemen's adress |
Up | 11 | -7 |
Down | 12 | -8 |
Left | 13 | -5 |
Right | 14 | -6 |
A | 15 | 0 |
B | 16 | 1 |
X | 17 | 2 |
Y | 18 | 3 |
LB | 19 | 4 |
RB | 20 | 5 |
LT | 6 | -19 |
RT | 5 | -20 |
Start | 22 | 7 |
Back | 21 | 6 |

So, for a "classical" button layout (for player1), config.ssz section should be like :

Code:
  in.new[0].set(
    0, -7, -8, -5, -6,
    0, 1, 4, 2, 3, 5,
    7 );

I hope it helps :)


How did you find the addresses? Could you do this for a Dualshock 4 controller?
Title: Re: Config.ssz Tricks
Post by: mr_bourrepalestick on May 03, 2017, 10:09:26 pm
How did you find the addresses? Could you do this for a Dualshock 4 controller?

Unfortunately, I don't have a DS4 at my disposal.
But I've found the adresses for Xbox controllers after some experimentations.

I have started with :
Code:
in.new[0].set(
    0, 0, 1, 2, 3,
    4, 5, 6, 7, 8, 9,
    10 );
Then I saw that 0 actually was not "up" direction , but button "A" on my controller, and 1 was "B" etc.
And I noticed that there was the same difference (15 in my case) between Mugen button adresse figures and Ikemen ones. That's how I found all the "buttons" figures.
For directions, they often have smaller adress figures  ... so I thought : smaller than 0 ? Negative figures ? So I tried, and it worked.
Same for triggers.

It took me 30 minutes or so to experiment it all. I'm afraid I can't do better than that to help you here ...
Just in case : have you tried TheFClass' s  code ?
Good luck mate  ;)
Title: Re: Config.ssz Tricks
Post by: TheFclass97 on May 09, 2017, 12:28:47 am
I don't use a controller, so no... However, I have had some people try it and it doesn't work quite right. This is most likely due to different controllers, cause some people I know also used this controller scheme and it worked fine for them.
Title: Re: Config.ssz Tricks
Post by: Memo on May 09, 2017, 12:48:18 am
Do you guys know what the inputs would be for a
ps1 CTRL, I got the Namco fight stick....wait can I find
The inputs my self my going to my devices and hitting
The config option on the CTRL, It shows the numbers
on the buttons n shit is that how you get it?
Title: Re: Config.ssz Tricks
Post by: TheFclass97 on May 09, 2017, 01:22:56 am
You go to devices and printers, and check out which button corresponds with what number.
Title: Re: Config.ssz Tricks
Post by: mr_bourrepalestick on May 10, 2017, 07:47:53 pm
wait can I find The inputs my self my going to my devices and hitting
The config option on the CTRL, It shows the numbers
on the buttons n shit is that how you get it?

For Mugen's button numbers, that's exactly how I've done it.
For Windows button numbers, it's as TheFclass said :
You go to devices and printers, and check out which button corresponds with what number.

For Ikemen, I just tried stuff in the config.ssz  and saw if they work when launching Ikemen.
Mugen's numbers can give you a hint about Ikemen numbers' range +/- 10 . There seems to be some kind of logic between Mugen's/Ikemen's/Windows button numbers, but I can't tell the exact rule... Maybe some hexadecimal stuff or smthg... I honestly don't know.

Title: Re: Config.ssz Tricks
Post by: mr_bourrepalestick on May 14, 2017, 10:09:14 pm
Do you guys know what the inputs would be for a
ps1 CTRL, I got the Namco fight stick....wait can I find
The inputs my self my going to my devices and hitting
The config option on the CTRL, It shows the numbers
on the buttons n shit is that how you get it?

I think THIS (http://mugenguild.com/forum/topics/ikemen-controller-configuration-179777.0.html) could be more explanatory.  ;)