Fractal Softworks Forum
August 22, 2017, 09:21:05 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New blog post: A True and Accurate History of the Persean Sector (8/16/17); Starsector 0.8.1a is out!
 
   Home   Help Search Login Register  
Pages: 1 2 [3] 4 5
  Print  
Author Topic: [0.8.1a] Version Checker v1.7c (released 2017-04-21)  (Read 50308 times)
LazyWizard
Global Moderator
Admiral
*****
Posts: 1170


Addicted to complexity


View Profile WWW
« Reply #30 on: December 09, 2014, 03:34:45 PM »

The game is crashing at start with version checker 1.2b
java.lang.RuntimeException: Error compiling [org.lazywizard.versionchecker.VCModPlugin]
   at com.fs.starfarer.loading.scripts.ScriptStore$3.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.lazywizard.versionchecker.VCModPlugin
   at org.codehaus.janino.JavaSourceClassLoader.findClass(JavaSourceClassLoader.java:165)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   ... 2 more

Did you follow the installation instructions in the OP? You have to edit Starsector's launch parameters, otherwise it won't be able to find the mod's code.
Logged

Malone
Ensign
*
Posts: 15


View Profile
« Reply #31 on: December 09, 2014, 04:14:44 PM »

sorry didnt notice that I had to modify the core game
Logged
LazyWizard
Global Moderator
Admiral
*****
Posts: 1170


Addicted to complexity


View Profile WWW
« Reply #32 on: December 13, 2014, 08:51:19 PM »

Version 1.3 is up, get it here (mirror).

