Author Topic: How do you use the -mod command?  (Read 1655 times)

0 Members and 1 Guest are viewing this topic.

How do you use the -mod command?
I have my mediavps in the mediavps folder, so in the launcher I use the mod tab and select the mediavps folder as my mod. When I do this I see that the line "-mod mediavps" appears in the command line. But if I want to use an actual mod like the fs1port or transcend, how do I use that and the mediavps at the same time? I know it has something to do with the -mod command and/or the mod.ini file but I'm not really sure.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: How do you use the -mod command?
The best way is to use mod.ini files. You can use -mod directly but you'd have to set it up every time you swap campaigns. Mod.ini files let you set up once and then forget it.

This is my Transcend mod.ini file. All You have to do is make a new text file called mod.ini in your transcend folder called mod.ini and cut and paste this into it.

Code: [Select]
[launcher]
infotext     = Only a few short months after the end of the Second Shivan Incursion, amongst the chaos of Capellan refugees and ever-heightening levels of piracy, mysterious things have begun happening on the edge of GTVA space. Unexplained disappearances, strange rumours... You are Lieutenant Sunder Marcel, recently transferred to the 103rd Shadow Guardians. Your squadron has been charged with uncovering the cause of these disturbances, to venture out into the unknown and return with an answer. But something's strange about this case. The clues have no meaning, and reality is beginning to slip... Everyone has a limit...;
website      = http://www.game-warden.com/transcend/;
forum        = http://www.game-warden.com/forum/forumdisplay.php?f=28;

[multimod]
secondarylist = mediavps;

It's only the last two lines that deal with your actual problem but you might as well add the rest. Once the file is in place you simply select Transcend as your chosen mod in the launcher and you'll notice the command line changes to -mod Transcend,mediavps

For more info check my FAQ's guide on how to install mods.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: How do you use the -mod command?
along similar lines, how does one run a mod under linux, i dont need no frills i just need the mod to run on linux. i tried like mad to get my mod loaded under the terminal, but failed miserably. none of my ships would apear in the tech room.
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 taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: How do you use the -mod command?
along similar lines, how does one run a mod under linux, i dont need no frills i just need the mod to run on linux. i tried like mad to get my mod loaded under the terminal, but failed miserably. none of my ships would apear in the tech room.
Largely the same as under Windows, accept that you don't currently have the benefit of using mod.ini files or the Launcher.  You would just use the -mod option directly from the terminal or through a shell script.  The main thing to remember is that mod directory names are case sensitive, and work best lowercase.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: How do you use the -mod command?
that would probibly be it then. i keep forgetting that linux is case sensitive. does that also mean all mod files need to be in lower case?
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 taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: How do you use the -mod command?
that would probibly be it then. i keep forgetting that linux is case sensitive. does that also mean all mod files need to be in lower case?
VPs don't need to be any particular file case, but individual files do.  So if the mod uses VPs then all you need to do is make sure that the directory is lower case.

If the mod doesn't use VPs then your best course of action is to make VPs out of the files yourself.  That's what I do anyway.  Otherwise you'll have endless issues of it looking for a case insensitive filename and trying to load a case sensitive filename.  It's not a fun thing to work though but since the case of files in a VP don't matter, it's easy enough to just pack the files in a VP, and fix it that way.