Team Fortress 2 gaminfo.txt

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Kingoftherings
Level 2
Level 2
Posts: 20
Joined: Fri Jun 27, 2008 10:11 pm

Team Fortress 2 gaminfo.txt

Post by Kingoftherings »

Hello, I'm trying to run Team Fortress 2 on Linux using Wine 1.0.
I tried starting the game from Steam, but it shows the loading TF2 window, then closes and never starts the game.

I know the game isn't supposed to run on Linux, but I have a question about gameinfo.txt.

I tried starting hl2.exe in:
/.wine/drive_c/Program Files/steam/steamapps\*user*\team fortress 2
folder, but it said I didn't have a gaminfo.txt in the hl2 directory. (which is a folder in the above directory) So I made one, but I don't know what to put in it. My current errror is:
hl2/gameinfo.txt is not a valid format.

I tried finding the file on my Windows drive, but it wasn't there.

I am currently running Gentoo.

So all I'm asking for is what to put in the file. Thanks.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Team Fortress 2 gaminfo.txt

Post by vitamin »

Kingoftherings wrote:Hello, I'm trying to run Team Fortress 2 on Linux using Wine 1.0.
I tried starting the game from Steam, but it shows the loading TF2 window, then closes and never starts the game.

I know the game isn't supposed to run on Linux, but I have a question about gameinfo.txt.

I tried starting hl2.exe in:
/.wine/drive_c/Program Files/steam/steamapps\*user*\team fortress 2
folder, but it said I didn't have a gaminfo.txt in the hl2 directory. (which is a folder in the above directory) So I made one, but I don't know what to put in it. My current errror is:
hl2/gameinfo.txt is not a valid format.

I tried finding the file on my Windows drive, but it wasn't there.

I am currently running Gentoo.

So all I'm asking for is what to put in the file. Thanks.
Remove ~/.wine directory, reinstall Steam and TF2. If you broke your game files what do you want from Wine?
And no you can't run TF2 without steam. Also don't forget to check HOWTO on AppDB page.
Kingoftherings
Level 2
Level 2
Posts: 20
Joined: Fri Jun 27, 2008 10:11 pm

Re: Team Fortress 2 gaminfo.txt

Post by Kingoftherings »

vitamin wrote:
Kingoftherings wrote:Hello, I'm trying to run Team Fortress 2 on Linux using Wine 1.0.
I tried starting the game from Steam, but it shows the loading TF2 window, then closes and never starts the game.

I know the game isn't supposed to run on Linux, but I have a question about gameinfo.txt.

I tried starting hl2.exe in:
/.wine/drive_c/Program Files/steam/steamapps\*user*\team fortress 2
folder, but it said I didn't have a gaminfo.txt in the hl2 directory. (which is a folder in the above directory) So I made one, but I don't know what to put in it. My current errror is:
hl2/gameinfo.txt is not a valid format.

I tried finding the file on my Windows drive, but it wasn't there.

I am currently running Gentoo.

So all I'm asking for is what to put in the file. Thanks.
Remove ~/.wine directory, reinstall Steam and TF2. If you broke your game files what do you want from Wine?
And no you can't run TF2 without steam. Also don't forget to check HOWTO on AppDB page.
Alright, I'll try removing .wine. I'm not trying to run it without Steam. I have Steam running when I try to run hl2.exe. I even tried it once without Steam running and it told me to start Steam.

When I go into Steam, and into the my games tab, the game won't launch, so I'm just using hl2.exe directly.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Team Fortress 2 gaminfo.txt

Post by vitamin »

Kingoftherings wrote:When I go into Steam, and into the my games tab, the game won't launch, so I'm just using hl2.exe directly.
You need to check the usual suspects:
1. Disable in-game steam community.
2. If your system uses pulseaudio - disable that too, it's not compatible with Wine.
3. Make sure you have the requires screen resultions or that you using virtual desktop mode.
4. Disable compiz (fancy 3d desktop effects).
Kingoftherings
Level 2
Level 2
Posts: 20
Joined: Fri Jun 27, 2008 10:11 pm

Re: Team Fortress 2 gaminfo.txt

Post by Kingoftherings »

vitamin wrote:
Kingoftherings wrote:When I go into Steam, and into the my games tab, the game won't launch, so I'm just using hl2.exe directly.
You need to check the usual suspects:
1. Disable in-game steam community.
2. If your system uses pulseaudio - disable that too, it's not compatible with Wine.
3. Make sure you have the requires screen resultions or that you using virtual desktop mode.
4. Disable compiz (fancy 3d desktop effects).
1. Sorry, don't know how to do that :(
2. I don't have PulseAudio, not a problem
3. Could you explain the Requires screen resolutions too? I know what virtual desktop mode is though.
4. I'll try that too.
Kingoftherings
Level 2
Level 2
Posts: 20
Joined: Fri Jun 27, 2008 10:11 pm

Post by Kingoftherings »

Okay, I got a gameinfo.txt, and the game starts now if I use hl2.exe directly, but I get a black background instead of the normal TF2 one, and none of the menu items work. :(
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Kingoftherings wrote:Okay, I got a gameinfo.txt, and the game starts now if I use hl2.exe directly, but I get a black background instead of the normal TF2 one, and none of the menu items work. :(
You have to do _all_ of the steps I told you above. Not just one.
Kingoftherings
Level 2
Level 2
Posts: 20
Joined: Fri Jun 27, 2008 10:11 pm

Post by Kingoftherings »

vitamin wrote:
Kingoftherings wrote:Okay, I got a gameinfo.txt, and the game starts now if I use hl2.exe directly, but I get a black background instead of the normal TF2 one, and none of the menu items work. :(
You have to do _all_ of the steps I told you above. Not just one.
Yes, but I don't know how to do them all. I posted about that earlier, so could you explain how to do some of those things?

1. I don't know how to disable the in game steam community
2.
3. I don't know what Requires Screen Resolution is, but I can do Virtual Desktop
4.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Kingoftherings wrote:
vitamin wrote:
Kingoftherings wrote:Okay, I got a gameinfo.txt, and the game starts now if I use hl2.exe directly, but I get a black background instead of the normal TF2 one, and none of the menu items work. :(
You have to do _all_ of the steps I told you above. Not just one.
Yes, but I don't know how to do them all. I posted about that earlier, so could you explain how to do some of those things?

1. I don't know how to disable the in game steam community
Ask Steam support or read Steam's help if you don't know how to navigate Steam's menu or change Steam's options.
Kingoftherings wrote: 3. I don't know what Requires Screen Resolution is, but I can do Virtual Desktop
The one you configured the game run at. You can force game to specified resolution with "-width X -height Y" game command line options.
Kingoftherings
Level 2
Level 2
Posts: 20
Joined: Fri Jun 27, 2008 10:11 pm

Post by Kingoftherings »

vitamin wrote:
Kingoftherings wrote:
vitamin wrote: You have to do _all_ of the steps I told you above. Not just one.
Yes, but I don't know how to do them all. I posted about that earlier, so could you explain how to do some of those things?

1. I don't know how to disable the in game steam community
Ask Steam support or read Steam's help if you don't know how to navigate Steam's menu or change Steam's options.
Kingoftherings wrote: 3. I don't know what Requires Screen Resolution is, but I can do Virtual Desktop
The one you configured the game run at. You can force game to specified resolution with "-width X -height Y" game command line options.
Oh so the in game community thing is an option in Steam? :P I figured I'd have to hack it or something.
Locked