Gildor's Forums

Author Topic: Tony Hawk's Pro Skater 1+2  (Read 10770 times)
komodoxeno
Newbie
*
Posts: 9


I don't know what this field is for...


View Profile WWW
Re: Tony Hawk's Pro Skater 1+2
« Reply #15 on: October 21, 2023, 23:32 »

I ran into an issue halfway through extracting pakchunk0 with the latest patch on the steam version of the game. Everything else seemingly extracts fine. This is using unreal_tournament_4_0.4.25e_tony_hawk_1-2.bms.

Code:
Error: the compressed zlib/deflate input is wrong or incomplete (-5)
Info:  algorithm   1
       offset      00000001484366e9
       input size  0x000000000000d969 55657
       output size 0x0000000000010000 65536
       result      0xffffffffffffffff -1

Error: uncompressed data (-1) bigger than allocated buffer (40981136)
       It usually means that data is not compressed or uses another algorithm

Last script line before the error or that produced the error:
  220 endif
  coverage file 0    67%   5491162694 8173012968 . offset 0000000148444059
  coverage file -10  82%   10381417   12654464   . offset 00000000009e6869
  coverage file -50   0%   0          240        . offset 0000000000000000
  coverage file -100   0%   0          21108      . offset 0000000000000000
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 2977


View Profile
Re: Tony Hawk's Pro Skater 1+2
« Reply #16 on: October 22, 2023, 02:11 »

@komodoxeno: It looks like the package was corrupted while being patched - I can only suggest to re-download the whole game and try again. Aside from that, all encryption and quickbms related questions and issues should be addressed to the topic with keys (and scripts), not here.
Logged
komodoxeno
Newbie
*
Posts: 9


I don't know what this field is for...


View Profile WWW
Re: Tony Hawk's Pro Skater 1+2
« Reply #17 on: October 27, 2023, 02:50 »

Thanks, I forced steam to redownload the pak and it worked first try. Also duly noted!
Logged
gee4
Newbie
*
Posts: 2


View Profile
Re: Tony Hawk's Pro Skater 1+2
« Reply #18 on: November 03, 2023, 12:34 »

I'm having trouble with some textures, kinda of like what bGoatBiz posted, but on the Switch version of this game. Most of them look fine, but some of them, like this one, show all swizzled. I've even tried with Raw text cooker but all it does is making a dds "image" that is even more swizzled, lol. PC version of this image below as reference.

Any help is greatly appreciated Grin



Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 2977


View Profile
Re: Tony Hawk's Pro Skater 1+2
« Reply #19 on: November 05, 2023, 00:44 »

@gee4: I can only suggest to use PC version when possible. Switch swizzling doesn't work properly for non-square textures in umodel. There are some partial solutions for other games, but only default implementation (which works for square textures) doesn't crash in all possible cases.
Logged
gee4
Newbie
*
Posts: 2


View Profile
Re: Tony Hawk's Pro Skater 1+2
« Reply #20 on: November 05, 2023, 05:17 »

@gee4: I can only suggest to use PC version when possible. Switch swizzling doesn't work properly for non-square textures in umodel. There are some partial solutions for other games, but only default implementation (which works for square textures) doesn't crash in all possible cases.

Thanks for the reply, I ended up just editing it myself and filling the missing pixels with the PC version.

By the way, I'm trying to edit some text strings as well. I was able to preview some of them with UAssetGUI, but I couldn't find the specific ones I'm looking for. Do you happen to know how to find them? If there's some way to make a search for a string and somehow it points you to the .uasset files that contains it?
« Last Edit: November 05, 2023, 05:21 by gee4 » Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 2977


View Profile
Re: Tony Hawk's Pro Skater 1+2
« Reply #21 on: November 06, 2023, 02:45 »

@gee4: That's out of scope of the forum, since umodel doesn't support data assets and localization files, which usually contains texts. You may take a look at "*.locres" files, but in general it's probably better to perform a search among all extracted files with some file explorers or hex editors, which can do search on the entire folder/file content - it may work in case if required string is not stored in unicode. But again, it's not the best place to find answers for such things.
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 2977


View Profile
Re: Tony Hawk's Pro Skater 1+2
« Reply #22 on: June 10, 2025, 15:42 »

Specific build mentioned in the first post is updated to support game packages directly via game specific override.
Logged
Jump to:  

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