ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Oct 17, 2017 12:10 am

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Jul 12, 2016 5:42 pm 

Joined: Sun Jul 10, 2016 11:07 am
Posts: 54
I was wondering if quickbms can output/create a file with just certain info extracted or modify a existing .txt/.ini to reflect the info.

like

00 00 00 80 00 00 00 80 00 00 00 01 00 00 00 0A
00 00 00 50 00 00 00 20 00 00 00 00 00 00 00 00

and on the .txt or .ini just contain

width=80
height=80
format=01
type=0A
ow=50
oh=20


Top
   
PostPosted: Tue Jul 12, 2016 6:36 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6850
The Slog command is so powerful that you can perform both reading (creation of info.ini) and writing (reads from info.ini and writes in the file when quickbms is in reimport mode) just by using this script:
Code:
endian big
set OUTPUT string "info.ini"
for i = 0 < 6
    slog OUTPUT -1 -1 long
next i


Top
   
PostPosted: Wed Jul 13, 2016 5:39 pm 

Joined: Sun Jul 10, 2016 11:07 am
Posts: 54
cool!

thanks for the tip, will try to explore the slog function!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 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