ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sun Feb 28, 2021 6:43 pm

All times are UTC




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Feb 19, 2021 6:17 am 

Joined: Sun Jun 02, 2019 10:40 pm
Posts: 33
Image


this script for 4 byte
Code:
get SIZE asize
get NAME basename
math SIZE - 4
string NAME + .ren
log NAME 0x4 SIZE


i found :)

Code:
get SIZE asize
get NAME basename
math SIZE - 16
string NAME + .ren
log NAME 16 SIZE


Top
   
PostPosted: Fri Feb 19, 2021 4:36 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11999
Correct, you can also opt for the usage of an OFFSET variable:

Code:
math OFFSET = 16
get SIZE asize
math SIZE - OFFSET
get NAME basename
string NAME + .ren
log NAME OFFSET SIZE


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

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