from tcpgecko import TCPGecko from textwrap import wrap from struct import pack from binascii import unhexlify import sys tcp = TCPGecko("192.168.0.8") #Wii U IP address Colors = b"" for i in range(1, 4): #Ignores Alpha since it doesn't use it Color = wrap(sys.argv[i], 2) #Split it into 2 character chunks for j in range(3): #Create the RGB floats Colors += pack(">f", ord(unhexlify(Color[j])) / 256) Colors += pack(">f", 1.0) #Alpha tcp.writestr(0x12D1AF70, Colors) #Only overwrites currently loaded color #Run a command right after the lobby is "ready" tcp.s.close() print("Done!")
#You're probably better off using the GUI version, but... #https://gbatemp.net/threads/splatoon-colorizer.406463/ from tcpgecko import TCPGecko from textwrap import wrap from struct import pack from binascii import unhexlify import sys #!!! WARNING: ColorHax has been known to get permanent bans for users !!! #!!! USE AT YOUR OWN RISK !!! tcp = TCPGecko("192.168.0.10") #Wii U IP address Colors = b"" for i in range(1, 4): #Ignores Alpha since it doesn't use it Color = wrap(sys.argv[i], 2) #Split it into 2 character chunks for j in range(3): #Create the RGB floats Colors += pack(">f", ord(unhexlify(Color[j])) / 256) Colors += pack(">f", 1.0) #Alpha tcp.writestr(0x12D53178, Colors) #Only overwrites currently loaded color #Run a command right after the lobby is "ready" tcp.s.close() print("Done!") #!!! WARNING: ColorHax has been known to get permanent bans for users !!! #!!! USE AT YOUR OWN RISK !!!
from tcpgecko import TCPGecko from textwrap import wrap from struct import pack from binascii import hexlify, unhexlify import sys def pokecolor(pos, string): color = textwrap.wrap(string, 4) tcp.pokemem(pos, struct.unpack(">I", color[0])[0]) tcp.pokemem(pos + 4, struct.unpack(">I", color[1])[0]) tcp.pokemem(pos + 8, struct.unpack(">I", color[2])[0]) tcp.pokemem(pos + 12, struct.unpack(">I", color[3])[0]) tcp = TCPGecko("192.168.137.3") Colors = b"" for i in range(1, 4): #Ignores Alpha since it doesn't use it Color = wrap(sys.argv[i], 2) #Split it into 2 character chunks for j in range(3): Colors += pack(">f", ord(unhexlify(Color[j])) / 256) Colors += pack(">f", 1.0) tcp.writestr(0x12D14F64, Colors) #Only overwrites currently loaded color #You need to figure out timing to apply tcp.s.close() print("Done.")
er00_Hlf....Play er_Squid....Play er01....Player01 _Hlf....ToSquid. ToHuman.Sqd_Jet. ''' #Then dump 0x12000000 to 0x13000000, search for Tnk_Simple, #should be first result, with three of them in a row with spacing from tcpgecko import TCPGecko import sys sys.argv.append("280") tcp = TCPGecko("192.168.1.82") if sys.argv[1] == "100": #For 1.0.0-? tcp.writestr(0x105068F0, b"Tnk_Rvl00") tcp.writestr(0x1051A500, b"Tnk_Rvl00") tcp.writestr(0x105DBFE0, b"Rival00") tcp.writestr(0x105DBFEC, b"Rival00_Hlf") tcp.writestr(0x105DBFFC, b"Rival_Squid") #tcp.pokemem(0x12CB05A0, 42069) elif sys.argv[1] == "130": #for 1.3.0 tcp.writestr(0x105068F0, b"Tnk_Rvl00") tcp.writestr(0x105D4000, b"Tnk_Rvl00") tcp.writestr(0x105DC118, b"Rival00") tcp.writestr(0x105DC124, b"Rival00_Hlf") tcp.writestr(0x105DC134, b"Rival_Squid") #tcp.pokemem(0x12CB07A0, 42069) elif sys.argv[1] == "200": #For 2.0.0 tcp.writestr(0x10506AB0, b"Tnk_Rvl00") tcp.writestr(0x105E0278, b"Tnk_Rvl00")
from tcpgecko import TCPGecko tcp = TCPGecko("192.168.0.8") tcp.writestr(0x105068F0, "Tnk_Rvl00") #For 1.0.0-? tcp.writestr(0x1051A500, "Tnk_Rvl00") tcp.writestr(0x105DBFE0, "Rival00") tcp.writestr(0x105DBFEC, "Rival00_Hlf") tcp.writestr(0x105DBFFC, "Rival_Squid") tcp.pokemem(0x12CB05A0, 42069) '''tcp.writestr(0x105068F0, "Tnk_Rvl00") #for 1.3.0 tcp.writestr(0x105D4000, "Tnk_Rvl00") tcp.writestr(0x105DC118, "Rival00") tcp.writestr(0x105DC124, "Rival00_Hlf") tcp.writestr(0x105DC134, "Rival_Squid") tcp.pokemem(0x12CB07A0, 42069)''' tcp.s.close() print("Done.")
#Codename Octohax from tcpgecko import TCPGecko import sys sys.argv.append("230") tcp = TCPGecko("192.168.0.8") if sys.argv[1] == "100": #For 1.0.0-? tcp.writestr(0x105068F0, b"Tnk_Rvl00") tcp.writestr(0x1051A500, b"Tnk_Rvl00") tcp.writestr(0x105DBFE0, b"Rival00") tcp.writestr(0x105DBFEC, b"Rival00_Hlf") tcp.writestr(0x105DBFFC, b"Rival_Squid") #tcp.pokemem(0x12CB05A0, 42069) elif sys.argv[1] == "130": #for 1.3.0 tcp.writestr(0x105068F0, b"Tnk_Rvl00") tcp.writestr(0x105D4000, b"Tnk_Rvl00") tcp.writestr(0x105DC118, b"Rival00") tcp.writestr(0x105DC124, b"Rival00_Hlf") tcp.writestr(0x105DC134, b"Rival_Squid") #tcp.pokemem(0x12CB07A0, 42069) elif sys.argv[1] == "200": #For 2.0.0 tcp.writestr(0x10506AB0, b"Tnk_Rvl00") tcp.writestr(0x105E0278, b"Tnk_Rvl00") tcp.writestr(0x105E85B0, b"Rival00") tcp.writestr(0x105E85BC, b"Rival00_Hlf") tcp.writestr(0x105E85CC, b"Rival_Squid") tcp.writestr(0x12BE2350, b"Tnk_Rvl00") tcp.writestr(0x12BE239C, b"Tnk_Rvl00") tcp.writestr(0x12BE23E8, b"Tnk_Rvl00") elif sys.argv[1] == "210": #For 2.1.0 tcp.writestr(0x10506AF8, b"Tnk_Rvl00")
from tcpgecko import TCPGecko #Script to purge Miiverse save cache in Splatoon tcp = TCPGecko("192.168.137.3") tcp.writestr(0x12CE0100, b"\x00" * 0x1850) #Only for 2.0.0-2.1.0 AFAIK tcp.s.close() print("Done!")