Gildor's Forums

Author Topic: spaces in package path names  (Read 2120 times)
SLI_Fallen
Silver Sponsor
Jr. Member
**
Posts: 55


View Profile
spaces in package path names
« on: March 15, 2010, 16:14 »

Regarding spaces in package path names.

I'm almost sure I read this is *NOT POSSIBLE* in some thread somewhere on this site (but search has netted me nothing) . So I thought I would ask specifically here, both for me, and anyone else who comes across this.

As an Example:

Bioshock 2 is a steamapp. In Vista64 it default installs into C:\Program Files (x86)\Steam\steamapps\common\bioshock 2\

Note the spaces. If I try to open any package in one of the subfolders there, I get nothing. Path statement works fine on any package folder path WITHOUT spaces in the name (or if I put umodel in the package folder), but fails with them. Which obviously would indicate this indeed is not possible, but I just want to make sure is all.   Roll Eyes
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7933



View Profile WWW
Re: spaces in package path names
« Reply #1 on: March 15, 2010, 17:31 »

You should enclose path/package names into double quotes.
Example (I'm not sure for correct file names - I don't have Bioshock 2).
Open package C:\Program Files (x86)\Steam\steamapps\common\bioshock 2\SP\Content\Maps\WelcomeBack.bsm
Code:
umodel.exe "C:\Program Files (x86)\Steam\steamapps\common\bioshock 2\SP\Content\Maps\WelcomeBack.bsm"
or
Code:
umodel.exe -path="C:\Program Files (x86)\Steam\steamapps\common\bioshock 2\SP\Content" WelcomeBack.bsm
Note: in the 1st example umodel will automatically detect game path - in the log you can see line
Code:
Detected game root C:/Program Files (x86)/Steam/steamapps/common/bioshock 2/SP/Content
Logged
SLI_Fallen
Silver Sponsor
Jr. Member
**
Posts: 55


View Profile
Re: spaces in package path names
« Reply #2 on: April 12, 2010, 19:43 »

Great! thanks for clearing that up!  Grin
Logged
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS