Trespasser - CRC-32 hash tools

List your programs here (game-related or other software).

Moderators: scallenger, Rebel, madppiper, TresCom Support Team

User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Trespasser - CRC-32 hash tools

Post by machf »

CRC tool (recursive and non-recursive versions), it has two main sections: a CRC-32 calculator, whose purpose is to calculate the CRC-32 hash for any string entered, as Trespasser internally does; and a CRC-32 reversing section, whose purpose is to help finding a valid string that matches a known CRC-32 hash, and can be used to access any unused sounds or textures inside the Trespasser retail files. You can guess the beginning and/or the ending of the string, and the app will find a 4-character or longer sequence which together with them will give the desired CRC-32 value.

There are two versions released together, the even-numbered one (24) is implemented using recursion, while the odd-numbered one (21) doesn't use recursion, and is a little slower. Source code is included.

Recursive version: http://www.fileplanet.com/hosteddl.aspx ... scrc24.zip
Non-recursive version: http://www.fileplanet.com/hosteddl.aspx ... scrc25.zip

These new versions of the tools, 24 (recursive) and 25 (non-recursive), implement some slight improvements to the UI, so that now even Drac should be able to use it easily. ;) Seriously, now, the changes limit the user input choices on some fields as to not waste time innecessarily.

Additionally, I've made experimental versions that calculate the string in backwards sense, but aside from some purely experimental use, there's no reason to use them instead of the regular ones.

http://www.fileplanet.com/hosteddl.aspx ... c24bwd.zip
http://www.fileplanet.com/hosteddl.aspx ... c25bwd.zip
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
Rebel
-=TresCom Developer=-
-=TresCom Developer=-
Posts: 6112
Joined: Sun Nov 10, 2002 10:26 pm
Location: That country nobody likes (you know the one)
Contact:

Re: Trespasser - CRC-32 hash tools

Post by Rebel »

These new versions of the tools, 24 (recursive) and 25 (non-recursive), implement some slight improvements to the UI, so that now even Drac should be able to use it easily. ;)
Yes, perhaps Rebel too! I tried an earlier version though I wasn't able to unearth any discoveries and I know from your recently released lists, there's still some ids yet to be found.
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Trespasser - CRC-32 hash tools

Post by machf »

Yes, I think there are still over 50 unknown names in the Effects.tpa listing. Stream.tpa only has 4 unknowns left (which Bill Brown could possibly identify if we ever manage to get in touch with him), and Ambient.tpa has still a dozen left. Several of the ones from Effects.tpa are part of a larger group, so if you identify one of them, the rest of the group is also automatically identified.

Here's an example:

Code: Select all

282	8a2e1924	no	unknown +"Dirt" (283,293,294,295,296) (anne-foot+pistol, rifle+various)
283	bb0a901a	no	unknown +"Metl" (282,293,294,295,296) (pistol/rifle+metal)
293	35c22c6b	no	unknown +"Cemnt01" (282,283,294,295,296) (pistol+various)
294	accb7dd1	no	unknown +"Cemnt02" (282,283,293,295,296) (pistol/rifle+metal/others)
295	5ac2e77e	no	unknown +"Dirt01" (282,283,293,294,296) (pistol+soft terrain/flesh)
296	2ed4e19f	no	unknown +"Wood" (282,283,293,294,295) (pistol/rifle+wood/others)
			
			
284	8e457161	no	unknown +"Cement" (297,298,299,300) (pistol/rifle+various)
297	0dace085	no	unknown +"Cement02" (284,298,299,300) (pistol/rifle+metal/others)
298	1c1001ef	no	unknown +"Dirt" (284,297,299,300) (rifle+soft terrain/flesh)
299	2d3488d1	no	unknown +"Metl" (284,297,298,300) (rifle+metal dull 1)
300	b8eaf954	no	unknown +"Wood" (284,297,298,299) (pistol/rifle+wood)
			
			
301	04201e76	no	unknown +"Hard" (pistol/rifle+various)
302	babf24d3	no	unknown +"Soft" (rifle+aluminum 3)
These are 3 groups, one of 6, one of 5 and one of 2 sounds. If you find the right name for one of them, you'll know the ones of the rest of the group, as they only differ in the last part of the string. Aside from that, finding the naming scheme for one of these groups may give you a clue of the naming scheme of the other two ones...
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
Rebel
-=TresCom Developer=-
-=TresCom Developer=-
Posts: 6112
Joined: Sun Nov 10, 2002 10:26 pm
Location: That country nobody likes (you know the one)
Contact:

