Results 1 to 2 of 2

Thread: Ubuntu Mate 18.04

  1. Default Ubuntu Mate 18.04

    Hi Folks,

    Just returned to GSIV and tried setting up Lich to work on Ubuntu 18.04. I met with some success, so figured I would share.

    OS: Ubuntu Mate 18.04 64-bit, default install

    Install Wine:
    sudo apt-get install wine64
    sudo apt-get install ttf-mscorefonts-installer

    Install Ruby and requisite gems:
    sudo apt-get install ruby ruby-dev libsqlite3-dev build-essential
    sudo gem install sqlite3 rake
    sudo gem install pango atk gdk_pixbuf2
    sudo gem install gtk2

    Download and install Simutronics programs:
    cd ~/Downloads
    wget https://www.play.net/software/lnchInst.exe
    wget https://www.play.net/software/beta/S...ta1.0.1.26.exe
    cd ~
    wine ./Downloads/lnchInst.exe
    wine ./Downloads/StormFrontBeta1.0.1.26.exe

    Download and extract Lich:
    wget https://lichproject.org/download/lich-4.6.44.zip
    unzip lich-4.6.44.zip
    cd lich

    Tweak lich.rbw file to work with Ruby 2.5:
    Do this at your own risk
    Edit lich.rbw and replace occurrences of "$SAFE = 3" with "$SAFE = 1". Do it by hand or use search and replace in your favourite editor.

    In vim:
    vi lich.rbw

    Perform a global search and replace with confirmation:
    :%s/$SAFE = 3/$SAFE = 1/gc

    Run lich and login on a character. Then disable Lich updates so your changes are not overwritten.
    ;repo unset-lich-updatable

    Exit the game, and edit the lich.rbw file again if it was overwritten with an updated version.

    You will probably want to force lich updates upon occasion to stay current, but each time you will need to edit the $SAFE = 3 lines until Lich is compatible with more recent versions of Ruby.

    Hope this helps people.

  2. #2
    Join Date
    Jul 2003
    Location
    St. Louis, MO
    Posts
    4,271

    Default

    I patch lich with this shell script:

    Code:
    #!/bin/sh                                                                                                                                │
    
    sed -i -e 's/\(SAFE [<=]\) 3/\1 1/' lich.rb
    Quote Originally Posted by Patrick McGoohan
    I am not a number, I am a free man!

Similar Threads

  1. Trump's Running Mate
    By ClydeR in forum Politics
    Replies: 2
    Last Post: 06-10-2016, 10:58 AM
  2. Anyone neeed a room mate?
    By Sean of the Thread in forum Social Forum
    Replies: 56
    Last Post: 11-11-2008, 08:28 PM
  3. WTF mate? ^^
    By Teladro in forum Game Mechanics
    Replies: 9
    Last Post: 12-26-2005, 07:02 AM
  4. Kerry's Running Mate
    By Wezas in forum Off-Topic
    Replies: 41
    Last Post: 07-11-2004, 11:29 PM
  5. Mate. Feed. Kill. Repeat. (MFKR)
    By in forum Off-Topic
    Replies: 0
    Last Post: 09-07-2003, 10:35 PM

Posting Permissions

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