Author Topic: RELEASE: FreeSpace Open Installer, v2.1.10  (Read 29737 times)

0 Members and 1 Guest are viewing this topic.

Online Goober5000

  • Man of many projects and little time
  • Administrator
  • 214
  • Posts: 19,557
    • Goober5000 Productions
RELEASE: FreeSpace Open Installer, v2.1.10
Announcing version 2.1.10 of the FreeSpace Open Installer!

DOWNLOAD

The Installer requires Java 1.5 or higher, which is supported on all Windows platforms from Win98SE through 8.1, as well as OSX, Linux, and many other systems.

Features:
  • Installs FreeSpace 2! *
  • Installs OpenAL, FSO, and the MediaVPs!
  • Installs multiple mods in parallel!
  • Support for multiple languages! **
  • Extracts files from .zip, .7z, .rar, and any format supported by 7zip!
  • Automatic hash validation (MD5, SHA-1, or SHA-256) of downloaded files!
  • Can connect through a proxy!
  • And much, much more!

* To install FS2 using the FSO Installer, you will need the FreeSpace 2 setup package from GOG (viz. setup_freespace2_2.0.0.8.exe).  (Capability to install from the FS2 CDs may be added in a future version.)  The Installer uses InnoExtract to copy the files from the package to the game directory.  This provides a true cross-platform capability for automatically installing FreeSpace 2.

** Currently supported languages are English, Spanish, Portuguese, German, and French.  Post on this thread if you'd like to contribute an additional translation.


Important Note: The Installer depends on mod authors to add their mods to its repository.  If you don't see your favorite mod listed in the installer, bug the mod author to add it!  Or post in this thread, and maybe some generous soul will help get the mod added.
« Last Edit: September 06, 2014, 06:52:28 pm by Goober5000 »
Fortunes of War | Ross 128 | Deus Ex Machina / Interlude | Terran-Vasudan War Project | FreeSpace Port | Silent Threat: Reborn | Scroll of Atankharzim

Report SCP bugs with Mantis

"How I wish you could put things like that on your CV though.  'Accidentally fooled Computer Press into thinking Freespace 3 was going to be on the XBox.'  That's very nearly a 'Goob wins the Internet' moment, at the very least a high end-of-level boss." -- Flipside

"I view Python for game usage about the same as going fishing with a stick of dynamite.  It will do the job but it's big, noisy, you'll probably get soaking wet and you've still got to get the damn fish out of the water." -- Taylor

 

Online Goober5000

  • Man of many projects and little time
  • Administrator
  • 214
  • Posts: 19,557
    • Goober5000 Productions
Re: RELEASE: FreeSpace Open Installer, v2.1
Most users will simply run the jar directly, but there are a few command-line options available for power users:

  • Set the maximum number of parallel downloads using the option -DmaxParallelDownloads=X, where X is any number >= 1.  Example: java -DmaxParallelDownloads=2 -jar FreeSpaceOpenInstaller.jar.
  • Set the connection timeout using the option -DconnectionTimeout=Y, where Y is a number of milliseconds >= 0.  Setting to 0 indicates an infinite timeout.  Example: java -DconnectionTimeout=30000 -jar FreeSpaceOpenInstaller.jar.
  • Validate an existing install txt file using the option validate.  Example: java -jar FreeSpaceOpenInstaller.jar validate [file].  If you omit the file on the command line, the Installer will prompt you for it using a standard GUI file dialog.
  • Compute a MD5, SHA-1, or SHA-256 hash of any file using the option hash.  Example: java -jar FreeSpaceOpenInstaller.jar hash [algorithm] [file].  If you omit the file on the command line, the Installer will prompt you for it using a standard GUI file dialog.
Fortunes of War | Ross 128 | Deus Ex Machina / Interlude | Terran-Vasudan War Project | FreeSpace Port | Silent Threat: Reborn | Scroll of Atankharzim

Report SCP bugs with Mantis

"How I wish you could put things like that on your CV though.  'Accidentally fooled Computer Press into thinking Freespace 3 was going to be on the XBox.'  That's very nearly a 'Goob wins the Internet' moment, at the very least a high end-of-level boss." -- Flipside

"I view Python for game usage about the same as going fishing with a stick of dynamite.  It will do the job but it's big, noisy, you'll probably get soaking wet and you've still got to get the damn fish out of the water." -- Taylor

 

Online Goober5000

  • Man of many projects and little time
  • Administrator
  • 214
  • Posts: 19,557
    • Goober5000 Productions