Re: Trespasser - CRC-32 hash tools

Post by Rebel »

Yeah, still nada. I'll be trying again off and on though -
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Trespasser - CRC-32 hash tools

Post by machf »

Wow, it's been over 11 years since I posted an update... anyway, tonight I finally took some time to test a few updates I wanted to add to the tool for a long time, so probably tomorrow or during the weekend I'll go ahead and release the next versions (26 and 27, that would be).
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
tatu
-=TresCom Website Manager=-
-=TresCom Website Manager=-
Posts: 5087
Joined: Fri Jun 24, 2005 9:40 pm
Antispam: No
Location: Sweden
Contact:

Re: Trespasser - CRC-32 hash tools

Post by tatu »

Awesome! Will they in any way speed up and make it easier to find the unknown names?
Active project: Trespasser: Isla Sorna
Status:
BE-PH1: Released
PH2-IT: Pre-released
PL-SUM: In production

"...there used to be more benches, but InGen's workers removed them during the evacuation in the name of framerate."
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Trespasser - CRC-32 hash tools

Post by machf »

I don't think they will speed up the process, but they definitely will allow you to narrow down the results...
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14032
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: Trespasser - CRC-32 hash tools

Post by Draconisaurus »

machf - I distinctly remember you saying years ago, that alternate strings could be used to call on sounds in the TPA files, if the "correct" string is not known. This way, one wouldn't have to import the sound to a new TPA with a different name. How can the tools be used to acquire this? And, possibly a button could be made to generate it... though I may be misunderstanding the process.
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Trespasser - CRC-32 hash tools

Post by machf »

The tool already does it and I've already explained it.
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14032
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: Trespasser - CRC-32 hash tools

Post by Draconisaurus »

Oh I remember now.. All I recall, is that I still never figured it out. Nvm I'll worry about it some other time.
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Trespasser - CRC-32 hash tools

Post by machf »

The idea is that it generates all possible character combinations that match the hash value, including the original one (and the fun is figuring out which is the original).

I finally got the new options working in the way I wanted. Let's see if I have the time to publish it later tonight, or tomorrow...
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
Rebel
-=TresCom Developer=-
-=TresCom Developer=-
Posts: 6112
Joined: Sun Nov 10, 2002 10:26 pm
Location: That country nobody likes (you know the one)
Contact:

Re: Trespasser - CRC-32 hash tools

Post by Rebel »

I suck at using this program, man. No matter how many times I've tried, I never once came up with a damn
sample name that made any sense. You seem to be the only one who has success in doing so. Maybe it's a
patience factor -
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Trespasser - CRC-32 hash tools

Post by machf »

Probably patience is the key. But I ran out of ideas since I'm not a native English-speaker...
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
Rebel
-=TresCom Developer=-
-=TresCom Developer=-
Posts: 6112
Joined: Sun Nov 10, 2002 10:26 pm
Location: That country nobody likes (you know the one)
Contact:

Re: Trespasser - CRC-32 hash tools

Post by Rebel »

Well, you have a better command of the English language than most of the people I know. Hmm, perhaps
I should start associating with a better class of people, hu? lol
User avatar
tatu
-=TresCom Website Manager=-
-=TresCom Website Manager=-
Posts: 5087
Joined: Fri Jun 24, 2005 9:40 pm
Antispam: No
Location: Sweden
Contact:

Re: Trespasser - CRC-32 hash tools

Post by tatu »

I get a bit how this program work thanks to machf. The issue is that the longer an ID might be (even when you know some of the ID like 01), is that there are millions of lines to go through.
Active project: Trespasser: Isla Sorna
Status:
BE-PH1: Released
PH2-IT: Pre-released
PL-SUM: In production

"...there used to be more benches, but InGen's workers removed them during the evacuation in the name of framerate."
Post Reply