Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigMagic = []byte("WcCf")
Functions ¶
func PatchNwcConfig ¶
PatchNwcConfig takes an original config, applies needed patches to the URL and such, updates the checksum and returns either nil, error or a patched config w/o error.
func RandStringBytesMaskImprSrc ¶
RandStringBytesMaskImprSrc makes a random string with the specified size.
Types ¶
type ConfigFormat ¶
type ConfigFormat struct { Magic [4]byte Version int32 FriendCode int64 AmountOfCreations int32 HasRegistered int32 MailDomain [64]byte Passwd [32]byte Mlchkid [36]byte AccountURL [128]byte CheckURL [128]byte ReceiveURL [128]byte DeleteURL [128]byte SendURL [128]byte TitleBooting int32 Checksum [4]byte // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.