Re: RELEASE: FreeSpace Open Installer, v2.1
reserved
Fortunes of War | Ross 128 | Deus Ex Machina / Interlude | Terran-Vasudan War Project | FreeSpace Port | Silent Threat: Reborn | Scroll of Atankharzim

Report SCP bugs with Mantis

"How I wish you could put things like that on your CV though.  'Accidentally fooled Computer Press into thinking Freespace 3 was going to be on the XBox.'  That's very nearly a 'Goob wins the Internet' moment, at the very least a high end-of-level boss." -- Flipside

"I view Python for game usage about the same as going fishing with a stick of dynamite.  It will do the job but it's big, noisy, you'll probably get soaking wet and you've still got to get the damn fish out of the water." -- Taylor

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • Posts: 20,630
  • i wonder when my postcount will exceed my iq
Re: RELEASE: FreeSpace Open Installer, v2.1
Is fsoinstaller.com safe and hooked up to this?

 

Online Goober5000

  • Man of many projects and little time
  • Administrator
  • 214
  • Posts: 19,557
    • Goober5000 Productions
Re: RELEASE: FreeSpace Open Installer, v2.1
Yup!
Fortunes of War | Ross 128 | Deus Ex Machina / Interlude | Terran-Vasudan War Project | FreeSpace Port | Silent Threat: Reborn | Scroll of Atankharzim

Report SCP bugs with Mantis

"How I wish you could put things like that on your CV though.  'Accidentally fooled Computer Press into thinking Freespace 3 was going to be on the XBox.'  That's very nearly a 'Goob wins the Internet' moment, at the very least a high end-of-level boss." -- Flipside

"I view Python for game usage about the same as going fishing with a stick of dynamite.  It will do the job but it's big, noisy, you'll probably get soaking wet and you've still got to get the damn fish out of the water." -- Taylor

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Posts: 4,190
  • Anims: 418, Cutscenes: 8, Mainhalls: 7, Logos: 52
    • Lunar Digital Productions
Re: RELEASE: FreeSpace Open Installer, v2.1
Bah.. I was trying to poke you on IRC for one small change I think you should make.

When hash verification fails, it deletes the file and notifies the user that the failed file was deleted. I was thinking it would be prudent to change that from "failed file deleted" to "failed file deleted, if problem persists please contact the mod creator" or something. One of the BtA Demo files failed hash verification because I wrote it wrong in the installer.txt but didn't realize it until I tested it myself just recently.

EDIT: Used it for the first time on my real install directory instead of a test directory... it correctly ensured that my MediaVPs were up-to-date and installed correctly. It also successfully downloaded and installed some other mods with no problems. In short, it works! This should be highlighted.

Also, it might be a good idea at some point to force sub-installs (options that require parent installation first) to be forced to wait to download until the parent is green-lighted. Being in Google Fiber, I set my max concurrent downloads to 10, which instantly failed all of FSPort because the parent hash was still calculating.
« Last Edit: May 11, 2014, 01:17:48 am by mjn.mixael »
Oddgrim: I AM PUSHING MY BELLY BUTTON AS HARD I CAN BUT NOTHING HAPPENS. NOTHING!
Cutscene Upgrade Project - Mainhall Remakes - MixaelANITools - Between the Ashes - MjnMixael's Render Boutique - Lunar Digital Productions
Youtube Channel - P3D Model Box - Photobucket Albums - Model Releases - Downloads
Between the Ashes is looking for a committed FREDer, PM me for details.
Report MediaVP or FSPort-MediaVP issues, now on the MediaVP Mantis! Read all about it Here!

 
 

Offline m!m

  • 29
  • Posts: 931
Re: RELEASE: FreeSpace Open Installer, v2.1
The downloaded bytes status text annoyed me because it was showing the raw byte number so I changed it to display a string which should be easier to read. Patch is attached.

I am also adding strings for a German translation but that could take a while...

EDIT: And done, see attached file

[attachment deleted by an evil time traveler]
« Last Edit: May 11, 2014, 12:42:16 pm by m!m »

 

Online Goober5000

  • Man of many projects and little time
  • Administrator
  • 214
  • Posts: 19,557
    • Goober5000 Productions
Re: RELEASE: FreeSpace Open Installer, v2.1
When hash verification fails, it deletes the file and notifies the user that the failed file was deleted. I was thinking it would be prudent to change that from "failed file deleted" to "failed file deleted, if problem persists please contact the mod creator" or something. One of the BtA Demo files failed hash verification because I wrote it wrong in the installer.txt but didn't realize it until I tested it myself just recently.

