The above video goes away if you are a member and logged in, so log in now!

 Would you like to get all the new info from PSX-Scene in your email each day? Want to learn more about the team keeping you up to date with the latest scene news?

# Thread: Changing\calculating the IGR combos?    Tweet var b = document.createElement('script'); b.type = 'text/javascript'; b.src = ('http://platform.twitter.com/widgets.js'); var a=document.getElementById("bop5twt"); a.parentNode.insertBefore(b,a); (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })();

1. Member
Join Date
Jul 2011
Posts
234
0
0
Mentioned
4 Post(s)
Tagged
Likes Given
0
17
I may be wrong but isn't changing the combos just a simple change in padhook.h

#define IGR_COMBO_R1_L1_R2_L2 0xF0
#define IGR_COMBO_START_SELECT 0xF6
#define IGR_COMBO_R3_L3 0xF9
My question is how to calculate that number...how Start+Select mean F6 or R3+L3 mean F9 or L2+R2+L1+R1 mean F0
It's probably something from libpad.h(...ps2sdk\ee\include\libpad.h)but from what I tried,looks like I don't understand it.

If I change the L2+R2+L1+R1 to for example only L2+R2,this will fix all of my problems(have the ability to return to OPL while having the ability to use the build in game reset on some games).

2. Member
Join Date
Jul 2011
Posts
234
0
0
Mentioned
4 Post(s)
Tagged
Likes Given
0
17
I still don't understand it but by testing I find those.

FD - L3
0xFB - R3
0xF9 - R3 + L3
0xF7 - Start
0xF6 - Start + Select
0xF5 - Start + L3
0xF3 - Start + R3
So I changed the Reset to 0xFD(R1+L1+R2+L2+L3)
and turn off to 0xFB(R1+L1+R2+L2+R3)

#define IGR_COMBO_R1_L1_R2_L2 0xF0
#define IGR_COMBO_START_SELECT 0xFD
#define IGR_COMBO_R3_L3 0xFB
Which in my personal opinion is much better(I don't know of any game that uses those combinations of anything)

I can also change the
IGR_COMBO_START_SELECT and IGR_COMBO_R3_L3 text in padhook.c and padhook.h but the important part are those digits

3. FD - L3
0xFB - R3
0xF9 - R3 + L3
so, R3 + L3 = R3 and L3 = 0xFB && 0xFD = 0xF9 (test it in online hexadecimal calculator).

you could simply do

Code:
#define PAD_L3 0xFD

#define PAD_L3_R3 = PAD_L3 && PAD_R3

4. Member
Join Date
Jul 2011
Posts
234
0
0
Mentioned
4 Post(s)
Tagged
Likes Given
0
17
Sorry but I'm little confused.

Ok I understand the calculation process(I would never think of using && in calculator even thought I know that && mean "and")
What exactly are you trying to tell me...yes if I type 0xFB && 0xFD = in windows calculator in hex mode,I will get F9 as a result but how should I know 0xFB mean R3 and 0xFD mean L3.