[N-Gage] game_data.dz Extractor

Discussion about Pre-THUG1 things can go here, such as modding, etc
Barti
Posts: 8
Joined: Wed Sep 26, 2012 7:17 am

[N-Gage] game_data.dz Extractor

Postby Barti » Tue Aug 26, 2014 6:04 am

I happened to find files from the N-Gage port of Tony Hawk's Pro Skater on a memory card. I wanted to take a closer look at the individual files from this port, so I created a QuickBMS script to extract the game_data.dz container found within the directory. It isn't 100% accurate, but it's good enough to properly extract files from the THPS archive.

Here's the code:

Code: Select all

idstring "DTRZ"
comtype deflate
get fileSize asize

get FILES   short
get FOLDERS short
get UNKNOWN byte

for i = 0 < FILES
get NAME string
putarray 0 i NAME
next i

putarray 1 0 ""
for i = 1 < FOLDERS
get NAME string
string NAME += "/"
putarray 1 i NAME
next i

for i = 0 < FILES
get folderID short
get fileID   short
get dummy    short

getarray fileName   0 fileID
getarray folderName 1 folderID

string folderName += fileName
putarray 2 i folderName
next i

get dummy long

for i = 0 < FILES
get offset long
get size   long
get size   long
get headerSize long

getarray name 2 i

xmath offset "offset + headerSize + 2"
xmath zsize "fileSize - offset"
clog name offset zsize size
next i


And I might as well share the extracted files:
https://www.sendspace.com/file/r7clkk

User avatar
ZurePitchmen83
VIP
Posts: 124
Joined: Sun Jul 01, 2012 4:15 pm
Location: USA
Contact:

Re: [N-Gage] game_data.dz Extractor

Postby ZurePitchmen83 » Tue Aug 26, 2014 9:47 pm

Cool, I've loaded the levels in THPS2PC, And most of them loaded and I was able to find some differences between the PSone/PC versions and the N-Gage versions of the levels, I've also noticed that there were a few levels from THPS2 (Hangar, New York, Venice, and Philly), Were those left-overs or are they unlockable in the N-Gage version of THPS1?

Click here to see the comparisons
As you can see in the picture on the above link, Some things (specifically some sponsor logos and background objects) were removed from the node-array, Possibly due to the N-Gage's memory limitations being different from PSone's, Only a couple levels (Downtown/Minneapolis, and Philadelphia) refused to load, Some crash the game when you exit, Crashing when breaking the windows in San Francisco doesn't occur with the N-Gage version's files on THPS2PC, The left-over THPS2 levels appear to have the THPS1 bonus point icons in them.

quazz
Global Moderator
Posts: 196
Joined: Sat Nov 13, 2010 12:04 am

Re: [N-Gage] game_data.dz Extractor

Postby quazz » Tue Aug 26, 2014 10:34 pm

We can always count on Zure to go through the most extreme of obscure efforts to analyze THPS history. ;)

Just kidding. Good work guys.

Barti
Posts: 8
Joined: Wed Sep 26, 2012 7:17 am

Re: [N-Gage] game_data.dz Extractor

Postby Barti » Thu Aug 28, 2014 4:58 am

Those are some interesting findings indeed. I'm impressed that the levels even load on PC. Sadly I don't remember any of the unlockable levels in the N-Gage version. I can't check it either because there is no N-Gage PC emulator and I don't have any Symbian S60 phones around anymore. Ah well.

User avatar
Demo
VIP
Posts: 283
Joined: Thu Aug 25, 2011 5:54 am
Contact:

Re: [N-Gage] game_data.dz Extractor

Postby Demo » Thu Aug 28, 2014 7:02 am

great job on extracting that, but actionly nothing interesting there.

Barti
Posts: 8
Joined: Wed Sep 26, 2012 7:17 am

Re: [N-Gage] game_data.dz Extractor

Postby Barti » Thu Aug 28, 2014 9:35 am

Well it's just a port of THPS1. Nothing spectacular, but I thought I'd share it anyway.

quazz
Global Moderator
Posts: 196
Joined: Sat Nov 13, 2010 12:04 am

Re: [N-Gage] game_data.dz Extractor

Postby quazz » Fri Aug 29, 2014 5:06 pm

The THPS port to N-Gage is one of the few versions of THPS I've never played. But your post is definitely appreciated. I heard there were a few TH2 levels put into this version, I only remember seeing New York on a website. It's pretty interesting that this is the only official version of THPS that has THPS2 levels put into it.


Return to “Legacy THPS”

Who is online

Users browsing this forum: No registered users and 2 guests