Okay, I'll add something along these lines.

Quote
EDIT: Used it for the first time on my real install directory instead of a test directory... it correctly ensured that my MediaVPs were up-to-date and installed correctly. It also successfully downloaded and installed some other mods with no problems. In short, it works! This should be highlighted.

Great! :)

Quote
Also, it might be a good idea at some point to force sub-installs (options that require parent installation first) to be forced to wait to download until the parent is green-lighted. Being in Google Fiber, I set my max concurrent downloads to 10, which instantly failed all of FSPort because the parent hash was still calculating.

Child installations already wait for parent installations to finish, so this might be a different problem.  I guess I'll need to see your log files.


The downloaded bytes status text annoyed me because it was showing the raw byte number so I changed it to display a string which should be easier to read. Patch is attached.

I am also adding strings for a German translation but that could take a while...

EDIT: And done, see attached file

Thanks!  I've updated the download sites with the new translation.  I've added the bytes patch to the code, but I'll wait to update the build with that until I address the things MjnMixael noticed.
Fortunes of War | Ross 128 | Deus Ex Machina / Interlude | Terran-Vasudan War Project | FreeSpace Port | Silent Threat: Reborn | Scroll of Atankharzim

Report SCP bugs with Mantis

"How I wish you could put things like that on your CV though.  'Accidentally fooled Computer Press into thinking Freespace 3 was going to be on the XBox.'  That's very nearly a 'Goob wins the Internet' moment, at the very least a high end-of-level boss." -- Flipside

"I view Python for game usage about the same as going fishing with a stick of dynamite.  It will do the job but it's big, noisy, you'll probably get soaking wet and you've still got to get the damn fish out of the water." -- Taylor

 

Offline fightermedic

  • 29
  • Posts: 729
  • quite a nice guy, no really, i am
Re: RELEASE: FreeSpace Open Installer, v2.1
very nifity, having this installer in a working shape should benefit this community a lot
>>Fully functional cockpits for Freespace<<
>>Ships created by me<<
Campaigns revised/voice-acted by me:
Lightning Marshal 1-4, The Regulus Campaign, Operation: Savior, Operation: Crucible, Titan Rebellion, Fall of Epsilon Pegasi 1.1Aftermath 2.1,
Pandora's Box 2.2, Deep Blood

Other Campaigns I have participated in:
The Antagonist, Warzone, Phantoms & Echo-Gate

All the stuff I release is free to use or change in any way for everybody who likes to do so; take whatever you need

 

Offline Rodo

  • Custom tittle
  • 212
  • Posts: 4,890
  • stargazer
Re: RELEASE: FreeSpace Open Installer, v2.1
Awesome work Goob!
Now we can direct ppl directly to the installer and be done with the complex installing instructions  :)
el hombre vicio...

 

Offline est1895

  • 27
  • Posts: 252
Re: RELEASE: FreeSpace Open Installer, v2.1
Good Job Goober!  :yes: :yes: :yes:

What if you have Freespace 2 on cd's?  Is it better to buy the gog.com version?

 

Online Goober5000

  • Man of many projects and little time
  • Administrator
  • 214
  • Posts: 19,557
    • Goober5000 Productions
Re: RELEASE: FreeSpace Open Installer, v2.1
It's not "better", per se.  But the difference is that InnoExtract provides a cross-platform way to install from GOG files, whereas I am not aware of a cross-platform way to install from the CDs.
Fortunes of War | Ross 128 | Deus Ex Machina / Interlude | Terran-Vasudan War Project | FreeSpace Port | Silent Threat: Reborn | Scroll of Atankharzim

Report SCP bugs with Mantis

"How I wish you could put things like that on your CV though.  'Accidentally fooled Computer Press into thinking Freespace 3 was going to be on the XBox.'  That's very nearly a 'Goob wins the Internet' moment, at the very least a high end-of-level boss." -- Flipside

"I view Python for game usage about the same as going fishing with a stick of dynamite.  It will do the job but it's big, noisy, you'll probably get soaking wet and you've still got to get the damn fish out of the water." -- Taylor

 

Online niffiwan

  • 211
  • Posts: 2,317
  • Eluder Class
Re: RELEASE: FreeSpace Open Installer, v2.1
I've given the latest version a spin on Linux now. Looking very good, with only a couple of minor issues :)

