so if i just put htonl() then the code will work running on the wii or pc or whatever without having to make any changes at all? if thats the case it makes things lots easier.

YES!WiiPower said:I would even say Wimmm's code is wrong because of the shifts instead of using division...
Yes it is wrong when using a system that don't uses the "two's complement" representation. But then dividing is also wrong. The best way is to use ntohl() and friends.
If i remember the c standard right then "a >> b" (both are ints) is the same as "a / (2 pow b)".
QUOTE(giantpune @ Mar 31 2010, 03:52 PM) so if i just put htonl() then the code will work running on the wii or pc or whatever without having to make any changes at all? if thats the case it makes things lots easier.
QUOTE said:"functions for usb loaders http://pastie.org/892737
this obviously isn't everything it will take to convert one, but this is everything it will take to get the loader to work with the above modules. the usb stuff should be removed and all the wbfs stuff and any cIOS specific IOS calls. then just set a game, change the IOS to the one in the TMD, and load it like a dvd
fst creator / boot.bin updater http://pastie.org/892752
tested and working on ubuntu amd64 9.10. the fst.bin created is not identical to the original one, but it works fine with these modules. if the fst.bin changes size, that new size needs to be written in the boot.bin."
I know, I know, it's terrible right ?FenrirWolf said:lol
Don't hurt yourself too badly.
hmm, don't release it. just send me a copy.kyle007 said:i know your pain ChokeD lol it took me like 8 hours to get sneek compiled the first time, ive tried switching around stuff with punes pastie, but i just always seem to get nowhere, but rest assured, if i get it working in sneek im releasing the source lol