Difference between revisions of "Talk:Cosmetic items"

From Team Fortress Wiki
Jump to: navigation, search
(items_game.txt is now a signed file)
(items_game.txt is now a signed file)
Line 16: Line 16:
 
This means editing it as a text file is no longer possible, unless someone cracks the signature the game checks... so that tidbit in Bugs should probably be taken out. [[User:Pakaku|Pakaku]] ([[User talk:Pakaku|talk]]) 20:21, 15 October 2014 (PDT)
 
This means editing it as a text file is no longer possible, unless someone cracks the signature the game checks... so that tidbit in Bugs should probably be taken out. [[User:Pakaku|Pakaku]] ([[User talk:Pakaku|talk]]) 20:21, 15 October 2014 (PDT)
 
:Is it signed or verified? I'm pretty sure sv_pure, for example, verifies entire files, whereas map check verify a checksum. Given how large items_game is, I wouldn't be surprised if it was a checksum. Cracking the signature (since it's probably MD5 or similar) isn't especially helpful. While collisions can be created in MD5, trying to generate a specific hashed value (called a preimage attack) is near-impossible. In other words, trying to find a random text file that encrypts to look like a normal items_game is nearly impossible. [[User:Darkid|<span style="color:red">Darkid</span>]] ([[User talk:Darkid|<span style="color:blue">Talk</span>]] | [[Special:Contributions/Darkid|<span style="color:grey">Contribs</span>]]) 21:08, 15 October 2014 (PDT)
 
:Is it signed or verified? I'm pretty sure sv_pure, for example, verifies entire files, whereas map check verify a checksum. Given how large items_game is, I wouldn't be surprised if it was a checksum. Cracking the signature (since it's probably MD5 or similar) isn't especially helpful. While collisions can be created in MD5, trying to generate a specific hashed value (called a preimage attack) is near-impossible. In other words, trying to find a random text file that encrypts to look like a normal items_game is nearly impossible. [[User:Darkid|<span style="color:red">Darkid</span>]] ([[User talk:Darkid|<span style="color:blue">Talk</span>]] | [[Special:Contributions/Darkid|<span style="color:grey">Contribs</span>]]) 21:08, 15 October 2014 (PDT)
 +
::The way I used to do it was by going into tf/scripts/items and editing a file called items_game.txt. There was an update that moved it into a VPK, but now this update has moved it back into /scripts, along with a second file that acts like a signature/checksum. (That's what I meant by a signed file.)
 +
::Since the second file exists now, it means you can't edit items_game.txt anymore without the game complaining that the file's 'corrupted'. And since the game won't load it if detects a corrupted items_game.txt, that makes it impossible to make hats to clip in this way, at least for now. [[User:Pakaku|Pakaku]] ([[User talk:Pakaku|talk]]) 01:04, 17 October 2014 (PDT)

Revision as of 08:04, 17 October 2014

Merging the update histories

Should I add all changes, even the really tiny changes like material changes to the update history bit? I'm unsure. Davo - (Talk|Contribs) 05:41, 15 January 2014 (PST)

Add only the added items, equip region changes, bugs related to cosmetic slot/all cosmetic User Hinaomi Hinaomi-sig.png Rikka Takanashi (talk) • (contributions) 05:51, 15 January 2014 (PST)
Alright. Davo - (Talk|Contribs) 05:54, 15 January 2014 (PST)

is it necessary to put 3D models on every cosmetic item page, so viewers can see what the item looks like Villager3056 (talk) 05:45, 31 January 2014 (PST)

No. It would be too much work. A simple preview is enough anyways since 3D models are a bit heavy. Ashes (talk) 07:04, 31 January 2014 (PST)

The addition of a Multi-Class Cosmetic Category

Is it possible and could it be implemented? An old example template I found was this. --Hydrobolt (talk) 21:57, 17 August 2014 (PDT)

items_game.txt is now a signed file

This means editing it as a text file is no longer possible, unless someone cracks the signature the game checks... so that tidbit in Bugs should probably be taken out. Pakaku (talk) 20:21, 15 October 2014 (PDT)

Is it signed or verified? I'm pretty sure sv_pure, for example, verifies entire files, whereas map check verify a checksum. Given how large items_game is, I wouldn't be surprised if it was a checksum. Cracking the signature (since it's probably MD5 or similar) isn't especially helpful. While collisions can be created in MD5, trying to generate a specific hashed value (called a preimage attack) is near-impossible. In other words, trying to find a random text file that encrypts to look like a normal items_game is nearly impossible. Darkid (Talk | Contribs) 21:08, 15 October 2014 (PDT)
The way I used to do it was by going into tf/scripts/items and editing a file called items_game.txt. There was an update that moved it into a VPK, but now this update has moved it back into /scripts, along with a second file that acts like a signature/checksum. (That's what I meant by a signed file.)
Since the second file exists now, it means you can't edit items_game.txt anymore without the game complaining that the file's 'corrupted'. And since the game won't load it if detects a corrupted items_game.txt, that makes it impossible to make hats to clip in this way, at least for now. Pakaku (talk) 01:04, 17 October 2014 (PDT)