Page 1 of 1

Quick BMS Question

Posted: Sun Jan 06, 2013 11:08 am
by Romsstar
if I have an occurence of two lines of zeros after every header of a file,
is there a nicer way of writing this in quickBMS than?
get ZERO long
get ZERO2 long
get ZERO3 long
get ZERO4 long

This just looks stupid. I mean it doesn't slow down or anything. But I'm sure there must be a faster and nicer way of doing it?

Re: Quick BMS Question

Posted: Mon Jan 07, 2013 10:56 am
by aluigi
getdstring ZERO 16

Re: Quick BMS Question

Posted: Mon Jan 07, 2013 12:05 pm
by Dinoguy1000
Is it even necessary to get them? Can you simply skip them?

Re: Quick BMS Question

Posted: Mon Jan 07, 2013 12:24 pm
by chrrox
there is a goto command if its only in the header you can say like
goto 0x20
but if its in a loop and say you read 5 int values but only the first or last 2 are usefull its faster to do
getdstring null 0xXX
otherwise you would have to do
savepos tmp
math tmp + XX
goto tmp

Re: Quick BMS Question

Posted: Tue Jan 08, 2013 8:10 pm
by Thief1987
aluigi

It's real add reimport for COMP_DK2 compression? Really need to

Or maybe exist other compression tool. I'm dont need repack, only compress