KCL Flag Modifier [Unnamed]
#1
KCL Flag Modifier [Unnamed]

With this code you can replace a KCL Flag you are driving on with one of your choice. Simply put in the KCL Flag you want to replace with the one you wish.


NTSC-U
C27B26B8 00000004
A165000E KKKKKKKK
280CSSSS 4082000C
3D600000 616BTTTT
7D635B78 00000000
C27B1FE4 00000004
A176000E KKKKKKKK
280CSSSS 4082000C
3D600000 616BTTTT
7D645B78 00000000
C27B2C70 00000004
A179000E KKKKKKKK
280CSSSS 4082000C
3D600000 616BTTTT
7D635B78 00000000
C27B242C 00000004
A176000E KKKKKKKK
280CSSSS 4082000C
3D600000 616BTTTT
7D605B78 00000000
C27B3038 00000004
A179000E KKKKKKKK
280CSSSS 4082000C
3D600000 616BTTTT
7D605B78 00000000

PAL
C27C1118 00000004
A165000E KKKKKKKK
280CSSSS 4082000C
3D600000 616BTTTT
7D635B78 00000000
C27C0A44 00000004
A176000E KKKKKKKK
280CSSSS 4082000C
3D600000 616BTTTT
7D645B78 00000000
C27C16D0 00000004
A179000E KKKKKKKK
280CSSSS 4182000C
3D600000 616BTTTT
7D635B78 00000000
C27C0E8C 00000004
A176000E KKKKKKKK
280CSSSS 4082000C
3D600000 616BTTTT
7D605B78 00000000
C27C1A98 00000004
A179000E KKKKKKKK
280CSSSS 4082000C
3D600000 616BTTTT
7D605B78 00000000

NTSC-J
C27C0784 00000004
A165000E KKKKKKKK
280CSSSS 4082000C
3D600000 616BTTTT
7D635B78 00000000
C27C00B0 00000004
A176000E KKKKKKKK
280CSSSS 4082000C
3D600000 616BTTTT
7D645B78 00000000
C27C0D3C 00000004
A179000E KKKKKKKK
280CSSSS 4182000C
3D600000 616BTTTT
7D635B78 00000000
C27C04F8 00000004
A176000E KKKKKKKK
280CSSSS 4082000C
3D600000 616BTTTT
7D605B78 00000000
C27C1104 00000004
A179000E KKKKKKKK
280CSSSS 4082000C
3D600000 616BTTTT
7D605B78 00000000

NTSC-K
C27AF4D8 00000004
A165000E KKKKKKKK
280CSSSS 4082000C
3D600000 616BTTTT
7D635B78 00000000
C27AEE04 00000004
A176000E KKKKKKKK
280CSSSS 4082000C
3D600000 616BTTTT
7D645B78 00000000
C27AFA90 00000004
A179000E KKKKKKKK
280CSSSS 4182000C
3D600000 616BTTTT
7D635B78 00000000
C27AF24C 00000004
A176000E KKKKKKKK
280CSSSS 4082000C
3D600000 616BTTTT
7D605B78 00000000
C27AFE58 00000004
A179000E KKKKKKKK
280CSSSS 4082000C
3D600000 616BTTTT
7D605B78 00000000


Values
SSSS: KCL Flag you want to replace
TTTT: KCL Flag replaced with

For more information about KCL flags go here.


KKKKKKKK: an assembly instruction you can choose what you want to replace
Default Value is 7D6C5B78 (mr r12, r11)

If you want to modify KCL Flags e.g. having all the same Base Type, you have to mask out bits. The instruction should follow this structure

rlwinm r12, r11, 0, m, n

For this, you need to learn PowerPC assembly to assemble your instruction and how to and a register with a mask. Helpful Tutorials for this you find in VegasĀ Assembly Tutorial and in Tutorial about Bit Rotation.


Here are some Examples
SSSS = 0004, TTTT = 0006, KKKKKKKK = 7D6C5B78 (Heavy offroad "Sand" is now Boost Panel)
SSSS = 0006, TTTT = 0000, KKKKKKKK = 7D6C5B78 (Boost Panel is now normal road, this way, you disable boost panels)
SSSS = 2000, TTTT = 0000, KKKKKKKK = 556C04A4 (Disable all trickable KCL Flags)

If you get more knowledge about assembly language, you can also extend this code to make it work for more than one KCL flag.


Code Creator: Unnamed
Reply


Messages In This Thread
KCL Flag Modifier [Unnamed] - by Unnamed - 08-09-2024, 09:05 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)