Author Topic: First planet, now to use it in FRED???  (Read 6022 times)

0 Members and 1 Guest are viewing this topic.

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: First planet, now to use it in FRED???
Okay. There's only one right way to do this. Put everything you've done into ONE folder, i.e. merge all the different data folders you have created into one, put it into your own modfolder, and created a mod.ini which references the mediavps:
Code: [Select]
[multimod]
secondaryline = mediavps;

If you want to FRED using that folder, create a shortcut to FRED, and add "-mod <your mod's name goes here>,mediavps" in the target field.

Also, take a look at this wiki page. It tells you exactly how the data\ folder structure looks like, and what files go where.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Re: First planet, now to use it in FRED???
Okay. There's only one right way to do this. Put everything you've done into ONE folder, i.e. merge all the different data folders you have created into one, put it into your own modfolder, and created a mod.ini which references the mediavps:
Code: [Select]
[multimod]
secondaryline = mediavps;

If you want to FRED using that folder, create a shortcut to FRED, and add "-mod <your mod's name goes here>,mediavps" in the target field.

Also, take a look at this wiki page. It tells you exactly how the data\ folder structure looks like, and what files go where.


mod.ini files are recommendable for a finished, distributed mod, but they have their pitfalls and personally I simply use the manual -mod Mod1,Mod2,Mod3,...,ModN command line.

I agree that you should keep your creations in as few places as you can. I also strongly suggest you abstain from putting anything at all into the following directories:

..\FreeSpace2\data\*\
..\FreeSpace2\mediavps\data\*\


The reason for keeping things out from root data directory is that the game ALWAYS reads that directory. Putting stuff there will eventually make you a victim of a rogue table or something similar and then you and everyone trying to troubleshoot will be scratching their heads when you can easily avoid the problem by never putting anything there at all.

Same is true for the mediavps\data\ directory; you can do it, surely, but it's much easier to troubleshoot MediaVP issues when the data directory there is clean. You can do it, just don't expect support and warm fuzzy feelings from FSUpgrade team. :p

For these and other reasons, you should create a mod directory for your stuff, ie.

..\FreeSpace2\RazialMod\data\

and put appropriate sub-directories in there, ie. models go into \RazialMod\data\models, maps go into \RazialMod\data\maps, effects into \RazialMod\data\effects, tables into \RazialMod\data\tables etc.


Then, either put in a mod.ini file that activates mediavps when RazialMod is activated, OR (as my personal preference is), locate the Custom command line in the Launcher's Features tab, and type in

-mod RazialMod,mediavps

which does absolutely the same as the mod.ini file with the exception that you immediately see every directory that you are telling the game to read.

Personally, I'd like to add that I often make a specific mod directory for specific stuff. As a result my -mod command line is sometimes a rather long string of directories, but I haven't noticed any adverse effects from this.


An important thing to realize with the file structure is that VP files should only be a distribution media, as in a container for your mod directory. The VP file has the exact same internal structure as any mod directory; it has a data directory and appropriate sub-directories.

Also, this thread could be moved (or split) to FreeSpace modding, as most of this stuff has little to do with FREDding (as in, mission building) and more with general modding. But I'll leave that for the FREDding forum mods to decide. :)
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Re: First planet, now to use it in FRED???
an easy way to do the first steps (the way I did it.. :P) to see planets in the background would be...


grab the stars.tbl from the retail VP file, uncompress it and edit it with a notepad.

INSTEAD of replacing already used entries, put a new planet, just copy one of the lines and put your custom named planets... something general like: MYPLANET or CUSTOMPLANET, then you save your planets as MYPLANET.DDS or CUSTOMPLANET.DDS and then you place it in the mod folder (remember! you have to select the mod in FRED2 and in the launcher so the planet is rendered in game and in FRED2) along with the stars.tbl and there you got it... an easy way to test planets, you just need to replace the MYPLANET or CUSTOMPLANET every time you need to see it ingame or in fred, if you are making a lot of planets.

Not enterely correct way, but it works and keeps your mod retail-compatible
el hombre vicio...

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: First planet, now to use it in FRED???
Quick note: if you're using dds, you are way past the point of retail compatibility. Besides, why would you do it the WRONG way, when there is a RIGHT way available?
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Re: First planet, now to use it in FRED???
Quick note: if you're using dds, you are way past the point of retail compatibility. Besides, why would you do it the WRONG way, when there is a RIGHT way available?

It keeps retail compatibility because you are not messing with the retail entries, you are just adding a new one to the old table, I never said anything about changing the old mediavp planets for .dds versions ^^
el hombre vicio...

 

Offline Razial

  • 25
Re: First planet, now to use it in FRED???
Hmm these steps all seem to make sense but I still don't seem to be able to get FRED to recognise my new file. Oddly the other two planets  (pictured) are recognised and can be seen in game (and are in the new mod directory as tga bmp dds and jpg) but the new one (pictured in directory) 'Mars2.***' isn't. I'm not sure what needs to be altered,removed or added.

I am following the simple steps but for some reason I am making it much more complicated than you have clearly illustrated xD  Sorry to keep nagging, once this is sorted then hopefully it will make my nagging much less intense lol :D

[attachment deleted by Tolwyn]

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Re: First planet, now to use it in FRED???
sorry to ask this again but..  did you selected that folder as your mod in FRED2 right?
el hombre vicio...

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: First planet, now to use it in FRED???
Yeah, that would be my question as well. Run a debug FRED, then post the fs2_open.log.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Re: First planet, now to use it in FRED???
Yeah, that would be my question as well. Run a debug FRED, then post the fs2_open.log.

...or maybe fred2_open.log? :nervous:

Can't remember if FRED makes it's own debug log, as I don't use it all that much.
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: First planet, now to use it in FRED???
No, FRED creates an FS2_open.log as well.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Razial

  • 25
Re: First planet, now to use it in FRED???
Erm, I dunno how to do the debug thingy, I have never tried tbh. And by select mod, if you mean click 'select mod' in the launcher, and choose the folder that contains the modded data (as well as adding the folder to the target), then yes I have done that.

  

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: First planet, now to use it in FRED???
But to select a mod in FRED you need to do the "Create shortcut, add -mod commandline argument in the target field" dance. And you should have a debug FRED (called fred2_open_3_6_10d.exe) in your FS2 dir.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Re: First planet, now to use it in FRED???
that's why you are not seying your planet, you are using the retail files on FRED

To set a mod , create a shortcut to fred, then hit properties, then in the "target" box put behind the path that's alredy there : " -mod nameofyourmodfolder"

this way you are telling fred to use nameofyourmodfolder as mod source, you can also add diferent mods in the same command line IIRC, but I would not recomend it.

I got it this way: "C:\Games\FreeSpace2\FRED2_OPEN.exe -mod AG,mediavps" just as an example (might be wrong though).
el hombre vicio...