Author Topic: Directory Structure  (Read 6158 times)

0 Members and 1 Guest are viewing this topic.

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
I'm adding a list of the folders FS2 uses and the order it looks in them. Have I got the order it checks them in correct?

FS2

    * \Freespace2
    * \Freespace2\Data
    * \Freespace2\Data\x

FS2 Open

    * \Freespace2\ModDirName\
    * \Freespace2\ModDirName\Data
    * \Freespace2\ModDirName\Data\x
    * \Freespace2
    * \Freespace2\Data
    * \Freespace2\Data\x
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Does FSO have an individual folder control system? :wtf:
I didn't know it.
Do I have to make them manually, or FSO does it instead of me? Because I have been using FSO for a while(since I joined the SWC staff), and FSO has never made new folders to me.
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
The reference is to the -mod command, and no, you have to make and fill the mod folders yourself.  Kara, don't forget the VP, some people may not know/realize that its last on the list.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline redmenace

  • 211
this is how you need to set up the folders useing the -mod option
Freespace2
--Root Directory
---+data
----Files and VPs
----SWFC
------VPs
------data
--------maps
--------tables
--------effects
--------pilots
--------all the rest of the files and folders
Government is the great fiction through which everybody endeavors to live at the expense of everybody else.
              -Frederic Bastiat

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Red I'm pretty much aware of how to set up FS2_open correctly. I was checking I've got the order correct so that I can add information to the wiki so people who haven't done it correctly can troubleshoot. :D
(i.e that if you mistakenly add something to the main FS2 folder will it override something in the data folder?)


Quote
Originally posted by StratComm
Kara, don't forget the VP, some people may not know/realize that its last on the list.


Good point. I believe that only \Freespace2 (and \Freespace2\ModDirName if you're using -mod) are checked for vp files. Correct?
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline redmenace

  • 211
I was getting a little more detailed. especially about the vps. those are very important. That is not something i personally understood about them for a while. now all works just peachy. except screen shots.
Government is the great fiction through which everybody endeavors to live at the expense of everybody else.
              -Frederic Bastiat

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
VPs are searched recursively through all game directories.  You could have LS's hi-res planets in a VP in Freespace2\data\effects if you wanted but VPs are used in directory then alphabetical order so any files in a VP in Freespace2\ would get used first.

Mods can go in any directory in Freespace2\ with the patch specified, so if you had Blackwater Ops in a mod directory called BWO then the mod command would be "-mod BWO" if BWO was in Freespace2\data then it would be "-mod data\BWO", etc..  I recommend just putting all mods in Freespace2\ or in a special mod directory (ie. Freespace2\mods) for ease of maintenance sake but that's just personal preference.

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
for organizations sake .vp's should be in the module root

ie fs2 retail module root =
a mod module root = /mod
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 
I think I can make a little batch file to make them.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Quote
Originally posted by taylor
VPs are searched recursively through all game directories.  You could have LS's hi-res planets in a VP in Freespace2\data\effects if you wanted but VPs are used in directory then alphabetical order so any files in a VP in Freespace2\ would get used first.


Now that I didn't know. When I first started using FS2_Open I'm sure I had trouble until I put the vp in /mod instead of /mod/Data. Must have been doing something wrong. I'll add that to the wiki in a bit.

Quote
Originally posted by Kazan
for organizations sake .vp's should be in the module root

ie fs2 retail module root =
a mod module root = /mod


That's exactly where I've told them to put them :D It's the most sensible choice.

 The idea behind the page of the wiki is to give people a good enough explaination of how FS2 works that they can solve their own problems. It's worked quite well in my FAQ for FS2 so I figured I might as well do the same thing for FS2_Open. :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Personally, I find it simplier to have all my data in the main FreeSpace/data. If I want to change from SWC to RR, I only change the tables.

But I guess it is only me ... :)
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
being a dipwad too :P

use -mod
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
dipwad?
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
how about dimwit, fool, being daft... etc

use -mod it's there for a reason - mixing mod files is not only dirty but it's dangerous
additionally it negatively impacts performance
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Never occured problem to me, so I think I stay at the 'standard' solution.
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
no you shouldn't for very many technical reasons - the standards solution IS the -mod flag now
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Needless efforts, Kazan. You cannot convince me. It is simpler than struggling with your command paratemeters, and I got used to it. This. Ends. Here.
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

 
ok, no problem, but this pretty much invalidates you for ever *****ing about stability, performance or reliability. and reporting a bug would basicly mean nothing.

standards are set for a reason.
just another newbie without any modding, FREDding or real programming experience

you haven't learned masochism until you've tried to read a Microsoft help file.  -- Goober5000
I've got 2 drug-addict syblings and one alcoholic whore. And I'm a ****ing sociopath --an0n
You cannot defeat Windows through strength alone. Only patience, a lot of good luck, and a sledgehammer will do the job. --StratComm

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
I doubt. FSO quits every time I do those I listed to you via PM regardless of how I change between mods.
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

 
let's see, the pilot file is known, and it isn't and issue if you backup regurlaly. and for the rest, it might be worth the try to follow the steps disrcibed in the wiki [scp][/scp] to the letter, instead of being a egocentric "i know it better" kind of guy.

edit: FYI, the pilot file isn't "corrupted" it is simply used to store more data, and therefore standard :V: stuff cannot read it, same with mission files and tables.
« Last Edit: April 13, 2004, 10:52:29 am by 936 »
just another newbie without any modding, FREDding or real programming experience

you haven't learned masochism until you've tried to read a Microsoft help file.  -- Goober5000
I've got 2 drug-addict syblings and one alcoholic whore. And I'm a ****ing sociopath --an0n
You cannot defeat Windows through strength alone. Only patience, a lot of good luck, and a sledgehammer will do the job. --StratComm