Gildor's Forums

Author Topic: Hero Warz .Upk  (Read 2994 times)
godskin
Full Member
***
Posts: 142


View Profile
Hero Warz .Upk
« on: August 17, 2016, 12:19 »

gildo pls make for support

http://www.mediafire.com/download/kuqy4ya745hv1hw/00000050_decrypt.upk

http://zenhax.com/viewtopic.php?f=9&t=2933
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7928



View Profile WWW
Re: Hero Warz .Upk
« Reply #1 on: August 17, 2016, 12:43 »

Another one Asian game? With encrypted content? No, thanks.
Logged
godskin
Full Member
***
Posts: 142


View Profile
Re: Hero Warz .Upk
« Reply #2 on: August 17, 2016, 13:08 »

try download and see
thx bro
Logged
chrrox
Silver Sponsor
Full Member
**
Posts: 195


View Profile
Re: Hero Warz .Upk
« Reply #3 on: December 06, 2016, 07:25 »

This game works fine in umodel if you add 4 bytes right before name table.

I added 4 0's
« Last Edit: December 06, 2016, 07:36 by chrrox » Logged
Gildor
Administrator
Hero Member
*****
Posts: 7928



View Profile WWW
Re: Hero Warz .Upk
« Reply #4 on: December 06, 2016, 08:35 »

Hi Chris. What did you mean with "add 4 bytes"? Find name table offset and insert 4 bytes there? But other tables will be shifted by 4 bytes too?
Logged
godskin
Full Member
***
Posts: 142


View Profile
Re: Hero Warz .Upk
« Reply #5 on: December 06, 2016, 16:05 »

This game works fine in umodel if you add 4 bytes right before name table.

I added 4 0's


how to bro ?
Logged
chrrox
Silver Sponsor
Full Member
**
Posts: 195


View Profile
Re: Hero Warz .Upk
« Reply #6 on: December 06, 2016, 16:30 »

Hi Chris. What did you mean with "add 4 bytes"? Find name table offset and insert 4 bytes there? But other tables will be shifted by 4 bytes too?
I end up shifting the entire file. I just looked quickly at the error umodel gave and saw it was reading the string size as the start of the string.
So In this example I have a starting name table offset of 41 01 00 00
the original data was "12 00 00 00 (POINTED HERE) abilityBig_button" I increased the file size by 4 so it looks like this "00 00 00 00 (POINTED HERE) 12 00 00 00  abilityBig_button".
This seems to work on every skeletal mesh upk. I did not look at the non skeletal mesh upk files that always have 85 00 00 00 as their name table start those do not work with this fix.
Here is an example file
original

https://www.sendspace.com/file/xhseh7
fixed

https://www.sendspace.com/file/8lsjpi
« Last Edit: December 06, 2016, 16:32 by chrrox » Logged
chrrox
Silver Sponsor
Full Member
**
Posts: 195


View Profile
Re: Hero Warz .Upk
« Reply #7 on: January 16, 2019, 01:47 »

I made a quickbms script to fix these for loading with umodel.
Code:
#quickbms Script
#by chrrox
filexor 0xB6
set MEMORY_FILE10 binary "\x00\x00\x00\x00"
get BASE basename
set NAME string dec\
string NAME + BASE
string NAME + .upk
get SIZE asize
math SIZE - 4
log MEMORY_FILE 4 SIZE
filexor ""
goto 0x1D MEMORY_FILE
get TMP long MEMORY_FILE
if TMP > 0
math TMP - 4
append
log MEMORY_FILE2 0 TMP MEMORY_FILE
log MEMORY_FILE2 0 4 MEMORY_FILE10
math SIZE - TMP
log MEMORY_FILE2 TMP SIZE MEMORY_FILE
get SIZE asize MEMORY_FILE2
append
log NAME 0 SIZE MEMORY_FILE2
endif

They have a different magic before the standard unreal 3 magic.
That throws off the offsets so I just add 4 bytes at the name table offset to make everything line back up.
the original file also needs to be xored with 0xB6

« Last Edit: January 16, 2019, 01:49 by chrrox » Logged
Ehlyon
Full Member
***
Posts: 108



View Profile
Re: Hero Warz .Upk
« Reply #8 on: January 16, 2019, 04:23 »

Meeh i totaly forgot 'bout this game, can't event find it in my HDs.
May i ask a client upload? Seems there's nothing on the net either  Undecided
Logged
chrrox
Silver Sponsor
Full Member
**
Posts: 195


View Profile
Re: Hero Warz .Upk
« Reply #9 on: January 16, 2019, 04:56 »

https://dangun.gdl.netease.com/fight-full.rar
Logged
godskin
Full Member
***
Posts: 142


View Profile
Re: Hero Warz .Upk
« Reply #10 on: January 16, 2019, 07:58 »

The very much for fix
P.s you can fix lost ark ?
Logged
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS