Author Topic: mod.ini files  (Read 1811 times)

0 Members and 1 Guest are viewing this topic.

Offline Foxer

  • 25
    • TerraNet @ www.FreeSpace.pl
Hey. I like very much the idea of mod.ini files. But I want to learn how to make it myself :) it isn't look so hard. So here is my question: what is the difference between "primarylist" and "secondarylist" in the mod.ini files? What is their purposes? BTW. Is there some docs to new Launcher and mod.ini issues? :) (if not, you should place this case in your FAQs site Karajorma ;)).

Sorry for little off-topic.
« Last Edit: December 17, 2005, 10:25:46 am by Foxer »
Greetings, Foxer / {303}Foxer / FOXeR_mk
TerraNet FreeSpace.PL Forum | Squadron 303

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Hacked Tables, even AFTER putting modified tab
At the moment the primary list entries don't have much use. If you enter something there it will be used as the name of the mod before the current mod. So if I have this in my inferno folder.


primarylist  = ,TBP;
secondrylist = ,FS1_Port,Media_VPs;

The game would use any tables etc. it found in the TBP folder before anything found in the current folder. I really can't think of any use for that but if anyone can it's there.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Foxer

  • 25
    • TerraNet @ www.FreeSpace.pl
Re: Hacked Tables, even AFTER putting modified tables in?
Ok, i see. Now... I got another question :). How works "flags = ;" in ini files? This is what I place in \MediaVPs\mod.ini:
Code: [Select]
flags = -spec -glow -pcx32 -jpgtga;In "Features" plate in Launcher I do nothing. All features is off there. I enable MediaVPs mod, and Run FSO. Unfortunately non from my mod.ini flags wasn't active in game o.O... What I do wrong?
Greetings, Foxer / {303}Foxer / FOXeR_mk
TerraNet FreeSpace.PL Forum | Squadron 303

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Hacked Tables, even AFTER putting modified tab
Flags currently don't work (and for that matter probably never will). RT added them to the parser but then got too busy to implement them. Taylor sounds like he wants to go a slightly different way with them so just leave them alone until we know what he's doing with them.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Hacked Tables, even AFTER putting modified tables in?
It's just a bad idea. -spec and -glow have more to do with user preference and system abilities than mod gameplay. And things like these "The Babylon Project features" and "Wing Commander Saga features" shouldn't even be command-line flags in the first place. :doubt:
-C

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Hacked Tables, even AFTER putting modified tables in?
Exactly.  (@WMC's response)

That's the plan with the new ini file, it gets rid of the cmdline options.  The options will only be in the new Launcher, or settable by hand in the ini file.  Mod specific settings will be tagged as mod specific.  Most everything else gets moved to the ini file and out of the registry and cmdline.  When the new in-game options screen comes to be (which will mostly get rid of the need for a launcher) then that will be required anyway.  The ini is file the first step though and will be mostly transparent to users at first, the only noticable change being the new launcher.  That change-over from registry/cmdline to ini file should happen around late-Feb/March in CVS builds.

 

Offline Inquisitor

split this out, this has useful info that was irrelevant to the original thread it was in.
No signature.

 

Offline Foxer

  • 25
    • TerraNet @ www.FreeSpace.pl
Yes you are right WMC, but... if I want to make mod.ini for FS2 Open (with all VPs and flags like: -spec -glow -jpgtga) and one for multiplayer purposes (clear tables, no VPs and only flags: -mpnoreturn -fps -no_vsync) the flag idea looks more handy here. It's more comfortable than move all VP files elsewhere and change custom-flag line everytime I want to play multiplayer.

BTW. Taylor, I very like idea of new launcher and in-game option screen is what I always dream about ;)
Greetings, Foxer / {303}Foxer / FOXeR_mk
TerraNet FreeSpace.PL Forum | Squadron 303

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
It's just a bad idea. -spec and -glow have more to do with user preference and system abilities than mod gameplay. And things like these "The Babylon Project features" and "Wing Commander Saga features" shouldn't even be command-line flags in the first place. :doubt:

 :nod:

what special features do they have that they are not willing to share with other modders? :D
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Yes you are right WMC, but... if I want to make mod.ini for FS2 Open (with all VPs and flags like: -spec -glow -jpgtga) and one for multiplayer purposes (clear tables, no VPs and only flags: -mpnoreturn -fps -no_vsync) the flag idea looks more handy here. It's more comfortable than move all VP files elsewhere and change custom-flag line everytime I want to play multiplayer.

BTW. Taylor, I very like idea of new launcher and in-game option screen is what I always dream about ;)

With an in-game options screen such things could be stored on a per-pilot basis.
-C

  

Offline Foxer

  • 25
    • TerraNet @ www.FreeSpace.pl
That will be very cool and best solution :). Can't wait. I hope there will be options for shutdown VP files or their's additions and tables (just for multiplayer). Or... if all singleplayer stuff will be valid and work properly for multi there will be no problem with that :).
Greetings, Foxer / {303}Foxer / FOXeR_mk
TerraNet FreeSpace.PL Forum | Squadron 303