Page 1 of 2

Installer

Posted: Fri Mar 31, 2006 2:04 am
by Privateer Ferrius
Hey, I was writing up an installer for another project I'm working on, so I figured I'd write one up for WCU :D

Just thought I'd mention that. Umm, so ... thoughts? Lol.

Posted: Fri Mar 31, 2006 2:19 am
by chuck_starchaser
Not a minute too early. Glad you're doing that.

Posted: Fri Mar 31, 2006 2:24 am
by Privateer Ferrius
Question: WCU doesnt need any registry keys to be made, right?

Posted: Fri Mar 31, 2006 2:38 am
by chuck_starchaser
No, of course not; this is a portable project, win, nix, mac.

Posted: Fri Mar 31, 2006 2:44 am
by Privateer Ferrius
Good. I didn't think so, but you never know though. It's just as well though, writing scripts to edit the registry can be annoying as hell.

Any opinions on what the default installation directory should be?

Posted: Fri Mar 31, 2006 5:04 am
by chuck_starchaser
C:\...\ProgramFiles\wcu\ probably. I was going to suggest a version, like wcu2.4, but probably the version changes every time you unzip a patch, and you'd probably overwrite your existing installation if you download a new installer, so what's the point of having the version number in the folder?; it would only make problems.

Posted: Fri Mar 31, 2006 5:40 am
by mkruer
@Privateer Ferrius
Just remember that WCU is more of a tool kit that encompasses many games then a game.

I don’t know if you are able specify was the “add/remove programsâ€

Posted: Fri Mar 31, 2006 1:41 pm
by charlieg
I smell prereleases. Good!

Posted: Fri Mar 31, 2006 4:14 pm
by chuck_starchaser
Not sure the interfaces are in place for downloadiing and installing games as packages that go *into* WCU-the-platform; but it might be a great learning experience to make that happen, and to turn PR into a WCU package that installs *after* wcu is installed.

Posted: Fri Mar 31, 2006 5:52 pm
by Zeog
Actually two versions are required: firstly, a PR stand alone version shipping with the VS engine and its very limited set of models, missions etc. that is needed to run PR and play just it and
secondly, a PR mod package with just its mission etc. as "a mod" of WCU, so to speak. Because if you already have WCU installed you already have the engine and all the models. there is no need to download and install everything twice.

I think it's important to have a slim stand alone PR version.
For enthusiasts there WCU, the collectible complete set of all models (maybe with model viewer) and as add-ons the mods (just the rules for them): WC1, WC2, ..., PR.

Does this make sense?

Posted: Fri Mar 31, 2006 6:17 pm
by Privateer Ferrius
[quote="mkruer"]@Privateer Ferrius

I don’t know if you are able specify was the “add/remove programsâ€

Posted: Sat Apr 01, 2006 2:38 am
by Privateer Ferrius
Okay, so I used CVS to grab the files that were corrupt. Hopefully, I can check the files, and run the compile overnight, so that I can have you guys a 0.5.0-cvs installer tomorrow :D

Posted: Sat Apr 01, 2006 4:05 am
by chuck_starchaser
WOW! :D

Posted: Sat Apr 01, 2006 10:27 am
by Zeog
Privateer Ferrius wrote:..., so that I can have you guys a 0.5.0-cvs installer tomorrow :D
You mean windows-0.5.0-cvs installer, don't you? :?

(I don't want to say that this is a bad thing, it's just one third of the whole story. :wink: It's great to see it coming!)

Posted: Sat Apr 01, 2006 7:36 pm
by Privateer Ferrius
No dice guys. Neither VegaStrike nor WCU like the BSPs from CVS.

@Zeog: Not entirely true. I plan on making a Linux installer as well. It will just be a seperate program from the Win32 installer.

Posted: Sat Apr 01, 2006 9:59 pm
by Zeog
Privateer Ferrius wrote:I plan on making a Linux installer as well.
Thumbs up! :D

What do you mean by BSP? (This doesn't help me figuring it out.)

Posted: Sat Apr 01, 2006 10:44 pm
by Privateer Ferrius
I mean the things in /wcu-devel/.privateer100/generatedbsp :mrgreen:

They give WCU an aneurism when I try to run it and the archiver doesn't like them either.

Posted: Sat Apr 01, 2006 10:56 pm
by chuck_starchaser
I could be wrong, but I think you can trash those. I think it's like a cache; --a bugs' cache :)

Posted: Sat Apr 01, 2006 11:01 pm
by Privateer Ferrius
Now I just crash in a different manner ;)
Warning, galaxy contains no overarching planet info
xyzwxyzwxyzwxyzw
stars/sun.png, not found
Assertion failed unit_generic.cpp:711 Unit .stable not found
Warning: Cannot locate .stable
Assertion failed unit_generic.cpp:711 Unit .neutral.stable not found
Warning: Cannot locate .neutral.stable

