Pakrat gets stuck on "textures"

  • If you're asking a question make sure to set the thread type to be a question!

Shadow Tyrant

L69: Deviant Member
Aug 7, 2009
69
3
When I open my map in pakrat, whether I use "scan" or "auto" I always get stuck here:

pakfail.jpg


It only happens to my map. I tried some other maps, and they all worked fine. I tried recompiling my map, and that didn't help at all.

I am at a loss.
 

Terr

Cranky Coder
aa
Jul 31, 2009
1,590
410
There are enough niggling bugs in Pakrat I've been seriously considering decompiling it to debug and fix it for my own use. I guess the problem is I don't trust it, after it corrupted my PCFs the first time I ever used it...
 

Terr

Cranky Coder
aa
Jul 31, 2009
1,590
410
I've been using bspzip with a list file.

Batch file I wrote to run bspzip:
Code:
@echo off
set bspzip=C:\Progra~1\Steam\steamapps\SteamUsernameHere\sourcesdk\bin\orangebox\bin\bspzip.exe
set sourcefolder=C:\Progra~1\Steam\steamapps\SteamUsernameHere\sourcesdk_content\tf\mapsrc
set destfolder=C:\Progra~1\Steam\steamapps\SteamUsernameHere\team fortress 2\tf\maps



set fname=%1

IF NOT EXIST %sourcefolder%\%fname%.bsp set /p fname=Enter a map name (ex. "ctf_thingy_a1"): 
set src=%sourcefolder%\%fname%.bsp
set listing=%sourcefolder%\%fname%.list  
set dst=%destfolder%\%fname%.bsp

IF NOT EXIST %src% GOTO END
IF NOT EXIST %listing% GOTO END

"%bspzip%" -addlist "%src%" "%listing%" "%dst%"
pause
GOTO EOF

:END
echo A required file could not be found
pause
:EOF

ctf_example_a1.list file used by bspzip so it know what to change:

Code:
maps\ctf_example_a1_particles.txt
c:\progra~1\Steam\steamapps\SteamUsernameHere\team fortress 2\tf\maps\ctf_example_a1_particles.txt
scripts\soundscapes_ctf_example_a1.txt
c:\progra~1\Steam\steamapps\SteamUsernameHere\team fortress 2\tf\scripts\soundscapes_ctf_example_a1.txt
particles/2fort_revamp.pcf
c:\progra~1\Steam\steamapps\SteamUsernameHere\team fortress 2\tf\particles/custom_particle_file_here.pcf

Unlike Pakrat, there's no auto-scanning, I'm manually defining things to be packed in.
 

Vigilante212

L420: High Member
Dec 21, 2008
481
33
I think it has something to do with the swamp pack. because I never had this issue before, but im using a few swamp tex and now it freezes just like yours.
 

Shadow Tyrant

L69: Deviant Member
Aug 7, 2009
69
3
Funny thing about that is, one of the maps I tested in pakrat was the swamp_vignette, and it worked fine.
 

Vigilante212

L420: High Member
Dec 21, 2008
481
33
yea but i think some swamp stuff doesnt transfer over well for other maps. like grass and water.
 

Vigilante212

L420: High Member
Dec 21, 2008
481
33
Ok I took the swamp_murky water out of my map and pakrat works now so at least now we know what causes it :)