Kaldonis
07-11-2012, 05:47 AM
Free and Open Source Gemstone!
In case anyone else out there is using Warlock2 to play GS in Linux but also wants Lich, I sat down this afternoon and got it rolling.
(If you need reference, Warlock2 is a free and open source multi-platform Simutronics game client: http://www.warlock.cc/)
So basically there's nothing to install, just extract the lich stuff whereever (I use /usr/local/lich). I already had stuff for Ruby installed, but be sure you have all these dependencies listed on the main download page. (Although GTK still doesn't work for me, but I tested it in Ruby and generally it works. Don't really need to care, though, since Lich works without it.)
For some reason, nothing was working until I changed the eselect for ruby (it's a Gentoo thing for slotted programs) just to refresh it. This seemed to be necessary since something about my environment was weird (no surprise I was updating lots of stuff related to Ruby, including Ruby itself).
Warlock2 masks as Stormfront, which for example is visible in its console output:
SGE: L OK UPPORT=5535 GAME=STORM GAMECODE=GS FULLGAMENAME=StormFront GAMEFILE=STORMFRONT.EXE GAMEHOST=storm.gs4.game.play.net GAMEPORT=10024
So that means that we need to tell Lich it's also StormFront, but not directly (or Lich will try to launch SF). In that sense, I basically follow the method for Avalon where I start Lich first, then start Warlock2, and then login to the game through Warlock2. (Lich won't work if Warlock2 is already running.)
To run Lich, I just issue this command (now made into an alias):
sudo ruby /usr/local/lich/lich.rb -g storm.gs4.game.play.net:10024
And otherwise it seems to work fine. First attempt to use Ruby each instance is a hitch, but I guess that's just loading the Ruby shell into memory.
Really this was extremely simple, but it still took me a few hours of troubleshooting and checking the source code to get it lined up. Let me know if you have any questions...
In case anyone else out there is using Warlock2 to play GS in Linux but also wants Lich, I sat down this afternoon and got it rolling.
(If you need reference, Warlock2 is a free and open source multi-platform Simutronics game client: http://www.warlock.cc/)
So basically there's nothing to install, just extract the lich stuff whereever (I use /usr/local/lich). I already had stuff for Ruby installed, but be sure you have all these dependencies listed on the main download page. (Although GTK still doesn't work for me, but I tested it in Ruby and generally it works. Don't really need to care, though, since Lich works without it.)
For some reason, nothing was working until I changed the eselect for ruby (it's a Gentoo thing for slotted programs) just to refresh it. This seemed to be necessary since something about my environment was weird (no surprise I was updating lots of stuff related to Ruby, including Ruby itself).
Warlock2 masks as Stormfront, which for example is visible in its console output:
SGE: L OK UPPORT=5535 GAME=STORM GAMECODE=GS FULLGAMENAME=StormFront GAMEFILE=STORMFRONT.EXE GAMEHOST=storm.gs4.game.play.net GAMEPORT=10024
So that means that we need to tell Lich it's also StormFront, but not directly (or Lich will try to launch SF). In that sense, I basically follow the method for Avalon where I start Lich first, then start Warlock2, and then login to the game through Warlock2. (Lich won't work if Warlock2 is already running.)
To run Lich, I just issue this command (now made into an alias):
sudo ruby /usr/local/lich/lich.rb -g storm.gs4.game.play.net:10024
And otherwise it seems to work fine. First attempt to use Ruby each instance is a hitch, but I guess that's just loading the Ruby shell into memory.
Really this was extremely simple, but it still took me a few hours of troubleshooting and checking the source code to get it lined up. Let me know if you have any questions...