jump.png, not found
Assertion failed unit_generic.cpp:711 Unit jump not found
Warning: Cannot locate jump
xyzw
merchant_Asteroid.bmp, not found

Asteroid.bmp, not found

merchant_genericdamage.png, not found

genericdamage.png, not found

merchant_glass.png, not found

glass.png, not found

merchant_Random_Metal.png, not found

Random_Metal.png, not found

merchant_Asteroid.png, not found

Asteroid.png, not found
Num Nodes: 284, NumEnds: 102
Min Height: 3, Max Height: 51
Average Height 18.205882
Num Nodes: 228, NumEnds: 76
Min Height: 3, Max Height: 52
Average Height 20.026316
Num Nodes: 188, NumEnds: 66
Min Height: 5, Max Height: 54
Average Height 22.681818

merchant_00020265.png, not found

00020265.png, not found
Num Nodes: 6222, NumEnds: 2325
Min Height: 6, Max Height: 36
Average Height 17.199140
xyzw
merchant_turret1.png, not found

turret1.png, not found
Num Nodes: 10, NumEnds: 3
Min Height: 5, Max Height: 5
Average Height 5.000000
Num Nodes: 7, NumEnds: 2
Min Height: 5, Max Height: 5
Average Height 5.000000
Num Nodes: 65, NumEnds: 22
Min Height: 3, Max Height: 12
Average Height 7.727273
Num Nodes: 6, NumEnds: 2
Min Height: 4, Max Height: 4
Average Height 4.000000
Num Nodes: 47, NumEnds: 16
Min Height: 4, Max Height: 13
Average Height 9.187500
Num Nodes: 2598, NumEnds: 925
Min Height: 3, Max Height: 143
Average Height 39.488649
Num Nodes: 9531, NumEnds: 3536
Min Height: 5, Max Height: 63
Average Height 21.740102
Assertion failed unit_generic.cpp:711 Unit .stable not found
Warning: Cannot locate .stable
Assertion failed unit_generic.cpp:711 Unit .neutral.stable not found
Warning: Cannot locate .neutral.stable
Assertion failed unit_generic.cpp:711 Unit jump not found
Warning: Cannot locate jump
Assertion failed unit_generic.cpp:711 Unit .stable not found
Warning: Cannot locate .stable
Assertion failed unit_generic.cpp:711 Unit .neutral.stable not found
Warning: Cannot locate .neutral.stable
Assertion failed unit_generic.cpp:711 Unit jump not found
Warning: Cannot locate jump

planets/agricultural.png, not found

neutral_turret1.png, not found

neutral_genericdamage.png, not found

clouds.png, not found
Assertion failed unit_generic.cpp:711 Unit .stable not found
Warning: Cannot locate .stable
Assertion failed unit_generic.cpp:711 Unit .neutral.stable not found
Warning: Cannot locate .neutral.stable
Assertion failed unit_generic.cpp:711 Unit jump not found
Warning: Cannot locate jump
Assertion failed unit_generic.cpp:711 Unit .stable not found
Warning: Cannot locate .stable
Assertion failed unit_generic.cpp:711 Unit .neutral.stable not found
Warning: Cannot locate .neutral.stable
Assertion failed unit_generic.cpp:711 Unit jump not found
Warning: Cannot locate jump
Assertion failed unit_generic.cpp:711 Unit invisible not found
Warning: Cannot locate invisible
xyzwMin (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 1000

backgrounds/plasma_galaxy_up.bmp, not found

backgrounds/plasma_galaxy_sphere.bmp, not found

Posted: Sat Apr 01, 2006 11:59 pm
by chuck_starchaser
Looks like it can't find anything...

Posted: Sun Apr 02, 2006 12:03 am
by Privateer Ferrius
Rather, it's not finding things that haven't been put into the CVS that WCU uses.

Posted: Sun Apr 02, 2006 12:56 am
by chuck_starchaser
Hmmm... What did you do?, recompile? In the cvs tree, game data is in the data4X subdirectory... Maybe it's looking there?

Posted: Sun Apr 02, 2006 1:13 am
by Privateer Ferrius
I just did a checkout of the wcu-devel module to D:\games\wcu and told the installer archiver to grab files from there, and it didn't work, so I decided to try the game to ensure everything was working, and came across the above-described problems.

Posted: Sun Apr 02, 2006 1:17 am
by chuck_starchaser
Sorry, Priv; I don't know enough to be of help; plrobably Klauss or Zeog or Dandandaman or Spiritplumber or Hellcat will have the answer for you, whichever of them checks this thread first.

Posted: Sun Apr 02, 2006 2:01 am
by klauss
Curious... what's on CVS is a dump from Spiritplumber's 0.2.3 archive... it should work. (I remember it did when I tried just before commiting).

generatedbsp definitely shouldn't be there... if it's in CVS, it should be deleted.

Also .pyc files - delete all .pyc files.

Try that and post both stderr.txt and stdout.txt, please.