PackBSP 2.0 Beta 1 ... Needs testing.

EArkham

Necromancer
aa
Aug 14, 2009
1,625
2,774
Hm, strange, I didn't remember noticing any greying out of lines, but I didn't play with it very long. I'll take another look and play around with more indepth.

For 2.1 I may add something like what you described to the final step of the wizard. Would you like to see a list of relative paths (like "materials/foo/bar.vmt") or would a list of absolute disk paths be better?

Relative would be perfect. Log file will work fine for now. Thankya!

Kep
 

Terr

Cranky Coder
aa
Jul 31, 2009
1,590
410
BTW, Here's what I'm thinking of in terms of icons. (If it seems simplistic, it's because the 16x16 is the one people will see most often.)

 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,670
When is gameinfo.txt ever not in the "right" place? It's not exactly a file that will just pop up in random places, unless you are actually doing something different on purpose like he did, or making a mod and have your files elsewhere for development.
An application will often ask/look for a specific file but not care about folder (unless it's the folder itself that is wanted). You've sorta double-safeguarded it unnecessarily.

I'm not trying to berate you or anything, I've just noticed a handful of things you've done during the course of this project that I really don't get the need to have coded in specially. That is, it seems you are giving yourself extra work to ward against problems that don't exist but in the end create others. Resulting in a net "problem-amount" of zero with a loss of time spent.
 

Terr

Cranky Coder
aa
Jul 31, 2009
1,590
410
When is gameinfo.txt ever not in the "right" place?

I'm a bit confused by this question. (And by what Remnic said about "destroying" those files.) Do you mean the SDK's per-engine gameconfig.txt files?

The gameinfo.txt files are... well, wherever they are, depending on what you have set up for the SDK launcher. As a general rule, if you can use Hammer/HLMV/etc. then PackBSP should as well. If you can't, it's something I probably can't work around.

The reason for lots of assertions and checks is that I'm programming against a third-party system which can change without notice, especially with some of the "broken" SDK configs going around recently.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,670
I honestly don't know what we're talking about anymore I guess. I probably misinterpreted something along the way (I've never used packbsp). Doesn't matter though I suppose.
 

Remnic

L2: Junior Member
Jan 24, 2009
95
16
I'm saying if I were to rename or relocate the folder that contains everything in Steam (including steamapps), gameinfo.txt for TF2 would malfunction. It's required to stay the way it is without changing the folder name or relocating the folder in general.
 

Terr

Cranky Coder
aa
Jul 31, 2009
1,590
410
I'm saying if I were to rename or relocate the folder that contains everything in Steam (including steamapps), gameinfo.txt for TF2 would malfunction. It's required to stay the way it is without changing the folder name or relocating the folder in general.

Gameinfo would malfunction?

I mean, I can see how gameconfig.txt would fail for the SDK launcher, since it has absolute paths... But gameinfo is found based on the mod directory...
 

Remnic

L2: Junior Member
Jan 24, 2009
95
16
Well that error would occur if players would rename the file which contains everything about Steam. It's not a major concern for PlayerBSP. In fact, that didn't even have any relation to this discussion. Sorry.