Skip to content

Instantly share code, notes, and snippets.

@jandersson
Last active February 14, 2019 18:39
Show Gist options
  • Save jandersson/619fba07efff148f5def3bc40a60f16a to your computer and use it in GitHub Desktop.
Save jandersson/619fba07efff148f5def3bc40a60f16a to your computer and use it in GitHub Desktop.
Lich Installation Hell

Documenting the steps to recreate an exciting tuesday evening

  • Windows 10
  • Ruby 2.6.1
  • Lich 4.12.0f
  1. install Ruby using RubyInstaller

  2. edit lich.rbw to use --no-document instead of --no-ri --no-rdoc and use gem.cmd instead of gem.bat (find and replace for now)

This step isn't necessary. The lesson from this is: Dont launch lich and let it install stuff, do it from the command prompt instead.

  1. command prompt: ridk install

  2. Install options 1, 2, 3

  3. command prompt:

gem uninstall sqlite3
ridk exec pacman -S mingw-w64-x86_64-sqlite3
gem install sqlite3 -v 1.3.13 --platform=ruby
  1. run lich.rbw and let it install gtk2

  2. command prompt:

gem uninstall cairo
gem uninstall gtk2
gem uninstall glib2
gem uninstall atk
gem uninstall pango
gem install cairo
gem install gtk2

Its probably better to just install gtk2 and cairo in the command prompt since lich installs a specific version that isn't very friendly

  1. Lich game entry launches. Install launcher + SF from dr website, login manually through the website and fire up DR

  2. Lich does not read the launcher registry correctly and is unable to link to the launcher or SGE. Installed frostbite. Success!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment