yet another release. no rebuilding yet and that because i could not cock anything. plz someone cock something.
Added -chk switch to check a file, doesn't seam do do much but just edit the file.
Dump now is made using catalog not guessing as previous version.
Added -s to dump OS.nb
Assuming you have tg01.bin:
tgtool -dump tg01.bin
copy /b tg01.wmb1.nbin+tg01.wmb2.nbin+tg01.wmb3.nbin tg01.os.payload
is about the same as:
tgtool -s tg01.bin
nbslipt -data 0x800 -extra 8 tg01.os.nb ( or nbsplit -kaiser tg01.os.nb)
tg01.wmb1.nbin is boot + xid
tg01.wmb2.nbin is imgfs
tg01.wmb3.nbin is is dos partition
one could use osnbtool to dump xid and imgfs from payload if xidump messes your kitchen... but htat is as far as i got.
i been spending last days trying to cock me something but just made a mess.
plz someone cock me something so i can put in the rom file.