Mario Kart Wii Gecko Codes, Cheats, & Hacks
No SSL (MKW specific) [Vega] - Printable Version

+- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com)
+-- Forum: Cheat Codes (https://mariokartwii.com/forumdisplay.php?fid=51)
+--- Forum: Incomplete & Outdated Codes (https://mariokartwii.com/forumdisplay.php?fid=60)
+--- Thread: No SSL (MKW specific) [Vega] (/showthread.php?tid=1149)



No SSL (MKW specific) [Vega] - Vega - 06-18-2019

No SSL (MKW specific) [Vega]

NOTE: Outdated by Fix94's No SSL in main codes forum because that one is region free and it works for all wii games, not just MKWii.

This code will change all instances within the game's files of https to http. This is a good code for users of ALTWFC-type servers. You can use this code instead of configuring the Private Server NoSSL option within USB Loader GX.

NTSC-U
C200A3F4 0000000D
3D808000 618C3000
3D60017F 616BCFFC
7D6903A6 3D407474
614A7073 816C0000
7C0B5000 40A20034
392C0003 390C0002
7D274B78 38C00000
8D670001 2C0B0000
38C60001 4082FFF4
8D690001 9D680001
34C6FFFF 4082FFF4
398C0001 4200FFC0
7C0803A6 00000000

PAL
C200A434 0000000D
3D808000 618C3000
3D60017F 616BCFFC
7D6903A6 3D407474
614A7073 816C0000
7C0B5000 40A20034
392C0003 390C0002
7D274B78 38C00000
8D670001 2C0B0000
38C60001 4082FFF4
8D690001 9D680001
34C6FFFF 4082FFF4
398C0001 4200FFC0
7C0803A6 00000000

NTSC-J
C200A390 0000000D
3D808000 618C3000
3D60017F 616BCFFC
7D6903A6 3D407474
614A7073 816C0000
7C0B5000 40A20034
392C0003 390C0002
7D274B78 38C00000
8D670001 2C0B0000
38C60001 4082FFF4
8D690001 9D680001
34C6FFFF 4082FFF4
398C0001 4200FFC0
7C0803A6 00000000

NTSC-K
C200A53C 0000000D
3D808000 618C3000
3D60017F 616BCFFC
7D6903A6 3D407474
614A7073 816C0000
7C0B5000 40A20034
392C0003 390C0002
7D274B78 38C00000
8D670001 2C0B0000
38C60001 4082FFF4
8D690001 9D680001
34C6FFFF 4082FFF4
398C0001 4200FFC0
7C0803A6 00000000



Code creator: Vega

Code credits: RiiDefi (address founder)



#~~~~~~~~~~~~~~~~#
# START ASSEMBLY #
#~~~~~~~~~~~~~~~~#

#

#~~~~~~~~~~~~~~~~~~~~~~~~#
# Statements & Variables #
#~~~~~~~~~~~~~~~~~~~~~~~~#

.set asc_ii, 0x74747073 #The 'ttps' in https://

#~~~~~~~~~~~~~~~~~~~#
# Set Start Address #
#~~~~~~~~~~~~~~~~~~~#

lis r12, 0x8000
ori r12, r12, 0x3000

#~~~~~~~~~~~~~~~~~~~~~~~~#
# Set Countdown Register #
#~~~~~~~~~~~~~~~~~~~~~~~~#

lis r11, 0x017F #0x817FFFFC - 0x80003000 = 0x17FCFFC
ori r11, r11, 0xCFFC
mtctr r11

#~~~~~~~~~~~#
# Set ASCII #
#~~~~~~~~~~~#

lis r10, asc_ii@h
ori r10, r10, asc_ii@l

#~~~~~~~~~~~~~~~~#
# Main/Root Loop #
#~~~~~~~~~~~~~~~~#

root_loop:
lwz r11, 0x0 (r12)
cmpw r11, r10
bne+ not_found

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#        HandWritten Memmove      #
#          r8 = Destination        #
#            r9 = Source          #
# r6 = Length of String to be Moved #
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

addi r9, r12, 3 #This will start at the s in https://
addi r8, r12, 2 #This will start at the p in https://
mr r7, r9

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#            Pre Subroutine Loop Config            #
# This will tell us the result for Memmove's r5 arg #
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

li r6, 0

the_loop:
lbzu r11, 0x1 (r7)
cmpwi r11, 0
addi r6, r6, 1 #Increment r6 by 1 everytime is non-null byte is read, once a null byte is read, r6 will hold the correct string amount for memmove's 3rd argument
bne+ the_loop

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# Call HandWritten Memmove Function #
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

another_loop:
lbzu r11, 0x1 (r9)
stbu r11, 0x1 (r8)
subic. r6, r6, 1
bne+ another_loop

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# Not_Found Label, 2nd Part of Main/Root Loop #
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

not_found:
addi r12, r12, 1
bdnz+ root_loop

#~~~~~~~~~~~~~~~~~~~~~#
# Default Instruction #
#~~~~~~~~~~~~~~~~~~~~~#

mtlr r0

#

#~~~~~~~~~~~~~~#
# END ASSEMBLY #
#~~~~~~~~~~~~~~#





RE: No SSL (MKW specific) - Sosis - 06-18-2019

Great work Vega! Keep it up!


RE: No SSL (MKW specific) - Vega - 06-18-2019

(06-18-2019, 06:25 PM)Sosis Wrote: Great work Vega! Keep it up!

Thx  Wink