DFenestrator
04-22-2016, 03:38 PM
Hi there,
I have been furiously working to get Lich running on a mac.
I got stormfront running on wine on my mac.
I then got the GTK2 UI to show up so I could connect and select my credentials to Gemstone and then pick my front-end.
I found a configuration that works and I launched Stormfront, but I have to keep clicking the "ruby" app thousands of times to get any sort of updates to the stormfront content. Of course, that is unplayable. I theorized that OS X does something funny with preventing the ruby app from working if it's not in the foreground. So, that means if I can launch Stormfront without GTK2 loading, it should work. I messed with the source code and found that I was right! I used what I found in there to generate my own .sal file, commented out the inclusion of GTK2, and launched with ruby ./lich.rbw --sal myfile.sal, as shown below:
UPPORT=5535
GAME=STORM
GAMECODE=GS
FULLGAMENAME=StormFront
GAMEFILE=STORMFRONT.EXE
GAMEHOST=storm.gs4.game.play.net
GAMEPORT=10024
KEY=[KEY REDACTED]
CUSTOMLAUNCH=Stormfront.exe /GGS /H127.0.0.1 /P%port% /K%key%
CUSTOMLAUNCHDIR=/Users/dfenster/.wine/drive_c/Program Files/Simu/StormFront
I was right. It worked! But I'm now finding myself with a new problem. I think I'm being blocked by lichnet or something:
>;lnet channels
[lnet: Operation timed out - connect(2) for "lnet.lichproject.org" port 7155]
lnet:115:in `initialize'
lnet:115:in `open'
[lnet: waiting 224 seconds before trying to reconnect...]
[repository: error connecting to server: Operation timed out - connect(2) for "repo.lichproject.org" port 7157]
Tillmen, do you have any advice?
I have been furiously working to get Lich running on a mac.
I got stormfront running on wine on my mac.
I then got the GTK2 UI to show up so I could connect and select my credentials to Gemstone and then pick my front-end.
I found a configuration that works and I launched Stormfront, but I have to keep clicking the "ruby" app thousands of times to get any sort of updates to the stormfront content. Of course, that is unplayable. I theorized that OS X does something funny with preventing the ruby app from working if it's not in the foreground. So, that means if I can launch Stormfront without GTK2 loading, it should work. I messed with the source code and found that I was right! I used what I found in there to generate my own .sal file, commented out the inclusion of GTK2, and launched with ruby ./lich.rbw --sal myfile.sal, as shown below:
UPPORT=5535
GAME=STORM
GAMECODE=GS
FULLGAMENAME=StormFront
GAMEFILE=STORMFRONT.EXE
GAMEHOST=storm.gs4.game.play.net
GAMEPORT=10024
KEY=[KEY REDACTED]
CUSTOMLAUNCH=Stormfront.exe /GGS /H127.0.0.1 /P%port% /K%key%
CUSTOMLAUNCHDIR=/Users/dfenster/.wine/drive_c/Program Files/Simu/StormFront
I was right. It worked! But I'm now finding myself with a new problem. I think I'm being blocked by lichnet or something:
>;lnet channels
[lnet: Operation timed out - connect(2) for "lnet.lichproject.org" port 7155]
lnet:115:in `initialize'
lnet:115:in `open'
[lnet: waiting 224 seconds before trying to reconnect...]
[repository: error connecting to server: Operation timed out - connect(2) for "repo.lichproject.org" port 7157]
Tillmen, do you have any advice?