View Full Version : Trouble launching game with Lich in Ubuntu 14.04
Jemiquist
06-16-2015, 01:41 PM
Hello,
This is my first post, so please bear with me.
I am having issues trying to setup lich in Ubuntu 14.04. I can launch the game using the SGE, but when I try to use the Lich pop-up window to launch, I get a timeout error in my log.
I am using an HP Chromebook 14 with Crouton to get chroot and Ubuntu 14.04 LXDE. When i run 'ruby2.0 lich/lich.rbw' from the terminal I get:
2015-06-16 12:31:40: info: Lich 4.6.22
2015-06-16 12:31:40: info: Ruby 2.0.0
2015-06-16 12:31:40: info: x86_64-linux-gnu
2015-06-16 12:31:40: info: no force-mode info given
2015-06-16 12:31:59: info: gamehost: storm.gs4.game.play.net
2015-06-16 12:31:59: info: gameport: 10024
2015-06-16 12:31:59: info: game: STORM
2015-06-16 12:31:59: info: launcher_cmd: /usr/bin/wine "C:\PROG~5P2\SIMU\Launcher.exe" /home/XXX/lich/temp/lich1199.sal
2015-06-16 12:31:59: info: waiting for client to connect...
2015-06-16 12:32:30: error: timeout waiting for client to connect
My lich1199.sal file has:
UPPORT=5535
GAME=STORM
GAMECODE=GS
FULLGAMENAME=StormFront
GAMEFILE=STORMFRONT.EXE
GAMEHOST=localhost
GAMEPORT=42118
KEY=<user removed, but a long string here>
When I try to use the Lich popup window to link to the SGE or Website, I am able to link but when I launch the game, I get the same connection timeout using either Wizard or Stormfront. When I use Wizard I get the screen that says the server may be down with a link to check the game status.
I am new to Ubuntu and am trying to learn quickly, but have been wrestling with this for some hours now and have reached the end of my troubleshooting abilities. Any suggestions as to how to proceed would be greatly appreciated.
Thank you in advance,
Jemi
Tillmen
06-17-2015, 01:54 AM
Try to log in again, open the new debug file, and copy/paste the launcher_cmd into a terminal. It will probably fail and give you some error messages that might help figure out why.
Jemiquist
06-17-2015, 02:21 AM
Hello Tillmen,
Thank you for the wonderful program and for pointing me in the right direction. When using the launcher_cmd I get this error:
(trusty)xxxxx@localhost:~$ /usr/bin/wine "C:\PROG~FBU\SIMU\Launcher.exe" /home/xxxxx/lich/temp/lich6403.sal
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
(trusty)xxxxx@localhost:~$ fixme:appbar:SHAppBarMessage unknown msg: 4
fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETSTATE): stub
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETTASKBARPOS, hwnd=0x33c034): stub
The above is launching stormfront.
I was able to resolve some of the above fixme errors by installing vcron and other C++ packages. Now I have these errors, again launching stormfront.
(trusty)xxxxx@localhost:~$ /usr/bin/wine "C:\PROG~FBU\SIMU\Launcher.exe" /home/xxxxx/lich/temp/lich3561.sal
(trusty)xxxxx@localhost:~$ fixme:appbar:SHAppBarMessage unknown msg: 4
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
When I use the Lich popup window to Link to SGE, I get the error 'While attempting to run /home/xxxxx/lich/lich/lich.rbw --wine=/usr/bin/wine --wine-prefix=/home/xxxxx/.wine \launcher.exe C:\users\xxxxx\Temp\Gse.~t CreateProcess failed with error code 2' and then several dialogue boxes in a row:
error
'Error launching game!'
error
'Unable to create temporary file'
error
'Error launching game!'
error
'Unexpected response from L command'
error
'Error launching game!'
The above is when I use the wizard FE and am linked.
When I unlink via the Lich popup I am able to use the SGE and Launcher to log in using either stormfront or WizardFE.
Jemiquist
06-19-2015, 01:58 AM
So I have resolved the errors from my previous when running:
/usr/bin/wine "C:\PROG~FBU\SIMU\Launcher.exe" /home/xxxx/lich/temp/lich4621.sal from the terminal and now it returns no errors. It will launch the Wizard, but it isn't connected to the game server.
However now have a new error. When launching from the SGE while linked to Lich, (SGE Launch Chain is connected) I get a Wine error starting process window:
While attempting to run /home/xxxx/lich/lich/lich.rbw --wine=/usr/bin/win --wine-prefix=/home/xxxx/.wine \launcher.exe C:\users\xxxx\Temp\Gse.~xt CreateProcess failed with error code 2
When I click close, I get another Wine popup notification that says "Success." and when I click ok on that window another pops up saying "Error launching game."
Game launches without using Lich as expected in both SF and Wizard; it's just not much fun playing without Lich.
To verify, here is my most recent debug log while running 'ruby lich/lich.rbw' from xxxx@localhost:~$
2015-06-19 01:43:36: info: Lich 4.6.22
2015-06-19 01:43:36: info: Ruby 2.0.0
2015-06-19 01:43:36: info: x86_64-linux
2015-06-19 01:43:36: info: no force-mode info given
2015-06-19 01:43:48: info: gamehost: storm.gs4.game.play.net
2015-06-19 01:43:48: info: gameport: 10024
2015-06-19 01:43:48: info: game: WIZ
2015-06-19 01:43:48: info: launcher_cmd: /usr/bin/wine "C:\PROG~FBU\SIMU\Launcher.exe" /home/xxxx/lich/temp/lich4621.sal
2015-06-19 01:43:48: info: waiting for client to connect...
2015-06-19 01:44:18: error: timeout waiting for client to connect
I will continue fiddling with this but any other pointers in the right direction would be welcome.
Jemiquist
06-20-2015, 04:34 PM
Here is the output in the terminal when using the -verbose flag; Any suggestions as to where to look next would be appreciated!
ruby2.0 -v lich/lich.rbw
ruby 2.0.0p384 (2014-01-12) [x86_64-linux-gnu]
lich/lich.rbw:529: warning: shadowing outer local variable - arg
lich/lich.rbw:710: warning: shadowing outer local variable - r
lich/lich.rbw:1108: warning: assigned but unused variable - game_host
lich/lich.rbw:1109: warning: assigned but unused variable - game_port
lich/lich.rbw:1127: warning: assigned but unused variable - game_host
lich/lich.rbw:1128: warning: assigned but unused variable - game_port
lich/lich.rbw:1233: warning: `*' interpreted as argument prefix
lich/lich.rbw:1238: warning: `*' interpreted as argument prefix
lich/lich.rbw:1377: warning: character class has duplicated range: /([A-z][A-z0-9_\-]*)=(["'])(.*?)\2/
lich/lich.rbw:2855: warning: character class has duplicated range: /^[\t\s]*#?[\t\s]*(?:quiet|hush)$/
lich/lich.rbw:2860: warning: character class has duplicated range: /^([\d_\w]+):$/
lich/lich.rbw:3275: warning: character class has duplicated range: /^[\t\s]*#?[\t\s]*(?:quiet|hush)$/
lich/lich.rbw:3287: warning: character class has duplicated range: /[\s\t]*setvariable\s+([^\s\t]+)[\s\t]/
lich/lich.rbw:3305: warning: character class has duplicated range: /^[\s\t]*[A-Za-z0-9_\-']+:/
lich/lich.rbw:3307: warning: character class has duplicated range
lich/lich.rbw:3309: warning: character class has duplicated range
lich/lich.rbw:3312: warning: character class has duplicated range: /^([\s\t]*)save[\s\t]+"?(.*?)"?[\s\t]*$/
lich/lich.rbw:3315: warning: character class has duplicated range: /^([\s\t]*)echo[\s\t]+(.+)/
lich/lich.rbw:3318: warning: character class has duplicated range: /^([\s\t]*)waitfor[\s\t]+(.+)/
lich/lich.rbw:3321: warning: character class has duplicated range: /^([\s\t]*)put[\s\t]+(?:\.|;)(.+)$/
lich/lich.rbw:3328: warning: character class has duplicated range: /^([\s\t]*)(put|move)[\s\t]+(.+)/
lich/lich.rbw:3331: warning: character class has duplicated range: /^([\s\t]*)goto[\s\t]+(.+)/
lich/lich.rbw:3334: warning: character class has duplicated range: /^([\s\t]*)waitforre[\s\t]+(.+)/
lich/lich.rbw:3337: warning: character class has duplicated range: /^([\s\t]*)pause[\s\t]*(.*)/
lich/lich.rbw:3342: warning: character class has duplicated range: /^([\s\t]*)match[\s\t]+([^\s\t]+)[\s\t]+(.+)/
lich/lich.rbw:3345: warning: character class has duplicated range: /^([\s\t]*)matchre[\s\t]+([^\s\t]+)[\s\t]+(.+)/
lich/lich.rbw:3348: warning: character class has duplicated range: /^([\s\t]*)setvariable[\s\t]+([^\s\t]+)[\s\t]+(.+)/
lich/lich.rbw:3351: warning: character class has duplicated range: /^([\s\t]*)deletevariable[\s\t]+(.+)/
lich/lich.rbw:3353: warning: character class has duplicated range: /^([\s\t]*)(wait|nextroom|exit|echo)\b/
lich/lich.rbw:3355: warning: character class has duplicated range: /^([\s\t]*)matchwait\b/
lich/lich.rbw:3357: warning: character class has duplicated range: /^([\s\t]*)if_([0-9])[\s\t]+(.*)/
lich/lich.rbw:3360: warning: character class has duplicated range: /^([\s\t]*)shift\b/
lich/lich.rbw:3358: warning: assigned but unused variable - stuff
lich/lich.rbw:3372: warning: character class has duplicated range: /\}[\s\t]*LICH[\s\t]*$/
lich/lich.rbw:3373: warning: character class has duplicated range: /\}[\s\t]*LICH[\s\t]*$/
lich/lich.rbw:3378: warning: character class has duplicated range: /^[\s\t]*#|^[\s\t]*$/
lich/lich.rbw:3380: warning: character class has duplicated range: /^[\s\t]*LICH[\s\t]*\{/
lich/lich.rbw:3381: warning: character class has duplicated range: /LICH[\s\t]*\{/
lich/lich.rbw:3382: warning: character class has duplicated range: /\}[\s\t]*LICH[\s\t]*$/
lich/lich.rbw:3383: warning: character class has duplicated range: /\}[\s\t]*LICH[\s\t]*$/
lich/lich.rbw:3394: warning: character class has duplicated range: /^[\s\t]*#/
lich/lich.rbw:3408: warning: character class has duplicated range: /^([\d_\w]+):$/
lich/lich.rbw:3719: warning: shadowing outer local variable - filename
lich/lich.rbw:3719: warning: shadowing outer local variable - filename
lich/lich.rbw:3750: warning: shadowing outer local variable - filename
lich/lich.rbw:3750: warning: shadowing outer local variable - filename
lich/lich.rbw:3870: warning: character class has duplicated range: /([A-z][A-z0-9_\-]*)=(["'])(.*?)\2/
lich/lich.rbw:4137: warning: assigned but unused variable - shortest_distances
lich/lich.rbw:4148: warning: assigned but unused variable - previous
lich/lich.rbw:4159: warning: assigned but unused variable - previous
lich/lich.rbw:4168: warning: assigned but unused variable - previous
lich/lich.rbw:4473: warning: assigned but unused variable - failurere
lich/lich.rbw:4829: warning: shadowing outer local variable - dir
lich/lich.rbw:5375: warning: shadowing outer local variable - string
lich/lich.rbw:5390: warning: assigned but unused variable - script
lich/lich.rbw:5421: warning: assigned but unused variable - line_in
lich/lich.rbw:5429: warning: assigned but unused variable - line_in
lich/lich.rbw:5437: warning: assigned but unused variable - line_in
lich/lich.rbw:5517: warning: character class has duplicated range: /^[\r\n\s\t]*$/
lich/lich.rbw:6318: warning: character class has duplicated range
lich/lich.rbw:6319: warning: character class has duplicated range
lich/lich.rbw:6420: warning: shadowing outer local variable - s
lich/lich.rbw:6427: warning: shadowing outer local variable - s
lich/lich.rbw:6435: warning: shadowing outer local variable - s
lich/lich.rbw:6435: warning: shadowing outer local variable - s
lich/lich.rbw:6439: warning: shadowing outer local variable - s
lich/lich.rbw:6439: warning: shadowing outer local variable - s
lich/lich.rbw:6443: warning: shadowing outer local variable - s
lich/lich.rbw:6443: warning: shadowing outer local variable - s
lich/lich.rbw:6448: warning: shadowing outer local variable - s
lich/lich.rbw:6448: warning: shadowing outer local variable - s
lich/lich.rbw:6448: warning: shadowing outer local variable - s
lich/lich.rbw:6448: warning: shadowing outer local variable - s
lich/lich.rbw:6468: warning: shadowing outer local variable - s
lich/lich.rbw:7727: warning: assigned but unused variable - script
lich/lich.rbw:7852: warning: assigned but unused variable - line
lich/lich.rbw:9142: warning: shadowing outer local variable - arg
lich/lich.rbw:9600: warning: shadowing outer local variable - arg
lich/lich.rbw:9907: warning: shadowing outer local variable - arg
lich/lich.rbw:10222: warning: shadowing outer local variable - arg
lich/lich.rbw:10224: warning: shadowing outer local variable - arg
lich/lich.rbw:10226: warning: shadowing outer local variable - arg
lich/lich.rbw:10234: warning: shadowing outer local variable - arg
lich/lich.rbw:10241: warning: shadowing outer local variable - arg
lich/lich.rbw:10249: warning: shadowing outer local variable - arg
lich/lich.rbw:10256: warning: shadowing outer local variable - arg
lich/lich.rbw:10265: warning: shadowing outer local variable - arg
lich/lich.rbw:10272: warning: shadowing outer local variable - arg
lich/lich.rbw:10281: warning: shadowing outer local variable - arg
lich/lich.rbw:10294: warning: shadowing outer local variable - arg
lich/lich.rbw:10302: warning: shadowing outer local variable - arg
lich/lich.rbw:10329: warning: shadowing outer local variable - file
lich/lich.rbw:10402: warning: shadowing outer local variable - i
lich/lich.rbw:10470: warning: shadowing outer local variable - file
lich/lich.rbw:10549: warning: shadowing outer local variable - i
lich/lich.rbw:10756: warning: shadowing outer local variable - i
lich/lich.rbw:10836: warning: assigned but unused variable - port
lich/lich.rbw:10837: warning: assigned but unused variable - host
lich/lich.rbw:10838: warning: assigned but unused variable - key
lich/lich.rbw:10869: warning: assigned but unused variable - h
lich/lich.rbw:10966: warning: assigned but unused variable - real_launch_cmd
lich/lich.rbw:11207: warning: shadowing outer local variable - file
lich/lich.rbw:11230: warning: shadowing outer local variable - file
lich/lich.rbw:11598: warning: assigned but unused variable - client_thread
lich/lich.rbw:11697: warning: shadowing outer local variable - client_string
lich/lich.rbw:11493: warning: assigned but unused variable - game_quad_ip
lich/lich.rbw:11566: warning: assigned but unused variable - timeout_thr
lich/lich.rbw:1147: warning: method redefined; discarding old to_s
lich/lich.rbw:1188: warning: method redefined; discarding old to_s
lich/lich.rbw:1265: warning: method redefined; discarding old injury_mode
Something is off with my setup but I'm just not sure what: The Lich popup windows comes up and can verify my account credentials but is wiffing on the connection. I also noticed that in this debug log I have two global variable warnings that were not present in my earlier logs; I have erased and reinstalled multiple times so that's probably why that's changed.
2015-06-20 16:29:59: info: Lich 4.6.22
2015-06-20 16:29:59: info: Ruby 2.0.0
2015-06-20 16:29:59: info: x86_64-linux-gnu
2015-06-20 16:29:59: info: no force-mode info given
2015-06-20 16:30:12: info: gamehost: storm.gs4.game.play.net
2015-06-20 16:30:12: info: gameport: 10024
2015-06-20 16:30:12: info: game: WIZ
lich/lich.rbw:11309: warning: global variable `$frontend' not initialized
2015-06-20 16:30:12: info: launcher_cmd: /usr/bin/wine "C:\PROG~FBU\SIMU\Launcher.exe" /home/damon/lich/temp/lich7503.sal
2015-06-20 16:30:12: info: waiting for client to connect...
lich/lich.rbw:11425: warning: global variable `$_CLIENT_' not initialized
2015-06-20 16:30:42: error: timeout waiting for client to connect
Jemiquist
06-22-2015, 04:07 AM
So I was able to successfully connect to Lich using a custom launch command, but I am only able to use the Wizard FE. I get a "connect failed: gethostbyname() returned 11003" error when I use Stormfront.
Here is the debug log for the successful connection using the Wizard:
2015-06-22 01:33:11: info: Lich 4.6.31
2015-06-22 01:33:11: info: Ruby 2.0.0
2015-06-22 01:33:11: info: x86_64-linux
2015-06-22 01:33:11: info: no force-mode info given
2015-06-22 01:33:15: info: using custom launch command: Wizard.Exe /GGS /H127.0.0.1 /P%port% /K%key%
2015-06-22 01:33:15: info: using working directory for custom launch command: /home/nimrod/.wine/drive_c/Program Files/SIMU/WIZARD
2015-06-22 01:33:15: info: gamehost: storm.gs4.game.play.net
2015-06-22 01:33:15: info: gameport: 10024
2015-06-22 01:33:15: info: game: WIZ
./lich.rbw:11805: warning: global variable `$frontend' not initialized
2015-06-22 01:33:15: info: launcher_cmd: Wizard.Exe /GGS /H127.0.0.1 /P34911 /K[scrubbed key]
2015-06-22 01:33:15: info: launcher_cmd: /usr/bin/wine Wizard.Exe /GGS /H127.0.0.1 /P34911 /<my long character key string>
2015-06-22 01:33:15: info: waiting for client to connect...
2015-06-22 01:33:16: info: connected
2015-06-22 01:33:16: info: connecting to game server (storm.gs4.game.play.net:10024)
2015-06-22 01:33:17: info: connected
2015-06-22 01:33:17: info: dropping superuser privileges...
./lich.rbw:12335: warning: global variable `$offline_mode' not initialized
./lich.rbw:12142: warning: global variable `$offline_mode' not initialized
./lich.rbw:7057: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:6368: warning: global variable `$sftowiz_multiline' not initialized
./lich.rbw:6387: warning: character class has duplicated range
./lich.rbw:6430: warning: global variable `$strip_xml_multiline' not initialized
./lich.rbw:7057: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:7057: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:7057: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:7057: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:2517: warning: $SAFE=3 does no sandboxing; you might want to use $SAFE=4
autostart:95: warning: shadowing outer local variable - script_info
autostart:103: warning: shadowing outer local variable - script_info
/home/nimrod/.rbenv/versions/2.0.0-p645/lib/ruby/gems/2.0.0/gems/sqlite3-1.3.10/lib/sqlite3/database.rb:292:in `get_first_value' is calling SQLite3::Database#execute with nil or multiple bind params
without using an array. Please switch to passing bind parameters as an array.
Support for bind parameters as *args will be removed in 2.0.0.
/home/nimrod/.rbenv/versions/2.0.0-p645/lib/ruby/gems/2.0.0/gems/sqlite3-1.3.10/lib/sqlite3/database.rb:292:in `get_first_value' is calling SQLite3::Database#execute with nil or multiple bind params
without using an array. Please switch to passing bind parameters as an array.
Support for bind parameters as *args will be removed in 2.0.0.
./lich.rbw:2517: warning: $SAFE=3 does no sandboxing; you might want to use $SAFE=4
./lich.rbw:5783: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:7057: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:2517: warning: $SAFE=3 does no sandboxing; you might want to use $SAFE=4
infomon:690: warning: shadowing outer local variable - spell
./lich.rbw:7057: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:7057: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:7057: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:7057: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
infomon:824: warning: shadowing outer local variable - line
/home/nimrod/.rbenv/versions/2.0.0-p645/lib/ruby/gems/2.0.0/gems/sqlite3-1.3.10/lib/sqlite3/database.rb:292:in `get_first_value' is calling SQLite3::Database#execute with nil or multiple bind params
without using an array. Please switch to passing bind parameters as an array.
Support for bind parameters as *args will be removed in 2.0.0.
./lich.rbw:7057: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:7807: warning: instance variable @loaded not initialized
./lich.rbw:7057: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:2960: warning: instance variable @jump_label not initialized
./lich.rbw:7057: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:7057: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:7057: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:5783: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:7057: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:6661: warning: global variable `$offline_mode' not initialized
./lich.rbw:7057: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
2015-06-22 01:33:28: info: stopping scripts...
./lich.rbw:5783: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:5783: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
./lich.rbw:5783: warning: global variable `$_DETACHABLE_CLIENT_' not initialized
2015-06-22 01:33:29: info: saving script settings...
./lich.rbw:2198:in `block (4 levels) in <module:Settings>' is calling SQLite3::Database#execute with nil or multiple bind params
without using an array. Please switch to passing bind parameters as an array.
Support for bind parameters as *args will be removed in 2.0.0.
2015-06-22 01:33:29: info: closing connections...
2015-06-22 01:33:29: info: exiting...
And here is the unsuccessful connection using Stormfront where I get the 11003 connection error; Any pointers on this would be greatly appreciated:
2015-06-22 01:39:40: info: Lich 4.6.31
2015-06-22 01:39:40: info: Ruby 2.0.0
2015-06-22 01:39:40: info: x86_64-linux
2015-06-22 01:39:40: info: no force-mode info given
2015-06-22 01:40:49: info: using custom launch command: StormFront.exe /GGS /H127.0.0.1 /P%port% /K%key%
2015-06-22 01:40:49: info: using working directory for custom launch command: /home/nimrod/.wine/drive_c/Program Files/SIMU/STORM
2015-06-22 01:40:49: info: gamehost: storm.gs4.game.play.net
2015-06-22 01:40:49: info: gameport: 10024
2015-06-22 01:40:49: info: game: STORM
./lich.rbw:11805: warning: global variable `$frontend' not initialized
2015-06-22 01:40:49: info: launcher_cmd: StormFront.exe /GGS /H127.0.0.1 /P58922 /K[scrubbed key]
2015-06-22 01:40:49: info: launcher_cmd: /usr/bin/wine StormFront.exe /GGS /H127.0.0.1 /P58922 /<my long character key string>
2015-06-22 01:40:49: info: waiting for client to connect...
./lich.rbw:11922: warning: global variable `$_CLIENT_' not initialized
2015-06-22 01:41:19: error: timeout waiting for client to connect
For anyone interested, these are the steps I took to install Ubuntu 14.04 and 14.10 on an HP Chromebook 14 using Crouton. This example is using 14.10:
Step One:
sh ~/Downloads/crouton -t lxde,xiwi,keyboard,extension,audio,xorg -a x86 -r utopic
More information on this process can be found here: https://github.com/dnschneid/crouton and here: https://gorails.com/setup/ubuntu/
Step Two:
In this example I am using RBENV to install Ruby; You therefore will not need to use the 'sudo' command when installing gems.
mv /sbin/initctl /sbin/initctl.bak && ln -s /bin/true /sbin/initctl && apt-get install --no-install-recommends && mv /sbin/initctl.bak /sbin/initctl && exec /prepare.sh
sudo apt-get update
sudo apt-get install --no-install-recommends software-properties-common
sudo add-apt-repository ppa:ubuntu-wine/ppa -y && sudo apt-get update
sudo apt-get install --no-install-recommends git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev wine1.7:i386 unzip libsqlite3-dev
cd
git clone git://github.com/sstephenson/rbenv.git .rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
exec $SHELL
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
exec $SHELL
git clone https://github.com/sstephenson/rbenv-gem-rehash.git ~/.rbenv/plugins/rbenv-gem-rehash
Step Three:
rbenv install -v 2.0.0-p645
rbenv global 2.0.0-p645
ruby -v
echo "gem: --no-ri --no-rdoc" > ~/.gemrc
gem install bundler
gem install sqlite3 gtk2 --no-ri --no-rdoc
wget http://www.play.net/software/lnchInst.exe
wget https://lichproject.org/download/lich-4.6.22.zip
unzip lich-4.6.22.zip
wine lnchInst.exe
ruby -v lich/lich.rbw
Step Four:
Make changes to custom launch command via Lich:
ruby lich/lich.rbw
(enter custom launch command) "/home/[Your User Name]/.wine/drive_c/Program Files/SIMU/WIZARD/Wizard.Exe" /GGS /H127.0.0.1 /P%port% /K%key%
(enter working directory for command) /home/[Your User Name]/.wine/drive_c/Program Files/SIMU/WIZARD
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.