Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Solatar on October 18, 2003, 04:33:24 pm
-
I used to use this proggy a lot, then I deleted it along with a bunch of other fs2 stuff. Now I'd like to use it again, but when I try to generate a new background, it tells me nebulae.lst and suns.lst can't be found. I can plainly see they are in both the directory the program is in, and the directory my missions are in. Any help?
-
They need to be in C:\Program Files\Kazan, regardless of where you installed the program. What you do if you don't have a C: drive I don't know...
-
Thanks, I had them installed in C:/Applications/Kazan (I have so many progs, I keep most commercial ones in Program Files, and other stuff, like my fs2 MODing things, in Applications.
-
um diamond... im not sure that's entirely accurate... *goes and pulls up code*
CRegistryManager reg;
reg.GetString("Software\\DMEN\\FS2UTIL", "InstalledAt",
"C:\\Program Files\\kazan", CStemp, 1024); // defaults to the default install path
InstallPath = CStemp;
apstring Suns = InstallPath + "\\Suns.lst";
apstring Nebs = InstallPath + "\\Nebulae.lst";
ifstream Sin(Suns.c_str(), ios::nocreate);
ifstream Nin(Nebs.c_str(), ios::nocreate);
where ever the string value named InstalledAt in registry key HKEY_LOCAL_MACHINE\Software\DMEN\FS2UTIL points at is where they need to be
*considers updatting this util as well*
-
Huh. Well what I said before is based on my experiments. I've been in the same situation as Sol, and decided to check where the app wanted to install itself. I tried putting the files there and hey presto. All that coding stuff you just said means nada to me :D
-
where can some 1 get this background generator?
-
see signature - first url listed
-
Hey Kaz, are you going to fix this so it doesn't pile up all the nebs at 0 and 180o? I have the code. I'll give it to you if you ask nicely :P