get TAFS_CHECKER extension if TAFS_CHECKER == "emd"
for i findloc FINDER_GET binary "\x00\x32\x33\x54" goto FINDER_GET getdstring DUMMY_EMD 60 get SIZE long findloc DDS_HEADER binary "\x44\x44\x53\x20" goto DDS_HEADER savepos OFFSET log "" OFFSET SIZE next i
goto 0
for w findloc TYAPE2 binary "\x66\x72\x6D\x6A" goto TYAPE2 get DUMMY long get SAIZE long savepos OAFFSET log "" OAFFSET SAIZE next w
get TAFS_CHECKER extension if TAFS_CHECKER == "emd"
for findloc FINDER_GET binary "\x00\x32\x33\x54" 0 "" if FINDER_GET == "" break endif goto FINDER_GET getdstring DUMMY_EMD 60 get SIZE long findloc DDS_HEADER binary "\x44\x44\x53\x20" goto DDS_HEADER savepos OFFSET log "" OFFSET SIZE next
goto 0
for findloc TYAPE2 binary "\x66\x72\x6D\x6A" 0 "" if TYAPE2 == "" break endif goto TYAPE2 get DUMMY long get SAIZE long savepos OAFFSET log "" OAFFSET SAIZE next
Aluigi. is there any way to run two diffrent array in one bms? i saw so many problem in QuickBMS but why must be like that? dont left this great program behind
in zip file i packed a bms and a azh file. but file do not have any files long and need to count headers and but next array cant run also offset files need to be x64 and game cant read any offset but x64 and cant load files. two problem for now. i have same problem in many files
Last edited by Shokoniraya on Tue Jan 22, 2019 6:49 am, edited 1 time in total.
reimport2 does the job automatically and it works perfectly with that file.
There is no FILES field in that file and so you don't know how many files exist in the archive. The only way is checking if the OFFSET field is zero which means there are no other files.
look at this one, edited script, there is two folder My Editing and Your QuickBMS in Your QuickBMS folder i used your bms and game will crash because its totaly wrong and game cant read offset in any address and must be x64
in My Editing folder i change offset numbers in header and file postion and game can read normally
Shokoniraya wrote:look at this one, edited script, there is two folder My Editing and Your QuickBMS in Your QuickBMS folder i used your bms and game will crash because its totaly wrong and game cant read offset in any address and must be x64
in My Editing folder i change offset numbers in header and file postion and game can read normally
add your extra cycle for a specified file, not for a total command! your skill was wrong!