If this is the first time you're using this mod, you need to change Starsector's launch parameters to get it to work (only has to be done once per Starsector update; users upgrading from 1.2b don't need to do this):
  • 1.) Install this in your mod folder the same as any other mod
  • 2.) Edit your launch parameters (these would be in the same file you'd edit to increase the memory available to Starsector). This process depends on what operating system you use:
    Windows
    If you're launching with starsector.exe you'll be editing vmparams in the main installation folder; otherwise you'll be editing starsector-core/starsector.bat. Make a backup first!

    Add the following after xstream-1.4.2.jar (including the semicolon and quotes, and with no space before it): ;"..\\mods\Version Checker\jars\lw_VersionChecker.jar"
    Example:
    Quote from: vmparams
    -server -XX:CompilerThreadPriority=1 -XX:+CompilerThreadHintNoPreempt -Djava.library.path=native\\windows -Xms512m -Xmx512m -classpath janino.jar;commons-compiler.jar;commons-compiler-jdk.jar;starfarer.api.jar;starfarer_obf.jar;jogg-0.0.7.jar;jorbis-0.0.15.jar;json.jar;lwjgl.jar;jinput.jar;log4j-1.2.9.jar;lwjgl_util.jar;fs.sound_obf.jar;fs.common_obf.jar;xstream-1.4.2.jar;"..\\mods\Version Checker\jars\lw_VersionChecker.jar" -Dcom.fs.starfarer.settings.paths.saves=..\\saves -Dcom.fs.starfarer.settings.paths.screenshots=..\\screenshots -Dcom.fs.starfarer.settings.paths.mods=..\\mods -Dcom.fs.starfarer.settings.paths.logs=. com.fs.starfarer.StarfarerLauncher

    Linux
    For Linux I believe you would need to edit starsector.sh in the main installation folder (make a backup first) and add the following after xstream-1.4.2.jar (including the colon and quotes, and with no space before it): :"./mods/Version Checker/jars/lw_VersionChecker.jar" - any confirmation on this would be great.
    Example:
    Quote from: starsector.sh
    ./jre_linux/bin/java -server -XX:CompilerThreadPriority=1 -XX:+CompilerThreadHintNoPreempt -Djava.library.path=./native/linux -Xms512m -Xmx512m -classpath janino.jar:commons-compiler.jar:commons-compiler-jdk.jar:starfarer.api.jar:starfarer_obf.jar:jogg-0.0.7.jar:jorbis-0.0.15.jar:json.jar:lwjgl.jar:jinput.jar:log4j-1.2.9.jar:lwjgl_util.jar:fs.sound_obf.jar:fs.common_obf.jar:xstream-1.4.2.jar:"./mods/Version Checker/jars/lw_VersionChecker.jar" -Dcom.fs.starfarer.settings.paths.saves=./saves -Dcom.fs.starfarer.settings.paths.screenshots=./screenshots -Dcom.fs.starfarer.settings.paths.mods=./mods -Dcom.fs.starfarer.settings.paths.logs=. com.fs.starfarer.StarfarerLauncher

    Mac
    For Mac you will need to edit Starfarer.app/Contents/MacOS/starsector_mac.sh (make a backup first). Add the following after xstream-1.4.2.jar (including the colon and quotes, and with no space before it): :"../../../mods/Version Checker/jars/lw_VersionChecker.jar"
    Example:
    Quote from: starsector_mac.sh
    #!/bin/bash

    DIR="$( cd "$( dirname "$BASH_SOURCE[0]}" )" && pwd )"
    echo $DIR  > /tmp/out.txt

    cd "$DIR"
    cd "../Resources/Java"

    export JAVA_HOME=../../Home
    "$JAVA_HOME/bin/java" \
        -Xdock:name="Starsector" \
        -Xdock:icon=../../Resources/s_icon128.icns \
        -Dapple.laf.useScreenMenuBar=false \
        -Dcom.apple.macos.useScreenMenuBar=false \
        -Dapple.awt.showGrowBox=false \
        -Dfile.encoding=UTF-8 \
        ${EXTRAARGS} \
       -server \
       -XX:CompilerThreadPriority=1 \
       -XX:+CompilerThreadHintNoPreempt \
       -Djava.library.path=../../Resources/Java/native/macosx \
       -Dcom.fs.starfarer.settings.paths.saves=../../../saves \
       -Dcom.fs.starfarer.settings.paths.screenshots=../../../screenshots \
       -Dcom.fs.starfarer.settings.paths.mods=../../../mods \
       -Dcom.fs.starfarer.settings.paths.logs=../../../logs \
       -Dcom.fs.starfarer.settings.osx=true \
        -Xms512m \
        -Xmx512m \
       -cp ../../Resources/Java/AppleJavaExtensions.jar:../../Resources/Java/commons-compiler-jdk.jar:../../Resources/Java/commons-compiler.jar:../../Resources/Java/fs.common_obf.jar:../../Resources/Java/fs.sound_obf.jar:../../Resources/Java/janino.jar:../../Resources/Java/jinput.jar:../../Resources/Java/jogg-0.0.7.jar:../../Resources/Java/jorbis-0.0.15.jar:../../Resources/Java/json.jar:../../Resources/Java/log4j-1.2.9.jar:../../Resources/Java/lwjgl.jar:../../Resources/Java/lwjgl_util.jar:../../Resources/Java/starfarer.api.jar:../../Resources/Java/starfarer_obf.jar:../../Resources/Java/xstream-1.4.2.jar:"../../../mods/Version Checker/jars/lw_VersionChecker.jar" \
        com.fs.starfarer.StarfarerLauncher \
        "$@" \
        2>&1

    exit 0
You will have to redo step 2 after every Starsector update. I apologize for the inconvenience, but this step is required due to how the mod functions. Sad


The big change in 1.3 is that the game will no longer crash if you failed to install Version Checker correctly. Instead it just warns the player and tells them to check the OP of this thread.

There were also some minor polish and usability improvements. Here's the full changelog:
Quote
Version 1.3 (December 13, 2014)
=================================
Mod now warns the player if installed incorrectly instead of crashing the game
Added keyboard shortcuts to mod list in campaign pop-up
Display current page number when multiple pages of mods are present
Show local version info for failed update checks so you can check forum manually
Logged

cardgame
Commander
***
Posts: 121


Sonic Rainboom


View Profile Email
« Reply #33 on: February 07, 2015, 12:59:23 PM »

Well, this seems strange. Installed to check if I was breaking the game myself with obsolete mods, since I was getting a CTD (Fatal error while loading resources that could not be found) and now the game starts up just fine.

Logged

LazyWizard
Global Moderator
Admiral
*****
Posts: 1170


Addicted to complexity


View Profile WWW
« Reply #34 on: February 10, 2015, 03:05:16 PM »

Version 1.4 is up, get it here (mirror).

Version Checker now checks for updates to Starsector itself in addition to mods. I should warn users that it currently considers a newer version of Starsector to be outdated if the online repo hasn't been updated yet. I'll try to fix that in 1.4b soon-ish.

Since there has been a Starsector update, all users will need to change Starsector's launch parameters to get Version Checker to work again (this only has to be done once per Starsector update):
  • 1.) Install this in your mod folder the same as any other mod
  • 2.) Edit your launch parameters (these would be in the same file you'd edit to increase the memory available to Starsector). This process depends on what operating system you use:
    Windows
    If you're launching with starsector.exe you'll be editing vmparams in the main installation folder; otherwise you'll be editing starsector-core/starsector.bat. Make a backup first!

    Add the following after xstream-1.4.2.jar (including the semicolon and quotes, and with no space before it): ;"..\\mods\Version Checker\jars\lw_VersionChecker.jar"
    Example:
    Quote from: vmparams
    -server -XX:CompilerThreadPriority=1 -XX:+CompilerThreadHintNoPreempt -Djava.library.path=native\\windows -Xms512m -Xmx512m -classpath janino.jar;commons-compiler.jar;commons-compiler-jdk.jar;starfarer.api.jar;starfarer_obf.jar;jogg-0.0.7.jar;jorbis-0.0.15.jar;json.jar;lwjgl.jar;jinput.jar;log4j-1.2.9.jar;lwjgl_util.jar;fs.sound_obf.jar;fs.common_obf.jar;xstream-1.4.2.jar;"..\\mods\Version Checker\jars\lw_VersionChecker.jar" -Dcom.fs.starfarer.settings.paths.saves=..\\saves -Dcom.fs.starfarer.settings.paths.screenshots=..\\screenshots -Dcom.fs.starfarer.settings.paths.mods=..\\mods -Dcom.fs.starfarer.settings.paths.logs=. com.fs.starfarer.StarfarerLauncher

    Linux
    For Linux I believe you would need to edit starsector.sh in the main installation folder (make a backup first) and add the following after xstream-1.4.2.jar (including the colon and quotes, and with no space before it): :"./mods/Version Checker/jars/lw_VersionChecker.jar" - any confirmation on this would be great.
    Example:
    Quote from: starsector.sh
    ./jre_linux/bin/java -server -XX:CompilerThreadPriority=1 -XX:+CompilerThreadHintNoPreempt -Djava.library.path=./native/linux -Xms512m -Xmx512m -classpath janino.jar:commons-compiler.jar:commons-compiler-jdk.jar:starfarer.api.jar:starfarer_obf.jar:jogg-0.0.7.jar:jorbis-0.0.15.jar:json.jar:lwjgl.jar:jinput.jar:log4j-1.2.9.jar:lwjgl_util.jar:fs.sound_obf.jar:fs.common_obf.jar:xstream-1.4.2.jar:"./mods/Version Checker/jars/lw_VersionChecker.jar" -Dcom.fs.starfarer.settings.paths.saves=./saves -Dcom.fs.starfarer.settings.paths.screenshots=./screenshots -Dcom.fs.starfarer.settings.paths.mods=./mods -Dcom.fs.starfarer.settings.paths.logs=. com.fs.starfarer.StarfarerLauncher

    Mac
    For Mac you will need to edit Starfarer.app/Contents/MacOS/starsector_mac.sh (make a backup first). Add the following after xstream-1.4.2.jar (including the colon and quotes, and with no space before it): :"../../../mods/Version Checker/jars/lw_VersionChecker.jar"
    Example:
    Quote from: starsector_mac.sh
    #!/bin/bash

    DIR="$( cd "$( dirname "$BASH_SOURCE[0]}" )" && pwd )"
    echo $DIR  > /tmp/out.txt

    cd "$DIR"
    cd "../Resources/Java"

    export JAVA_HOME=../../Home
    "$JAVA_HOME/bin/java" \
        -Xdock:name="Starsector" \
        -Xdock:icon=../../Resources/s_icon128.icns \
        -Dapple.laf.useScreenMenuBar=false \
        -Dcom.apple.macos.useScreenMenuBar=false \
        -Dapple.awt.showGrowBox=false \
        -Dfile.encoding=UTF-8 \
        ${EXTRAARGS} \
       -server \
       -XX:CompilerThreadPriority=1 \
       -XX:+CompilerThreadHintNoPreempt \
       -Djava.library.path=../../Resources/Java/native/macosx \
       -Dcom.fs.starfarer.settings.paths.saves=../../../saves \
       -Dcom.fs.starfarer.settings.paths.screenshots=../../../screenshots \
       -Dcom.fs.starfarer.settings.paths.mods=../../../mods \
       -Dcom.fs.starfarer.settings.paths.logs=../../../logs \
       -Dcom.fs.starfarer.settings.osx=true \
        -Xms512m \
        -Xmx512m \
       -cp ../../Resources/Java/AppleJavaExtensions.jar:../../Resources/Java/commons-compiler-jdk.jar:../../Resources/Java/commons-compiler.jar:../../Resources/Java/fs.common_obf.jar:../../Resources/Java/fs.sound_obf.jar:../../Resources/Java/janino.jar:../../Resources/Java/jinput.jar:../../Resources/Java/jogg-0.0.7.jar:../../Resources/Java/jorbis-0.0.15.jar:../../Resources/Java/json.jar:../../Resources/Java/log4j-1.2.9.jar:../../Resources/Java/lwjgl.jar:../../Resources/Java/lwjgl_util.jar:../../Resources/Java/starfarer.api.jar:../../Resources/Java/starfarer_obf.jar:../../Resources/Java/xstream-1.4.2.jar:"../../../mods/Version Checker/jars/lw_VersionChecker.jar" \
        com.fs.starfarer.StarfarerLauncher \
        "$@" \
        2>&1

    exit 0
You will have to redo step 2 after every Starsector update. I apologize for the inconvenience, but this step is required due to how the mod functions. Sad

Changelog:
Quote
Version 1.4 (February 10, 2015)
=================================
Version Checker now also checks if you are running the latest Starsector release
Added "checkStarsectorVersion" to data/config/version/version_checker.json
Fixed broken menus in Starsector 0.65.2a
Fixed parsing of remote JSON files with multiple #'s in a single line
Minor text polish (proper verbs and pluralization)
Logged

LazyWizard
Global Moderator
Admiral
*****
Posts: 1170


Addicted to complexity


View Profile WWW
« Reply #35 on: February 12, 2015, 07:18:52 PM »

Version 1.4b is up, get it here (mirror).

If this is the first time you're using this mod, you need to change Starsector's launch parameters to get it to work (only has to be done once per Starsector update; users upgrading from 1.4 don't need to do this):
  • 1.) Install this in your mod folder the same as any other mod
  • 2.) Edit your launch parameters (these would be in the same file you'd edit to increase the memory available to Starsector). This process depends on what operating system you use:
    Windows
    If you're launching with starsector.exe you'll be editing vmparams in the main installation folder; otherwise you'll be editing starsector-core/starsector.bat. Make a backup first!

    Add the following after xstream-1.4.2.jar (including the semicolon and quotes, and with no space before it): ;"..\\mods\Version Checker\jars\lw_VersionChecker.jar"
    Example:
    Quote from: vmparams
    -server -XX:CompilerThreadPriority=1 -XX:+CompilerThreadHintNoPreempt -Djava.library.path=native\\windows -Xms512m -Xmx512m -classpath janino.jar;commons-compiler.jar;commons-compiler-jdk.jar;starfarer.api.jar;starfarer_obf.jar;jogg-0.0.7.jar;jorbis-0.0.15.jar;json.jar;lwjgl.jar;jinput.jar;log4j-1.2.9.jar;lwjgl_util.jar;fs.sound_obf.jar;fs.common_obf.jar;xstream-1.4.2.jar;"..\\mods\Version Checker\jars\lw_VersionChecker.jar" -Dcom.fs.starfarer.settings.paths.saves=..\\saves -Dcom.fs.starfarer.settings.paths.screenshots=..\\screenshots -Dcom.fs.starfarer.settings.paths.mods=..\\mods -Dcom.fs.starfarer.settings.paths.logs=. com.fs.starfarer.StarfarerLauncher

    Linux
    For Linux I believe you would need to edit starsector.sh in the main installation folder (make a backup first) and add the following after xstream-1.4.2.jar (including the colon and quotes, and with no space before it): :"./mods/Version Checker/jars/lw_VersionChecker.jar" - any confirmation on this would be great.
    Example:
    Quote from: starsector.sh
    ./jre_linux/bin/java -server -XX:CompilerThreadPriority=1 -XX:+CompilerThreadHintNoPreempt -Djava.library.path=./native/linux -Xms512m -Xmx512m -classpath janino.jar:commons-compiler.jar:commons-compiler-jdk.jar:starfarer.api.jar:starfarer_obf.jar:jogg-0.0.7.jar:jorbis-0.0.15.jar:json.jar:lwjgl.jar:jinput.jar:log4j-1.2.9.jar:lwjgl_util.jar:fs.sound_obf.jar:fs.common_obf.jar:xstream-1.4.2.jar:"./mods/Version Checker/jars/lw_VersionChecker.jar" -Dcom.fs.starfarer.settings.paths.saves=./saves -Dcom.fs.starfarer.settings.paths.screenshots=./screenshots -Dcom.fs.starfarer.settings.paths.mods=./mods -Dcom.fs.starfarer.settings.paths.logs=. com.fs.starfarer.StarfarerLauncher

    Mac
    For Mac you will need to edit Starfarer.app/Contents/MacOS/starsector_mac.sh (make a backup first). Add the following after xstream-1.4.2.jar (including the colon and quotes, and with no space before it): :"../../../mods/Version Checker/jars/lw_VersionChecker.jar"
    Example:
    Quote from: starsector_mac.sh
    #!/bin/bash

    DIR="$( cd "$( dirname "$BASH_SOURCE[0]}" )" && pwd )"
    echo $DIR  > /tmp/out.txt

    cd "$DIR"
    cd "../Resources/Java"

    export JAVA_HOME=../../Home
    "$JAVA_HOME/bin/java" \
        -Xdock:name="Starsector" \
        -Xdock:icon=../../Resources/s_icon128.icns \
        -Dapple.laf.useScreenMenuBar=false \
        -Dcom.apple.macos.useScreenMenuBar=false \
        -Dapple.awt.showGrowBox=false \
        -Dfile.encoding=UTF-8 \
        ${EXTRAARGS} \
       -server \
       -XX:CompilerThreadPriority=1 \
       -XX:+CompilerThreadHintNoPreempt \
       -Djava.library.path=../../Resources/Java/native/macosx \
       -Dcom.fs.starfarer.settings.paths.saves=../../../saves \
       -Dcom.fs.starfarer.settings.paths.screenshots=../../../screenshots \
       -Dcom.fs.starfarer.settings.paths.mods=../../../mods \
       -Dcom.fs.starfarer.settings.paths.logs=../../../logs \
       -Dcom.fs.starfarer.settings.osx=true \
        -Xms512m \
        -Xmx512m \
       -cp ../../Resources/Java/AppleJavaExtensions.jar:../../Resources/Java/commons-compiler-jdk.jar:../../Resources/Java/commons-compiler.jar:../../Resources/Java/fs.common_obf.jar:../../Resources/Java/fs.sound_obf.jar:../../Resources/Java/janino.jar:../../Resources/Java/jinput.jar:../../Resources/Java/jogg-0.0.7.jar:../../Resources/Java/jorbis-0.0.15.jar:../../Resources/Java/json.jar:../../Resources/Java/log4j-1.2.9.jar:../../Resources/Java/lwjgl.jar:../../Resources/Java/lwjgl_util.jar:../../Resources/Java/starfarer.api.jar:../../Resources/Java/starfarer_obf.jar:../../Resources/Java/xstream-1.4.2.jar:"../../../mods/Version Checker/jars/lw_VersionChecker.jar" \
        com.fs.starfarer.StarfarerLauncher \
        "$@" \
        2>&1

    exit 0
You will have to redo step 2 after every Starsector update. I apologize for the inconvenience, but this step is required due to how the mod functions. Sad

Changelog:
Quote
Version 1.4b (February 12, 2015)
==================================
Reordered dialog options to match text order
Changes to Starsector game update notifications:
 - Only warns about Starsector update if remote version is newer, not just
   a different version than the one installed (it still won't warn about
   Starsector updates until I update the repository after each patch)
 - Now notifies the player if the Starsector update check fails
Logged

Unpocalypse
Ensign
*
Posts: 19



View Profile Email
« Reply #36 on: February 21, 2015, 09:18:35 AM »

Whenever I attempt to add it to the launch params it can't find \\mods\Version Checker\jars\lw_VersionChecker.jar
I don't know what to do.  Undecided
Also, I'm running this from the .bat file not Starsector.exe
(Starsector.exe nevers works for me, when I bought the game last year, I had to ask Alex how to get the thing to work.)


EDIT: I fixed it! When you go to define the location and you get the error in the .bat launching of the game, you must not include spaces in the path.
When you edit the .bat to include the mod you must do this "fs.common_obf.jar;xstream-1.4.2.jar;..\\mods\VersionChecker\jars\lw_VersionChecker com.fs.starfarer.StarfarerLauncher"
Not this "fs.common_obf.jar;xstream-1.4.2.jar;..\\mods\Version Checker\jars\lw_VersionChecker com.fs.starfarer.StarfarerLauncher"
Else it will tell you that it cannot find lw_VersionChecker (Java is picky isn't it?)
« Last Edit: February 21, 2015, 09:37:23 AM by Unpocalypse » Logged
TJJ
Admiral
*****
Posts: 1613



View Profile Email
« Reply #37 on: April 30, 2015, 08:51:39 AM »

Will this mod ever be expanded to actually download & update the local mods automatically, rather than just checking for new versions?
Logged
LazyWizard
Global Moderator
Admiral
*****
Posts: 1170


Addicted to complexity


View Profile WWW
« Reply #38 on: April 30, 2015, 04:36:42 PM »

Will this mod ever be expanded to actually download & update the local mods automatically, rather than just checking for new versions?

It's incredibly unlikely for a variety of reasons:
  • First and foremost, allowing any mod to download arbitrary data is opening a huge security hole in the user's computer. Right now Version Checker is very restricted: it only downloads the master .version files, only works with plaintext, only parses them as JSON (and will fail if they aren't in that format), and only reads very specific fields within that file. Since every aspect of VC's behavior is well-defined there's almost no risk of anything nefarious happening. The same wouldn't be true if it were downloading any archive a mod points it at. While just downloading and unzipping an archive isn't that dangerous (I doubt users would run a random executable they find in their mod folder), there are some risks involved.
  • For VC to download archives they'd have to be directly linkable. That means no sites with a redirect/waiting page, which blocks Mediafire, Mega, possibly Dropbox, and most other hosting services used by modders right now. You'll find very few free hosting sites willing to allow large downloads without an ad view, short of abusing Bitbucket/Github's very generous terms of service. You monster.
  • Downloading from within Starsector bypasses the mod's forum thread, meaning you won't see the changelog or any warnings the modder posted there. I suppose I could add a "changelogURL" field to the .version file format, but that's even more work for the modder to support and the in-game dialogs get extremely laggy with large amounts of text.
  • Updating mods would be a complicated process. A mod's resources are in use when VC is running, so VC would have to stick around until after Starsector closes before actually performing the updates. That isn't an insurmountable issue (if I extract the update to a temp folder during gameplay then it'd only take a folder rename for the process to finish), but it would add significantly to the program's complexity.
  • You'd lose any custom settings from your old mod installation. ShaderLib, Nexerelin, Starsector+ and the radar are all highly configurable, and if you forgot to back up your config files you'd have to do all that work again.
  • It's impossible using the current API - we can't map files to the mod directory they came from, so Version Checker wouldn't know which mod folder to replace. I probably should have led with this one. Wink
Logged

TJJ
Admiral
*****
Posts: 1613



View Profile Email
« Reply #39 on: May 01, 2015, 04:57:16 AM »

I guess we'll have to wait for Steam + workshop integration then Grin
Logged
ValkyriaL
Admiral
*****
Posts: 2142


The Guru of Capital Ships.


View Profile
« Reply #40 on: May 01, 2015, 05:38:46 AM »

I guess we'll have to wait for Steam + workshop integration then Grin

lets hope that takes a veeeery long time, say.. infinity, and if or when it does, we have all had our fun time here and left when the ... "awesome"... steam community flood these forums and Valve has their go at our modding section. Cry
Logged
Tartiflette
Admiral
*****
Posts: 2237


Kickstarter is NOT a magic spring of free money!


View Profile Email
« Reply #41 on: June 18, 2015, 12:07:17 AM »

I noticed VersionChecker doesn't trigger when you go from a String minor version to an Integer one:


[edit]
Now that I dug a bit in the innards of Version checker I see why it does that. You went through great lengths to find witch is newer between the local and online files, but it is necessary? I think a simple != check between the two versions as strings would be enough: if you don't have the same as the online one, you aren't using the right version, newer or not...
« Last Edit: June 18, 2015, 12:26:35 AM by Tartiflette » Logged

 
TartarusMkII
Commander
***
Posts: 164


View Profile Email
« Reply #42 on: October 06, 2015, 02:56:46 AM »

Heya, I wanted to add this to my set up, but I see where you say to change vmparams, your file is wildly different than mine. Mine simply says this:

farer.settings.paths.mods=..\\mods -Dcom.fs.starfarer.settings.paths.logs=. com.fs.starfarer.StarfarerLauncher -Xms2g -Xmx4g

Why is mine so much shorter? Where would I put the instruction I have to add?..

Thanks!
Logged
LazyWizard
Global Moderator
Admiral
*****
Posts: 1170


Addicted to complexity


View Profile WWW
« Reply #43 on: October 06, 2015, 03:05:15 AM »

Heya, I wanted to add this to my set up, but I see where you say to change vmparams, your file is wildly different than mine. Mine simply says this:

farer.settings.paths.mods=..\\mods -Dcom.fs.starfarer.settings.paths.logs=. com.fs.starfarer.StarfarerLauncher -Xms2g -Xmx4g

Why is mine so much shorter? Where would I put the instruction I have to add?..

Thanks!

That can't be right, the game wouldn't be able to launch without the complete list of parameters.

The entire file is one extremely long line. Are you sure you don't have word wrap disabled? Try scrolling to the left. Wink
Logged

TartarusMkII
Commander
***
Posts: 164


View Profile Email
« Reply #44 on: October 06, 2015, 03:27:57 AM »

Oh yea, derp. Thankyou.
Logged
Pages: 1 2 [3] 4 5
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2011, Simple Machines
Simple Audio Video Embedder
Valid XHTML 1.0! Valid CSS!