ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Oct 31, 2020 10:25 am

All times are UTC




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: namecrc from MEMORY_FILE
PostPosted: Sun Feb 16, 2020 6:22 pm 
User avatar

Joined: Sat Sep 15, 2018 5:22 am
Posts: 335
hello sir aluigi
i wroted a script for decompressed umd file, but my problem is name files, because name table and hash codes are in file and using MEMORY_FILE for set names will not working, but i want to do it in this script, i mean how can i use a name file from MEMORY_FILE, i think you did same thing in sleeping dogs script
in script, you can see it in line 37, there is a log file that extract name file and then script read it, but i want to do it in MEMORY_FILE, how can i do it?


Attachments:
umd_asset.bms [1.7 KiB]
Downloaded 218 times
Top
   
PostPosted: Tue Mar 03, 2020 2:39 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11701
As far as I know it works with MEMORY_FILE too.
Simple example:
Code:
set MEMORY_FILE string "0x1234 asdf.txt"
namecrc NAME 0x1234 MEMORY_FILE 32
print "TEST %NAME%"

The result is asdf.txt indeed


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