1) OpenAL says that it's not detected on this computer, but it is installed. I'm not sure if you have OS specific detection routines for this or not, this is a *reasonably* Linux distribution independent way of checking if the library is installed:
Code: [Select]
$ ldconfig -p | grep openal
(any STDOUT means it's installed)

Having said that, building from source requires OpenAL to be installed anyway, so maybe the check could simply be re-worded to say "If you don't build FSO from source, check that you have the OpenAL libraries installed".

2) The .OGG cutscenes are installed correctly, but the "custom install" selection page doesn't detect this. i.e. it's always available as an install option
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges
----
Linux OBS Packages: FSO 3.7.0 | FSO BP Build | wxLauncher (?) | PCS2 (?) | wxVPView (?)
Debian Packages (testing/unstable): Freespace2 | wxLauncher

 

Online Goober5000

  • Man of many projects and little time
  • Administrator
  • 214
  • Posts: 19,557
    • Goober5000 Productions
Re: RELEASE: FreeSpace Open Installer, v2.1
Version 2.1.1 is now up, with the following changes:

  • add m!m's human-readable byte count patch
  • fix a bug where the installer did not properly distinguish between two mods with the same name
  • fix a bug where 7z files smaller than the buffer size of 8192 bytes (of which MV_RadarIcons is the only known example) were not properly extracted
  • add additional help text on hashing, as suggested by MjnMixael


Code: [Select]
$ ldconfig -p | grep openal
libopenal.so.1 (libc6,x86-64) => /usr/lib64/libopenal.so.1
libopenal.so (libc6,x86-64) => /usr/lib64/libopenal.so

Having said that, building from source requires OpenAL to be installed anyway, so maybe the check could simply be re-worded to say "If you don't build FSO from source, check that you have the OpenAL libraries installed".

Hmm.  The test is supposed to be system-agnostic:

Code: [Select]
System.loadLibrary("OpenAL32");
Maybe the library name is different on Linux?

Quote
2) The .OGG cutscenes are installed correctly, but the "custom install" selection page doesn't detect this. i.e. it's always available as an install option

The installer does have the minor problem that mods you've installed without using the installer are not marked as installed in the list.  It's hard to fix that without actually running through the installation procedure for every single mod.
« Last Edit: May 12, 2014, 11:13:04 pm by Goober5000 »
Fortunes of War | Ross 128 | Deus Ex Machina / Interlude | Terran-Vasudan War Project | FreeSpace Port | Silent Threat: Reborn | Scroll of Atankharzim

Report SCP bugs with Mantis

"How I wish you could put things like that on your CV though.  'Accidentally fooled Computer Press into thinking Freespace 3 was going to be on the XBox.'  That's very nearly a 'Goob wins the Internet' moment, at the very least a high end-of-level boss." -- Flipside

"I view Python for game usage about the same as going fishing with a stick of dynamite.  It will do the job but it's big, noisy, you'll probably get soaking wet and you've still got to get the damn fish out of the water." -- Taylor

 

Online niffiwan

  • 211
  • Posts: 2,317
  • Eluder Class
Re: RELEASE: FreeSpace Open Installer, v2.1
Code: [Select]
$ ldconfig -p | grep openal
libopenal.so.1 (libc6,x86-64) => /usr/lib64/libopenal.so.1
libopenal.so (libc6,x86-64) => /usr/lib64/libopenal.so

Having said that, building from source requires OpenAL to be installed anyway, so maybe the check could simply be re-worded to say "If you don't build FSO from source, check that you have the OpenAL libraries installed".

Hmm.  The test is supposed to be system-agnostic:

Code: [Select]
System.loadLibrary("OpenAL32");
Maybe the library name is different on Linux?

Yeah, I'm pretty sure it's called "libopenal.so" (hopefully that's consistent across distros...) which I believe means you want this call on Linux, and maybe OSX:

Code: [Select]
System.loadLibrary("openal");
Quote
2) The .OGG cutscenes are installed correctly, but the "custom install" selection page doesn't detect this. i.e. it's always available as an install option

The installer does have the minor problem that mods you've installed without using the installer are not marked as installed in the list.  It's hard to fix that without actually running through the installation procedure for every single mod.

That makes sense.  But I did install the movies via the installer (twice!), and it still didn't think that they were installed :) ( I don't know if it actually re-downloaded them, or if it just checked the files that already existed).
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges
----
Linux OBS Packages: FSO 3.7.0 | FSO BP Build | wxLauncher (?) | PCS2 (?) | wxVPView (?)
Debian Packages (testing/unstable): Freespace2 | wxLauncher

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Posts: 4,190
  • Anims: 418, Cutscenes: 8, Mainhalls: 7, Logos: 52
    • Lunar Digital Productions
