Raised This Month: $32 Target: $400
 8% 

What happened to items_game.txt?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 08-05-2014 , 17:55   What happened to items_game.txt?
Reply With Quote #1

In tf/scripts there is no longer an items folder ever since some update.

My items_game.txt in sublime text broke and is now gone because it reloads the file all the time.

Does this file exist anymore? I tried looking through tf2_misc_dir.vpk as well, but it's not there.

I can't look up what attributes weapons have and whatnot anymore ;c
__________________

Last edited by Chdata; 08-05-2014 at 17:56.
Chdata is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 08-05-2014 , 19:15   Re: What happened to items_game.txt?
Reply With Quote #2

if you haven't figured out by now, Valve moved it to tf2_scripts_dir.vpk
__________________
pheadxdll is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 08-05-2014 , 19:37   Re: What happened to items_game.txt?
Reply With Quote #3

Ah thanks, didn't notice that vpk was added.
__________________
Chdata is offline
El Diablo War3Evo
Veteran Member
Join Date: Jun 2013
Old 08-30-2014 , 18:01   Re: What happened to items_game.txt?
Reply With Quote #4

omg! Make it hard for linux users to look at vpk files!

can i get a copy of tf2's items_game.txt?
__________________

Last edited by El Diablo War3Evo; 08-30-2014 at 18:02.
El Diablo War3Evo is offline
arthurdead
Senior Member
Join Date: Jul 2013
Old 08-30-2014 , 19:20   Re: What happened to items_game.txt?
Reply With Quote #5

Quote:
Originally Posted by El Diablo War3Evo View Post
omg! Make it hard for linux users to look at vpk files!

can i get a copy of tf2's items_game.txt?
items_game.txt
arthurdead is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-30-2014 , 19:49   Re: What happened to items_game.txt?
Reply With Quote #6

Quote:
Originally Posted by El Diablo War3Evo View Post
omg! Make it hard for linux users to look at vpk files!
There's a vpk_linux32 executable that is shipped with the game. It's in the bin directory (not tf/bin/, but bin/).

To use it on a 64-bit system requires a shell script to make it load the right libraries. I forget where exactly I got this from, but I have it saved as bin/vpk_linux64.sh on my system:

Code:
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export LD_LIBRARY_PATH=$DIR
exec "$DIR/vpk_linux32" "$@"
./vpk_linux64.sh -? will give you the args it takes.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 08-30-2014 at 19:54.
Powerlord is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 09-02-2014 , 06:40   Re: What happened to items_game.txt?
Reply With Quote #7

You can also use the web api to download the attributes list.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode