hello new member here, I've been learning to make my own script for about a week now and still a lot to learn...
I've made this noob script to extract the pack files... but my problem is the names are on hexadecimal, I was wondering how can I make it export to decimal file names for easy file arrage on windows.
Code:
endian little
for i = 0 < 5693
FindLoc FILES string "PACK" 0x0
xmath SIZEloc "FILES + 24"
goto SIZEloc
get SIZE long
putarray 0 i FILES
putarray 1 i SIZE
string NAME p= "Package_%05x.pack" i
log NAME FILES SIZE
next i