Homebrew Wii U Plugin System

TcpLink

New Member
Newbie
Joined
Jul 1, 2023
Messages
3
Trophies
0
Age
44
XP
72
Country
Albania
udpmem for wiiupluginloader ( haxchi )
kind of tcpgecko.

some answers:
why not use tcpgecko? use it a lot, but it doesn't work with wiiupluginloader mods like sdcafiine
why not use sdgeckiine? use it a lot, but about half an hour or earlier, game ( botw ) freezes
why not debug sdgeckiine? it's complicated app, blend of two apps, actually, so it's hard to build and to debug. Also it requires additional resources like one thread for TCP and one thread for codehandler, so eventual freezes could be unsolvable.
why not use tiramisu or aroma for development? cause I only got haxchi ( not even coldboot ).
supported by jgeckou on pc side? no, it's based on UDP protocol ( faster and lower memory footprint but less reliable ). But some TCP UDP proxy could be written.

so udpmem, as name suggests allows ( mis ) handling WiiU memory over UDP.
logs over standard 4405 port. commands over 4410 port.
remote IP 192.168.0.2 hardcoded at 0001028B - C0, A8 ( 192.168 part ) 0001028E - 00, 02 ( 0.2 part )
100 ms timeout in case no response on pc side.

allows read, write, search memory ( 0x10000000 - 0x40000000 range ), buffer size 1024 ( UDP packet has about 1400 in size )

codehandler loaded ( but not running ), preloaded with accio mastercode

commands
«ping» from wiiu to pc. initiated by pressing tv button.
«read» 0x10000000 0x00000010. from pc to wiiu. Returns 0x10 ( 16 ) bytes from wiiu memory starting 0x10000000 in UDP packet to PC.
«writ» 0x10000000 data. from pc to wiiu. writes data to 0x10000000 wiiu memory
«srch» 0x18000000 0x20000000 data. from pc to wiiu. searches data from 0x18000000 to 0x20000000. Returns address of data, or 0x00000000 if nothing found. searches are 4 bytes aligned, so it's int 32.
«code» 0x01133000 count data. from pc to wiiu. Writes CodeHandler data ( in binary form ) at address 0x01133000 ( end address 0x01134000 ) then calls CodeHandler count time. Accio MasterCode already preloaded so, codes for accio should go to 0x01133000 + 0x06F8 ( size of master code ).
«writ» 0x10024038 data. specific address for accio master code. after uploading calls codehandler 10 times.
«clos» from pc to wiiu

status of app is very beta. tested mostly on eur wiiu in botw.
 

Attachments

  • udpmem.zip
    54.2 KB · Views: 24
  • Like
Reactions: I pwned U!

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    NinStar @ NinStar: the voices inside my head