Results 1 to 9 of 9

Thread: Universal KoLmafia Daily Build Updater

  1. #1

    Default Universal KoLmafia Daily Build Updater

    This is my first attempt at a KoLmafia Daily Build Updater that works on all platforms KoLmafia supports. Right now it has a minimal GUI, and could probably be made better. Please feel free to suggest improvements or report bugs here. Note that, unlike KoLmafia, this updater requires Java 6. Also note that, due to there being no immediately obvious way to detect your current KoLmafia version on platforms other than Mac OS X, the first time you run this a new build will get downloaded.

    How to use this thing:
    If your system is configured to run JAR files with the Java interpreter, double-click the MafiaUpdater.jar file. It will start, do its thing, then start KoLmafia for you. There is also a native Mac Application package and a Windows EXE available.

    Command-Line Arguments:
    The program now supports some command-line arguments to influence its behavior.
    /c OR /p OR -c OR -p OR --configure OR --config OR --preferences OR --prefs: Bring up the preferences dialog, and quit.
    /s OR -s OR --silent: Enable silent mode for this session, and all future sessions.
    /v OR -v OR --verbose: Disable silent mode for this session, and all future sessions.
    /r OR -r OR --release: Enable release notes display for this session, and all future sessions.
    /n OR -n OR --no-release: Disable release notes display for this session, and all future sessions

    Moved MafiaUpdate to be hosted here - this is the LAST time I'll ever update it.
    Last edited by wrldwzrd89; 05-29-2012 at 05:26 PM. Reason: Moved version history

  2. #2
    Junior Member
    Join Date
    Feb 2009
    Posts
    1

    Default

    Where does it save KolMafia (on linux) so I can add/remove scripts?

    (found it /home/user/.kolmafia)

  3. #3

    Default

    Important announcement regarding my auto-updater tool:

    The release of r10000 broke MafiaUpdate's ability to reliably detect new builds, due not to a fault in MafiaUpdate's parsing algorithm, but rather because r10000 gets sorted to the bottom on the daily builds site.
    V9.0 of MafiaUpdate works around this, so that future build number length changes won't break it.

  4. #4
    Developer
    Join Date
    Apr 2006
    Posts
    922

    Default

    Could you add a flag to not launch the mafia jar and to have it block the command line until the file is downloaded?
    Better Basement Automation - Version 1.??? Someone else is maintaining this
    Get an effect from a buffbot
    - Version 1.4

  5. #5

    Default

    Could you add a flag to not launch the mafia jar and to have it block the command line until the file is downloaded?
    Originally Posted by Rinn View Post
    A flag to not launch the new download of KoLmafia.jar? That's easy to do, and has been added to the list of things to add for V9.1.
    As for blocking the command-line until the file is downloaded, I don't understand what you want here... I never launch MafiaUpdate via the command-line; I always double-click the JAR - if that helps any.

  6. #6
    Developer
    Join Date
    Apr 2006
    Posts
    922

    Default

    I launcher mafia from the command line because use windows scheduled tasks. Regardless never mind I updated my own updater.
    Last edited by Rinn; 11-14-2011 at 06:03 PM.
    Better Basement Automation - Version 1.??? Someone else is maintaining this
    Get an effect from a buffbot
    - Version 1.4

  7. #7

    Default

    V9.1 is ready with the new feature, as requested:

    /l, -l, or --launch-mafia: Launches KoLmafia when done, for the current session and all future sessions.
    /d, -d, or --no-launch-mafia: Does NOT launch KoLmafia when done, for the current session and all future sessions.

    Like any other preference, this can be configured in MafiaUpdate's preferences window.

  8. #8

    Default

    V9.3 is now out with a new feature: You can turn the "Downloading KoLmafia" and "Download Complete" notifications off, if you so desire, by launching MafiaUpdate with the --prefs option to configure these new settings (default is on for both).

  9. #9

    Default

    Almost forgot, since I'm not maintaining MafiaUpdate anymore, I ought to provide the source code so that someone who DOES wish to maintain it can do so.

    This was built with Eclipse 3.7 "Indigo" and Java 6.

Similar Threads

  1. Problem with the daily EXE build
    By LordAo in forum Community Support
    Replies: 4
    Last Post: 03-17-2015, 05:34 PM
  2. The latest Daily Build
    By dangerpin in forum Unofficial Builds
    Replies: 238
    Last Post: 06-11-2013, 07:44 PM
  3. Problems with the daily build
    By linguinelad in forum Unofficial Builds
    Replies: 5
    Last Post: 09-16-2010, 10:41 PM
  4. Using the daily build
    By Jt in forum Community Support
    Replies: 2
    Last Post: 12-06-2007, 02:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •