ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax
It is currently Thu Dec 01, 2022 11:39 am

All times are UTC




Post new topic  Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Hero Warz .Upk
PostPosted: Tue Aug 16, 2016 6:35 pm 

Joined: Sun Oct 04, 2015 2:27 am
Posts: 192
how to extracx ?
gildo tool don't work

file
https://drive.google.com/drive/u/0/fold ... XR3NkV0RVU

thx very much


Top
   
 Post subject: Re: Hero Warz .Upk
PostPosted: Tue Aug 16, 2016 7:08 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12984
Use this script to decrypt the upk files and then try gildor's ueviewer with them:
Code:
idstring "\xef\xef\xfe\xfe"
filexor 0xb6
savepos OFFSET
get SIZE asize
math SIZE - OFFSET
get NAME basename
get EXT extension
string NAME + "_decrypt."
string NAME + EXT
log NAME OFFSET SIZE


Top
   
 Post subject: Re: Hero Warz .Upk
PostPosted: Tue Aug 16, 2016 7:27 pm 

Joined: Sun Oct 04, 2015 2:27 am
Posts: 192
aluigi wrote:
Use this script to decrypt the upk files and then try gildor's ueviewer with them:
Code:
idstring "\xef\xef\xfe\xfe"
filexor 0xb6
savepos OFFSET
get SIZE asize
math SIZE - OFFSET
get NAME basename
get EXT extension
string NAME + "_decrypt."
string NAME + EXT
log NAME OFFSET SIZE


script work
Extracx don't work have error

here some knowlage http://forum.xentax.com/viewtopic.php?f=16&t=14852


Top
   
 Post subject: Re: Hero Warz .Upk
PostPosted: Tue Aug 16, 2016 8:54 pm 

Joined: Sun Oct 04, 2015 2:27 am
Posts: 192
All some File
1. UPK
2. BIN
3. fsbcache
http://www.mediafire.com/download/5lg81 ... okedPC.rar


Top
   
 Post subject: Re: Hero Warz .Upk
PostPosted: Tue Aug 16, 2016 10:12 pm 

Joined: Sat Aug 09, 2014 2:34 pm
Posts: 1375
for BIN file

Code:
# HeroWarz (USTs.bin format)
# Written by Ekey (h4x0r)
#
# script for QuickBMS http://quickbms.aluigi.org

comtype unzip_dynamic
filexor 0xb6
idstring "YYHH"
get VERSION long # 7
idstring "USTBIN\0"
get FILES long

for i = 0 < FILES
   get NSIZE long
   getdstring NAME NSIZE
   get ZIP byte
   get SIZE long
   get ZSIZE long
   get OFFSET long
   savepos TMP
   if ZIP == 0
      math TMP += SIZE
      log NAME OFFSET SIZE
   else
      math TMP += ZSIZE
      clog NAME OFFSET ZSIZE SIZE
   endif
   goto TMP
next i


for fsbcache > http://aluigi.altervista.org/papers/fsbext.zip

_________________
My Github repo


Top
   
 Post subject: Re: Hero Warz .Upk
PostPosted: Wed Aug 17, 2016 2:53 am 

Joined: Sun Oct 04, 2015 2:27 am
Posts: 192
Ekey wrote:
for BIN file

Code:
# HeroWarz (USTs.bin format)
# Written by Ekey (h4x0r)
#
# script for QuickBMS http://quickbms.aluigi.org

comtype unzip_dynamic
filexor 0xb6
idstring "YYHH"
get VERSION long # 7
idstring "USTBIN\0"
get FILES long

for i = 0 < FILES
   get NSIZE long
   getdstring NAME NSIZE
   get ZIP byte
   get SIZE long
   get ZSIZE long
   get OFFSET long
   savepos TMP
   if ZIP == 0
      math TMP += SIZE
      log NAME OFFSET SIZE
   else
      math TMP += ZSIZE
      clog NAME OFFSET ZSIZE SIZE
   endif
   goto TMP
next i


for fsbcache > http://aluigi.altervista.org/papers/fsbext.zip


thx very much bro Ekrey
how to XOR .upk ?


Top
   
 Post subject: Re: Hero Warz .Upk
PostPosted: Wed Aug 17, 2016 7:30 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12984
godskin wrote:
how to XOR .upk ?

Don't you like the script I posted?!


Top
   
 Post subject: Re: Hero Warz .Upk
PostPosted: Wed Aug 17, 2016 7:34 am 

Joined: Sun Oct 04, 2015 2:27 am
Posts: 192
aluigi wrote:
godskin wrote:
how to XOR .upk ?

Don't you like the script I posted?!


Image

Image


Top
   
 Post subject: Re: Hero Warz .Upk
PostPosted: Wed Aug 17, 2016 7:39 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12984
But it's not a problem of the script, the xor decryption is correct.


Top
   
 Post subject: Re: Hero Warz .Upk
PostPosted: Wed Aug 17, 2016 7:46 am 

Joined: Sun Oct 04, 2015 2:27 am
Posts: 192
aluigi wrote:
But it's not a problem of the script, the xor decryption is correct.


I try use have same error

Code:
@for /f "tokens=*" %%a in ('dir /b *.upk') do ( umodel -game=all -all -export -nostat%%a )


Top
   
 Post subject: Re: Hero Warz .Upk
PostPosted: Wed Aug 17, 2016 8:03 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12984
Have you already contacted Gildor about this problem?


Top
   
 Post subject: Re: Hero Warz .Upk
PostPosted: Wed Aug 17, 2016 8:30 am 

Joined: Sun Oct 04, 2015 2:27 am
Posts: 192
aluigi wrote:
Have you already contacted Gildor about this problem?


yes wait reply


Top
   
 Post subject: Re: Hero Warz .Upk
PostPosted: Tue Dec 06, 2016 3:39 am 

Joined: Thu Aug 07, 2014 10:28 pm
Posts: 388
This game works fine in umodel if you add 4 bytes right before name table.
ImageImage
I added 4 0's
Image


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