ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Wed Oct 21, 2020 7:49 am

All times are UTC




Post new topic  Reply to topic  [ 604 posts ]  Go to page Previous 127 28 29 30 31
Author Message
PostPosted: Thu Oct 15, 2020 1:14 am 
User avatar

Joined: Sat Sep 15, 2018 5:22 am
Posts: 325
QuickBMS re-set variables that contain asize? but i don't think so (those variables that have a real block like byte short long can resize always, problem is those variables that created by hand with math and xmath, like math OFFSET = 208 or xmath SIZE "NEXT_OFFSET - OFFSET")

and about asize problem, maybe you can add a function to log that resize all of savepos variables that are >= than log offset variable


Top
   
PostPosted: Thu Oct 15, 2020 11:17 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11680
In the tests I did when I implemented the reverse math operations in reimporting, they worked.
asize is something that I don't want to touch because when I touched it few weeks ago it introduced a bug.
So it's better for me to keep everything as-is ;)


Top
   
PostPosted: Fri Oct 16, 2020 5:46 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11680
New beta, I mainly fixed some bugs introduced in the previous beta.


Top
   
PostPosted: Sat Oct 17, 2020 1:47 am 
User avatar

Joined: Sat Sep 15, 2018 5:22 am
Posts: 325
asize works fine
you right sir aluigi, savepos will be a real mess if touched, must be adjust in script with more coding


but xmath SIZE "NEXT_OFFSET - OFFSET" and math still has problem
and let's say it's not a problem at all! becuase it can be fixed
xmath and math working good
thank you
Code:
xmath SIZE "NEXT_OFFSET - OFFSET"

get BEFORE_REIMPORT_ASIZE asize
log NAME OFFSET SIZE
get AFTER_REIMPORT_ASIZE asize #input file size will be changed in reimporting

xmath ASIZE_CHANGING "AFTER_REIMPORT_ASIZE  - BEFORE_REIMPORT_ASIZE"
math SIZE + ASIZE_CHANGING #ASIZE_CHANGING can be negative or positive


we can do same job for savepos OFFSET too


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 604 posts ]  Go to page Previous 127 28 29 30 31

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited