ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sun Sep 24, 2017 10:58 pm

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Jul 23, 2017 4:46 am 

Joined: Fri Jun 24, 2016 6:26 am
Posts: 36
Hi everyone, is possible create a script to convert the BARG files to .PNG.
Here some samples:
Attachment:
Textures.rar [613.23 KiB]
Downloaded 13 times


Thanks and Regards.


Top
   
PostPosted: Sun Jul 23, 2017 8:43 pm 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 326
they're just pngs without extension and some with custom bytes before header :D
Code:
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

get SIZE asize
get NAME basename
string NAME + .png
get MAGIC long
if MAGIC == 0
   math OFFSET = 0x10
   math SIZE - 0x10
else
   math OFFSET = 0x0
endif
log NAME OFFSET SIZE

_________________
Quickbms.com link thread
Search bms scripts


Top
   
PostPosted: Mon Jul 24, 2017 5:14 am 

Joined: Fri Jun 24, 2016 6:26 am
Posts: 36
Acewell wrote:
they're just pngs without extension and some with custom bytes before header :D
Code:
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

get SIZE asize
get NAME basename
string NAME + .png
get MAGIC long
if MAGIC == 0
   math OFFSET = 0x10
   math SIZE - 0x10
else
   math OFFSET = 0x0
endif
log NAME OFFSET SIZE



Thanks a lot @Acewell you're awesome !!!!


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