Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: karajorma on April 11, 2004, 08:09:01 am
-
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
-
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.
-
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.
-
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
-
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?)
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?
-
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.
-
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.
-
for organizations sake .vp's should be in the module root
ie fs2 retail module root =
a mod module root = /mod
-
I think I can make a little batch file to make them.
-
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.
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. :)
-
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 ... :)
-
being a dipwad too :P
use -mod
-
dipwad?
-
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
-
Never occured problem to me, so I think I stay at the 'standard' solution.
-
no you shouldn't for very many technical reasons - the standards solution IS the -mod flag now
-
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.
-
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.
-
I doubt. FSO quits every time I do those I listed to you via PM regardless of how I change between mods.
-
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.
-
Have I sad that FSO makes the pilot file corrupt?
Originally posted by kasperl
.. instead of being a egocentric "i know it better" kind of guy.
...
Same here. I have not said I know FSO better than you. You obviously know the engine better. I just pointed out that I am not changing my method of switching mods.
The 'FSO quits when weapon icon does not exits' and the 'How I change mods' things have no chemistry between each other.
My first thing would be to have a look at this -mod parameter and see how FSO works then.
-
dunno, it could very well be that the no icon thing is caused by FSO not findinf the correct file because you prevent it by turning your files into a mess.
and you said FSO was unreliable, and all i said that it was because you made a mess of everything. that, and TC is getting on my nerves.
-
EDIT: Never mind.
-
TopAce: infact kasperl's right - mixing your files can have that very effect - that is why mod is there to keep the filesystem clean and prevent cross contaimination that could and will cause crashing.
You're blaiming the SCP and us for crashes that you're expieriencing because of your doing, and you're being egocentric and saying you know you're right and you're going to leave it how it is even though we're telling you that's oging to cause problems - and infact it has caused problems.
Until such as time as you actually decide to follow our advice i'm not listening to any requests from you - infact i will personally go into mantis and close any bug reports you issue because I know we cannot trust them due to your corrupted FS filesystem
You know i refused to participate in the SCP until it reached a certain state of stability
-
Are they puttting some kind of special noob juice in the water today?
TopAce. Now that FRED also recognises the -mod parameter it's silly to continue that way. It will cause you all sorts of problems and what's more it was never a sensible way to do things even before the SCP came along.
My FAQ explained ages ago that the way to install multiple mods on FS2 was to swap folders. Swapping tables is an inherantly slower way of doing things and also leads to instability like Kazan and Kasperl are saying.
If for some strange self defeating reason you refuse to use the -mod switch at least do the sensible thing and swap folders like I stated.
(I've just noticed that now that I've joined in the KKK {Kazan, Kasperl, Karajorma}are telling him it's the wrong way of doing things :lol: )
-
never made that connection again (Kazan, Kaserpl, Karajorma) .... (half :P)
-
Where's Kalfireth in all this?
-
I know. But since I'm coloured and therefore never going to be a member I can get away with it :D
-
ok.. then i don't care then -- i'm just really sensative about people making any statement that could "color me racist"
-
Originally posted by Kazan
ok.. then i don't care then -- i'm just really sensative about people making any statement that could "color me racist"
I fully understand which is why I made very sure I explained the joke :)
-
The batch files are online at
http://webs.sinectis.com.ar/dsusman/
There you will find a bat file (Windoze) and a sh file (Linux).
You must place the batch file in the new directory where you'll place the mod.
-
That's not a bad way of doing it :)
I simply made a copy of my data folders, emptied them and then copied that whenever I needed new folders. This is a little nicer though. I may have to nick this and added to the FAQ/Wiki :D
-
Go ahead. Those files should be hosted elsewhere anyway. I've a 6Mb quota and I may remove them any day.
-
Originally posted by karajorma
I simply made a copy of my data folders, emptied them and then copied that whenever I needed new folders. This is a little nicer though. I may have to nick this and added to the FAQ/Wiki :D
I'll do you one better. I have folders called data_TVWP, data_FSPort, data_DEM, and data. Whenever I want to play a new mod I simply rename the appropriate data folders. :)
-
Originally posted by Kazan
TopAce: infact kasperl's right - mixing your files can have that very effect - that is why mod is there to keep the filesystem clean and prevent cross contaimination that could and will cause crashing.
You're blaiming the SCP and us for crashes that you're expieriencing because of your doing, and you're being egocentric and saying you know you're right and you're going to leave it how it is even though we're telling you that's oging to cause problems - and infact it has caused problems.
Until such as time as you actually decide to follow our advice i'm not listening to any requests from you - infact i will personally go into mantis and close any bug reports you issue because I know we cannot trust them due to your corrupted FS filesystem
You know i refused to participate in the SCP until it reached a certain state of stability
It is pity that [V] FreeSpace doesn't crash with all the files I have. So in a field of view, FSO is a backspace considered to [V] FreeSpace. High-poly model support: OK, shinemaps, HTL and other graphical tricks : OK. But graphical quality is secondary at me.
I guess we should stop this here. I keep my opinion myself, even after you do not listen to me. And feel free to close/erase all my bug reports in the Mantis(I didn't make any ;)).
And I tested this so-called -mod parameter. All the missions were displayed in the mission list, except for those I placed in the REAL mod directory(or in Windows language: folder).
-
TopAce: You didn't set it up correctly then - ESAD N00B
(directory: windows language DIRECTORY)
-
(http://www.swooh.com/peon/TopAce/RR_dirstructure.jpg)
-
that folder name is a little long - try trimming it to jsut RR - fs2 does have internal path size limits
-
Originally posted by Kazan
that folder name is a little long - try trimming it to jsut RR - fs2 does have internal path size limits
You didn't recognise the error, do you? Same here, I have just recognised why the missions are not listed.
There is the campaign file. ;)
Sorry, I was stupid.
But I am certain that the crash bug when a weapon has no icon persists.
[EDIT] But other missions which do not belong to RR are still listed despite they are in the root data folder. Maybe this one can be blocked if I do the same dir structure for both Star Wars Conversion and ITHOV.
-
probably.....
-
it searches all mission foldiers top ace
-
Wouldn't it be more logical to list only missions from the same mod?
-
no, because sometimes when you only add ships and not change them, you can still play FS2 standard campaign missions.
that, and it goes for all files, otherwise each MOD would also require all the standard textures, making the switch mostly useless.
-
Originally posted by kasperl
no, because sometimes when you only add ships and not change them, you can still play FS2 standard campaign missions.
that, and it goes for all files, otherwise each MOD would also require all the standard textures, making the switch mostly useless.
They are in VPs. I meant the files which are not packed.
-
basicly, because if you want to combine stuff you still want to be able to put generic stuff in the main folder and mod specific things in the mod folders.
and for the HOTU version and the like, the stuff is outside of VP's, making it rather important that the main dir will be searched as well.
-
no - it makes technical sense to do it the way we do it
without a mod the roots look like this
fs2path
CDDrive
with a mod they look like this
fs2path/modname
fs2path
CDDrive
-
Kind of gets to the whole original point of this thread doesn't it? :D
One advantage of doing things this way is that if you want to add something like lightspeeds thrusters (at least before they were put into a vp) to all your campaigns you can do it easily by sticking them in the data folder.
If only the -mod folder was checked you'd need a copy in every single mod folder.