Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Cross-Platform Development => Topic started by: Corollax on June 13, 2011, 07:09:37 am

Title: Unusual folder names from Turey's Installer? [SOLVED]
Post by: Corollax on June 13, 2011, 07:09:37 am
I just ran Turey's installer, and it created a few unusual directories. I thought it best to check in that I'm running it properly, as some things don't quite make sense.

Folders that concern me:
data\movies -- Obviously, Windows separates subdirectories with a backslash, instead of a slash. Should this be making a movies subfolder in the normal data folder, or should this simply be another folder with a backslash in the name?
mediavps_3612 -- Seems analogous to the old mediavps folder. Simple enough.
mediaVPS_3612 -- MV_Assets.3612.vp. MV_Effects.3612.vp. MV_Root.3612.vp. Should these have been put in the above folder? They differ from the files there of the same name.
mediaVPs_3612 -- Empty folder. Why is this here?

Can anyone shed some light on this?

Edit: FSO isn't case sensitive but Linux is, so Turey's installer made some duplicate folders and didn't handle subdirectories properly. Correct them appropriate to *Nix convention. Symlinks work fine, just remember that some mods expect 3.6.10 and some expect 3.6.12.
Title: Re: Unusual folder names from Turey's Installer?
Post by: The E on June 13, 2011, 07:13:30 am
Anything in mediaVPS_3612 should go into mediavps_3612. And yes, data\movies should be data/movies.

Note that this is a Linux-specific problem, as other operating systems are not as anal about case-sensitivity.
Title: Re: Unusual folder names from Turey's Installer?
Post by: Corollax on June 13, 2011, 07:37:18 am
Thanks for the quick answer. I've just got a couple follow-up questions.

The wiki told me that I'd have to edit the various mod.ini files to point to the new mediavps folder. Is there any reason I couldn't just make a symlink from mediavps to mediavps_3612, and then update that when a new version comes out? That seems like it'd be a lot easier, though I worry that it might break something.

Turey's installer seems to be a little flaky lately (It lacks a scroll bar and has a window height about 3x larger than what my screen resolution will show, to say nothing of the directory confusion discussed earlier). I read that the new wxLauncher is going to replace it. Is that true? Can I look forward to it in the near future? Will there be ponies?  :D
Title: Re: Unusual folder names from Turey's Installer?
Post by: Goober5000 on June 13, 2011, 10:43:00 am
There will be a new FSO Installer coming out shortly.

This is good information about the folder names; it is somewhat difficult to control as folder names are up to the individual mod designer.  One way to solve it would be to force all mod folders to be lowercase, but that doesn't account for mod.ini files which may specify uppercase names... hmm.
Title: Re: Unusual folder names from Turey's Installer?
Post by: jr2 on June 13, 2011, 01:55:50 pm
Anything in mediaVPS_3612 should go into mediavps_3612. And yes, data\movies should be data/movies.

Note that this is a Linux-specific problem, as other operating systems are not as anal about case-sensitivity.

There's actually an option in the WinDOwS registry to enable case-sensitivity.  And an option in *nix systems to disable it.  ;)
Title: Re: Unusual folder names from Turey's Installer?
Post by: chief1983 on June 13, 2011, 03:54:34 pm
As mod.ini is read by FSO and its utilities, they could lowercase all folder references.  Just sayin'.
Title: Re: Unusual folder names from Turey's Installer?
Post by: Corollax on June 13, 2011, 06:00:51 pm
Well, for the time being, I suppose I'll just have to continue cleaning up after updating.

Any word on whether symlinks are an appropriate way to get around editing all those mod.ini files?
Title: Re: Unusual folder names from Turey's Installer?
Post by: Iss Mneur on June 13, 2011, 06:16:51 pm
Any word on whether symlinks are an appropriate way to get around editing all those mod.ini files?
A symlink will probably work fine, but the issue is mediavps (the 3.6.10 vps) and mediavps_3612 are separate but mostly compatible mods, which means you may need to be able to use the real 3.6.10 vps if you have issues with a mod.

As mod.ini is read by FSO and its utilities, they could lowercase all folder references.  Just sayin'.
To be pedantic, FSO does not read mod.ini (nor does FRED for that matter) only the launchers may.

That being said, it is probably the best option, which IIRC is the same one that FSO internally for finding an asset in the mods folders to attempt to avoid this entire issue.

I read that the new wxLauncher is going to replace it. Is that true? Can I look forward to it in the near future? Will there be ponies?  :D
There is a new version of Turey's installer that Goober5000 is working on, which will be out fairly soon as Goober already noted.  wxLauncher's install capabilities are quite a while off unfortunately.  Sorry, you missed the ponies, they were here on April 1st, 2011 :D.
Title: Re: Unusual folder names from Turey's Installer?
Post by: Corollax on June 13, 2011, 09:00:43 pm
Oh! So I need the 3.6.10 mediavps AND the 3.6.12? Okay, now I understand why they made the change. I think I'll just keep them in mediavps_3610 and mediavps_3612, and have my script symlink to the appropriate place before it starts the program.

I look forward to Goober5000's installer. It sounds like it'll be a great asset!

Thanks for being so patient with my questions.  I'm gonna mark the thread [SOLVED] now. Hopefully we can get the ponies into the next release. <3