Re: RELEASE: FreeSpace Open Installer, v2.1.1
Latest install perpetually says it's out-of-date?

EDIT: Downloading from this thread gave me the latest version while the auto-download from the installer did not? I dunno, something weird.

Quote
2) The .OGG cutscenes are installed correctly, but the "custom install" selection page doesn't detect this. i.e. it's always available as an install option

The installer does have the minor problem that mods you've installed without using the installer are not marked as installed in the list.  It's hard to fix that without actually running through the installation procedure for every single mod.

That makes sense.  But I did install the movies via the installer (twice!), and it still didn't think that they were installed :) ( I don't know if it actually re-downloaded them, or if it just checked the files that already existed).

I noticed that too and did both... but I decided it was too minor to worry about.
« Last Edit: May 12, 2014, 01:17:43 am by mjn.mixael »
Oddgrim: I AM PUSHING MY BELLY BUTTON AS HARD I CAN BUT NOTHING HAPPENS. NOTHING!
Cutscene Upgrade Project - Mainhall Remakes - MixaelANITools - Between the Ashes - MjnMixael's Render Boutique - Lunar Digital Productions
Youtube Channel - P3D Model Box - Photobucket Albums - Model Releases - Downloads
Between the Ashes is looking for a committed FREDer, PM me for details.
Report MediaVP or FSPort-MediaVP issues, now on the MediaVP Mantis! Read all about it Here!

 

Online Goober5000

  • Man of many projects and little time
  • Administrator
  • 214
  • Posts: 19,557
    • Goober5000 Productions
Re: RELEASE: FreeSpace Open Installer, v2.1
Yeah, I'm pretty sure it's called "libopenal.so" (hopefully that's consistent across distros...) which I believe means you want this call on Linux, and maybe OSX:

Code: [Select]
System.loadLibrary("openal");

Okay, try this temp build:
http://staff.hard-light.net/goober5000/FreeSpaceOpenInstaller.jar

Quote
That makes sense.  But I did install the movies via the installer (twice!), and it still didn't think that they were installed :) ( I don't know if it actually re-downloaded them, or if it just checked the files that already existed).

Pbthht.  Can you send me your logs directory?


Latest install perpetually says it's out-of-date?

EDIT: Downloading from this thread gave me the latest version while the auto-download from the installer did not? I dunno, something weird.

Guh.  I uploaded to the wrong subdirectory in one of the mirrors.  Fixed.
Fortunes of War | Ross 128 | Deus Ex Machina / Interlude | Terran-Vasudan War Project | FreeSpace Port | Silent Threat: Reborn | Scroll of Atankharzim

Report SCP bugs with Mantis

"How I wish you could put things like that on your CV though.  'Accidentally fooled Computer Press into thinking Freespace 3 was going to be on the XBox.'  That's very nearly a 'Goob wins the Internet' moment, at the very least a high end-of-level boss." -- Flipside

"I view Python for game usage about the same as going fishing with a stick of dynamite.  It will do the job but it's big, noisy, you'll probably get soaking wet and you've still got to get the damn fish out of the water." -- Taylor

 

Online niffiwan

  • 211
  • Posts: 2,317
  • Eluder Class
Re: RELEASE: FreeSpace Open Installer, v2.1.1
Here's a fresh logs directory: http://www.mediafire.com/download/fht343420zw77aa/fsoi-logs.7z

This was using your new jar linked above.  Unfortunately it still complained about OpenAL32, and I'm not sure if CloudFlare/my ISP is playing funny games with caching content or something since the 1st download via browser was suspiciously fast (I resorted to downloading it with wget --no-cache in the end, which took about the right amount of time but didn't get rid of the OpenAL warning).

Anyway, aside from that this was a fresh/empty FSO dir, I ignored the warning about not finding a FS2 install, then custom downloaded just the movies 3x times. Let me know if you want anything else.
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges
----
Linux OBS Packages: FSO 3.7.0 | FSO BP Build | wxLauncher (?) | PCS2 (?) | wxVPView (?)
Debian Packages (testing/unstable): Freespace2 | wxLauncher

 

Online chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • Posts: 6,969
  • Uh, what?
    • Fate of the Galaxy
Re: RELEASE: FreeSpace Open Installer, v2.1.1
I believe there was some C code for a program that could extract the setup file type used on the FS2 CD media.  I can't recall the type or name of the program though right now but I'll see what I can find.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays