ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Nov 21, 2019 12:40 am

All times are UTC




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: UE4 .uasset script
PostPosted: Wed Nov 06, 2019 8:06 pm 
User avatar

Joined: Sat Sep 15, 2018 5:22 am
Posts: 248
this is a bms script for uasset version 6
Read This Note: this script can't work on any .uasset file! it's just wroted for uasset version 6

Code:
#Script By Shokoniraya

idstring "\xC1\x83\x2A\x9E"
get VERSION long
math VERSION ^ 0xFFFFFFFF
if VERSION = 6
findloc NONE_TAG binary "\x4E\x6F\x6E\x65"
goto NONE_TAG
get NONE_ID long
get DUMMY long
get DUMMY byte
get NAMES_COUNT long
get NAMES_OFFSET long
savepos CHECKER
goto NAMES_OFFSET
get DUMMY long
get FOLDER_NAME string
goto CHECKER
savepos CHECKER
goto NAMES_OFFSET
for k = 0 < NAMES_COUNT
get NAME_LENGH long
getdstring NAME NAME_LENGH
get ID_NAME long
putarray 0 k NAME
next k
goto CHECKER
get DUMMY long
get DUMMY long
get FILES long
get INFO_OFF long
get CLASS_COUNT long
get CLASS_OFF long
goto INFO_OFF
for i = 0 < FILES
get FLAG long
get DUMMY longlong
get NUMB1 long
get NAME_NUMB long
getarray NAME 0 NAME_NUMB
get COUNTER long
get DUMMY long
get SIZE longlong
get OFFSET longlong
getdstring HEADING 24
getdstring HEADING 8
get ID_NUM long
get CLASS_NUM long
if FILES > 1
math CLASS_NUM + 1
endif
savepos CHECKER
goto CLASS_OFF
for h = 0 < CLASS_NUM
findloc FLAG_CLASS binary "\xFF\xFF\xFF"
goto FLAG_CLASS
get DUMMY threebyte
get CLASS_NAMER long
next h
math CLASS_NAMER + 1
goto NAMES_OFFSET
for o = 0 < CLASS_NAMER
get DUMMY long
get CLASS string
get DUMMY long
next o
goto CHECKER
getdstring HEADING 20
if COUNTER = 0
string FILE_NAMER p "%s\%s.%s" FOLDER_NAME NAME CLASS
else
string FILE_NAMER p "%s\%s_%s.%s" FOLDER_NAME NAME COUNTER CLASS
endif
get OFFSETER asize
if OFFSET < OFFSETER
log FILE_NAMER OFFSET SIZE
endif
if OFFSET >= OFFSETER
get NAMERQ basename
string NAMERQ + ".uexp"
open FDSE NAMERQ 2
get UEXP asize 2
math OFFSET - OFFSETER 2
log FILE_NAMER OFFSET SIZE 2
endif
next i
next i
endif


Top
   
 Post subject: Re: UE4 .uasset script
PostPosted: Wed Nov 06, 2019 10:16 pm 
User avatar

Joined: Fri Mar 30, 2018 2:48 am
Posts: 260
What is this for?
Blueprints?
Textures?
What type of file.

_________________
AES Key and UE4 Modding commissions:
https://bit.ly/31PFc3i


If you appreciate my work and want to donate:
Paypal: ghfear@hotmail.com


Top
   
 Post subject: Re: UE4 .uasset script
PostPosted: Thu Nov 07, 2019 5:40 am 
User avatar

Joined: Sat Sep 15, 2018 5:22 am
Posts: 248
GHFear wrote:
What is this for?
Blueprints?
Textures?
What type of file.


it's help to unpack and repack .uasset files with quickbms if anyone want's to make tool for editing text files with no size limition


Top
   
 Post subject: Re: UE4 .uasset script
PostPosted: Sun Nov 17, 2019 2:28 pm 

Joined: Wed Apr 10, 2019 2:06 pm
Posts: 13
awesome work!


Top
   
 Post subject: Re: UE4 .uasset script
PostPosted: Mon Nov 18, 2019 1:31 pm 

Joined: Wed Apr 10, 2019 2:06 pm
Posts: 13
Shokoniraya wrote:
GHFear wrote:
What is this for?
Blueprints?
Textures?
What type of file.


it's help to unpack and repack .uasset files with quickbms if anyone want's to make tool for editing text files with no size limition


this extract .uexp too ? if you open the .uasset file via hxd you will see "/Script/CoreUObject" (after extracting .uasset file i don't get the script). How can i get accesss to this script ?

http://www.mediafire.com/folder/a5kqtek7k2pfh/fov_files


Top
   
 Post subject: Re: UE4 .uasset script
PostPosted: Mon Nov 18, 2019 3:29 pm 
User avatar

Joined: Fri Mar 30, 2018 2:48 am
Posts: 260
ferhat78 wrote:
Shokoniraya wrote:
GHFear wrote:
What is this for?
Blueprints?
Textures?
What type of file.


it's help to unpack and repack .uasset files with quickbms if anyone want's to make tool for editing text files with no size limition


this extract .uexp too ? if you open the .uasset file via hxd you will see "/Script/CoreUObject" (after extracting .uasset file i don't get the script). How can i get accesss to this script ?
http://www.mediafire.com/folder/a5kqtek7k2pfh/fov_files


All scripts (they referr to the .cpp) are compiled in the exe. Its just a reference.

_________________
AES Key and UE4 Modding commissions:
https://bit.ly/31PFc3i


If you appreciate my work and want to donate:
Paypal: ghfear@hotmail.com


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