PDA

View Full Version : Lord Of The Rings Online (LOTRO)?



Pages : [1] 2 3 4 5 6 7 8 9 10 11

handy
March 17th, 2007, 08:52 AM
I have a Beta testing version of LOTRO (http://www.lotro.com/), it installed ok with Cedega, but I can not get it to run...

Has anyone been able to run LOTRO (http://www.lotro.com/), via Cedega or Wine?

Thanks in advance...

jefferson101
March 23rd, 2007, 12:09 AM
I also have lotro beta and I'm trying to do the same thing via wine. This is the first time I am using wine however, and so I don't really know what I'm doing. It seems to have installed ok but when I run it I get an error that says
"install the Windows version of Mono to run .NET executables"
Any ideas on how to do this? I tried installing mono via synaptic but that didn't work, so now I'm downloading the windows version of mono and gonna try to install that via wine. Will this work?

handy
March 23rd, 2007, 09:18 AM
Good on you! :)

Please let us know how you go in this thread?

thom_raindog
March 27th, 2007, 09:11 AM
Any success here?

the.unclean.cpp
March 27th, 2007, 09:23 AM
Is LOTRO free?

rejser
March 27th, 2007, 09:42 AM
Monthly fee when it arrives.
Mono don't work to good in wine yet if I remember correctly
Damn it, I also applied for the beta, grrr.

handy
March 27th, 2007, 12:22 PM
Without having played it, everything about the game looks like it is a winner.

I will NOT put a windows drive back in my machine to play it though!

willskills
March 27th, 2007, 02:17 PM
I signed up for the beta too - like handy; I won't be installing windows to play this.

I want a proper PvP orientated MMORPG though; I miss DaoC for that. I played UO from beta, then started playing DaoC (which went down the pan after the third expansion)

thom_raindog
March 29th, 2007, 07:19 AM
If you look for a PvP-oriented MMORPG check Warhammer Online out.

I reeeeeeally hope, LotrO will work on linux somehow!

Burkey
April 5th, 2007, 12:47 PM
I just checked my email and had a beta key sitting there for a couple of weeks.. oops. Anyway, trying to d/l the image now except my router/firewall does not like bittorrent.. argh! I dont suppose there is an ftp/http mirror somewhere that someone knows of?

I will be testing on both my desktop and laptop.. one nvidia and one ati. I also am on the Cedega beta testers list so will prob try with that too

zappa420
April 5th, 2007, 02:25 PM
the lotro stress test i participated in was really boring.

if you are looking for good pvp look at Shadowbane. Its now free. Outside of Neocron which was a fpsmmorpg it has had the best pvp I've played and I've played many of em.

Shadowbane is opengl so if you're better at wine then I am (and who isnt?) maybe you could get it to work on a linux box.

fktt
April 5th, 2007, 08:32 PM
if you are looking for good pvp look at Shadowbane. you sure its now free? http://www.shadowbane.com/us/

edit: my bad >> http://chronicle.ubi.com/newspost.php?id=15088

NICU
April 6th, 2007, 02:52 PM
Hi, I'm signed up for the open Beta which has already started. I installed LOTRO and when I try to run it I get this error message "install the Windows version of Mono to run .NET executables"

I'm not sure exactly what it means but I will do some looking around. If anyone else already has dealt with this error please let me know. If I find a solution to make it work I will post it to this thread.

Burkey
April 9th, 2007, 02:45 AM
I got closer with wine, was able to install mono for windows, however the launcher appears to use a windows-only form (System) which Mono I think does not have (I am sketchy on this... not a Mono expert)

As for Cedega, I did not bother trying, Wine will no doubt have better support for C#/Mono/whatever Microtard calls it.

Bit dissappointed that Turbine chose to go with C# actually, makes non-windows users very unhappy campers, although since C# is "meant" to be portable would make ti very easy to "port" the launcher and fronted to a Mono compatible API and then we could run those components natively.

Bear in mind this is the Launcher, not the game! If you could somehow create the init-string you could probably attempt to run lotroclient.exe directly. That would be written in C so we would stand a good chance there.

NICU
April 9th, 2007, 02:21 PM
I installed Mono and ran into the same problems the previous poster had. I setup a dual boot so now I have an XP partition and installed LOTR on there. The game barely works in Windows, that C# form looks like its a prototype, not a game launcher. I'm pretty disappointed, their servers were very laggy all weekend, and the UI needs a lot of work. I would suggest sticking with WoW until LOTR works in Linux.

Sinistral
April 13th, 2007, 06:39 PM
Bear in mind this is the Launcher, not the game! If you could somehow create the init-string you could probably attempt to run lotroclient.exe directly. That would be written in C so we would stand a good chance there.

Right, you need to pass the correct settings to the lotrocliient.exe like account name, server, maybe ports and somewhat else.
Europe early access starts tomorrow and I'll then try to find out how a valid argument line looks like.

The problem maybe that there is no argument to pass a password to the client, but instead something called glsticket which maybe somethng that is temporarily created when the Launcher does the handshake with the login server. Found a similar called thing in the "TurbineLauncher.exe.config" and an argument called --authserverurl which defines "Auth server URL for refreshing the GLS ticket." Maybe rather complicated to sort that out...

AndrewRiedi
April 13th, 2007, 11:49 PM
In regards to the Mono/.Net error, you will need to install Mono in Wine to have any chance of it working at all. Currently, Mono doesn't run very well in Wine if I remember correctly. However, there is good news, there is a GSoC project to integrate Mono with Wine.

Look here (http://code.google.com/soc/wine/appinfo.html?csaid=E6B0675336F21813) for more information. Hopefully by the end of summer Wine will be able to run Mono/.Net applications. (ie. this game.)

rainbow
April 14th, 2007, 08:25 AM
seems the error is always relate to mono or window version !
so anybody solve the problem ?

Lord_Butler
April 19th, 2007, 11:46 PM
Bit dissappointed that Turbine chose to go with C# actually, makes non-windows users very unhappy campers, although since C# is "meant" to be portable would make ti very easy to "port" the launcher and fronted to a Mono compatible API and then we could run those components natively.

Bear in mind this is the Launcher, not the game! If you could somehow create the init-string you could probably attempt to run lotroclient.exe directly. That would be written in C so we would stand a good chance there.

I have been messing around with the lotroclient.exe file in the command line with Windows and have made some progress dissecting the arguments needed to launch just the client. Here is what I have discovered:

If you just run the client from it's location by itself, it should return an error message then it makes a handy little log file for you called "lotroclient.txt" in the same folder. I opened it up and it told me I need to provide it with an account name.

Next I tried the command "lotroclient.exe -a <MyAccountName>" and it gives me another error. This time it tells me I need to provide a host name. So it was recognizing my account name. I figure, what good is the account name without my password, so I try "lotroclient.exe -a <MyAccountName> -p <MyPassword>" and it gives me the same error asking for host name. Great!

Now I just run "lotroclient.exe -a <MyAccountName> -p <MyPassword> -h <Guessing a hostname>" and it launches the client without running the launcher first!!! It does start the authentication process, but it doesn't get too far before the screen blacks out, offering only a "Quit" button to exit, and this time... no error log to help me out.

I feel like I'm 95% there, but I need to figure out the format for the hostname, so any guesses guys??

-Lord Butler

AdrianC
April 23rd, 2007, 04:25 AM
I took your suggestions and maybe got a little further.

lotroclient.exe -a <MyAccount> -p <MyPassword -h myaccount.turbine.com

Then it faulted and said it couldn't read the data files, maybe I bolloxed them trying to decompile them. Dammit, re-installing and I'll tell you how I go.

Ado

AdrianC
April 23rd, 2007, 04:38 AM
Re-installed the game, same error.

The message is:

"Can't open the data files. Check that they exist and that you have permission to write to them. The program will now exit. [201]"

Any ideas?

Looks to me like it's looking for the updated game data files, which is what the Invoker does, before it gathers your login details, it downloads the updates.

Ado

Lord_Butler
April 23rd, 2007, 10:26 PM
I know the game had an update on the 19th, did you download that update? Maybe the game is looking for those and won't accept your data files. Other than that, I have no clue what that error could mean.

rejser
April 23rd, 2007, 10:43 PM
Neither I had success in running the beta. But since it is in dx based on .net C# it don't feel like a linux project at the moment.
But I for one won't continue paying for my account when the beta expires, been with the game for a couple of months and absolutely won't miss it.

Silenz
April 26th, 2007, 09:21 AM
if I try it with:"wine TurbineLauncher.exe" after installing MONO I get


fixme:win:EnumDisplayDevicesW ((null),0,0x61f1f0,0x00000000), stub!
fixme:exec:SHELL_execute flags ignored: 0x00000100

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.ArgumentException: FontFamily wasn't found.
at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000]
at System.Drawing.FontFamily..ctor (GenericFontFamilies genericFamily) [0x00000]
at (wrapper remoting-invoke-with-check) System.Drawing.FontFamily:.ctor (System.Drawing.Text.GenericFontFamilies)
at System.Drawing.FontFamily.get_GenericSansSerif () [0x00000]
at System.Windows.Forms.Theme..ctor () [0x00000]
at System.Windows.Forms.ThemeWin32Classic..ctor () [0x00000]
at System.Windows.Forms.ThemeEngine..cctor () [0x00000] --- End of inner exception stack trace ---

at <0x00000> <unknown method>
at System.Windows.Forms.Control.get_DefaultFont () [0x00000]
at System.Windows.Forms.Control.get_Font () [0x00000]
at System.Windows.Forms.Form..ctor () [0x00000]
at System.Windows.Forms.MessageBox+MessageBoxForm..ct or (IWin32Window owner, System.String text, System.String caption, MessageBoxButtons buttons, MessageBoxIcon icon) [0x00000]
at (wrapper remoting-invoke-with-check) MessageBoxForm:.ctor (System.Windows.Forms.IWin32Window,string,string,S ystem.Windows.Forms.MessageBoxButtons,System.Windo ws.Forms.MessageBoxIcon)
at System.Windows.Forms.MessageBox.Show (IWin32Window owner, System.String text, System.String caption) [0x00000]
at com.turbine.launcher.Launcher.Main () [0x00000]
_______~/HdRO$ err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not registered
err:ole:CoGetClassObject no class object {9a5ea990-3034-4d6f-9128-01f3c61022bc} could be created for context 0x1
fixme:win:EnumDisplayDevicesW ((null),0,0x61e5f0,0x00000000), stub!

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.ArgumentException: FontFamily wasn't found.
at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000]
at System.Drawing.FontFamily..ctor (GenericFontFamilies genericFamily) [0x00000]
at (wrapper remoting-invoke-with-check) System.Drawing.FontFamily:.ctor (System.Drawing.Text.GenericFontFamilies)
at System.Drawing.FontFamily.get_GenericSansSerif () [0x00000]
at System.Windows.Forms.Theme..ctor () [0x00000]
at System.Windows.Forms.ThemeWin32Classic..ctor () [0x00000]
at System.Windows.Forms.ThemeEngine..cctor () [0x00000] --- End of inner exception stack trace ---

at <0x00000> <unknown method>
at System.Windows.Forms.Control.get_DefaultFont () [0x00000]
at System.Windows.Forms.Control.get_Font () [0x00000]
at System.Windows.Forms.Form..ctor () [0x00000]
at Invoker.Invoker..ctor () [0x00000]
at (wrapper remoting-invoke-with-check) Invoker.Invoker:.ctor ()
at Invoker.Invoker.Main () [0x00000]

Did you get any further with runnig the client directly? maybe we could ask Codemasters for help with the parameters for the lotroclient.exe?
http://community.codemasters.com/forum/forumdisplay.php?f=737

Xe_Sn@kE
April 29th, 2007, 10:16 PM
any progress on this?
i'm gonna buy it tomorrow.
so it would be nice if anyone could make a short "howto" ^^
i'm been using linux for about 1 month so i guess i'm a noob so..
^^

AdrianC
April 29th, 2007, 10:52 PM
Hi guys,
No progress, tried Cedega 6.0 and MONO installed in the same Cedega-space as LOTRO. Nothing. I've looked at the way LOTRO works on Winblows....

TurbineInvoker calls TurbineLauncher, TurbineLauncher gets all the patches, updates and latest game files automatically BEFORE it prompts for a Username and Password.

I think we're actually pretty close with the lotroclient.exe arguments, but can get no confirmation from the developers, of course.

I've also tried to find manual downloads to update the game files and program binaries, no success. I'm pretty sure I struck the same thing in the past with DnDOnline.... Part of what TurbineLauncher seems to do is validate that the client is at the same patch level as the server and it doesn't look like I can do that manually. :(

For now I dual-boot Winblows just for few choice games, LOTRO and NWN2.

*sob*

Ado

Lucifa
April 30th, 2007, 04:18 PM
Registered just to post this:
http://community.codemasters.com/forum/showthread.php?p=2509092#post2509092

This guy might have something, crashing the launcher/client so that it generates an errorlog with the commands it passed through to lotroclient.exe
Clearly some more clever people in here than me, anyone want to give it a go? :)
Or perhaps trying putting the server name in, where it's now askng for hostname.

ZbbFufu
May 2nd, 2007, 01:39 PM
Hi,
Has someone tried to replace lotroclient.exe by a home made program which display command line arguments ?
I haven't got LOTRO, but I could develop such program, if there is no check made by launcher on this exe.

hobieone
May 2nd, 2007, 03:44 PM
lord of the rings requires .net and unfortunatly thats somethingneither wine or cedega does atm. if you havn't played lord of rings yet. outside from the theme the game is rather small and shallowand on an engine older than everquest 2 it the same engine as asheron's call 2 and dungeon and drogons online uses. and overall not very imppresive. i know ther are other onthere forums that say the same thing the game in missing something that make it both immersive and addicting. i just could not get hooked into it like i did with other lord of the rings and the movies. i found both everquest 2 and guild wars much more engaging. and lord of the ring rather a let down after looking forward to it then testing it. if you want a good mmorpg that runs well in linux with good graphics i go with wow or guildwars graphics for both games are better than lord of the rings. and if you looking for pvp action guildwars way of pvp is the most fun and flexible plus alot of different pvp action guild vs guild ,competive, 1 on 1 rankings and tournament plus it has a good story line and no monthly feess just have to buy one of the campaigns which is worth th 50 bucks. altho like lord of the rings everquest 2 wont run under wine or cedega either so i'm stuck dual booting yet

SNy
May 2nd, 2007, 07:59 PM
Heh, this thread is quite what I was looking for.

Funnily enough, I had written a simple program to dump the command line arguments two days ago and after fiddling with it, came up with the following routine to proceed the dump.

Start the launcher normally.
Give your login credentials.
Then it will prompt you with the list of servers. Select the one you play on.
Then, BEFORE launching the game, replace lotroclient.exe with the dumping program.
Launch the game. The launcher will die, but the program will have written its dump out (into a file, in my case).

Now, that didn't help me much, because apparently, the login credentials seem to be challenge/response based so they change every time.

This is what one dump of a connection attempt to [DE] Morthond looks like:
,--
| LOTRO params:
| 0 /cygdrive/e/Lord of the Rings Online/lotroclient
| 1 -a
| 2 <account, this is a number, not the account name>
| 3 -h
| 4 195.33.152.178:9000
| 5 --glsticketdirect
| 6 <thetickethash>
| 7 --chatserver
| 8 195.33.152.42:2900
| 9 --rodat
| 10 off
| 11 --language
| 12 de
| 13 --bugurl
| 14 http://lotro-europe.com/bug.php
| 15 --surveyurl
| 16 http://www.lotro.com/gamesurvey.php
| 17 --supporturl
| 18 http://195.33.152.18/TSSTrowser/Trowser.aspx?GameType=LOTROEU
`-------------------------------------------------------------------------------------------------

Now, due to some ideas in this thead right here, I choose to have a go at it 5 minutes ago, but instead of using --glsticketdirect and the hash (didn't try that but I suspect it to fail, see above), I supplied -p <plaintext-password> and BEHOLD it worked. At least, it told me it connected and authenticated well, but then "lost connection to server".

HOWEVER, I just tried the launcher and there was an update which it downloaded. The update has now been installed.

I will try it again now.
Will keep you posted.

SNy

--
Update.
Hm. There seems to be a bit magic behind it. Failed again, but the launcher failed too. It seems that there is a process stuck, now, at any rate, trying to access an https ressource in the IP range indicated in the -h part above. Either the patch has broke something and the servers are having trouble or it doesn't quite like to be fiddled with. Will keep you posted.

--
Update 2.
Apparently, I was a bit hasty about the authentication working. It still drops me out after "trying to authenticate". I looked at what happens with the net, though, and it seems to use plain http to get the server info and https to authenticate. Maybe sniffing what it sends/receives off the network (the address doesn't work in a browser, seems likely they use a special user-agent setting) can get us an alternate method of launching the beast.

--
Update 3.
Hah. Google search really does yield interesting results. GLS auth server will sent you to a readily available https ressource (the one obviously invoked by the launcher) where you can actually POST your username and password and GET THE TICKET hash. Wow. I will try this ASAP. Maybe it's nothing more than a few wrappers around HTTP and a simple command line launcher is born.

handy
May 3rd, 2007, 04:45 AM
@ SNy:

I think you are having more fun trying to get into the game than you will have playing it! :)

SNy
May 3rd, 2007, 07:41 PM
OK.
Here we go. Made a script that authenticates against the GLS auth server and (tries to) start the game.
Still fails, "authentication server not available". So it's not finished, but a good step has been done.



#!/bin/bash

# attempt at launching LOTRO client from CLI
# to be used with wine/cedega under GNU/Linux or *BSD
#
# (C) 2007 SNy <SNy@bmx-chemnitz.de>


echo -n "account: "
read account

# pass, read silent (no echo)
echo -n "password: "
read -s pass
echo ""

# "submit" the login form via POST, will download a file called "LoginAccount" (delete this prior to d/l)
rm -f LoginAccount
wget -q --post-data="username=${account}&password=${pass}&additionalInfo=&submit=Invoke" https://lotroeugls.com/GLS.AuthServer/Service.asmx/LoginAccount

# extract the account id from the file
accountNum=`grep -h "<Name>" LoginAccount | sed -e "s/^.*<Name>//;s/<\/Name>.*\$//"`

# extract the ticket from the file
glsTicket=`grep -h "<Ticket>" LoginAccount | sed -e "s/^.*<Ticket>//;s/<\/Ticket>.*\$//"`


# fire up the client
# ToDo: get the server info as well, from http://lotroeugls.com/GLS.DataCenterServer/Service.asmx
lotroclient \
-a $accountNum \
-h 195.33.152.179:9000 \
--glsticketdirect $glsTicket \
--chatserver 195.33.152.42:2900 \
--rodat off \
--language de \
--bugurl http://lotro-europe.com/bug.php \
--surveyurl http://www.lotro.com/gamesurvey.php \
--supporturl http://195.33.152.18/TSSTrowser/Trowser.aspx?GameType=LOTROEU


# permission granted to use and modify, as long as original copyleft notice is retained
# (C) 2007 SNy <SNy@bmx-chemnitz.de>
#
# this script is based on
# . dumping command line arguments from the original .NET launcher
# . the turbine "GLS auth server" description
# and inspired by
# . the need to circumvent the stupid .NET launcher
# . a loose couple of thoughts from ubuntuforum members


If anyone has ideas, feel free to share them.

SNy

Oh, one thing, I just tested this under cygwin and the wget there complained (silently) about not being able to verify local issuer certificate. You might need to add the option --no-check-certificate to wget to get it working.

--
Update.
Hm, this sucks. Apparently, the launcher keeps another connection to open as long as it lives. There is a bunch of stuff going on, including a HTTP loginqueue request/response cycle. I don't quite know what to make of this.
It seems to be necessary to also open this connection to somehow allow for the authentication process of the game client itself to succeed.

--
UPDATE: SUCCESS!
AWESOME. I figured it out! What needs to be done is to connect to the WorldQueue and "take a number" from there. Did it. WORKS NOW. I am online under windows BUT WITHOUT USING THE LAUNCHER as I write this.

SNy
May 3rd, 2007, 10:28 PM
OK, since it now works under windows without the launcher, I repost the script.
Note that it needs urlencode.sh available on the net to encode the ticket for the WorldQueue server.



#!/bin/bash

# launch LOTRO client from CLI
# to be used with wine/cedega under GNU/Linux or *BSD
#
# URL-encoding is necessary, so get urlencode.sh from the net,
# eg. from http://www.shelldorado.de/scripts/cmds/urlencode.txt
#
# (C) 2007 SNy <SNy@bmx-chemnitz.de>


echo -n "account: "
read account

# pass, read silent (no echo)
echo -n "password: "
read -s pass
echo ""

# "submit" the login form via POST, will download a file called "LoginAccount" (delete this prior to d/l)
rm -f LoginAccount
wget -q --post-data="username=${account}&password=${pass}&additionalInfo=&submit=Invoke" https://lotroeugls.com/GLS.AuthServer/Service.asmx/LoginAccount

# extract the account id from the file
accountNum=`grep -h "<Name>" LoginAccount | sed -e "s/^.*<Name>//;s/<\/Name>.*\$//"`

# extract the ticket from the file
glsTicket=`grep -h "<Ticket>" LoginAccount | sed -e "s/^.*<Ticket>//;s/<\/Ticket>.*\$//"`


# get server info
rm -f GetDatacenters
wget -q --post-data="game=LOTROEU" http://lotroeugls.com/GLS.DataCenterServer/Service.asmx/GetDatacenters
# gets an xml-file containing the servers with their corresponding settings
# this would need to really be parsed to do anything useful with it
# for now, stick to just use the static stuff
# TODO: use this dynamic info

# this is the world login queue, take a number so that the client can enqueue and authenticate
# this step is a bit strange, but it works now
# note that the same target host also carries the patch server (port 5015) which is also HTTP but seems to be encrypted
glsTicketURLencoded=`echo "${glsTicket}" | sh urlencode.sh -- -`
rm -f login_queue.php
wget -q --post-data="command=TakeANumber&subscription=${accountNum}&ticket=${glsTicketURLencoded}&ticket_type=GLS&queue_url=http%3a%2f%2f10.128.194.32%3a7080%2fLogi nQueue" http://195.33.152.250/login/login_queue.php


# fire up the client
# ToDo: get the server info as well, from http://lotroeugls.com/GLS.DataCenterServer/Service.asmx
./lotroclient.exe \
-a $accountNum \
-h 195.33.152.179:9000 \
--glsticketdirect $glsTicket \
--chatserver 195.33.152.42:2900 \
--rodat off \
--language de \
--bugurl http://lotro-europe.com/bug.php \
--surveyurl http://www.lotro.com/gamesurvey.php \
--supporturl http://195.33.152.18/TSSTrowser/Trowser.aspx?GameType=LOTROEU


# permission granted to use and modify, as long as original copyleft notice is retained
# (C) 2007 SNy <SNy@bmx-chemnitz.de>
#
# this script is based on
# . dumping command line arguments from the original .NET launcher
# . the turbine "GLS auth server" description
# and inspired by
# . the need to circumvent the stupid .NET launcher
# . a loose couple of thoughts from ubuntuforum members


I am now going to give it a try under linux.
Will report back later.

SNy

canellaf
May 4th, 2007, 10:26 AM
Your work is impressive !

I know I'm on an Ubuntu forum and probably my answer should be there but you seem to be the only guys who can help me.

I'm behind a firewall and a proxy. I needed to be able to launch LOTRO without the launcher to have a chance to bypass the proxy.

I use sockscap for World of Warcraft (for example) and it works very well. Do you know if I can find something similar in UNIX to "sockscap" lotroclient.exe when you run it ?

aaniceto
May 4th, 2007, 03:48 PM
Hi,

Any news SNy? Please let us know if its working .... :)

Nice job.

Thanks,
Alexandre

SNy
May 4th, 2007, 07:32 PM
Cheers, guys.

I can't get the client to find its data files under linux, currently.
Thing is that I am running 32bit cedega on 64bit ubuntu and strace log has something about leaving chroot. I think it somehow manages to run outside the working directory but haven't been able to localize the exact problem yet. Will go right ahead, dumping pwd and arguments again against my fake lotroclient in the actual cedega instance, to see if that gives me a clue.

You will get the update as soon as I am able to provide it. :)

In the meantime, I have put up a small prototype page on
http://bmx-chemnitz.de/~mfr/LOTRO/

SNy

--
Update.
Man, I figure this whole launcher thing out but now I cannot get the damn client to find its data files under cedega. FSCK.
If someone has any idea why it would complain about being unable to open the data files (error 201), please drop me a line or two.
Should Work Fine (TM), access rights look good. Opening, even writing files works fine (verified with the parameter dumper).

zukakog
May 5th, 2007, 03:28 AM
You've certainly got me excited! The only thing I have on my Windows drive is LotRO. I'd love to be able to play this in Linux. I'm glad there are people out there like you, to help people like us. There's only one kind of dump that I know how to do, and it doesn't have anything to do with computers.

ArgentWolf
May 8th, 2007, 04:02 AM
I just had to drop by and offer congratulations, too. That's truly amazing work, SNy. I'm not going to rush you for an update but should you manage to get it running under Linux, Linux will then have support for one of the latest (and likely greatest, I think) MMO players on the scene. More of an excuse to jump to Linux for people that haven't yet! And an excuse for me to finally get rid of my Windows drive. ;p

Cracking stuff. I'll certainly be watching for further updates, then.

prankst3r
May 8th, 2007, 04:42 AM
Thought I would drop by to say LOTRO installs fine on Crossover Office with no issues (from the DVDs), but will not launch. I'll have to mess around with SNy's launcher script tomorrow and see if I have any luck.

Lucifa
May 8th, 2007, 01:39 PM
Your work is impressive !

I know I'm on an Ubuntu forum and probably my answer should be there but you seem to be the only guys who can help me.

I'm behind a firewall and a proxy. I needed to be able to launch LOTRO without the launcher to have a chance to bypass the proxy.

I use sockscap for World of Warcraft (for example) and it works very well. Do you know if I can find something similar in UNIX to "sockscap" lotroclient.exe when you run it ?

Try using a different program to sockify.
For instance Proxify and Hummingbird SOCKS client have the option to socksify *any* program that launches, regardless of how or when it runs.
Thats on windows though, not sure if there are unix versions sorry.


FAO: SNy - will your code/program work on windows do you know? I'm not actually a unix/linux user, I just found this thread in a google while trying to bypass the launcher. Any help you can give would be muchly appreciated.

Xaimas
May 8th, 2007, 02:08 PM
I don't really like MMO's TBH, i had WoW but i canceled my account because i became too adicted, those are the only problems of MMO's.

handy
May 8th, 2007, 05:34 PM
Thought I would drop by to say LOTRO installs fine on Crossover Office with no issues (from the DVDs), but will not launch. I'll have to mess around with SNy's launcher script tomorrow and see if I have any luck.

Same as Cedega...

Sinistral
May 8th, 2007, 05:52 PM
I am currently not finding where I had copied this to, but on the command line options help screen of the beta client I saw an option to pass the directory of the games data-files to the launcher. I will search further or try to reinstall the beta client to get that options name and post it here.

xoriat
May 10th, 2007, 03:16 PM
Hi SNy

i think you have to copy the hole system32 folder from windows
into the lotro folder. Than copy the files from the cedega/system32
in the same folder. Now you maybe can start lotro.

Another idea. use wine.
look here: http://cedegawiki.sweetleafstudios.com/wiki/Dungeons_and_Dragons_Stormreach

the xoriat

Sinistral
May 11th, 2007, 09:10 AM
Seems I misread something or I just can't find that option anymore.
But anyway - here are the cl-options from the Beta lotroclient.exe:

-a, --account : <string>: Specifies the account name to logon with.
--authserverurl : Auth server URL for refreshing the GLS ticket.
--bugurl : <url> : Specifies the url that should be used for reporting bugs.
--chatserver : Specify the chat server to use.
--connspeed : <0.0-640.0>:Connection speed in Kilobits/sec for the server-client connection. 0 Defaults to speed searching
-r, --create : <name> : Character Name you would like to create/play
--dbwlib : <wlib DID> : Specifies the exact wlib did contained in the datfiles to use.
--debug : <32 bitfield>: Controls what kinds of debug outputs are enabled.
--glsticket : Load gls ticket data from specified registry key.
-z, --glsticketdirect: <string>: Specify ticket data.
--glsticketlifetime: The lifetime of GLS tickets.
--HighResOutOfDate: Tells the client that the high resolution texture dat file was not updated. We will not switch into very high texture detail..
-h, --host : [host/IP]:Specifies where to find the server to talk to.
--keymap : <file> : Base file for the keymap. Will also look for <filename>c.extension and <filename>s.extension for meta keys
--language : <string>: Language to run the client in.
-m, --mps : <monster play session>.wc : Monster Play Session to start with
--nodbwlib : Tells the client not to use the database cache for locating the wlib. Instead, the wlib will be loaded directly from the hard drive.
--outport : <1-65535>: Specify the outgoing network port to use.
-p, --port : <1-65535>: Specify the server port to contact. See 'host'
--prefs : <string>: Specify the preferences file to use.
--rodat : Opens the DAT files readonly
--safe : Force SAFE display settings.
-s, --specify : <race>,<class> : Race Class pair for a character you would like to create
--supporturl : <url> : Specifies the url that should be used for in game support.
--surveyurl : <url> : URL to use for quest surveys
-u, --user : <name> : Character Name you would like to play
--voicenetdelay : <int>: Specifies the voice network delay threshold in milliseconds.
--voiceoff : Disables the Voice chat system.
--webjournalurl : <url> : URL to use for the web journal
--wfilelog : <64-bitmask> : activates file logging for the specified weenie event types. Alternately, logtype enums seperated by ',' are enummapped and or'ed together.
--wprintlog : <64-bitmask> : activates print logging for the specified weenie event types. Alternately, logtype enums seperated by ',' are enummapped and or'ed together.

The 201 error is something users on windows also have. It sounds in the offical LotRO forums that especially Vista users where affected by this.
It was almost always a problem with permissions. lotroclient.exe needs the rights to write to its data files.
Although I think I set the write permissions right, it doesn't work yet.

On a side note to SNy: Your very nice script (Many thanks for your work!) does call lotroclient with the language option set to "de", So users of english or froncais clients may have to change this to "en" or "fr".

aaniceto
May 11th, 2007, 11:48 AM
The only option i see there that gets my attention is: --rodat

anyway, just to make sure there is no problem in permissions, there is no problem doing:

chmod -R a+rwx lord_of_the_rings_folder

or.. why not .. in the / of the wine/cedega virtual system ? (not the / of the system).

another thing I told SNy by email, is to try to change "Lord Of The Rings" (folder name) to something like "lord_of_the_rings".

to try to avoid spaces under linux.

my 2 cents,

SNy
May 11th, 2007, 04:04 PM
Cheers guys,

have been on a business trip the last week, just came back in.

Regarding all the suggestions, BTDT to no avail.
Option "--rodat true" doesn't help the thing, permissions for all the files are OK (as I said, fake client can read and write). I think it somehow does try to read the stuff from elsewhere. Whereabouts still unknown.
I also renamed the folder to "LOTRO" just to be sure that the spaces didn't pose a problem, still a no-go.

I did read the thing about the system32 files over in the ddo thread, haven't tried that yet, though. Seems to be worth trying. Maybe later in the evening.
Also, interestingly, I can NOT install under cedega. It told me the same thing the launcher does "requires Windows NT" which I took in the way of the installer being .NET, too. Maybe it's the older cedega version I have. Hm.


Regarding the question of using the script on windows, that's what I use it for, ATM. You need to install cygwin (a unix-like environment with bash and all the GNU tools) and then you can simply run the script from the cygwin bash.

Sinistral
May 11th, 2007, 05:19 PM
Also, interestingly, I can NOT install under cedega. It told me the same thing the launcher does "requires Windows NT" which I took in the way of the installer being .NET, too. Maybe it's the older cedega version I have. Hm.

Have you tried to set the default OS to Win 2k or Win XP in the Cedega Options? It installed fine for me afterwards.
Edit: There is also a command line option for cedega you might want to try: -winver <win98|win2k|winxp|...>.


I did read the thing about the system32 files over in the ddo thread, haven't tried that yet, though. Seems to be worth trying. Maybe later in the evening.

Itried this today, followed the instructions exactly and all I got was a segfault when cedega tries to run lotroclient.exe. Haven't looked into this further, but most likely this should be an issue with at least one of the dll's. Have to investigate that way somewhat further.

Update: I tried a cedega command line option called -use-dos-cwd <path> to pass the working directory to use to cedega. However I have some prolems with it. The path to pass should be a dos like one, only wiith slashes instead of backslashes. When I try -use-dos-cwd c:/LotRO I get an error telling me the path was wrong (I also tried c:\LotRO, c:\\LotRO and also with succeeding slash or backslash, getting the same error).

aaniceto
May 14th, 2007, 03:53 PM
I found the following info on cedega release notes:

SimCity 4
---------
* To install the game, you must insert and mount the CD-ROM, and
use the following command line:
$ cedega -use-dos-cwd f:/ -- f:/autorun.exe


try to confirm if c: is your correct virtual drive on cedega.

just guessing,
ex: cedega -use-dos-cwd c:/lotro -- c:/lotro/LAUNCHER.sh

ajackson
May 15th, 2007, 10:44 AM
Well I've found a way around the 202 error, on my system it was complaining because it couldn't find client_local_English.dat I checked the LOTRO directory and there is a client_local_EN_GB.dat so I created a sym link to that called client_local_English.dat and tried the launcher script again (using wine 0.9.37) all I got was the output line of:

fixme:imm:ImmAssociateContextEx ((nil), (nil), 16): stub

Then I was returned to the command prompt, don't know if that helps anyone.

Sinistral
May 15th, 2007, 05:19 PM
try to confirm if c: is your correct virtual drive on cedega.

just guessing,
ex: cedega -use-dos-cwd c:/lotro -- c:/lotro/LAUNCHER.sh
That's weired. It seems -use-dos-cwd works more like "use this dos drive" as it only accepts arguments like c:/ , f:/ and so on, but never something with a path behind it.

I now also tried another way tolaunch the client using the -run option

I changed the commandline in the script to:

cedega -run LotRO "The Lord of the Rings Online" \
"-a $accountNum \
-h ${serverAdress} \
--glsticketdirect $glsTicket \
--chatserver ${serverChat} \
--rodat \
--language ${Language} \
--bugurl http://lotro-europe.com/bug.php \
--surveyurl http://www.lotro.com/gamesurvey.php \
--supporturl http://195.33.152.18/TSSTrowser/Trowser.aspx?GameType=LOTROEU"
where LotRO is the Game folder I created in Cedega and "The Lord of the Rings Online" the shortcut it should launch.
The shortcut itself I changed to point to lotroclient.exe instead of TurbineInvoker.exe. As the shortcut itself has set its working directory I wanted to try this way. But I still only get the 201 error complaining it is not able to write to its datafiles.
Please note if you want to use this commandline, that I inserted another environment variable called Language because I try all I do with a german and an english client.

Fitzy_oz
May 16th, 2007, 01:35 PM
Hi All, I would love to lend a hand with some testing unfortunately I can't seem to get Sny's script to work as it points to the eu gls server and I am in Australia, hence I cannot authenticate...

Any one know what the correct auth server is for over here or where I might be able to find it?

Sinistral
May 16th, 2007, 04:59 PM
Hi All, I would love to lend a hand with some testing unfortunately I can't seem to get Sny's script to work as it points to the eu gls server and I am in Australia, hence I cannot authenticate...

Any one know what the correct auth server is for over here or where I might be able to find it?

You should find it in <Path-to-your-Lotro-directory>\TurbineLauncher.exe.config.
In this XML-file is a line like
<add key="Launcher.DataCenterService.GLS" value="http://lotroeugls.com/GLS.DataCenterServer/Service.asmx" /> The value entry is your GLS Server.

You might also need to replace occurencies of LOTROEU in the script with the value of the line like this:
<add key="DataCenter.GameName" value="LOTROEU"/>

Tridion2000
May 17th, 2007, 10:56 AM
Is it possible to install on Win XP and then copy the directory over to Linux? Would that work as I could get it installed at a friend and then transfer it back.

Sinistral
May 17th, 2007, 02:52 PM
Shouldn't be a big problem as LotRO does only create one Registry entry about its version number.

handy
May 17th, 2007, 02:53 PM
Is it possible to install on Win XP and then copy the directory over to Linux? Would that work as I could get it installed at a friend and then transfer it back.

Installation is not the problem, it is getting the game to run in a mono .net can of worms...

There are some good thinkers on the job, so I'd just keep an eye on this thread. :)

Tridion2000
May 17th, 2007, 08:45 PM
Installation is not the problem, it is getting the game to run in a mono .net can of worms...

There are some good thinkers on the job, so I'd just keep an eye on this thread. :)

Not to worry, I've decided to go back to Windows as I've reached the end of my patience with Linux.

SNy
May 21st, 2007, 03:12 PM
So, I did not look into this too deep the last week, what I can say is that, oddly enough, the game reads its files fine under an old wine I forcably put onto this ubuntu 6.06 TLS 64 bit box.
It then cannot create meaningful visuals though and crashes with audio failure shortly after. This is due to missing a 32 bit libasound on said box, though. What I need to do is to install a new, preferably 32 bit, ubuntu with latest wine version to see if that helps anything.

If anyone comes up with any news after testing, please feel free to share reports.

I also got a few mails. One guy tried on OSX and got bitten by wget AFAICT. Hopefully my suggestion worked, lets see if we hear from him.
Other than that future improvements would involve reading the real client config to address your hints from above (LOTROEU and lotroeugls.com).

SNy

--
Update:

I just installed the latest i386-package of wine (0.9.37) from the winehq repository along with libasound and its dependencies.
No real visuals again, just the hint of some mouse pointer and probably loading animation in the bottom left and lots of these:

fixme:d3d:IWineD3DSwapChainImpl_Present Unhandled present options 0x1efec90/0x1efeca0

That's it for now, will try to replace them libs as indicated necessary for ddo. Update tomorrow.

sprocket1985
May 23rd, 2007, 12:02 PM
If you were getting a language data file error:
The language setting "en" is for the US client. "en_GB" works for us folk in Blighty.

Game starts now if set to Win 2000 or XP. Just get a black screen though.

sprocket1985
May 23rd, 2007, 01:07 PM
I tried this:
Copied Windows XP folder from my MS partition to drive_c/wine
Renamed wine's win folder to windowswine and the new one to windows
Copied contents of wine's win folder to the winXP one

Still no joy

Memory.Dump
May 23rd, 2007, 03:31 PM
not sure if this will help or hinder but I was on the LOTRO site and found a thread about starting in linux and bypassing the launcher and they mentione that the launcher acutally sends and auth ticket to the game to login, so due to that u will need to be able to run .NET 1.1 becuase they aren't sharing the authentication codes thread is here:

http://forums.lotro.com/showthread.php?t=60242&highlight=linux

that could be the missing componant from the sounds of things?

Sinistral
May 23rd, 2007, 04:46 PM
not sure if this will help or hinder but I was on the LOTRO site and found a thread about starting in linux and bypassing the launcher and they mentione that the launcher acutally sends and auth ticket to the game to login, so due to that u will need to be able to run .NET 1.1 becuase they aren't sharing the authentication codes thread is here:

http://forums.lotro.com/showthread.php?t=60242&highlight=linux

that could be the missing componant from the sounds of things?

This is already done by SNy's script and afaik it starts the game on windows machines. Just getting it to run on linux is the problem atm.

Memory.Dump
May 23rd, 2007, 05:13 PM
well I've been looking around on the error 201

and there seems to be 2 different possible solutions to this, first is permissions related to access the files...second seems to be a firewall or router issue, you can get the 201 error due to certain firewall and router configurations

so if the file permissions are all set right, having a firewall or router can kick the exact same error code and msg.

UPDATE: the specific files they mention are LOTRlauncher.exe and Turbineinvoker.exe ...not sure if either of these files are the ones that are bypassed, I don't have the game yet, my purchase of it will depend your guys extreme intelligance and success, I'm try trying to help with my little brain as best I can cause I would love to see success so I can go buy it

Sinistral
May 23rd, 2007, 06:59 PM
I got it running at least some bit: It shows the mouse cursor and th first screen, then it comes to the "Connecting to Authentication Server" and suddenly stops after the first attemp, displaying a blank (black) screen with an unclickable "Quit" button in the center of it.
Will look into this further.

I got this with wine-0.9.37 (.33 didn't work) from a Ubuntu package from the repositoy shown on the WineHQ page (http://www.winehq.org/site/download-deb).

Here is also the complete output wine gave me on the command line.

fixme:wave:ALSA_AddCaptureDevice Add support for DSCapture
fixme:d3d_caps:IWineD3DImpl_GetAdapterMonitor (0x17dd40): returning the primary monitor for adapter 0
fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
fixme:d3d:IWineD3DImpl_CheckDeviceMultiSampleType Quality levels unsupported at present
fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMe m (0x1a7ad8) : stub, simulating 64MB for now, returning 64MB left
fixme:d3d:IWineD3DDeviceImpl_SetSoftwareVertexProc essing (0x1a7ad8) : stub
fixme:wave:widDsCreate DirectSoundCapture not implemented
fixme:wave:widDsCreate The (slower) DirectSound HEL mode will be used instead.
fixme:dsound:DSOUND_MixOne problem with underrun detection (mixlen=17640 < primary_done=18700)
fixme:dsound:DSOUND_MixOne problem with underrun detection (mixlen=17640 < primary_done=17800)
err:dsound:DSOUND_MixOne underrun on sound buffer 0x86b48d0
fixme:d3d:IWineD3DDeviceImpl_ResourceReleased Vertex buffer released while bound to a state block, stream 0

One thing to add, the language selection seems to work flawless. Choosing de as language correctly gives me a "Verbindung zum Authentifikations-Server wird hergestellt" and "Verlassen" as the buttons text. :)

I currently think this is an issue with the Authentication process used inside the client. There seems to be something we are missing...

SNy
May 23rd, 2007, 07:45 PM
Ah well, about the lotro forums thing...
1) "You are not logged on", well I don't have an account.
2) Trying to register: "Sorry, registration has been disabled by the administrator.".
3) Choosing 'forgot password' (I haven't registered due to 2), but anyway)
-> "invalid email, contact the administrator"
4) contacting the administrator needs you to be logged in

Uh. Right.
I would so like to post the link to the launcher there... If anyone has an account there, PLEASE do so.

SNy

Fitzy_oz
May 24th, 2007, 04:36 AM
Ah well, about the lotro forums thing...
1) "You are not logged on", well I don't have an account.
2) Trying to register: "Sorry, registration has been disabled by the administrator.".
3) Choosing 'forgot password' (I haven't registered due to 2), but anyway)
-> "invalid email, contact the administrator"
4) contacting the administrator needs you to be logged in

Uh. Right.
I would so like to post the link to the launcher there... If anyone has an account there, PLEASE do so.

SNy

I do but it's in Australia / US - I can't seem to get you're script to work for it...

SNy
May 24th, 2007, 07:46 AM
Hm, OK, let's see.
As suggested by others earlier, it would be best to extract the gametype (currently LOTROEU) and DatacenterServer address from the client configuration file. I will see if I can find the time to do that in the evening.

Other than that, I don't know why it wouldn't work for Sinistral, as it works fine under the cygwin shell, which tells me it should all be there. Also, as I, too, used wine 0.9.37 from the winehq ubuntu package (for 6.06 TLS i386, manually put into lib32 on 6.06 TLS amd64) and did NOT get it to work, either I have used different graphics options that make it fail or it doesn't like the 64 bits environment. Damn.

SNy

Sinistral
May 24th, 2007, 08:38 AM
Hm, OK, let's see.
As suggested by others earlier, it would be best to extract the gametype (currently LOTROEU) and DatacenterServer address from the client configuration file. I will see if I can find the time to do that in the evening.

Other than that, I don't know why it wouldn't work for Sinistral, as it works fine under the cygwin shell, which tells me it should all be there. Also, as I, too, used wine 0.9.37 from the winehq ubuntu package (for 6.06 TLS i386, manually put into lib32 on 6.06 TLS amd64) and did NOT get it to work, either I have used different graphics options that make it fail or it doesn't like the 64 bits environment. Damn.

SNy

Well what I think just now is that it can't reach its server due to some weired issue with my firewall as this happens at searching for the auth server, will test this more today's evening.

What I have figured out, too is, that it seems you can't use FakeFullscreen or windowd mode on wine (both gave me an error).
On first launch lotroclient.exe should create ~/The Lord of the Rings Online/UserPreferences.ini, you might need to edit this and disable FakeFullscreen as it seems to be set to true by default.

SNy, have you tried to run the lotroclient.exe with the --safe parameter, which sets the graphics to low defaults.

As for the script I have updated it on my side to get the gametype and URL from the datafiles. I just need to clean it up a bit. Also I havd implemented a language selection at the beginning, now trying to let the script figure out by itself which languages are installed (simply by getting which client_local_XX.dat's are installed).

If you don't mind I would post it here when finished or send it to you.

SNy
May 24th, 2007, 12:27 PM
Sinistral wrote:

> SNy, have you tried to run the lotroclient.exe with the --safe parameter,
> which sets the graphics to low defaults.

No, I haven't come across this yet. I did use the original setup from windows and originally also had the error messages about fullscreen, along with issues 16 vs 24 vs 32 bpp settings of the X server. I already figured that it must be graphic settings that make mine not work, will try with that --safe option.

If you have an improved version of the script that reads additional config files, by all means, post it here or send it as mail to me as you see fit.

SNy

Sinistral
May 24th, 2007, 05:55 PM
I finished the improvements and cleaned up the mess I've done (hopefully).

Improvements made:
- The script gets the GLS Data Center URL and the game name automatically from the games config file.
- The script gets the installed language by checking the client_local_XX.dat files in the LotRO dir and let you choose the language to start with.
This should enable users with US clients to start the game through the script...
- The script now shows the complete server names including tags like [RP] and the language tags.

- What does not work is getting the correct URLs for support, bug reporting and surveys as they are taken from a eu specific URL. I can figure this aut if anyone would post or send in the contents of thi US version of the "TurbineLauncher.exe.config" for getting the base URL for testing.



#!/bin/bash

# launch LOTRO client from CLI
#
# to be used
# with cygwin on windows if you just can't stand .NET
# or with wine/cedega under GNU/Linux or *BSD (actual goal)
#
# URL-encoding is necessary, so get urlencode.sh from the net,
# eg. from http://www.shelldorado.de/scripts/cmds/urlencode.txt
#
# (C) 2007 SNy <SNy@bmx-chemnitz.de>
#
# version 0.9 2007-05-05 SNy
# version 0.9.1 2007-05-23 Sinistral


# launcher settings, a few of those are available from http://lotroeugls.com/Launcher/lotrolauncher.server.config.xml
GLSDataCenter_URL=`grep -h "<add key=\"Launcher.DataCenterService.GLS\"" TurbineLauncher.exe.config | sed -e "s/^.*<add key=\"Launcher.DataCenterService.GLS\" value=\"//;s/\".*\$//"`
GLSDataCenter_SRV="GetDatacenters?game="+`grep -h "<add key=\"DataCenter.GameName\"" TurbineLauncher.exe.config | sed -e "s/^.*<add key=\"DataCenter.GameName\" value=\"//;s/\".*\$//"`
GLSAuthServer_SRV="LoginAccount" # base URL comes from DataCenterServer
WorldQueue_URL="http://195.33.152.250/login"
WorldQueue_SRV="login_queue.php"

# get available languages
IFS=$'\n'
i=0
for name in $(ls -x1 *.dat | grep -h "client_local_" | sed -e "s/^.*client_local_//;s/.dat\$//"); do
languages[$i]=$name;
i=$(($i + 1));
done
languages[$i]="end-of-list"
unset IFS

echo -e "\nWelcome to the CLI launcher for LOTRO.\n\t(C) 2007 by SNy\n"


########### SETUP

# get configuration info
# gets an xml-file containing auth, patch and game servers (with their corresponding settings)
echo "Reading launcher configuration..."
rm -f "${GLSDataCenter_SRV}"
wget -q "${GLSDataCenter_URL}/${GLSDataCenter_SRV}"
if ! [ -f ${GLSDataCenter_SRV} ] ; then
echo -e "\nError: GLS data center server request failed.\n";
exit
fi

# extract list of game servers and settings
# this is a PITA without a proper parser
# grep for "<World>" and output 4 lines afterwards (which contain the server config)
# then grep for "<Name>" and strip off any tags and ALSO the [Type] part (confuses grep later!)
# just the name is saved here, other info will be retrieved later on
worlds=`grep -h -A 4 "<World>" "${GLSDataCenter_SRV}" | grep "<Name>" | sed -e "s/^.*<Name>\[[^]]*\]\s//;s/<\/Name>.*\$//"`
worldsreal=`grep -h -A 4 "<World>" "${GLSDataCenter_SRV}" | grep "<Name>" | sed -e "s/^.*<Name>//;s/<\/Name>.*\$//"`

# now we have a list of servernames, separated by new-line-characters, split them there into an array, ignore all other whitespace
IFS=$'\n'
i=0
for name in $worlds ; do
serverNames[$i]=$name;
i=$(($i + 1));
done
serverNames[$i]="end-of-list"
unset IFS

IFS=$'\n'
i=0
for name in $worldsreal ; do
serverNamesReal[$i]=$name;
i=$(($i + 1));
done
serverNamesReal[$i]="end-of-list"
unset IFS

# extract the auth server URL from the configuration file
authServer=`grep -h "<AuthServer>" ${GLSDataCenter_SRV} | sed -e "s/^.*<AuthServer>//;s/<\/AuthServer>.*\$//"`
if [ -z "${authServer}" ] ; then
echo -e "\nError: Could not extract authentication server URL from launcher configuration.\n";
exit
fi


# select the language
echo -e "\nPlease choose your language now."
i=0
while [[ "${languages[$i]}" != "end-of-list" ]] ; do
echo -e "\t$i:\t${languages[$i]}";
i=$(($i + 1));
done
echo -n "Your choice (enter the number on the left)? "
read selectedLanguage

########### AUTHENTICATION

echo -e "\nPlease enter your account details now."
echo -n "account: "
read account

# pass, read silent (no echo)
echo -n "password: "
read -s pass
echo ""

# "submit" the login form via POST, will download a file called "LoginAccount"
rm -f "${GLSAuthServer_SRV}"
echo "Requesting GLS authentication ticket..."
wget -q --post-data="username=${account}&password=${pass}&additionalInfo=&submit=Invoke" "${authServer}/${GLSAuthServer_SRV}"
if ! [ -f "${GLSAuthServer_SRV}" ] ; then
echo -e "\nError: GLS auth server request failed. Wrong account/password?\n";
exit
fi

# extract the account id adn ticket from the file, check for failure
accountNum=`grep -h "<Name>" "${GLSAuthServer_SRV}" | sed -e "s/^.*<Name>//;s/<\/Name>.*\$//"`
glsTicket=`grep -h "<Ticket>" "${GLSAuthServer_SRV}" | sed -e "s/^.*<Ticket>//;s/<\/Ticket>.*\$//"`
if [ -z "${accountNum}" ] || [ -z "${glsTicket}" ] ; then
echo -e "\nError: Could not extract auth result from GLS auth server response.\n";
exit
fi
echo -e "Logged in."


########### REALM SELECTION

echo -e "\nThe following servers are available:"
i=0
while [[ "${serverNamesReal[$i]}" != "end-of-list" ]] ; do
echo -e "\t$i:\t${serverNamesReal[$i]}";
i=$(($i + 1));
done
echo -n "Your choice (enter the number on the left)? "
read selectedServer

# with the given index (and therefore server name), look up the server info in the configuration file
# chat server adress is given directly, other stuff needs another file (cache_$REALMNAME.xml) from the server
serverChat=`grep -h -A 4 "<World>" "${GLSDataCenter_SRV}" | grep -A 3 "${serverNames[$selectedServer]}" | grep -h "<ChatServerUrl>" | sed -e "s/^.*<ChatServerUrl>//;s/<\/ChatServerUrl>.*\$//"`
serverStatus=`grep -h -A 4 "<World>" "${GLSDataCenter_SRV}" | grep -A 3 "${serverNames[$selectedServer]}" | grep -h "<StatusServerUrl>" | sed -e "s/^.*<StatusServerUrl>//;s/<\/StatusServerUrl>.*\$//"`

# now we know where the chat server resides and we have the adress of the server xml status file
# download the status file and get server adress and login queue adress to establish the connection
# ToDo: this file also contains current availability information, use it
serverStatus_file=`basename "$serverStatus"` # local name after d/l
rm -f $serverStatus_file
wget -q "$serverStatus"

# extract the list of loginServers and queue URLs (two at this time, it seems)
loginServers=`grep -h "<loginservers>" "${serverStatus_file}" | sed -e "s/^.*<loginservers>//;s/<\/loginservers>.*\$//"`
queueUrls=`grep -h "<queueurls>" "${serverStatus_file}" | sed -e "s/^.*<queueurls>//;s/<\/queueurls>.*\$//"`
if [ -z "${loginServers}" ] || [ -z "${queueUrls}" ] ; then
echo -e "\nError: Could not extract server information for realm ${serverNames[$selectedServer]}.\n";
exit
fi

IFS=";"
i=0
for adr in $loginServers ; do
serverAdresses[$i]=$adr;
i=$(($i + 1));
done
i=0
for adr in $queueUrls ; do
serverQueues[$i]=$adr;
i=$(($i + 1));
done
unset IFS

# just use the respective first one given
serverAdress="${serverAdresses[0]}"
serverQueue="${serverQueues[0]}"


########### LOGIN QUEUE / CLIENT START

# now get a queue number from the world login queue so that the client can enqueue and authenticate
# the ticket can contain special characters and needs to be URL encoded before POSTing it (same for queue_url)
# note that the same target host also carries the patch server (port 5015) which is also HTTP but seems to be encrypted
glsTicketURLencoded=`echo "${glsTicket}" | sh urlencode.sh -- -`
loginQueueURLencoded=`echo "${serverQueue}" | sh urlencode.sh -- -`
rm -f "${WorldQueue_SRV}"
echo -e "\nConnecting to world login queue for realm ${serverNames[$selectedServer]}...";
wget -q --post-data="command=TakeANumber&subscription=${accountNum}&ticket=${glsTicketURLencoded}&ticket_type=GLS&queue_url=${loginQueueURLencoded}" "${WorldQueue_URL}/${WorldQueue_SRV}"
if ! [ -f "${WorldQueue_SRV}" ] ; then
echo -e "\nError: World login queue request failed.\n";
exit
fi

# check the result, should be HRESULT 0x00000000, indicating success (Windows API madness)
hresult=`grep -h "<HResult>" "${WorldQueue_SRV}" | sed -e "s/^.*<HResult>//;s/<\/HResult>.*\$//"`
if [ "$hresult" != "0x00000000" ] ; then
echo -e "\nError: World login queue response indicates failure.";
exit
fi


# all ready, now fire up the client
echo "Ready. Now starting the client..."
lotroclient.exe \
--account $accountNum \
--host ${serverAdress} \
--glsticketdirect $glsTicket \
--chatserver ${serverChat} \
--rodat off \
--language ${languages[$selectedLanguage]} \
--bugurl http://lotro-europe.com/bug.php \
--surveyurl http://www.lotro.com/gamesurvey.php \
--supporturl http://195.33.152.18/TSSTrowser/Trowser.aspx?GameType=LOTROEU


########### THAT'S IT

# permission granted to use and modify, as long as original copyleft notice is retained
# (C) 2007 SNy <SNy@bmx-chemnitz.de>
#
# this script is based on
# . dumping command line arguments from the original .NET launcher
# . the turbine "GLS auth server" description
# and inspired by
# . the need to circumvent the stupid .NET launcher
# . a loose couple of thoughts from ubuntuforum members

SNy
May 24th, 2007, 07:38 PM
OK, heh.

I already put up an improved version of the script myself:
http://www.bmx-chemnitz.de/~mfr/LOTRO/lotrolauncher.script

This one already gets every setting from the launcher config and off the net, including the actual game arguments.
After all, the script makes heavy use of sed anyway, so I just replaced these bracketed argument placeholders from the argument templates on the go. :)

The one thing left to do it to incorporate your changes regarding the full server names and language selection. Will do that later tonight.

Stay tuned. :)

SNy

--
Edit:
Oh, silly me, I forgot to mention that I missed something in the attempts at starting under wine earlier. The game does get into the loading screen just as it does for you, but only after I double-click the loading-ring animation icon on the desktop.
I have just found this when reminding me that it does show a spinning ring on the windows desk as well. However, as with you, it just says "quit" after the first login attempt. I hope it's not bash or wine crippling the ticket. This is actually what I think might be the reason, though.

ObiWan2001
May 24th, 2007, 08:54 PM
Wine set to Virtual Desktop
GLSL enabled in registry

UserPreferences.ini:
[Display]
AllowFakeFullScreen=False
Fullscreen=True
Resolution= *Virual Desktop Resolution*

http://img370.imageshack.us/img370/3975/lotrowinezw8.th.jpg (http://img370.imageshack.us/my.php?image=lotrowinezw8.jpg)

SNy
May 24th, 2007, 11:34 PM
Wow! You GOTTA be kidding! It works?

/me is off trying

IT WORKS! CONFIRMATION!
Woohoo!

:popcorn:

Hm, starts fine, authenticates fine, loads the character list fine. But I can't use the mouse. So I can't really get into the game. I would at least write into the /OOC chat but can't. Damn.

Fitzy_oz
May 25th, 2007, 10:34 AM
Wow! You GOTTA be kidding! It works?

/me is off trying

IT WORKS! CONFIRMATION!
Woohoo!

:popcorn:

Hm, starts fine, authenticates fine, loads the character list fine. But I can't use the mouse. So I can't really get into the game. I would at least write into the /OOC chat but can't. Damn.

Still no good, it outputs :
Welcome to the CLI launcher for LOTRO.
(C) 2007 by SNy

Reading launcher configuration...

Error: Could not extract authentication server URL from launcher configuration.

My TurbineLauncher.exe.config Contains the following -
<?xml version="1.0" encoding="utf-8" ?>

<configuration>

<system.windows.forms jitDebugging="true" />

<startup>

<requiredRuntime version="V1.1.4322" safemode="true"/>

<supportedRuntime version="V1.1.4322" />

</startup>

<appSettings>

<add key="Launcher.DataCenterService.GLS" value="http://gls.lotro.com/GLS.DataCenterServer/Service.asmx"/>



<add key="DataCenter.GameName" value="LOTRO" />

<add key="DataCenter.DefaultCenter" value="LOTRO" />

<add key="Product.DocumentFolder" value="The Lord of the Rings Online"/>

<add key="Launcher.DocumentFolder" value="Launcher"/>

</appSettings>

</configuration>


Any help would be appreciated, im dying to play this

Sinistral
May 25th, 2007, 10:36 AM
[...]

Hm, starts fine, authenticates fine, loads the character list fine. But I can't use the mouse. So I can't really get into the game. I would at least write into the /OOC chat but can't. Damn.
I have the same problem right now. It seems not to capture mouseclicks or keystrokes, yet.

Also I have a weired graphics issue with th whole rendered screen getting squeezed into 2/3 the full screen's size in horizontal and about 90% in vertical.

This happens to both, wine in fake desktop mode and in fullscreen.

ajackson
May 25th, 2007, 11:01 AM
I can get it to run using the provided script (though I had to mod it slightly as it was sticking an /> on one of the urls and I set my languages to en_GB).

No sound at the moment, cursor appears but I can't use the mouse and so far no joy out of the keyboard (ie pressing ESC so that I can skip the movie).

But progress is progress, well done for getting it to launch.

Fitzy_oz
May 25th, 2007, 11:04 AM
I have the same problem right now. It seems not to capture mouseclicks or keystrokes, yet.

Also I have a weired graphics issue with th whole rendered screen getting squeezed into 2/3 the full screen's size in horizontal and about 90% in vertical.

This happens to both, wine in fake desktop mode and in fullscreen.

I had that with another application, is the Allow DirectX apps to stop the mouse leaving their window box ticked? This seemed to resolve the mouse and keyboard issue for me when I had the problem with another app.... Not too sure about the rendering issue though...

Sinistral
May 25th, 2007, 01:10 PM
I had that with another application, is the Allow DirectX apps to stop the mouse leaving their window box ticked? This seemed to resolve the mouse and keyboard issue for me when I had the problem with another app.... Not too sure about the rendering issue though...

I am not complete sure but I think I did test it with both cases, this switched on and off, earlier this day. Will have another look into it later.

ObiWan2001
May 25th, 2007, 02:57 PM
Try it with an new .wine folder, I had the problems with mouse and keyboard too, but an fresh .wine folder resolved it all.

UserPreferences.ini or graphic options ingame.

[Render]
StencilShadows=Disabled
VideoPostEffects=Disabled (Postprocessing causes a lot of graphic errors)
SurfaceReflections=Low (had graphic errors when set to high)

winecfg:
Graphics:
The "Allow directx apps to stop the mouse from leaving the window" has to be unchecked.

audio:
Had no problems with ASLA, but OSS worked for me too.
I use "Hardware Accerlation: Full" at 44100 and 16bits

Edit:
Some new pics:
http://img360.imageshack.us/img360/3789/lotrowavelp9.th.jpg (http://img360.imageshack.us/my.php?image=lotrowavelp9.jpg)
http://img360.imageshack.us/img360/7602/lotrojumpmq9.th.jpg (http://img360.imageshack.us/my.php?image=lotrojumpmq9.jpg)

Sinistral
May 25th, 2007, 03:37 PM
Thanks, will try this.

ajackson
May 25th, 2007, 05:12 PM
I found that if I switch wine to windows 2000 mode my mouse and keyboard work, I get no sound in the intro movie but do get sound when the character select screen comes up.

Though when I try to enter the game with a character my wine bombs and I get a stack dump, someone mentioned something about enabling GLSL in the registry, how do you do that?

Sinistral
May 25th, 2007, 05:43 PM
You can do that in winecfg or wineconfig at the graphics tab in the shader section.

ObiWan2001
May 25th, 2007, 05:50 PM
Import the following file into the wine registry (regedit in the console)
http://tyria.ty.funpic.de/glslenable.reg



REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"UseGLSL"="enabled"



+-Direct3D
| |
| +->DirectDrawRenderer
| | [Select what backend to use for DDraw. Valid options are:
| | gdi - Use GDI to draw on the screen (slow but reliable) (default)
| | opengl - Use OpenGL (fast but not all programs work correctly)]
| |
| +->RenderTargetLockMode
| | [Selects which mode is used to read and write the framebuffer it is locked.
| | auto: same as readdraw at the moment, will do benchmarks and use best method later(default)
| | disabled: effectively disables render target locking
| | readdraw: uses glReadPixels for reading, glDrawPixels for drawing
| | readtex: reading with glReadPixels, drawing by drawing a textured quad
| | texdraw: readback using a texture, drawing with glDrawPixels
| | textex: readback using a texture, drawing with a textured quad]
| |
| +->Nonpower2Mode
| | [When set to repack, this enables the repacking of nonpower2 textures for 'buggy'
| | games (like warhammer 40k) that cannot cope with the default nonpower2 texture
| | support.]
| |
| +->OffscreenRenderingMode
| | [Selects which mode is used to render offscreen images/textures.
| | backbuffer: the rendering is done in the backbuffer (default)
| | pbuffer: uses PixelBuffers
| | fbo: uses Framebuffer object
| |
| +->UseGLSL
| | [When set to "enabled", this enables the use of GL Shading Language for vertex
| | and pixel shaders, as long as the hardware supports it. This is experimental
| | at the moment, and not fully implemented.]
| |
| +->VideoMemorySize
| [Sets the amount of emulated video memory. Default is 64 (that results in 64MB),
| in the future some automatic ways to obtain the real value should be added.]
Source (http://wiki.winehq.org/UsefulRegistryKeys)

SNy
May 25th, 2007, 07:19 PM
OK, thanks for the suggestions, I found it to be a bit unstable.

What my experiments turned up (various, too many to list all I tried) is that if I have no sound in the start menu (character selection) the mouse buttons don't work.

When I setup wine with GLSL and tune the game settings up a bit, it will not load the character properly. Loads, then when supposed to get into the actual game crashes.
What I did just now (until it crashed upon entering Esteldin) was to completely remove .wine and the UserPreferences.ini file, then fired up the launcher with --safe (added the script params to the client parameters for that) and then I just set resolution to 1680x1050 (my display's native res) and mouse speed to 0.5. Everything else was set to low, no GLSL in wine (due to all its settings just freshly created).

I then ported from Guruth to Thorin's, rode to Bree (fast travel), then used my horse to get to Esteldin. In the midsts of all this I joined a fellowship with a buddy, tried the voice chat (which I could hear but not participate in, due to not having a driver for the headset under linux ATM), killed a bison, mined some oar and wood.
Then upon entering Esteldin the client crashed.

That's for the heads up. Why with other settings the mouse wouldn't work, I don't know. Why it crashes if I activate stuff, I don't know. Things need to be figured out, I guess.

SNy

--
Edit:
OK, setting it to Windows 2000 helps. XP and no sound, no mouse events.
In-game graphic settings work at lowest or low. Setting to medium doesn't work in the game. If set in the loading screen it will crash when loading, setting it in game will crash immediately.

SNy
May 25th, 2007, 08:15 PM
So, regarding the script.
I have just added Sinistral's language chooser (added to it be testing for more than one language and not asking if there is only one), find it at my site (http://bmx-chemnitz.de/~mfr/LOTRO/lotrolauncher.script).

Regarding Fitzy_oz' question...
Maybe you had a look at the script already. What it does is:

it creates a new temporary directory .launcher (leading dot means it is hidden) and in there it puts all the files it downloads from turbine's servers:

1) GLSDataCenter.config (the address for which it gets from Turbine.exe.config)

This one contains the available realms and the URLs for launcher config and auth server.

2) launcher.config

This one contains the argument template for the client and the world queue URL.

3) GLSAuthServer.config

This file is the result of the auth request with user name and password and it contains the account id and valid glsTicket.


Your problem indicates failure in step 1, basically. It cannot extract the auth server URL from the GLSDataCenter configuration:



# extract the auth server URL from the configuration file
authServer=`grep -h "<AuthServer>" .launcher/GLSDataCenter.config | sed -e "s/^.*<AuthServer>//;s/<\/AuthServer>.*\$//"`
if [ -z "${authServer}" ] ; then
echo -e "\nError: Could not extract authentication server URL from launcher configuration.\n";
exit
fi


The file contents you posted were from the Turbine.exe.config, please check the downloaded file .launcher/GLSDataCenter.config for the XML-Tag <AuthServer>.

HTH,
SNy

ajackson
May 25th, 2007, 08:54 PM
Well I've had a bit of joy, starting with a new UserPreferences.ini (ie delete it run the launcher and it exits with an error).

Edit it to change AllowFakeFullScreen=False

Run with the launcher script.

Set your screen resolution, set to medium in the main graphics tab
Click on the advanced graphics tab and find the Shadows section, set Landscape Shadows to Disabled. Go to Post Processing and untick Post Processing Effects.

That works for me on a base build of medium graphics quality.

For the sound I had to set the following in winecfg audio tab
the tick box labelled Driver Emulation, without it I just got choppy sound (but I have a naff on board sound chip).

I'll see what differences there are between High and Medium graphics settings to see if I can ramp it up to a build based on high.

Marigny
May 26th, 2007, 08:50 AM
So, regarding the script.
I have just added Sinistral's language chooser (added to it be testing for more than one language and not asking if there is only one), find it at my site (http://bmx-chemnitz.de/~mfr/LOTRO/lotrolauncher.script).

Regarding Fitzy_oz' question...
Maybe you had a look at the script already. What it does is:

it creates a new temporary directory .launcher (leading dot means it is hidden) and in there it puts all the files it downloads from turbine's servers:

1) GLSDataCenter.config (the address for which it gets from Turbine.exe.config)

This one contains the available realms and the URLs for launcher config and auth server.

2) launcher.config

This one contains the argument template for the client and the world queue URL.

3) GLSAuthServer.config

This file is the result of the auth request with user name and password and it contains the account id and valid glsTicket.


Your problem indicates failure in step 1, basically. It cannot extract the auth server URL from the GLSDataCenter configuration:



# extract the auth server URL from the configuration file
authServer=`grep -h "<AuthServer>" .launcher/GLSDataCenter.config | sed -e "s/^.*<AuthServer>//;s/<\/AuthServer>.*\$//"`
if [ -z "${authServer}" ] ; then
echo -e "\nError: Could not extract authentication server URL from launcher configuration.\n";
exit
fi


The file contents you posted were from the Turbine.exe.config, please check the downloaded file .launcher/GLSDataCenter.config for the XML-Tag <AuthServer>.

HTH,
SNy

Hello,

I'm french, so excuse my english. ;)

I've got the same problem than Fitzy_oz. The directory .launcher contains GLSDataCenter.config and launcher.config, but these two files are empty. :| So, I haven't the XML-Tag <AuthServer>.

Thanks for yours advices.

Marigny

Fitzy_oz
May 26th, 2007, 09:09 AM
Hello,

I'm french, so excuse my english. ;)

I've got the same problem than Fitzy_oz. The directory .launcher contains GLSDataCenter.config and launcher.config, but these two files are empty. :| So, I haven't the XML-Tag <AuthServer>.

Thanks for yours advices.

Marigny

Me too, I checked the files - GlsDataCenter.config downloads the source for the webpage and does not contain an XML key pertaining to AuthServ anywhere in it, the other I'm guessing being a product of the first file is completely blank....

ajackson
May 26th, 2007, 09:26 AM
What I had to do to get the script working for me was change the line that reads


GLSDataCenter_URL=`grep -h "Launcher.DataCenterService.GLS" "TurbineLauncher.exe.config" | sed -e "s/^.*value=\"//;s/\"\/>.*\$//"`

To


GLSDataCenter_URL=`grep -h "Launcher.DataCenterService.GLS" "TurbineLauncher.exe.config" | sed -e "s/^.*value=\"//;s/\"\*\$//"`

As it was sticking an /> onto the end of the url so the wget line failed.

SNy
May 26th, 2007, 02:26 PM
Strictly speaking, it wasn't sticking it onto the end, it failed to chop it off. :p
Anyway, I will rework the appropriate parts of the script as soon as I am on the other box again.

Thanks for the fix ajackson.

SNy

ajackson
May 26th, 2007, 03:08 PM
Well I had a long play with the graphics on low mode, no problems what-so-ever. Changed it to the medium build I posted a couple of messages up, played ok but bombed out when I hit a group of people (Adso's camp in Bree) so I'll have to try tweaking that set up to get it crowd friendly.

Lord_Butler
May 26th, 2007, 06:31 PM
Ok, I think the problem that me and some other people are having is that the output of this line

wget -q "${GLSDataCenter_URL}/GetDatacenters?game=${GAME}" -O .launcher/GLSDataCenter.config
actually is this page http://www.turbine.com/?aspxerrorpath=/GLS.DataCenterServer/Service.asmx/GetDatacenters

So it looks like they are redirecting the traffic to there on an error. I'm trying to figure out what the correct address is. If anyone can help with that problem, it would be most appreciated.

SNy
May 26th, 2007, 09:29 PM
Well, first of all, everyone that has problems with running the script, replace the -q option to all the wget calls with either -nv or get completely rid of it.
-q doesn't output ANYthing, it even omits error messages.
Then if that doesn't turn up something helpful, put an "echo $VAR" before the wget where $VAR is the variable the wget call in question uses to get the file.

SNy

Fitzy_oz
May 27th, 2007, 04:45 AM
Well, first of all, everyone that has problems with running the script, replace the -q option to all the wget calls with either -nv or get completely rid of it.
-q doesn't output ANYthing, it even omits error messages.
Then if that doesn't turn up something helpful, put an "echo $VAR" before the wget where $VAR is the variable the wget call in question uses to get the file.

SNy

Reading launcher configuration...
--12:08:10-- http://gls.lotro.com/GLS.DataCenterServer/Service.asmx%22/%3E%0D/GetDatacenters?game=LOTRO%22%20/%3E%0D
=> `.launcher/GLSDataCenter.config'
Resolving gls.lotro.com... 206.16.13.82
Connecting to gls.lotro.com|206.16.13.82|:80... connected.
HTTP request sent, awaiting response... 400 Bad Request
12:08:11 ERROR 400: Bad Request.


Error: Could not extract authentication server URL from launcher configuration.

Just a thought - and let me be the first to say that this is not my area of expertise. Would it be possible to run it on a windows client with something similar to ethereal to capture the outgoing requests by the launcher?

SNy
May 27th, 2007, 11:16 AM
Hm, that looks like what ajackson experienced, it fails to extract the URL correctly.
I have rewritten the sed expressions that deal with those xml tags to just look for value="string" and extract string from there.
Get the updated script from here (http://bmx-chemnitz.de/~mfr/LOTRO/lotrolauncher.script). Hopefully that wil fix your problems.

SNy

--
Edit
I just tried it with the TurbineLauncher.exe.config you posted earlier and it is just what Lord_Butler says, it redirects to an error page. I can't quite figure out why it would do that, since the same request works fine on lotroeugls.com.

--
Edit 2
Regarding your other question, you can of course run the launcher on windows while you have ethereal (windows version right on their page) running, capturing all the traffic to, say, gls.lotro.com.
I actually see two reason that it doesn't work for you.
1) they have not implemented it as HTTP GET method at all or have disabled it (Launcher probably uses SOAP)
2) they check the User-Agent setting and reject what they don't like onto the error page you are seeing.

As far as lotroeu is concerned, GetDatacenters can be called via HTTP GET and no special User-Agent whatsoever. You can type the URL into Mozilla and get the file, FWIW.

Marigny
May 27th, 2007, 11:40 AM
Thanks for the modification. :)

Now, after authentification, I have the following problem :


Requesting GLS authentication ticket...
ERREUR: erreur de vérification du certificat pour lotroeugls.com: unable to get local issuer certificate
Pour établir une connexion à lotroeugls.com non sécuritaire, utiliser `--no-check-certificate'.
Incapable d'établir une connexion SSL.

Error: Could not extract auth result from GLS auth server response.


Sorry for the french sentences in the code...
It seems the SSL connection is unable ! :|

Marigny

SNy
May 27th, 2007, 11:45 AM
Yeah, as stated earlier, this is an issue with certain wget versions or somesuch.
Just add the option --no-check-certificate as indicated in the error message to the wget line that requests https://lotroeugls.com/GLS.AuthServer...

HTH,
SNy

Marigny
May 27th, 2007, 02:29 PM
Thanks ! The connection seems good.

I'm writing a howto for playing LOTRO with Linux (in french) ;)

SNy, can I make a link to your website and use your script ?

Marigny

Silenz
May 27th, 2007, 02:59 PM
ok i tried but i get the error 103:
http://img03.picoodle.com/img/img03/8/5/27/f_Bildschirmfm_d8d06ca.png
it says: i shoud get ensured, that DirectX 9.0c is installed.

fixed via
"wineprefixcreate" -

good work guys!!

ben478
May 27th, 2007, 04:44 PM
Hi
does anyone know how to fix the error
Can't open the data files. Check that they exist and that you have permission to write them.The program will now exit.[201]
I have tied re-intalling it and changing my firewall settings but nothing works.
Thanks
Ben

Marigny
May 27th, 2007, 05:12 PM
Well, LOTRO is launching, but I've got the same problem than had Sinistral a few days :


I got it running at least some bit: It shows the mouse cursor and th first screen, then it comes to the "Connecting to Authentication Server" and suddenly stops after the first attemp, displaying a blank (black) screen with an unclickable "Quit" button in the center of it.
Will look into this further.

I got this with wine-0.9.37 (.33 didn't work) from a Ubuntu package from the repositoy shown on the WineHQ page (http://www.winehq.org/site/download-deb).

Here is also the complete output wine gave me on the command line.

fixme:wave:ALSA_AddCaptureDevice Add support for DSCapture
fixme:d3d_caps:IWineD3DImpl_GetAdapterMonitor (0x17dd40): returning the primary monitor for adapter 0
fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
fixme:d3d:IWineD3DImpl_CheckDeviceMultiSampleType Quality levels unsupported at present
fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMe m (0x1a7ad8) : stub, simulating 64MB for now, returning 64MB left
fixme:d3d:IWineD3DDeviceImpl_SetSoftwareVertexProc essing (0x1a7ad8) : stub
fixme:wave:widDsCreate DirectSoundCapture not implemented
fixme:wave:widDsCreate The (slower) DirectSound HEL mode will be used instead.
fixme:dsound:DSOUND_MixOne problem with underrun detection (mixlen=17640 < primary_done=18700)
fixme:dsound:DSOUND_MixOne problem with underrun detection (mixlen=17640 < primary_done=17800)
err:dsound:DSOUND_MixOne underrun on sound buffer 0x86b48d0
fixme:d3d:IWineD3DDeviceImpl_ResourceReleased Vertex buffer released while bound to a state block, stream 0

One thing to add, the language selection seems to work flawless. Choosing de as language correctly gives me a "Verbindung zum Authentifikations-Server wird hergestellt" and "Verlassen" as the buttons text. :)

I currently think this is an issue with the Authentication process used inside the client. There seems to be something we are missing...

I made modifications with winecfg and in UserPreferences.ini. Even, I disabled my firewall, but it doesn't start.. :|

Here is progress, anyway ! :D

Thanks a lot

Marigny

Fitzy_oz
May 27th, 2007, 05:24 PM
Hm, that looks like what ajackson experienced, it fails to extract the URL correctly.
I have rewritten the sed expressions that deal with those xml tags to just look for value="string" and extract string from there.
Get the updated script from here (http://bmx-chemnitz.de/~mfr/LOTRO/lotrolauncher.script). Hopefully that wil fix your problems.

SNy

--
Edit
I just tried it with the TurbineLauncher.exe.config you posted earlier and it is just what Lord_Butler says, it redirects to an error page. I can't quite figure out why it would do that, since the same request works fine on lotroeugls.com.

--
Edit 2
Regarding your other question, you can of course run the launcher on windows while you have ethereal (windows version right on their page) running, capturing all the traffic to, say, gls.lotro.com.
I actually see two reason that it doesn't work for you.
1) they have not implemented it as HTTP GET method at all or have disabled it (Launcher probably uses SOAP)
2) they check the User-Agent setting and reject what they don't like onto the error page you are seeing.

As far as lotroeu is concerned, GetDatacenters can be called via HTTP GET and no special User-Agent whatsoever. You can type the URL into Mozilla and get the file, FWIW.


Hmm, whats the exact name of the file it pulls down? maybe we can force it to pull the data from that instead of pulling it down via the ?GetDatacenters

ajackson
May 27th, 2007, 09:06 PM
Found a registry setting that helps with graphics stability at setting higer than low in the game.

HKEY_CURRENT_USER/Software/Wine/Direct3D

Add VideoMemorySize, I set it to equal the amount of memory on my graphics card (256) and can run smoothly in medium graphics (with VideoPostEffects & LandscapeStaticObjectShadows turned off/disabled).

Haven't trie it in a higher graphics setting yet though.

Oh and does anyone get the 3D portrait of the targetted mob looking identical to your own portrait?

ShadowFlar3
May 27th, 2007, 09:48 PM
This is kinda offtopic but doesn't anyone else find this game an offensive wow clone? I'm disgusted by the very idea of re-making wow with such a flashy name for easy cash and I hope this won't become too popular for the same reason.

kegie
May 27th, 2007, 09:54 PM
I wouldn't say it's much more a wow clone than wow is a clone of pretty much every MMORPG before it. It's not exactly a genre defined by innovation..

Anyway, the script works great, with just one addition: adding
WINEDEBUG=fixme-all before the call to wine does wonders for the framerate.

Lord_Butler
May 27th, 2007, 10:27 PM
Hm, that looks like what ajackson experienced, it fails to extract the URL correctly.
I have rewritten the sed expressions that deal with those xml tags to just look for value="string" and extract string from there.
Get the updated script from here (http://bmx-chemnitz.de/~mfr/LOTRO/lotrolauncher.script). Hopefully that wil fix your problems.

SNy

--
Edit
I just tried it with the TurbineLauncher.exe.config you posted earlier and it is just what Lord_Butler says, it redirects to an error page. I can't quite figure out why it would do that, since the same request works fine on lotroeugls.com.

--
Edit 2
Regarding your other question, you can of course run the launcher on windows while you have ethereal (windows version right on their page) running, capturing all the traffic to, say, gls.lotro.com.
I actually see two reason that it doesn't work for you.
1) they have not implemented it as HTTP GET method at all or have disabled it (Launcher probably uses SOAP)
2) they check the User-Agent setting and reject what they don't like onto the error page you are seeing.

As far as lotroeu is concerned, GetDatacenters can be called via HTTP GET and no special User-Agent whatsoever. You can type the URL into Mozilla and get the file, FWIW.

SNy, I used Ethereal to look at traffic going to, and coming from, gls.lotro.com and I did see some reference to a SOAPAction containing "SOAPAction: http://www.turbine.com/SE/GLS/GetDatacenters" but I don't know what that means. Any clue if that would be helpful at all to us US users?

ajackson
May 28th, 2007, 04:03 PM
Well what I have found is that if you set the registry entry for the correct amount of RAM on your graphics card you can play without any real problems (except performance).

BUT the following options do seem to crash the client or, in the case of StencilShadows, cause weird graphical glitches.

VideoPostEffects must be False, LandscapeStaticObjectShadows must be disabled and I set StencilShadows to Disabled or I get glitches, especially near clickable doors.

Just changing those allowed me to play the game on Very High graphics (only for a bit as my PC isn't quite up to that and the performance was poor), I did briefly get Ultra High working but had a crash but can not reproduce the crash.

ajackson
May 29th, 2007, 12:00 PM
Found one major/minor (depending on your perspective I suppose) problem, the in game help system doesn't work but then I think it relies on IE or IE's libraries and I think the current internal IE of wine doesn't work any more, don't know if there is an option anywhere to get it to use non-IE libraries.

Fitzy_oz
May 29th, 2007, 01:30 PM
POST /GLS.DataCenterServer/Service.asmx HTTP/1.1

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 1.1.4322.573)
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://www.turbine.com/SE/GLS/GetDatacenters"
Content-Length: 335
Expect: 100-continue
Connection: Keep-Alive
Host: gls.lotro.com



<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetDatacenters xmlns="http://www.turbine.com/SE/GLS"><game>LOTRO</game></GetDatacenters></soap:Body></soap:Envelope
HTTP/1.0 200 OK

Date: Tue, 29 May 2007 12:04:19 GMT
Server: Microsoft-IIS/6.0
Cache-Control: -store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
x-source-server: autha08
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Cache-Control: private, max-age=0
Content-Type: text/xml; charset=utf-8
Content-Length: 3314
X-Cache: MISS from adl-pow-pr1.tpgi.com.au
Via: 1.0 adl-pow-pr1.tpgi.com.au:3128 (squid/2.5.STABLE12)
Connection: keep-alive

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetDatacentersResponse xmlns="http://www.turbine.com/SE/GLS"><GetDatacentersResult><Datacenter><Name>LOTRO</Name><Worlds><World><Name>Meneldor</Name><LoginServerUrl>(invalid service specified)</LoginServerUrl><ChatServerUrl>206.16.158.39:2900</ChatServerUrl><StatusServerUrl>http://launcher.turbine.com/serverinfo.php?s=206.16.158.36</StatusServerUrl></World><World><Name>Brandywine</Name><LoginServerUrl>(invalid service specified)</LoginServerUrl><ChatServerUrl>206.16.158.5:2900</ChatServerUrl><StatusServerUrl>http://launcher.turbine.com/serverinfo.php?s=206.16.158.2</StatusServerUrl></World><World><Name>Windfola</Name><LoginServerUrl>(invalid service specified)</LoginServerUrl><ChatServerUrl>206.16.158.73:2900</ChatServerUrl><StatusServerUr
>http://launcher.turbine.com/serverinfo.php?s=206.16.158.70</StatusServerUrl></World><World><Name>Gladden</N
me><LoginServerUrl>(invalid service specified)</LoginServerUrl><ChatServerUrl>206.16.158.22:2900</ChatServerUrl><StatusServerUrl>http://launcher.turbine.com/serverinfo.php?s=206.16.158.19</StatusServerUrl></World><World><Name>Silverlode</Name><LoginServerUrl>(invalid service specified)</LoginServerUrl><ChatServerUrl>206.16.158.56:2900</ChatServerUrl><StatusServerUrl>http://launcher.turbine.com/serverinfo.php?s=206.16.158.53</StatusServerUrl></World><World><Name>Elendilmir</Name><LoginServerUrl>(invalid service specified)</LoginServerUrl><ChatServerUrl>206.16.158.203:2900</ChatServerUrl><StatusServerUrl>http://launcher.turbine.com/serverinfo.php?s=206.16.158.200</StatusServerUrl></World><World><Name>Landroval</Name><LoginServerUrl>(invalid service specified)</LoginServerUrl><ChatServerUrl>206.16.158.189:2900</ChatServerUrl><StatusServerUrl>http://launcher.turbine.com/serverinfo.php?s=206.16.158.186</StatusServerUrl></World><World><Name>Arkenstone</Name><LoginServerUrl>(invalid service specified)</LoginServerU
l><ChatServerUrl>206.16.158.90:2900</ChatServerUrl><StatusServerUrl>http://launcher.turbine.com/serverinfo.php?s=206.16.158.87</StatusServerUrl></World><World><Name>Firefoot</Name><LoginServerUrl>(invalid service specified)</LoginServerUrl><ChatServerUrl>206.16.158.128:2900</ChatServerUrl><StatusServerUrl>http://launcher.turbine.com/serverinfo.php?s=206.16.158.125</StatusServerUrl></World><World><Name>Nimrodel</Name><Lo
inServerUrl>(invalid service specified)</LoginServerUrl><ChatServerUrl>206.16.158.109:2900</ChatServerUrl><StatusServerUrl>http://launcher.turbine.com/serverinfo.php?s=206.16.158.106</StatusServerUrl></World><World><Name>Vilya</Name><LoginServerUrl>(invalid service specified)</LoginServerUrl><ChatServerUrl>206.16.158.170:2900</ChatServerUrl><StatusServerUrl>http://launcher.turbine.com/serverinfo.php?s=206.16.158.167</StatusServerUrl></World></Worlds><AuthServer>https://gls.lotro.com/GLS.AuthServer/Service.asmx</AuthServer><PatchServer>patch.lotro.com:80</PatchServer><LauncherConfigurationServer>http://gls.lotro.com/launcher/lotro/lotrolauncher.server.config.xml</LauncherConfigurationServer></Datacenter></GetDatacentersResult></GetDatacentersResponse></soap:Body></soap:Envelope
GET /launcher/lotro/lotrolauncher.server.config.xml HTTP/1.1

Connection: Keep-Alive
Host: gls.lotro.com
HTTP/1.0 200 OK
Cache-Control: -store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 4938
Content-Type: text/xml
Last-Modified: Thu, 29 Mar 2007 22:21:15 GMT

Accept-Ranges: bytes
ETag: "23b6dc905072c71:1e38"
Server: Microsoft-IIS/6.0
x-source-server: autha08
X-Powered-By: ASP.NET
Date: Tue, 29 May 2007 12:04:20 GMT
X-Cache: MISS from adl-pow-pr1.tpgi.com.au
Via: 1.0 adl-pow-pr1.tpgi.com.au:3128 (squid/2.5.STABLE12)
Connection: keep-alive



<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>


<!-- Launcher Configurations -->

<add key="LauncherConfig.DateTime" value="03/29/07 4:50 PM"/>
<add key="LauncherConfig.RefreshFrequency" value="15"/> <!-- minutes -->
<add key="LauncherConfig.SubscriptionRefreshFrequency" value="15"/>



<!-- Authentication -->

<add key="GameName" value="LOTRO"/>
<!-- World List -->
<add key="WorldUpdateRate" value="1"/>. <!-- minutes -->



<!-- Game client launching -->

<add key="GameClient.Filename" value="lotroclient.exe"/>

<add key="GameClient.ArgTemplate" value="-a {0} -h {1} --glsticketdirect {2} --chatserver {3} --language {4} --bugurl http://forums.lotro.com/new_bug.php?styleid=2 --supporturl https://tss.turbine.com/TSSTrowser/trowser.aspx?GameType=LOTRO --authserverurl https://gls.lotro.com/gls.authserver/service.asmx --glsticketlifetime 80000"/>

<add key="GameClient.ResetGraphicsArg" value=" --safe"/>

<add key="GameClient.HighResPatchArg" value=" --HighResOutOfDate"/>

<add key="GameClient.AlwaysPatchHighRes" value="true"/>



<!-- Patching -->

<add key="Patching.ProductCode" value="LOTRO"/>

<add key="PatchWindow" value="30"/>. <!-- minutes -->

<add key="PatchConnectRetryInterval" value="1"/>.<!-- minutes -->

<add key="DisablePatch" value="false"/>



<!-- Standalone Updater -->

<add key="GameClient.RequiredVersion" value="0.0"/>

<add key="GameClient.ForwardVersion" value="0.0"/>

<add key="URL.UpdateDownload" value="http://downloads.turbine.com" />

<add key="Patch.UpdaterNameFormat" value="{0}updater_{1}_{2}.exe" />



<!-- Account / e-Commerce -->

<add key="URL.Account" value="https://myaccount.turbine.com/"/>

<add key="URL.Account.Post" value="https://myaccount.turbine.com/?page_id=29"/>

<add key="Format.Account.Login" value="form_user_name={0}&amp;form_user_pass={1}&amp;siteuser[action]=login&amp;user[action]=login&amp;billing[process]=1&amp;billing[action]=1"/>



<add key="Activate.Account.BuyNow" value="false"/>

<add key="Format.Account.BuyNow" value="form_user_name={0}&amp;form_user_pass={1}&amp;siteuser[action]=login&amp;billing[process]=17&amp;billing[forms][subscriptionName]={2}&amp;billing[scenario]=DDO_BUY_NOW_POPUP&amp;billing[forms][productCode]=DDO&amp;billing[forms][purchaseProductCode]=DDOBuy&amp;billing[forms][purchasePlanCode]=DDO-Purch"/>



<add key="Activate.Account.DaysLeft" value="true"/>

<add key="Threshold.Account.DaysLeft" value="15"/>



<add key="TrialTokenList" value="AngmarOB,AngmarGuest"/>

<add key="URL.ExpiredTrial.Template" value="http://www.lotro.com/preorder/?token={0}"/>



<add key="URL.NewAccount" value="https://myaccount.turbine.com/index.php?page_id=29&amp;billing[process]=2"/>

<add key="URL.ForgotPassword" value="https://myaccount.turbine.com/?page_id=29&amp;billing[process]=13"/>

<add key="URL.ReactivateSubscription" value="https://myaccount.turbine.com/?page_id=29&amp;billing[process]=2&amp;billing[action]=5"/>



<!-- News and Sponsor Logo/Link -->

<add key="URL.NewsFeed" value="http://launcher.turbine.com/rss_client.php/vortex.sitearticle.getLatestArticlesByRSS/32.33.34.35"/>

<add key="URL.NewsStyleSheet" value="http://launcher.turbine.com/files/76/98/44/45/22.xslt"/>

<add key="URL.AlertsStyleSheet" value="http://launcher.turbine.com/files/86/51/72/64/21.xslt"/>



<add key="URL.BannerSource" value="http://lorimages.turbine.com/files/84/71/98/64/1052.png"/>

<add key="URL.BannerTarget" value="http://www.lotro.com/index.php?page_id=100&amp;utm_source=Launcher&amp;utm_medi um=LNCHR&amp;utm_campaign=Turbine"/>





<!-- Login Queue -->

<add key="WorldQueue.LoginQueue.URL" value="https://launcher.turbine.com/login_queue.php"/>

<add key="WorldQueue.TakeANumber.Parameters" value="command=TakeANumber&amp;subscription={0}&amp;ticket={1}&amp;ti cket_type=GLS&amp;queue_url={2}"/>

<add key="WorldQueue.LeaveQueue.Parameters" value="command=LeaveQueue&amp;subscription={0}&amp;context={1}&amp;ti cket_type=GLS&amp;queue_url={2}"/>

<add key="WorldQueue.Threshold.WaitTimeMultiplier" value="1.00" />

<add key="WorldQueue.Threshold.Medium" value="300" />

<add key="WorldQueue.Threshold.Long" value="900" />

<add key="WorldQueue.PollTimer" value ="15" />



<!-- Miscellaneous -->

<add key="EmailAddress.Errors" value="LauncherErrors@turbine.com"/>

<add key="Eula.en.FilePath" value="en\LOTRO EULA.rtf"/>



<!-- Other URLs -->

<add key="URL.Community" value="http://www.lotro.com/"/>

<add key="URL.Support" value="http://www.lotro.com/support"/>

<add key="URL.PrivacyPolicy" value="http://www.turbine.com/?page_id=59"/>



<!-- LOTRO logos are non-clickable -->

</appSettings>

</configuration>


This is what I managed to capture from my vmware box running the turbine launcher and using wireshark to capture the traffic. THeres a lot of stuff in there that looks like it could be handy, I just don't know or understand enough of it to make any sort of sense out of all of it. I've also attached it as a text document to make it a bit easier on the eyes

SNy
May 29th, 2007, 01:44 PM
Yeah, afer I got a gold advertisement yesterday which I wrote a ticket for, I figured that this built-on-IE's-rendering-engine (yuk!) help system would probably not work correctly inside wine. That is something that I can't really do anything about, however.


Regarding the ethereal capture, Fitzy_oz, do you think you could save the whole packet dump [1][2] and send it in an Email to my address? I could then compare it to the dump made with the LOTROEU client and maybe spot a difference.
If, as I suspect, they really do not support HTTP GET on the LOTRO data center, then we will need to come up with some way of faking the SOAP request (or doing a real one with, say, perl) to get you LOTRO non-EU players going.

SNy

[1] no need to start an actual game, just fire up the launcher and authenticate so that is displays the server list
[2] no worries, as you only capture traffic to the data center server, it should not contain data sent to the auth server and even if it does (say, same IP), it uses HTTP POST on a secure resource, so the dump will not reveal any of your account details


--
Edit
Oh, I see. That is quite enough information, I think. Will compare to the SOAP part of the LOTROEU client and maybe we can get away with just POSTing the SOAP xml request as-is.

Fitzy_oz
May 29th, 2007, 02:35 PM
Yeah, afer I got a gold advertisement yesterday which I wrote a ticket for, I figured that this built-on-IE's-rendering-engine (yuk!) help system would probably not work correctly inside wine. That is something that I can't really do anything about, however.


Regarding the ethereal capture, Fitzy_oz, do you think you could save the whole packet dump [1][2] and send it in an Email to my address? I could then compare it to the dump made with the LOTROEU client and maybe spot a difference.
If, as I suspect, they really do not support HTTP GET on the LOTRO data center, then we will need to come up with some way of faking the SOAP request (or doing a real one with, say, perl) to get you LOTRO non-EU players going.

SNy

[1] no need to start an actual game, just fire up the launcher and authenticate so that is displays the server list
[2] no worries, as you only capture traffic to the data center server, it should not contain data sent to the auth server and even if it does (say, same IP), it uses HTTP POST on a secure resource, so the dump will not reveal any of your account details


--
Edit
Oh, I see. That is quite enough information, I think. Will compare to the SOAP part of the LOTROEU client and maybe we can get away with just POSTing the SOAP xml request as-is.

SNy, first and foremost.. Your a legend and thanks heaps for helping us all out. In regards to the compiled IE Rendering system, perhaps installing ie6 natively into the same WINE prefix as lotro may yield better results than using gecko? I've also attached a text file with the entire TCP stream that wireshark recorded. Hope that helps and thanks again :)

SNy
May 29th, 2007, 06:43 PM
OoohhhKaaayyy.
Let's see if this helps your cause, guys.

I replaced the simple HTTP GET with a POST including the SOAP envelope Fitzy_oz was kind enough to provide. Side effect is that the response is lacking newline separators, so in order to keep the way the script extracts the server information, I insert newlines after each closing xml tag in the result file (see the script comments if interested).

I tested this with both my client and against the TurbineLauncher.exe.config Fitzy_oz provided earlier and it extracts the information well AFAICT. Mind, I don't know if similar tricks await you US/AU LOTRO users on the way, as I currently have no way to tell.

Please try the new script (link in the sig) and report back.

Good luck,
SNy

Marigny
May 29th, 2007, 07:11 PM
Congratulations for this great work. :)

I always have this problem, in spite of settings on Wine, regedit or UserPreferences.ini :


fixme:d3d_caps:IWineD3DImpl_GetAdapterMonitor (0x16f5e8): returning the primary monitor for adapter 0
fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
fixme:d3d:IWineD3DImpl_CheckDeviceMultiSampleType Quality levels unsupported at present
fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMe m (0x19a1a0) : stub, simulating 256MB for now, returning 256MB left
fixme:d3d:IWineD3DDeviceImpl_SetSoftwareVertexProc essing (0x19a1a0) : stub
fixme:d3d:IWineD3DDeviceImpl_ResourceReleased Vertex buffer released while bound to a state block, stream 0
fixme:d3d:IWineD3DDeviceImpl_ResourceReleased Vertex buffer released while bound to a state block, stream 0
fixme:d3d:IWineD3DDeviceImpl_ResourceReleased Vertex buffer released while bound to a state block, stream 0
fixme:d3d:IWineD3DDeviceImpl_ResourceReleased Vertex buffer released while bound to a state block, stream 0
fixme:d3d:IWineD3DStateBlockImpl_Release Releasing primary stateblock


Thanks in advance...

Marigny

ajackson
May 29th, 2007, 08:53 PM
Please try the new script (link in the sig) and report

I can confirm it still working on the EU client.

Reading on the EU forum there are a few additional settings in UserPreferences.ini that can help with performance issues.

MaximumFrameRate= between 40 & 60, I have mine at 50
MemoryUsage= between 0.8 & 1.0 (mine is 0.8)
SyncToRefresh=True, supposed to help but I can't see any difference
EngineSpeed=High, mine is left at VeryHigh but a setting of High can help if your CPU lacks a bit of oomph.

SNy
May 29th, 2007, 11:05 PM
Hmpf.
I just got a reply to my forum inquiry.



It really does interest me how one is supposed to
get access to forums.lotro.com if "registration
has been disabled by the administrator" and the
game login does not work. Also, funny that in
order to contact the administrator, you need to
login, meaning you would have to register first,
which ..., you get the point.

Now the question is, is one supposed to get a
lotro forum account along with the game account?
If so, how about lotro-europe? Can we join
forums.lotro.com or can we not?

best regards,

Response:
Greetings,

When you create a NA/Oceania retail account, you simultaneously create a forum account. This is
the only way you can create a forum account on forum.lotro.com.

If you are a Codemasters customer, Codemasters has provided forums for your convenience.

The two forums are separate entities.

I hope this answers your question. Have a good day.

Thank you,
The Turbine Customer Service Team

I think this sucks. We are all playing the same game, really.
So, if one of the (quote) "NA/Oceanic" customers succeeds in running LOTRO with the new launcherscript, PLEASE post it into forums.lotro.com, as I obviously can't.
Thanks,

SNy

scotty2hott2k
May 29th, 2007, 11:12 PM
hi, good work chaps, now i don't play the game but have followed your progress (it interested me :D), just thought you might like to update the wine db as at the moment there is only an entry for the beta and its regarded as garbage etc, perhaps you might like to share what you have done so far.

Beamerboy
May 29th, 2007, 11:22 PM
Excellent work, seriously, I am very impressed. I emailed them recently about their reasons to go with a .net launcher. Below is what I wrote and I sent it to PR@Turbine.Com (maybe everyone else should email them too).



Hello,

I have to say how utterly disappointed I am that this game has been written in such a way as it only works on the Microsoft Windows platform. As a Linux user who does not have a single computer with any of Microsoft's products installed, I discover that I will not be able to play LotRO due to this lack of foresite during development.

I have been a fan of the Lord of the Rings genre for almost 30 years, I own multiple copies of the books, I own all the special collectors editions of the DVDs and I have thousands of dollars worth of LotR products, yet I will be unable to play the game of my favourite fantasy story ever.

You seem to have failed to realise the significance of the Linux user base. Firstly we are all generally IT literate, which would lower your support overheads. Secondly, we are fanatical by nature and thus make very loyal customers. We are also vast in numbers, fair enough, we are not as many as the windows users out there but we do number millions of people around the world, which would be a significant interest to your shareholders.

Why on middle earth did you decide to base the code for the launcher application on .net/C#? Are you deliberately trying to alienate millions of potential customers around the world? Do you realise that we will not install windows just to play your game? Do you also realise that you have annoyed millions of potential customers, which will have a long lasting effect on your business model?

If I was to write a letter and deliver a petition to your shareholders expressing the outrage of Linux community, do you think they would be concerned that you have failed them by blocking a potentially large revenue stream?

So why? Why did you make such a short sighted development decision? Are you not aware that the number of people now using Linux is at an all time high and continuing to increase? Are you not aware of the recent press article reporting on the utter and diabolical failure of Windows Vista's launch? Are you not aware that more people are shifting away from the proprietary windows platform to more open operating systems?

Why?

Why?

It would be nice to have a native Linux client for the game but even without that, you could have made development decisions which did not include .net and c# architectures so that the game could at least have been played in an emulated windows environment such as the popular Wine and Cedega environments. But you chose to make even this impossible. Why?

I have the pleasure of playing many games in Cedega despite being an exclusively Linux user. My current MMORPG of choice is Anarchy Online. I have been a paying subscriber for 2 years and have 2 paid accounts. I pay annually in advance allowing Funcom to invest my bulk payment into other developments and I would do the same with any long term subscription. I would have left Anarchy Online and purchased LotRO and from what I have seen of the screenshots and reports from other players, I would have had a very long term relationship with the game. But I can't because of your short sighted development decisions. Why?

I don't expect an answer to this email, I am sure you receive many similar emails every single day and given your blinkered view on what your potential customers want, I doubt you have any interest in discussing the motives behind your decisions. You probably just see me as another one of those annoying Linux users. But I will say it one last time, only this time I ask you to ask yourself "Why?".

Disappointed Fan

Alexander Hanff


Can anyone confirm if they have managed to get this to work in Cedega 6.0 yet? I can't see it being an issue if it runs in Wine but would be nice to just have some confirmation. Been waiting to buy this game for some time now to replace Anarchy Online so my hats off to everyone who contributed to this thread.

Paladine

Fitzy_oz
May 29th, 2007, 11:55 PM
Hmpf.
I just got a reply to my forum inquiry.



I think this sucks. We are all playing the same game, really.
So, if one of the (quote) "NA/Oceanic" customers succeeds in running LOTRO with the new launcherscript, PLEASE post it into forums.lotro.com, as I obviously can't.
Thanks,

SNy

So so close.... SNy i was just thinking, I've got a guest pass that I got with the game which gives you 10 or 14 days to play the game, that will at least give you a functioning account on this side of the world with which to test the game, do you want me to email it to you?



Welcome to the CLI launcher for LOTRO.
(C) 2007 by SNy

Reading launcher configuration...
08:21:54 URL:http://gls.lotro.com/GLS.DataCenterServer/Service.asmx [3314/3314] -> ".launcher/GLSDataCenter.config" [1]
08:21:55 URL:http://gls.lotro.com/launcher/lotro/lotrolauncher.server.config.xml [4938/4938] -> ".launcher/launcher.config" [1]

Please enter your account details now.
account: hfitzger
password:
Requesting GLS authentication ticket...
08:22:04 URL:http://sitedown.turbine.com/?aspxerrorpath=/GLS.AuthServer/Service.asmx/LoginAccount [1299/1299] -> ".launcher/GLSAuthServer.config" [1]

Error: Could not extract auth result from GLS auth server response.

SNy
May 30th, 2007, 12:12 AM
OH NOES!
They have apparently disabled the plain HTTP methods on all of the services.

Well, DOH!

Looks like we'd need to replace everything with the SOAP crap.
Alas, here I am, listener to "REST, the better web services model" at Jax2007 where the RESTafarian went about how to use simple GET/POST/PUT instead of crappy SOAP, almost thinking some turbine folks had been present there, too, when I threw this script together, only to now find that maybe it was the codemasters guys. Hmpf.

So, now. I will catch some sleep and see if I can rewrite all the other wget calls with the appropriate SOAP bodies... not that I would be too fond of the idea. It cripples the *cough* simplicity *cough* of the script. d;

SNy

--
Edit
Oh, I just saw that question regarding the guest account. Not sure it will work with the EU client, but if you don't otherwise need it and don't mind, I'd give it a try.

Fitzy_oz
May 30th, 2007, 12:42 AM
OH NOES!
They have apparently disabled the plain HTTP methods on all of the services.

Well, DOH!

Looks like we'd need to replace everything with the SOAP crap.
Alas, here I am, listener to "REST, the better web services model" at Jax2007 where the RESTafarian went about how to use simple GET/POST/PUT instead of crappy SOAP, almost thinking some turbine folks had been present there, too, when I threw this script together, only to now find that maybe it was the codemasters guys. Hmpf.

So, now. I will catch some sleep and see if I can rewrite all the other wget calls with the appropriate SOAP bodies... not that I would be too fond of the idea. It cripples the *cough* simplicity *cough* of the script. d;

SNy

--
Edit
Oh, I just saw that question regarding the guest account. Not sure it will work with the EU client, but if you don't otherwise need it and don't mind, I'd give it a try.

Hmm, what pain in the a#$e, stupid Turbine.... The difference must be in that Midway are the disrtbutors over here instead of Codemasters. I can package up the executables and config files for the Oceanic/NA client/launcher (minus the data files of course) I will send you the key in a couple of hours, didn't bring it in to the office with me. Can you send me your're email address?

Silenz
May 30th, 2007, 07:11 AM
great work.
maybe add the last server selection as "default"? because you often play on the same server so it would be nice just to skip this by pressing return.
and what about the "WINEDEBUG=fixme-all" to improve perfomace? good idea from kegie
ok no more ideas for improvemants now... have a great day guys...

ajackson
May 30th, 2007, 09:36 AM
great work.
maybe add the last server selection as "default"? because you often play on the same server so it would be nice just to skip this by pressing return.
and what about the "WINEDEBUG=fixme-all" to improve perfomace? good idea from kegie
ok no more ideas for improvemants now... have a great day guys...

I'd certainly go along with the WINEDEBUG suggestion as I tried playing both with and without and the change is noticeable.

SNy
May 30th, 2007, 07:37 PM
So. Now it HAS to work.

I updated the wget call to the AuthServer service as well, this time taking the SOAP snippet off the wonderful service description lotroeugls.com is kind enough to provide (yes, the folks that have HTTP GET and POST working; they also happen to have an html test form online).

I tried with a US guest account which I just now activated (courtesy of Fitzy_oz) and it now gets the datacenters and launcher config, authenticates (woohoo!), asks for the server, downloads the server config, connects but then stops dead with the black screen and the "Verlassen" (quit) button.
I do suspect that this is due to me trying to connect with the stock EU client, though, so I really DO hope it finally works now.

Script is online as indicated in the sig. Please give it a try and report problems (if any).

Best of luck,
SNy

Oh, PS, I did include "WINEDEBUG=fixme-all" now. Keeping track of last server selection might come in handy but I don't feel like wanting to do that right now.

--
Edit
Oh, heh. As a side effect of creating the US guest account, I am now able to post to forums.lotro.com! Thanks again, Fitzy_oz!

--
Edit2
OH FFS! I was a bit hasty about that last edit. Look what the forum tells me, I can hardly believe my eyes. Suckers.

Hi SNy, thank you for your interest in The Lord of the Rings Online™: Shadows of Angmar™ !

You must have a Pre-order or Retail account to post on our forums or use other members-only features.

Thanks again,
The LOTRO Team

SNy
May 30th, 2007, 08:43 PM
Hats off to the testers!

Thanks to all the suggestion regarding graphic settings and performance tweaks, I am now standing in the auction house in bree, probably one of the most crowded areas which had until now always resulted in a crash, I am deeply impressed by the effect these little changes made. :D

Thanks to ajackson, kegie and all others that testdrive this thing under linux and help in getting it running as smoothly as possible. You rock! :KS

SNy

--
Edit
The only real issue I have is with the mouse pointer. The actual golden mouse pointer is kind of half-hidden and sheared towards the right, on top of it is a blueish mask of the actual appearance. Does anyone else have this?

Lord_Butler
May 30th, 2007, 09:40 PM
SNy, I am trying to run the script you provided and this is the output I get in the terminal:



-e
Welcome to the CLI launcher for LOTRO.
(C) 2007 by SNy

Reading launcher configuration...
15:36:03 URL:http://gls.lotro.com/GLS.DataCenterServer/Service.asmx [3314/3314] -> ".launcher/GLSDataCenter.config" [1]
15:36:03 URL:http://gls.lotro.com/launcher/lotro/lotrolauncher.server.config.xml [4938/4938] -> ".launcher/launcher.config" [1]
./lotro.sh: 100: serverNames[0]=Me: not found
./lotro.sh: 100: serverShortNames[0]=Me: not found
./lotro.sh: 100: serverNames[1]=eldor
Bra: not found
./lotro.sh: 100: serverShortNames[1]=eldor
Bra: not found
./lotro.sh: 100: serverNames[2]=dywi: not found
./lotro.sh: 100: serverShortNames[2]=dywi: not found
./lotro.sh: 100: serverNames[3]=e
Wi: not found
./lotro.sh: 100: serverShortNames[3]=e
Wi: not found
./lotro.sh: 100: serverNames[4]=dfola
Gladde: not found
./lotro.sh: 100: serverShortNames[4]=dfola
Gladde: not found
./lotro.sh: 100: serverNames[5]=
Silverlode
Ele: not found
./lotro.sh: 100: serverShortNames[5]=
Silverlode
Ele: not found
./lotro.sh: 100: serverNames[6]=dilmir
La: not found
./lotro.sh: 100: serverShortNames[6]=dilmir
La: not found
./lotro.sh: 100: serverNames[7]=droval
Arke: not found
./lotro.sh: 100: serverShortNames[7]=droval
Arke: not found
./lotro.sh: 100: serverNames[8]=sto: not found
./lotro.sh: 100: serverShortNames[8]=sto: not found
./lotro.sh: 100: serverNames[9]=e
Firefoot
Nimrodel
Vilya: not found
./lotro.sh: 100: serverShortNames[9]=e
Firefoot
Nimrodel
Vilya: not found
./lotro.sh: 101: serverNames[10]=end-of-list: not found
-e
Please enter your account details now.
account: <my account name>
password: read: 120: Illegal option -s

Requesting GLS authentication ticket...
https://gls.lotro.com/GLS.AuthServer/Service.asmx:
15:36:08 ERROR 500: Internal Server Error..
-e
Error: Could not extract auth result from GLS auth server response.



I have been playing around with it, and it looks like, for some weird reason, any and all n's get dropped from the World names. Also I have noticed that with the -s option set for read password, it just skips asking for a password altogether and sends what I assume to be a blank password to the authentication server. I'm going to try to work to figure out why the server names are getting mangled, but any guess that you have would be greatly appreciated!

Thanks so much for the work you have contributed to this cause so far
Lord Butler

Edit 1: Nevermind, I was being stupid by trying to run the script using "sh ./lotro.script" instead of "bash ./lotro.script" :)

Edit 2: I now get as far as "Connecting to world.." when I get this error "Error: World login queue response indicates failure."

ObiWan2001
May 30th, 2007, 11:03 PM
The only real issue I have is with the mouse pointer. The actual golden mouse pointer is kind of half-hidden and sheared towards the right, on top of it is a blueish mask of the actual appearance. Does anyone else have this?

Seems to me that you run X with 16 bit instead of 24 bit
The Lotro cursor is a 32 bit cursor and X can't display it correctly in 16 bit mode.

sprocket1985
May 31st, 2007, 01:10 AM
I would quite like to make a front end for this script that stores default username and realm selections. Any suggestions for how to go about this? I'm a complete novice to gui programming.
Also, I have some bugs in game. I can see through doorways, and every now and again the game shrinks to a small square in the bottom left of the wine desktop. Any ideas?

SNy
May 31st, 2007, 01:57 AM
Edit 1: Nevermind, I was being stupid by trying to run the script using "sh ./lotro.script" instead of "bash ./lotro.script"

Edit 2: I now get as far as "Connecting to world.." when I get this error "Error: World login queue response indicates failure."

Yeah, number 1 was my guess before I read the edits. I had the same problem before I knew how to correctly set the IFS to newline-only. BTW, just make the script exectuable, it containst a she-bang with /bin/bash for a reason. :D

Regarding #2, do you have any error messages about urlencode.sh missing? You need this extra script to encode the glsTicket for the POST otherwise it will get mangled on the server which will hence fail.



Seems to me that you run X with 16 bit instead of 24 bit
The Lotro cursor is a 32 bit cursor and X can't display it correctly in 16 bit mode.

Indeed I do. That is a leftover from the initial attempts when it told me it couldn't handle 24 bits, wanting either 16 or 32. Since the nvidia driver doesn't do 32, I set it to 16. Thanks for the hint, will try tomorrow.

SNy

prankst3r
May 31st, 2007, 03:02 AM
Is there a location one can download the latest Lotro patch from (ie standalone patch) or do I need to install LOTRO on my vmware xp virtual machine and copy the data over to my .wine install of Lotro?

... I really don't want to have to install Lotro on my vmware xp machine...

Lord_Butler
May 31st, 2007, 03:34 AM
Yeah, number 1 was my guess before I read the edits. I had the same problem before I knew how to correctly set the IFS to newline-only. BTW, just make the script exectuable, it containst a she-bang with /bin/bash for a reason. :D

Regarding #2, do you have any error messages about urlencode.sh missing? You need this extra script to encode the glsTicket for the POST otherwise it will get mangled on the server which will hence fail.




Indeed I do. That is a leftover from the initial attempts when it told me it couldn't handle 24 bits, wanting either 16 or 32. Since the nvidia driver doesn't do 32, I set it to 16. Thanks for the hint, will try tomorrow.

SNy

I get no error messages about urlencode missing, I just put it in the same directory as the script and it seems to work fine (echo $? returns 0). However, I did notice that my $hresult is actually 0x80004005 when it should be 0x00000000, thus causing the error message and the exit. I'm going to try to figure out why it's not 0 and get back to you on this one.

Fitzy_oz
May 31st, 2007, 07:49 AM
So. Now it HAS to work.

I updated the wget call to the AuthServer service as well, this time taking the SOAP snippet off the wonderful service description lotroeugls.com is kind enough to provide (yes, the folks that have HTTP GET and POST working; they also happen to have an html test form online).

I tried with a US guest account which I just now activated (courtesy of Fitzy_oz) and it now gets the datacenters and launcher config, authenticates (woohoo!), asks for the server, downloads the server config, connects but then stops dead with the black screen and the "Verlassen" (quit) button.
I do suspect that this is due to me trying to connect with the stock EU client, though, so I really DO hope it finally works now.

Script is online as indicated in the sig. Please give it a try and report problems (if any).

Best of luck,
SNy

Oh, PS, I did include "WINEDEBUG=fixme-all" now. Keeping track of last server selection might come in handy but I don't feel like wanting to do that right now.

--
Edit
Oh, heh. As a side effect of creating the US guest account, I am now able to post to forums.lotro.com! Thanks again, Fitzy_oz!

--
Edit2
OH FFS! I was a bit hasty about that last edit. Look what the forum tells me, I can hardly believe my eyes. Suckers.

Yeah, what b@#@ards.

Im at the same place, sitting with quit button. I feel like we're on the edge of victory, it has to be something simple. One thing I did observe is that one of the XML files in the .launcher folder -= The one that contains the server information for the datacentres has no login server url or address.

Edit :

IT WORKS!
Copied the updated client files from the VMWARE installation and SUCESS :)

SNy you are a legend thank you to all who helped with this. I don't know if the staff on the Codemasters forums said that it couldn't be done but that was said on our AU/US forums. Congratulations on giving them slice of foot in mouth pie. :)

Performance for me is very good if i take the display depth down to 16bit and sound to 16bit ALSA standard emulation

My Specs are -
Athlon XP 1800+
Nvidia 5200FX 128mb
1 gig of RAM

SNy
May 31st, 2007, 09:45 AM
Im at the same place, sitting with quit button. I feel like we're on the edge of victory, it has to be something simple. One thing I did observe is that one of the XML files in the .launcher folder -= The one that contains the server information for the datacentres has no login server url or address.

Yeah, this is probably due to a change they made earlier, as the entry there suggests it was ONE address. They have these addresses (two now) directly in the server status/config file.



IT WORKS!
Copied the updated client files from the VMWARE installation and SUCESS

:D


Apparently, the black screen is supposed to contain something to the extent of "invalid or out-of-date client version". Had this at first last week when I tried with the unpatched copy.

BTW, I played for about two hours yesterday without a single hitch (but the mouse pointer issue) at 1680x1050 and very good performance (x2 4800+, GF 6800GT AGP), albeit due to reduced details and all not as good-looking as under windows, but I think I can tweak the settings quite a bit.


Regarding Lord_Butler's problem, I am currently at a loss as to a possible cause. IIRC, it would respond with a non-zero HResult only when presented with an invalid ticket. When it doesn't like the request at all, it will simply return an error and the file is empty. So I assume it has to do with urlencoding, somehow. You said earlier that sh lotro.sh fails but bash lotro.sh works, so that implies you actually have something else than bash for /bin/sh (I don't, it's a plain bash for me). Now, the call to urlencode also uses sh:


glsTicketURLencoded=`echo "${glsTicket}" | sh urlencode.sh -- -`
loginQueueURLencoded=`echo "${serverQueue}" | sh urlencode.sh -- -`

Might be worth a try to use bash there instead.

SNy

ajackson
May 31st, 2007, 10:10 AM
that implies you actually have something else than bash for /bin/sh (I don't, it's a plain bash for me). Now, the call to urlencode also uses sh:
urlencode is happy using dash (which is the default for sh on Ubuntu), if you change the permissions on the launcher script to executable and fire it off ./lotrolauncher.sh (or whatever you call it) it knows from the /bin/bash on the first line to use bash rather than dash.

To try and answer a couple of the other questions:

Prankst3r - there was a downloadable patch to get the game to version 1.12 (look in the news section or on the lotro forums) but since then there has been a couple of mini patches which require downloading via the real launcher (until we work out how to get them ourselves)

Sprocket1985 - The seeing through doors sounds like the problem I was having when the option StencilShadows was anything other than Disabled, try changing that and restarting the game. As for a nice gui front end, your best bet may be to use Mono (& Monodevelop), since the real launcher uses .NET so the equivilent functions should exist in Mono.

sprocket1985
May 31st, 2007, 11:15 AM
Ah yes, thankyou. I disabled it in game already, to no effect, but it defaults to on when you load the game again. Disabling in the user preferences file does the trick. Maybe this will also fix the other error.
I'm checking out mono now, but I have DIY to do today so it will have to wait.
I find that Specular Lighting has to be disabled too or you get strange effects when you place the camera in certain positions

sprocket1985
May 31st, 2007, 12:25 PM
Results from my testing:
The options are all fine except:

Antialiasing does not work, nor does overiding in nvidia-settings
Anisotropic filtering has no effect (but Very Sharp is fine)
Specular lighting must be switched off to avoid wierd glitches with certain camera positions, so water looks crap.
Landscape shadows cannot be set higher than medium, or the ground goes black.
Stencil shadows must be turned off (which is very unfortunate to say the least)
Distant Imposters does not seem to work (though there may simply be none on the hills around Bree)
3D Portraits are inexplicably rendered with your portrait over the top of the enemies.
Motion blur (part of post processing effects) may not be working. It is hard to tell.

Bugs excluding those above:

The game will randomly crash to a small square on the wine desktop. Lower graphics settings will reduce the frequency
The above bug will also occur if you turn the camera very quickly
The pointer is not correctly rendered (I remember reading that this is due to colour depth, but I don't know how to fix it. This bug only occurs in 64bit linux).
No sound plays on videos*


* I notice that a file called "ogg.dll" is in the game directory. This could mean that the videos are ogg theora encoded, so might it be possible to pipe them through a native linux codec?
EDIT: Scratch that, the videos are in .bik format which will not play using theora. Either the videos are not ogg or they are archived files.

ajackson
May 31st, 2007, 03:31 PM
The cut scenes can be viewed, with sound, using BinkPlayer which I found here (http://www.radgametools.com/bnkdown.htm). Why you get no sound via wine I don't know, probably some obscure audio format that the wine developers don't know about.

The settings I found that caused me problems were:

StencilShadows - Had to be disabled
VideoPostEffects - Had to be false, which in turn disabled all the post processing options
LandscapeStaticObjectShadows - Gain had to be disabled

Fitzy_oz
June 1st, 2007, 04:36 AM
The cut scenes can be viewed, with sound, using BinkPlayer which I found here (http://www.radgametools.com/bnkdown.htm). Why you get no sound via wine I don't know, probably some obscure audio format that the wine developers don't know about.

The settings I found that caused me problems were:

StencilShadows - Had to be disabled
VideoPostEffects - Had to be false, which in turn disabled all the post processing options
LandscapeStaticObjectShadows - Gain had to be disabled

@ajackson - Has this eradicated the crashes or made them a little less frequent. I haven't really played the game for an extended period of time so I don't think it's had a chance to crash on me.

@SNy
Mate, one thing I changed was the wine line to WINEDEBUG="-all", for some reason the way it was in the script wasn't supressing the errors for me.

ajackson
June 1st, 2007, 10:22 AM
@ajackson - Has this eradicated the crashes or made them a little less frequent. I haven't really played the game for an extended period of time so I don't think it's had a chance to crash on me.

The only problem I have had is a general slowdown after a few hours of play but that seems to be an issue with the game itself judging by the lotro forums. I have had a couple of unexplained crashes where the wine crash log suggests an error with it's graphics processing but I can not recreate those crashes on demand. Overall I'd say the game is as stable under linux as it is on an XP box, vista seems to have another set of problems but then the base os gobbles up a lot more of the available memory which seems to be the key to all the crashes.

Edit to add: If after a while you experience a slowdown, find a safe place to exit and then restart, that seems to free up the leaked memory.

sprocket1985
June 1st, 2007, 11:02 AM
Under "Display" in UserPreferences.ini, I notice a setting that says "GraphicsCore=D3D9".
I have tried D3D7, GLX and OpenGL so far to no effect (the game just resets it to D3D9).
Why is it there do you think?

Fitzy_oz
June 1st, 2007, 11:35 AM
Hi All,
I've drafted up a HOWTO for this incorporating installation and all of the tweaks that everyone has contributed. Have look and add and remove stuff or make corrections.


Before you start make sure you have the following:

SNy’s LOTRO Script:
http://bmx-chemnitz.de/~mfr/LOTRO/
URLEncode (Used by SNy’s Lotro script)
http://www.shelldorado.de/scripts/cmds/urlencode.txt
Windows XP installation or Virtual machine:
http://virtualbox.org/

Optimizations (Useful for most 3d games):
• Open regedit and add the following string value to the key listed below [HKEY_CURRENT_USER\Software\Wine\Direct3D] "UseGLSL"="enabled"
• The following configuration will allow using only playback device with Wine and free capture device for something else. However, if your hardware doesn't support HW mixing, you still won't be able to play sound with any other program at the same time!
• To use ALSA with LOTRO, you must first set it up correctly
• Create a blank document in you’re home directory and name it .asound.rc
• Add the following to it asound.rc
pcm.css {
type asym
playback.pcm "hw:0"
}
• Add the following keys to the registry
[HKEY_CURRENT_USER\Software\Wine\Alsa Driver]
"AutoScanCards"="N"
"DeviceCount"="1"
"devicePCM1"="css"

[HKEY_CURRENT_USER\Software\Wine\DirectSound]
"DefaultBitsPerSample"="16"
"DefaultSampleRate"="44100"
"HardwareAcceleration"="Full"
[HKEY_CURRENT_USER\Software\Wine\Drivers]
"Audio"="alsa"

Installation:
• Install LOTRO with wine onto the Linux machine.
• Install LOTRO onto the XP PC or XP Virtual Machine
• Run LOTRO on the XP PC and allow it to update the client and it’s data files
• Copy the bash scripts lotro.sh and urlencode.sh to the installation directory on Linux, (usually ~/.wine/drive_c/Program Files/Turbine/The Lord of the Rings)
• Upon completion of the update on the XP image, overwrite the installation on the Linux PC with the now updated XP installation. This is key to the client working correctly as it will fail to authenticate and connect if the client is out of date.

Configuration:
• Open winecfg add a custom program entry for lotroclient.exe.
• Setup the following variables:
Windows Version Windows 2000
Sound Alsa
16bit 44.1Khz, Full
Video Allow Directx to stop mouse leaving the application window enabled
Pixel Shader disabled

• Upon completion of the installation you can run the game with the lotro.sh script from the command line. Do this but then immediately exit from the game so that it creates the file UserPreferences.ini in the My documents\The Lord of the Rings Online folder (usually mapped to you’re home directory
• Edit this file and change the following values:
StencilShadows Disabled
VideoPostEffects False
LandscapeStaticObjectShadows Disabled

• The resolution and other graphics options must be set in the userpreferences.ini file as changing them in-game results in a crash.

Please see this thread for more information: http://ubuntuforums.org/showthread.php?t=386480&page=1

ajackson
June 1st, 2007, 01:32 PM
Don't forget to add HKEY_CURRENT_USER/Software/Wine/Direct3D/VideoMemorySize should be set to the amount of memory your graphics card has.

You might want to remove the stuff regarding sound cards or class it as a rough guide as different sound cards may well have different settings that need setting.

Same with the pixel shaders options in winecfg, my card GeForce 7600 GT is happy with them left at the default (enabled).

Aside from that the rough HOW-TO looks good, you going to add it to the WineHQ AppDB?

Sinistral
June 1st, 2007, 08:50 PM
Under "Display" in UserPreferences.ini, I notice a setting that says "GraphicsCore=D3D9".
I have tried D3D7, GLX and OpenGL so far to no effect (the game just resets it to D3D9).
Why is it there do you think?

Don't stick me on this but I think I've read something about upcoming DirectX 10 enhancements for the engine, so this may be what this option is for.

sprocket1985
June 2nd, 2007, 12:12 AM
For people sick of entering their login data, this modified script doesn't prompt you for them. As a bonus, this means you don't have to load the game via a terminal.
It will need to be called with a shell script or similar, e.g.


cd [LOTRO DIRECTORY]
./lotrolauncher.script [username] [password] [server number]



#!/bin/bash

# launch LOTRO client from CLI
#
# to be used
# with cygwin on windows if you just can't stand .NET
# or with wine/cedega under GNU/Linux or *BSD (actual goal)
#
# URL-encoding is necessary, so get urlencode.sh from the net,
# eg. from http://www.shelldorado.de/scripts/cmds/urlencode.txt
#
# (C) 2007 SNy <SNy@bmx-chemnitz.de>
#
#
# v0.9 2007-05-05 initial version
#
# v0.9.1 2007-05-24 "parsing" TurbineLauncher.exe.config
#
# v0.9.2 2007-05-25 added check for installed languages and chooser
# contributor: Sinistral
#
# v0.9.3 2007-05-27 fixed extractions for XML value="$VAL"
# contributor: ajackson (problem identified)
#
# v0.9.4 2007-05-29 changed to SOAP for GetDatacenters due to non-EU LOTRO
# datacenter (US/AU/others) not accepting HTTP GET
# contributor: Fitzy_oz (SOAP request body)
#
# v0.9.5 2007-05-30 changed to SOAP for LoginAccount as well (same reason as 0.9.4)
# SOAP snippet taken from lotroeugls.com service description
# also switched off wine debugging msgs to increase performance
# contributor: kegie (suggested WINEDEBUG=fixme-all)
#
# Project fork v0.9
# 2007-06-01 removed prompts
# script now takes command line arguments in the form below
# ./lotrolauncher.script [username] [password] [server number (e.g. 7)]
# contributor: Donald Robson

########### SETUP

# cleanup temp directory for configuration files downloaded from the official servers
rm -rf .launcher
mkdir .launcher

# launcher config file starts it all, get Game and DataCenter settings
if ! [ -r TurbineLauncher.exe.config ] ; then
echo -e "\nError: TurbineLauncher.exe.config cannot be read.\n";
exit
fi

glsDataCenter_URL=`grep -h "Launcher.DataCenterService.GLS" TurbineLauncher.exe.config | sed -e "s/^.*value=\"\([^\"]*\)\".*$/\1/"`
game=`grep -h "DataCenter.GameName" TurbineLauncher.exe.config | sed -e "s/^.*value=\"\([^\"]*\)\".*$/\1/"`

# get configuration info (xml-file containing auth, patch and game servers with their corresponding settings)
# NOTE: while a normal HTTP GET to /GLS.DataCenterServer/Service.asmx/GetDatacenters?game=LOTROEU
# works fine for the european datacenter, it does not work for the US/AU/... LOTRO one
# instead, we need to send a SOAP request there, ending up with a SOAP answer (no whitespace whatsoever)
# now, to have at least some whitespace we can deal with, sed is used to insert a newline after each closing xml tag below
wget -nv \
--header 'Content-Type: text/xml; charset=utf-8' \
--header 'SOAPAction: "http://www.turbine.com/SE/GLS/GetDatacenters"' \
--post-data "<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"><soap:Body><GetDatacenters xmlns=\"http://www.turbine.com/SE/GLS\"><game>${game}</game></GetDatacenters></soap:Body></soap:Envelope>" \
"${glsDataCenter_URL}" -O .launcher/GLSDataCenter.config
if ! [ -r .launcher/GLSDataCenter.config ] ; then
echo -e "\nError: Could not fetch GLS data center configuration.\n";
exit
fi
# insert the whitespace after closing xml tags here
sed -e "s#\(</[^>]*>\)#\1\n#g" -i .launcher/GLSDataCenter.config

# get dynamic launcher settings
launcherCfg_URL=`grep -h "<LauncherConfigurationServer>" .launcher/GLSDataCenter.config | sed -e "s/^.*<LauncherConfigurationServer>//;s/<\/LauncherConfigurationServer>.*$//"`
wget -nv "${launcherCfg_URL}" -O .launcher/launcher.config
if ! [ -r .launcher/launcher.config ] ; then
echo -e "\nError: Could not fetch dynamic launcher configuration.\n";
exit
fi

# extract game settings from launcher settings
worldQueue_URL=`grep -h "WorldQueue.LoginQueue.URL" .launcher/launcher.config | sed -e "s/^.*value=\"\([^\"]*\)\".*$/\1/"`
worldQueue_ARGTMPL=`grep -h "WorldQueue.TakeANumber.Parameters" .launcher/launcher.config | sed -e "s/^.*value=\"\([^\"]*\)\".*$/\1/"`
gameClient_FILE=`grep -h "GameClient.Filename" .launcher/launcher.config | sed -e "s/^.*value=\"\([^\"]*\)\".*$/\1/"`
gameClient_ARGTMPL=`grep -h "GameClient.ArgTemplate" .launcher/launcher.config | sed -e "s/^.*value=\"\([^\"]*\)\".*$/\1/"`

# extract list of game servers and settings
# this is a PITA without a proper parser
# grep for "<World>" and output 4 lines afterwards (which contain the server config)
# then grep for "<Name>" and strip off any tags
# just the name is saved here, other info will be retrieved later on
worlds=`grep -h -A 4 "<World>" .launcher/GLSDataCenter.config | grep "<Name>" | sed -e "s/^.*<Name>//;s/<\/Name>.*$//"`

# now we have a list of servernames, separated by new-line-characters, split them there into an array, ignore all other whitespace
IFS=$'\n'
i=0
for name in $worlds ; do
serverNames[$i]=$name;
# now, for later use with grep which is confused be the '[Type] ' part, strip it off
serverShortNames[$i]=`echo "${name}" | sed -e "s/\[[^]]*\][ ]//"`
i=$(($i + 1));
done
serverNames[$i]="end-of-list"
unset IFS

# extract the auth server URL from the configuration file
authServer_URL=`grep -h "<AuthServer>" .launcher/GLSDataCenter.config | sed -e "s/^.*<AuthServer>//;s/<\/AuthServer>.*$//"`
if [ -z "${authServer_URL}" ] ; then
echo -e "\nError: Could not extract authentication server URL from launcher configuration.\n";
exit
fi


########### AUTHENTICATION

account=$1
pass=$2
echo ""

# "submit" the login form via POST, will download a file called "LoginAccount"
# NOTE: the same thing as with the DataCenterServer applies here
# the lotroeugls server even has a service description and test form online
# well, at least they provide the SOAP request body as well...
echo "Requesting GLS authentication ticket..."
wget -nv \
--header 'Content-Type: text/xml; charset=utf-8' \
--header 'SOAPAction: "http://www.turbine.com/SE/GLS/LoginAccount"' \
--post-data "<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Body><LoginAccount xmlns=\"http://www.turbine.com/SE/GLS\"><username>${account}</username><password>${pass}</password><additionalInfo></additionalInfo></LoginAccount></soap:Body></soap:Envelope>" \
"${authServer_URL}" -O .launcher/GLSAuthServer.config
if ! [ -r .launcher/GLSAuthServer.config ] ; then
echo -e "\nError: GLS auth server request failed. Wrong account/password?\n";
exit
fi

# extract the account id adn ticket from the file, check for failure
accountNum=`grep -h "<Name>" .launcher/GLSAuthServer.config | sed -e "s/^.*<Name>//;s/<\/Name>.*$//"`
glsTicket=`grep -h "<Ticket>" .launcher/GLSAuthServer.config | sed -e "s/^.*<Ticket>//;s/<\/Ticket>.*$//"`
if [ -z "${accountNum}" ] || [ -z "${glsTicket}" ] ; then
echo -e "\nError: Could not extract auth result from GLS auth server response.\n";
exit
fi
echo -e "Logged in."


########### REALM SELECTION

selectedServer=$3

# with the given index (and therefore server name), look up the server info in the configuration file
# chat server adress is given directly, other stuff needs another file (cache_$REALMNAME.xml) from the server
serverChat=`grep -h -A 4 "<World>" .launcher/GLSDataCenter.config | grep -A 3 "${serverShortNames[$selectedServer]}" | grep -h "<ChatServerUrl>" | sed -e "s/^.*<ChatServerUrl>//;s/<\/ChatServerUrl>.*$//"`
serverStatus_URL=`grep -h -A 4 "<World>" .launcher/GLSDataCenter.config | grep -A 3 "${serverShortNames[$selectedServer]}" | grep -h "<StatusServerUrl>" | sed -e "s/^.*<StatusServerUrl>//;s/<\/StatusServerUrl>.*$//"`

# now we know where the chat server resides and we have the adress of the server xml status file
# download the status file and get server adress and login queue adress to establish the connection
# ToDo: this file also contains current availability information, use it
wget -nv "$serverStatus_URL" -O .launcher/server.config

# extract the list of loginServers and queue URLs (two at this time, it seems)
loginServers=`grep -h "<loginservers>" .launcher/server.config | sed -e "s/^.*<loginservers>//;s/<\/loginservers>.*$//"`
queueUrls=`grep -h "<queueurls>" .launcher/server.config | sed -e "s/^.*<queueurls>//;s/<\/queueurls>.*$//"`
if [ -z "${loginServers}" ] || [ -z "${queueUrls}" ] ; then
echo -e "\nError: Could not extract server information for realm ${serverNames[$selectedServer]}.\n";
exit
fi

IFS=";"
i=0
for adr in $loginServers ; do
serverAdresses[$i]=$adr;
i=$(($i + 1));
done
i=0
for adr in $queueUrls ; do
serverQueues[$i]=$adr;
i=$(($i + 1));
done
unset IFS

# just use the respective first one given
serverAdress="${serverAdresses[0]}"
serverQueue="${serverQueues[0]}"


########### CHOOSE LANGUAGE (by Sinistral)

# get available languages
IFS=$'\n'
i=0
for name in $(ls -x1 *.dat | grep -h "client_local_" | sed -e "s/^.*client_local_//;s/.dat$//"); do
languages[$i]=$name;
i=$(($i + 1));
done
languages[$i]="end-of-list"
unset IFS

# is there even more than one language file? (mod by SNy)
if [[ "${languages[1]}" != "end-of-list" ]] ; then
# select the language
echo -e "\nPlease choose your language now.";
i=0;
while [[ "${languages[$i]}" != "end-of-list" ]] ; do
echo -e "\t$i:\t${languages[$i]}";
i=$(($i + 1));
done;
echo -n "Your choice (enter the number on the left)? ";
read selectedLanguage;
else
selectedLanguage=0;
fi


########### LOGIN QUEUE / CLIENT START

# now get a queue number from the world login queue so that the client can enqueue and authenticate
# the ticket can contain special characters and needs to be URL encoded before POSTing it (same for queue_url)
# launcher.config also includes a parameter template for the world queue request, used the same way as the client args below
glsTicketURLencoded=`echo "${glsTicket}" | sh urlencode.sh -- -`
loginQueueURLencoded=`echo "${serverQueue}" | sh urlencode.sh -- -`
# the launcher.config also includes a parameter template for the world queue request
worldQueue_ARGS=`echo "${worldQueue_ARGTMPL}" | sed -e "s/[{]0[}]/${accountNum}/;s/[{]1[}]/${glsTicketURLencoded}/;s/[{]2[}]/${loginQueueURLencoded}/;s/\&amp\;/\&/g"`
echo -e "\nConnecting to world login queue for realm ${serverNames[$selectedServer]}...";
wget -nv --post-data="${worldQueue_ARGS}" "${worldQueue_URL}" -O .launcher/WorldQueue.config
if ! [ -r .launcher/WorldQueue.config ] ; then
echo -e "\nError: World login queue request failed.\n";
exit
fi

# check the result, should be HRESULT 0x00000000, indicating success (Windows API madness)
hresult=`grep -h "<HResult>" .launcher/WorldQueue.config | sed -e "s/^.*<HResult>//;s/<\/HResult>.*$//"`
if [ "$hresult" != "0x00000000" ] ; then
echo -e "\nError: World login queue response indicates failure.";
exit
fi

# OK, so we have a template for the client arguments and we have the arguments
# note that for replacing the glsTicket, I use s### instead of s/// due to the ticket containing slashes
# hopefully, it doesn't contain any sharp characters :)
gameClient_ARGS=`echo "${gameClient_ARGTMPL}" | sed -e "s/[{]0[}]/${accountNum}/;s/[{]1[}]/${serverAdress}/;s#[{]2[}]#${glsTicket}#;s/[{]3[}]/${serverChat}/;s/[{]4[}]/${languages[$selectedLanguage]}/"`

# all ready, now fire up the client
echo "Ready. Now starting the client..."
WINEDEBUG=fixme-all \
wine ${gameClient_FILE} ${gameClient_ARGS}


########### THAT'S IT

# permission granted to use and modify, as long as original copyleft notice is retained
# (C) 2007 SNy <SNy@bmx-chemnitz.de>
#
# the initial version of this script has been based on
# . dumping command line arguments from the original .NET launcher
# . the turbine "GLS auth server" description
# and inspired by
# . the need to circumvent the stupid .NET launcher
# . a loose couple of thoughts from ubuntuforum members
#
# it has since been rewritten to extract all of its formerly static settings from
# the official resources given in a number of xml-files starting with
# TurbineLauncher.exe.config

Fitzy_oz
June 3rd, 2007, 03:21 AM
Don't forget to add HKEY_CURRENT_USER/Software/Wine/Direct3D/VideoMemorySize should be set to the amount of memory your graphics card has.

You might want to remove the stuff regarding sound cards or class it as a rough guide as different sound cards may well have different settings that need setting.

Same with the pixel shaders options in winecfg, my card GeForce 7600 GT is happy with them left at the default (enabled).

Aside from that the rough HOW-TO looks good, you going to add it to the WineHQ AppDB?

Cool, I'll add those things to it.
I will also add it to APPDB on winehq.

sprocket1985
June 3rd, 2007, 07:36 PM
Further to my modified script above, those of you who don't like the idea of having your account info laying about in a file could do the following:

Insert the following C++ code into a text file:



#include <iostream>
#include <stdlib.h>

main()
{
system("./lotrolauncher.script [username] [password] [server number]");
}



Replacing the fields with the correct data and leaving a blank line at the end. Save the file in your lotro directory as "lotro.cpp" then go to a terminal and navigate to the right directory. Now we will compile the C++ file.
Type:


g++ lotro.cpp -o lotrolauncher.bin


Lastly, run the new executable:


./lotrolauncher.bin


If the game loads, delete "lotro.cpp" and rest assured that no visitors to your computer will find out your account password.

EDIT: This option doesn't seem to work outside the terminal; clicking the icon in Konqueror won't load the game. However, making a link to it and clicking that will have the desired effect. Does anyone know why this is?

carajean
June 4th, 2007, 04:09 AM
Has anyone got this work completely yet? In a playable mode. I tried to read all 15 pages but im really anxious to play.

ajackson
June 4th, 2007, 09:46 AM
Has anyone got this work completely yet? In a playable mode. I tried to read all 15 pages but im really anxious to play.
Yes, if you use Sny's script (http://bmx-chemnitz.de/~mfr/LOTRO/) and watch out for the various graphics settings & winecfg/regedit tweaks that I and others have posted you can play the game under linux. Unfortunately you still need to use windows to patch the game but hopefully we can get that sorted eventually.

bsleys
June 4th, 2007, 06:35 PM
I keep getting an error when the game lauches and switchs resulutions that I need to change my color depth to 16 or 32 to run the game in windows or switch to full screen mode. I can't get past this. If anyone has any ideas I'd really appreaciate it. I did trying changing the xorg.conf file and the default color depth to 16 and 32 but then X comes up with a blank screen so I had to change it back to 24.

ajackson
June 4th, 2007, 08:45 PM
I keep getting an error when the game lauches and switchs resulutions that I need to change my color depth to 16 or 32 to run the game in windows or switch to full screen mode. I can't get past this. If anyone has any ideas I'd really appreaciate it. I did trying changing the xorg.conf file and the default color depth to 16 and 32 but then X comes up with a blank screen so I had to change it back to 24.
Edit your UserPreferences.ini and find the line that reads AllowFakeFullScreen, make sure that equals False

carajean
June 4th, 2007, 09:55 PM
Please I got the script but I have no idea where to start I thought I installed wine but its gone now :( I dont know how to even get wine to appear or is there something I click on? I really need some help setting this up if anyone can take the time to teach a newb. I also have no idea what to do with the script. So far i have the game installed in my transgaming directory from there im lost again. I ran across a step by step guide on how to get it running in wine but I forgot to bookmark it and now I cant find it to save my life.

dahli.llama
June 4th, 2007, 09:59 PM
Awesome job you guys!

I guess I know what I will be doing tonight :D Installing Linux again, as this game was really the only reason why I've been using Windows.

Edit: Just a quick question. How do you guys update? Do you run the game directly off of a Windows partition so you can just update the game in Windows and then play in Linux? Or do you have a seperate install for both and then copy the files from the Windows partition to the Linux install? I'd prefer to use the second method there, but if the first method works better I would run with that.

Thanks

Memory.Dump
June 5th, 2007, 01:19 AM
ok so I followed the howto, I copied the most recent shell script and I get

20:04:29 URL:http://gls.lotro.com/GLS.DataCenterServer/Service.asmx [3314/3314] -> ".launcher/GLSDataCenter.config" [1]
20:04:29 URL:http://gls.lotro.com/launcher/lotro/lotrolauncher.server.config.xml [4938/4938] -> ".launcher/launcher.config" [1]
lotrolauncher.sh: 101: serverNames[0]=Me: not found
lotrolauncher.sh: 101: serverShortNames[0]=Me: not found
lotrolauncher.sh: 101: serverNames[1]=eldor
Bra: not found
lotrolauncher.sh: 101: serverShortNames[1]=eldor
Bra: not found
lotrolauncher.sh: 101: serverNames[2]=dywi: not found
lotrolauncher.sh: 101: serverShortNames[2]=dywi: not found
lotrolauncher.sh: 101: serverNames[3]=e
Wi: not found
lotrolauncher.sh: 101: serverShortNames[3]=e
Wi: not found
lotrolauncher.sh: 101: serverNames[4]=dfola
Gladde: not found
lotrolauncher.sh: 101: serverShortNames[4]=dfola
Gladde: not found
lotrolauncher.sh: 101: serverNames[5]=
Silverlode
Ele: not found
lotrolauncher.sh: 101: serverShortNames[5]=
Silverlode
Ele: not found
lotrolauncher.sh: 101: serverNames[6]=dilmir
La: not found
lotrolauncher.sh: 101: serverShortNames[6]=dilmir
La: not found
lotrolauncher.sh: 101: serverNames[7]=droval
Arke: not found
lotrolauncher.sh: 101: serverShortNames[7]=droval
Arke: not found
lotrolauncher.sh: 101: serverNames[8]=sto: not found
lotrolauncher.sh: 101: serverShortNames[8]=sto: not found
lotrolauncher.sh: 101: serverNames[9]=e
Firefoot
Nimrodel
Vilya: not found
lotrolauncher.sh: 101: serverShortNames[9]=e
Firefoot
Nimrodel
Vilya: not found
lotrolauncher.sh: 102: serverNames[10]=end-of-list: not found

Requesting GLS authentication ticket...
https://gls.lotro.com/GLS.AuthServer/Service.asmx:
20:04:30 ERROR 500: Internal Server Error..
-e
Error: Could not extract auth result from GLS auth server response.

memorydump@memorydump-desktop:~/.wine/drive_c/Program Files/Turbine/The Lord of the Rings Online$ gedit readme1
memorydump@memorydump-desktop:~/.wine/drive_c/Program Files/Turbine/The Lord of the Rings Online$ wincfg
bash: wincfg: command not found
memorydump@memorydump-desktop:~/.wine/drive_c/Program Files/Turbine/The Lord of the Rings Online$ winecfg
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM css
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM css
fixme:jack:JACK_drvLoad error loading the jack library libjack.so, please install this library to use jack
memorydump@memorydump-desktop:~/.wine/drive_c/Program Files/Turbine/The Lord of the Rings Online$ sh lotrolauncher.sh
20:17:03 URL:http://gls.lotro.com/GLS.DataCenterServer/Service.asmx [3314/3314] -> ".launcher/GLSDataCenter.config" [1]
20:17:08 URL:http://gls.lotro.com/launcher/lotro/lotrolauncher.server.config.xml [4938/4938] -> ".launcher/launcher.config" [1]
lotrolauncher.sh: 101: serverNames[0]=Me: not found
lotrolauncher.sh: 101: serverShortNames[0]=Me: not found
lotrolauncher.sh: 101: serverNames[1]=eldor
Bra: not found
lotrolauncher.sh: 101: serverShortNames[1]=eldor
Bra: not found
lotrolauncher.sh: 101: serverNames[2]=dywi: not found
lotrolauncher.sh: 101: serverShortNames[2]=dywi: not found
lotrolauncher.sh: 101: serverNames[3]=e
Wi: not found
lotrolauncher.sh: 101: serverShortNames[3]=e
Wi: not found
lotrolauncher.sh: 101: serverNames[4]=dfola
Gladde: not found
lotrolauncher.sh: 101: serverShortNames[4]=dfola
Gladde: not found
lotrolauncher.sh: 101: serverNames[5]=
Silverlode
Ele: not found
lotrolauncher.sh: 101: serverShortNames[5]=
Silverlode
Ele: not found
lotrolauncher.sh: 101: serverNames[6]=dilmir
La: not found
lotrolauncher.sh: 101: serverShortNames[6]=dilmir
La: not found
lotrolauncher.sh: 101: serverNames[7]=droval
Arke: not found
lotrolauncher.sh: 101: serverShortNames[7]=droval
Arke: not found
lotrolauncher.sh: 101: serverNames[8]=sto: not found
lotrolauncher.sh: 101: serverShortNames[8]=sto: not found
lotrolauncher.sh: 101: serverNames[9]=e
Firefoot
Nimrodel
Vilya: not found
lotrolauncher.sh: 101: serverShortNames[9]=e
Firefoot
Nimrodel
Vilya: not found
lotrolauncher.sh: 102: serverNames[10]=end-of-list: not found

Requesting GLS authentication ticket...
https://gls.lotro.com/GLS.AuthServer/Service.asmx:
20:17:08 ERROR 500: Internal Server Error..
-e
Error: Could not extract auth result from GLS auth server response.

I'm not sure what I am doing wrong I also went to the website mention and got the urlencode.sh file and its there too

bsleys
June 5th, 2007, 03:40 AM
Awesome job you guys!

I guess I know what I will be doing tonight :D Installing Linux again, as this game was really the only reason why I've been using Windows.

Edit: Just a quick question. How do you guys update? Do you run the game directly off of a Windows partition so you can just update the game in Windows and then play in Linux? Or do you have a seperate install for both and then copy the files from the Windows partition to the Linux install? I'd prefer to use the second method there, but if the first method works better I would run with that.

ThanksI just set this up on my linux box last night but what I did was install from the DVD to be sure all the windows dlls where where they needed to be. The install runs fine from wine. Then I copied over al lthe files from my windows box onto the linux box by sharing my LOTRO folder. If you have only 1 box you'll need to either have windows installed via dual boot or in virtualization, ie virtual box, vmware or something similar. You can'p play from a virtual install but the updater does work. You will again have to share the game dir in your virtual install and copy the files out into your wine install.

carajean
June 5th, 2007, 04:47 AM
Im getting an error 131 when i try and launch the game here is a screen shot of the error. I says something about resetting the graphics in the launcher. I almost got it working except for this small detail.

http://img365.imageshack.us/img365/4200/lotroerror131el9.th.png (http://img365.imageshack.us/my.php?image=lotroerror131el9.png)

ajackson
June 5th, 2007, 09:34 AM
@Memory.Dump - how are you starting the launcher script? if it is

sh ./scriptname where scriptname is the name of the script, then you need to use

bash ./scriptname
The alternative is to do a chmod a+x scriptname then you can run it by typing

./scriptname

@carajean
I might be wrong here but did you get this error the very first time you tried to run the game? I think it is caused by there being no UserPreferences.ini file (which needs a bit of tweaking once it is created, see some of the earlier posts). Try it again when the servers are up again you shouldn't get that message again, you might get one about needing to be in 16 or 32 bit mode but that just means you need to adjust the settings in UserPreferences.ini

Memory.Dump
June 5th, 2007, 12:15 PM
i've tried it all those ways and I get the same error

although it seemed short with ./lotrolauncher.sh


emorydump@memorydump-desktop:~/.wine/drive_c/Program Files/Turbine/The Lord of the Rings Online$ ./lotrolauncher.sh
07:14:24 URL:http://gls.lotro.com/GLS.DataCenterServer/Service.asmx [3314/3314] -> ".launcher/GLSDataCenter.config" [1]
07:14:24 URL:http://gls.lotro.com/launcher/lotro/lotrolauncher.server.config.xml [4938/4938] -> ".launcher/launcher.config" [1]

Requesting GLS authentication ticket...
https://gls.lotro.com/GLS.AuthServer/Service.asmx:
07:14:25 ERROR 500: Internal Server Error..

Error: Could not extract auth result from GLS auth server response.



could I have not done something that might have been overlooked in the howto? like changing localization or something? I live in canada so i assume it'd just be north american but I don't know

Fitzy_oz
June 5th, 2007, 12:40 PM
i've tried it all those ways and I get the same error

although it seemed short with ./lotrolauncher.sh


emorydump@memorydump-desktop:~/.wine/drive_c/Program Files/Turbine/The Lord of the Rings Online$ ./lotrolauncher.sh
07:14:24 URL:http://gls.lotro.com/GLS.DataCenterServer/Service.asmx [3314/3314] -> ".launcher/GLSDataCenter.config" [1]
07:14:24 URL:http://gls.lotro.com/launcher/lotro/lotrolauncher.server.config.xml [4938/4938] -> ".launcher/launcher.config" [1]

Requesting GLS authentication ticket...
https://gls.lotro.com/GLS.AuthServer/Service.asmx:
07:14:25 ERROR 500: Internal Server Error..

Error: Could not extract auth result from GLS auth server response.



could I have not done something that might have been overlooked in the howto? like changing localization or something? I live in canada so i assume it'd just be north american but I don't know

That looks like the error I get when trying to run script from outside the installation directory.
Have you tried it from a terminal in the directory itself?

Memory.Dump
June 5th, 2007, 01:05 PM
thats exactly what I'm doing I'm running it from the terminal inside directory .wine/drive_c/Program Files/Turbine/The Lord of the Rings Online/

carajean
June 5th, 2007, 01:41 PM
Yes I did edit the userpref.ini file I dont know where else to go with this. Im gonna just try playin around with something i guess. I tried several different resolutions and still nothing. any help even if i have to start over is nice.

carajean
June 5th, 2007, 01:57 PM
"ajackson:@carajean
I might be wrong here but did you get this error the very first time you tried to run the game? I think it is caused by there being no UserPreferences.ini file (which needs a bit of tweaking once it is created, see some of the earlier posts). Try it again when the servers are up again you shouldn't get that message again, you might get one about needing to be in 16 or 32 bit mode but that just means you need to adjust the settings in UserPreferences.ini"

I am getting this now and i turned the allowfakefull line to false and im still getting it. Any other ideas on what i may have to do to set this to what it needs to be?

Fitzy_oz
June 5th, 2007, 02:25 PM
"ajackson:@carajean
I might be wrong here but did you get this error the very first time you tried to run the game? I think it is caused by there being no UserPreferences.ini file (which needs a bit of tweaking once it is created, see some of the earlier posts). Try it again when the servers are up again you shouldn't get that message again, you might get one about needing to be in 16 or 32 bit mode but that just means you need to adjust the settings in UserPreferences.ini"

I am getting this now and i turned the allowfakefull line to false and im still getting it. Any other ideas on what i may have to do to set this to what it needs to be?

What resolution? I can't get the game to run in 800x600 full screen.

dahli.llama
June 5th, 2007, 02:32 PM
I just set this up on my linux box last night but what I did was install from the DVD to be sure all the windows dlls where where they needed to be. The install runs fine from wine. Then I copied over al lthe files from my windows box onto the linux box by sharing my LOTRO folder. If you have only 1 box you'll need to either have windows installed via dual boot or in virtualization, ie virtual box, vmware or something similar. You can'p play from a virtual install but the updater does work. You will again have to share the game dir in your virtual install and copy the files out into your wine install.

OK.

What I ended up doing was copying my LOTRO files over to my fileserver box so I wouldn't lose my config files and all the updates, and then doing the Ubuntu install. Then, after installing Wine, I copied the LOTRO files back to my machine. The weird thing is that I would get Timeout errors when copying the files off my other Linux machine, so I had to copy the files to my wife's Windows machine and then onto my machine, so that took an extra hour. I don't know why that was happening, though.

I wasn't able to just install the LOTRO files off the disk, because I was unable to unmount and eject the first disc and insert the second disc. How is that done in Wine? I guess the only experience I have really is with Cedega.

Anyways, I got all the files onto my Linux machine and I tried it for a few minutes this morning. I ran the script and everything worked smoothly once I chmodded it. At first I got the [131] error, but once I found where that got placed, I grabbed my old one (it resides in the My Documents folder on a Windows machine, and in the Home folder in Linux) and copied it over. Then when I ran it I got the error telling me I need 16 or 32 bit mode (I've attached a screenshot). I know someone was able to fix that, but I can't seem to find how.

I played in windowed mode on Windows, so that's what my UserPereferences.ini is setup for.

I haven't had a chance to tweak with it much more, since I'm at work now, but it's certainly looking promising.

ajackson
June 5th, 2007, 02:32 PM
emorydump@memorydump-desktop:~/.wine/drive_c/Program Files/Turbine/The Lord of the Rings Online$ ./lotrolauncher.sh
07:14:24 URL:http://gls.lotro.com/GLS.DataCenterServer/Service.asmx [3314/3314] -> ".launcher/GLSDataCenter.config" [1]
07:14:24 URL:http://gls.lotro.com/launcher/lotro/lotrolauncher.server.config.xml [4938/4938] -> ".launcher/launcher.config" [1]

Requesting GLS authentication ticket...
https://gls.lotro.com/GLS.AuthServer/Service.asmx:
07:14:25 ERROR 500: Internal Server Error..

Error: Could not extract auth result from GLS auth server response.



could I have not done something that might have been overlooked in the howto? like changing localization or something? I live in canada so i assume it'd just be north american but I don't know
It looks like you are using the modded version of the script that sprocket1985 posted since you aren't being prompted for username, password and server. I think with that script you have to run it like

./lotrolauncher.sh username password server, personally I'd stick with SNy's script (link is in his signature line) which prompts for those things until we have a proper working version (I'm working on a GUI version based on the script but also trying to figure out how the patching works).

Try it with SNy's script or find sprocket1985's post (on the previous page I think) which tells you the correct parameters.

Memory.Dump
June 5th, 2007, 02:37 PM
thats likely...I grabbed the most recent one posted, and I'm not submitting any info with it so I'll try that and see what happens, thanks

ajackson
June 5th, 2007, 02:44 PM
I wasn't able to just install the LOTRO files off the disk, because I was unable to unmount and eject the first disc and insert the second disc. How is that done in Wine? I guess the only experience I have really is with Cedega.
What you need to do is wait for the installer to prompt for the next disk, start up a terminal and type

sudo umount /dev/cdrom You'll have to find out what the correct device is called, on my system I get /dev/cdrom.

That should eject the disk, replace it with the next disk, close the bay, wait for Ubuntu to recognise it (close the file browser it tends to pop up), then either the install continues or you have to click a continue button or something.



I played in windowed mode on Windows, so that's what my UserPereferences.ini is setup for.
That is the problem, edit the UserPrefs and change the FullScreen=False to FullScreen=True, though once it is loaded I believe you can change it back without the game crashing but you can not start it in windowed mode for some reason.

ajackson
June 5th, 2007, 02:53 PM
"ajackson:@carajean
I might be wrong here but did you get this error the very first time you tried to run the game? I think it is caused by there being no UserPreferences.ini file (which needs a bit of tweaking once it is created, see some of the earlier posts). Try it again when the servers are up again you shouldn't get that message again, you might get one about needing to be in 16 or 32 bit mode but that just means you need to adjust the settings in UserPreferences.ini"

I am getting this now and i turned the allowfakefull line to false and im still getting it. Any other ideas on what i may have to do to set this to what it needs to be?
I've just done a test on my system, you get a 131 when AllowFakeScreen is not False.

Start up winecfg and select the "Desktop Integration" tab, you should see a list of where various windows folders live, see where "My Documents" is pointing to and go there via nautilus (or some other file browser), there should be a directory called "The Lord....blah blah" it is in there that the client expects to find the UserPreferences.ini file. If that is the file you have altered post it on here and I'll try to fire my game with your config file to see what I get.

dahli.llama
June 5th, 2007, 03:20 PM
What you need to do is wait for the installer to prompt for the next disk, start up a terminal and type

sudo umount /dev/cdrom You'll have to find out what the correct device is called, on my system I get /dev/cdrom.

That should eject the disk, replace it with the next disk, close the bay, wait for Ubuntu to recognise it (close the file browser it tends to pop up), then either the install continues or you have to click a continue button or something.
[quote]

I tried that, and when I ran umount, it told me the drive was busy. So I did a lazy umount, but then the PC wouldn't recognize the other disk. Oh well, I have the files copied. If that doesn't work then I'll try the install again, but for now things are looking alright. If nothing else, I'll download the trial install and just install it from the hard drive, since I don't use the high-res textures anyways.

[QUOTE=ajackson;2785759]
That is the problem, edit the UserPrefs and change the FullScreen=False to FullScreen=True, though once it is loaded I believe you can change it back without the game crashing but you can not start it in windowed mode for some reason.

Interesting. I'll keep that in mind when I try it again tonight.

dahli.llama
June 5th, 2007, 06:16 PM
Ok, I set AllowFakeScreen=False and FullScreen=True, and I was able to get into the game. It showed the intro movie and brought me to character selection. There I hit Alt+Enter to switch to Windowed mode, since I play with dual monitors and didn't want everything stretched. I selected my character, and it looked like everything was loading alright, but when it got to the end of the progress bar, it just crashed to desktop. I didn't see anything real telling in the terminal window, so I don't really know what happened.

I do know that I haven't messed with any other settings in Wine or in my UserPreferences.ini file, so either of those could be the culprit. I was also running a custom UI skin in Windows, and did transfer that over, so that could also cause problems I would imagine.

Is there a consolidated list of settings for both the game and Wine for this game? I know I've seen a lot of settings being tossed around, but it is getting quite difficult to track them down in all these pages. I looked at WineHQ, but it doesn't look like this game has been added to the DB yet.

carajean
June 5th, 2007, 06:44 PM
Ok got the game to launch it says the 1 to 20 attempts then goes to a black screen where the only thing visable is a blue box that says quit and I can click this box and it drop me back down to the desktop.

I get this error in console

Ready. Now starting the client...
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:wave:DSDB_MapBuffer Could not map sound device for direct access (Input/output error)
err:wave:DSDB_MapBuffer Please run winecfg, open "Audio" page and set
"Hardware Acceleration" to "Emulation".
err:dscapture:widDsCreate DirectSoundCapture flag not set
This sound card's driver does not support direct access
The (slower) DirectSound HEL mode will be used instead.

But other than that I have to install the game to a windows machine and let it update. NOW when I do this do I just overwrite my existing files or what do I have to do to get this up to date and playable??? Im lost here but this thread has been goin well so im gonna stick around a long time and see how it goes.

dahli.llama
June 5th, 2007, 08:02 PM
Ok got the game to launch it says the 1 to 20 attempts then goes to a black screen where the only thing visable is a blue box that says quit and I can click this box and it drop me back down to the desktop.

I get this error in console

Ready. Now starting the client...
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:wave:DSDB_MapBuffer Could not map sound device for direct access (Input/output error)
err:wave:DSDB_MapBuffer Please run winecfg, open "Audio" page and set
"Hardware Acceleration" to "Emulation".
err:dscapture:widDsCreate DirectSoundCapture flag not set
This sound card's driver does not support direct access
The (slower) DirectSound HEL mode will be used instead.

But other than that I have to install the game to a windows machine and let it update. NOW when I do this do I just overwrite my existing files or what do I have to do to get this up to date and playable??? Im lost here but this thread has been goin well so im gonna stick around a long time and see how it goes.

It looks like you need to setup your Audio in Wine. Run winecfg from the command line and take a look at the Audio tab.

As for updating, yes, install the game in Windows, let it update, and then copy all of the files from there to the Linux install. You'd really just have to copy the updated files, but it can be tricky to determine which ones those are.

ajackson
June 5th, 2007, 08:12 PM
Is there a consolidated list of settings for both the game and Wine for this game? I know I've seen a lot of settings being tossed around, but it is getting quite difficult to track them down in all these pages. I looked at WineHQ, but it doesn't look like this game has been added to the DB yet.
Look through some of the earlier posts on this thread (especially mine), there are a couple of regedit settings (VideoMemorySize & UseGLSL or something like that) and three definate settings in UserPrefs (StencilShadows=Disabled, VideoPostEffects=False & LandscapeStaticObjectShadows=Disabled).

You'll have to double-check the ones set via regedit because I'm not 100% sure I've given them the right name.

The AppDB for LotRO is a mess at the moment (and in the wrong section), it's on my to-do list for getting corrected.

ajackson
June 5th, 2007, 08:17 PM
err:wave:DSDB_MapBuffer Please run winecfg, open "Audio" page and set
"Hardware Acceleration" to "Emulation".
err:dscapture:widDsCreate DirectSoundCapture flag not set
This sound card's driver does not support direct access
The (slower) DirectSound HEL mode will be used instead.
I'd check your audio settings, try OSS or Alsa and the hardware emulation settings for both (ie try Alsa on emulation, alsa on non-emulation, OSS/emulation then OSS/non-emulation) until you find one that works, note that at present the movies play but with no sound so you need to wait till you hit the character selection screen for noise.


But other than that I have to install the game to a windows machine and let it update. NOW when I do this do I just overwrite my existing files or what do I have to do to get this up to date and playable??? Im lost here but this thread has been goin well so im gonna stick around a long time and see how it goes.
I just re-copy the entire LotRO directory (from Program Files) after an update, all your config settings are stored elsewhere so you don't have to worry about accidently overwriting them.

fernando_lopes_jr
June 5th, 2007, 08:20 PM
Could someone please write a how-to for making the game work.

mike r
June 5th, 2007, 08:56 PM
I did a writeup based on info found in this posting. Got it working on my MEPIS system. Should be pretty much the same for Ubuntu.

It is currently for EU servers, though this thread points how to get it working for US servers.

http://www.mepislovers.org/forums/showthread.php?t=7958

Memory.Dump
June 5th, 2007, 09:28 PM
ok so I got SNy's script and I get the following


16:25:41 URL:http://gls.lotro.com/launcher/lotro/lotrolauncher.server.config.xml [4938/4938] -> ".launcher/launcher.config" [1]

Please enter your account details now.
account: <entered my username here>
password: <entered my PW here>
Requesting GLS authentication ticket...
16:25:49 URL:https://gls.lotro.com/GLS.AuthServer/Service.asmx [1138/1138] -> ".launcher/GLSAuthServer.config" [1]
Logged in.

The following servers are available:
0: Meneldor
1: Brandywine
2: Windfola
3: Gladden
4: Silverlode
5: Elendilmir
6: Landroval
7: Arkenstone
8: Firefoot
9: Nimrodel
10: Vilya
Your choice (enter the number on the left)? 1
16:25:53 URL:http://launcher.turbine.com/serverinfo.php?s=206.16.158.2 [0/0] -> ".launcher/server.config" [1]

Error: Could not extract server information for realm Brandywine.

memorydump@memorydump-desktop:~/.wine/drive_c/Program Files/Turbine/The Lord of the Rings Online$
memorydump@memorydump-desktop:~/.wine/drive_c/Program Files/Turbine/The Lord of the Rings Online$

dahli.llama
June 5th, 2007, 09:55 PM
@Memory.Dump: Is Brandywine available? I know that is one of the servers that seems to regularly have a high load. I don't know how the script handles server queues, though. Could you get onto any of the other servers?


@Mike R: Very nice tutorial. I will need to try those settings when I get how. About the regedit thing, is that a Linux command? I've use regedit in Windows, but never in Linux. I am running Ubuntu, by the way.

Also, what Wine settings are you using? I've seen mention that turning debugging on makes things work smoother. Where exactly do those get set?

Thanks.

Memory.Dump
June 5th, 2007, 09:58 PM
I did try one other I will try a few more to see

EDIT: I tried that and nothing, wonder if its the ports on my router
EDIT: and nothing I don't know

EDIT: Ok so I put a caps at the top of my name and it sorta works now, I get an error 11 about graphics settings and saying unable to find game display mode however there is UserPreferences.ini that I can see anywhere this seems to be what people were talkinga bout previously or could it be I did something wrong in the regedit?

dahli.llama
June 5th, 2007, 11:11 PM
Well, there's no point in trying this at the moment. They are doing some patching on the game. They say it will last until 7 pm EDT. I hope it's done by then, because i was planning on playing tonight :D

Edit: It looks like the patcher is done and the US servers are up.

mike r
June 6th, 2007, 02:04 AM
dahli.llama,

Just open a Konsole window and you should be able to type "regedit" and it will come up.

In regards to the Wine settings, mine are -

Windows Version - Windows 2000
Audio I have ALSA checked, and OSS unchecked

All other settings are default.

Mike R.

dahli.llama
June 6th, 2007, 03:51 AM
I did a writeup based on info found in this posting. Got it working on my MEPIS system. Should be pretty much the same for Ubuntu.

It is currently for EU servers, though this thread points how to get it working for US servers.

http://www.mepislovers.org/forums/showthread.php?t=7958

Just a couple typos:

VideoPostEffects=Disabled (should be False. It's a True/False value.)
MemoryUsage= between 0.8 (between what and 0.8?)

Other than that, I used those settings, and everything works great. I'm in the game playing right now :D

Fitzy_oz
June 6th, 2007, 04:11 AM
Ok got the game to launch it says the 1 to 20 attempts then goes to a black screen where the only thing visable is a blue box that says quit and I can click this box and it drop me back down to the desktop.

I get this error in console

Ready. Now starting the client...
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:wave:DSDB_MapBuffer Could not map sound device for direct access (Input/output error)
err:wave:DSDB_MapBuffer Please run winecfg, open "Audio" page and set
"Hardware Acceleration" to "Emulation".
err:dscapture:widDsCreate DirectSoundCapture flag not set
This sound card's driver does not support direct access
The (slower) DirectSound HEL mode will be used instead.

But other than that I have to install the game to a windows machine and let it update. NOW when I do this do I just overwrite my existing files or what do I have to do to get this up to date and playable??? Im lost here but this thread has been goin well so im gonna stick around a long time and see how it goes.

You need to copy everything from the windows installation to the ~/.wine/drive_c/Program Files/Turbine/The Lord of the Rings Online folder. You should then have a fully updated and functional copy...

Fitzy_oz
June 6th, 2007, 04:17 AM
I did try one other I will try a few more to see

EDIT: I tried that and nothing, wonder if its the ports on my router
EDIT: and nothing I don't know

EDIT: Ok so I put a caps at the top of my name and it sorta works now, I get an error 11 about graphics settings and saying unable to find game display mode however there is UserPreferences.ini that I can see anywhere this seems to be what people were talkinga bout previously or could it be I did something wrong in the regedit?

TO EVERYONE ON THE US SERVERS - There has been an update overnight, you will need to run the update from the windows copy or virtual machine and copy the files across

The UserPreferences.ini should be in the 'My Documents/The Lord of the Rings Online' folder.
I have Wine setup so that My Documents points to my home folder. This can be accomplished in winecfg under the desktop integration tab.

In the Userpreferences.ini file you need to change the value AllowFakeFullScreen=True to False. I ran in to trouble also when trying to run it at a resolution below 1024x768.

fernando_lopes_jr
June 6th, 2007, 05:52 AM
I get this error when I try to run the:

bash lotrolauncher.script

Does anyone know what's wrong?



Welcome to the CLI launcher for LOTRO.
(C) 2007 by SNy

rm: cannot remove `.launcher/GLSDataCenter.config': Permission denied
rm: cannot remove `.launcher/launcher.config': Permission denied
rm: cannot remove `.launcher/GLSAuthServer.config': Permission denied
mkdir: cannot create directory `.launcher': File exists
Reading launcher configuration...
.launcher/GLSDataCenter.config: Permission denied
sed: couldn't open temporary file .launcher//sedKq6itz: Permission denied
.launcher/launcher.config: Permission denied

Please enter your account details now.
account: fernando
password:
Requesting GLS authentication ticket...
.launcher/GLSAuthServer.config: Permission denied

Error: Could not extract auth result from GLS auth server response.

Chackal
June 6th, 2007, 08:20 AM
Well, I only want to thank you all for your efforts about running this game.

Now surely I am going to buy LOTRO (at first I didn't want because of... Games for Windows).

As soon as I get it I'll try and help you as well.

Good luck! :)

Silenz
June 6th, 2007, 08:24 AM
teh game runs smoothly and sound and everything works fine BUT in the videos i have NO sound.... does anyone have a guess?
normal gamesound+voices work...

ajackson
June 6th, 2007, 09:44 AM
teh game runs smoothly and sound and everything works fine BUT in the videos i have NO sound.... does anyone have a guess?
normal gamesound+voices work...
The cut scene videos use bink (whatever that is), wine will now play the video part with little trouble but for now the sound just doesn't work, you can download a player for bink movies that works on linux (google bink linux) so you can watch & hear them.

ajackson
June 6th, 2007, 09:59 AM
I get this error when I try to run the:

bash lotrolauncher.script

Does anyone know what's wrong?
That suggests that you do not have write permission on the LotRO directory (and those below it), if you copied via the network then the nominal owner of the directories is probably a user called nobody. To fix this from your base home directory (the one that you start in when you fire up a console) type the following

sudo chown -R username .wine
Where username is the username you use to login and .wine is the name of the wine directory (.wine is the default). That will ensure that everything in the wine folder and below has your username set as it's owner, you should them be able to run the script without the error messages.

If you do still get the error messages go to the Codemasters directory (./wine/drive_c/Program*/Codemasters) and do a

ls -l

If the entry for the LotRO directory doesn't start drwx then do

chmod -R u+rwx The*
That gives you read/write & execute access to the folder and everything inside.

mike r
June 6th, 2007, 01:36 PM
Just a couple typos:

VideoPostEffects=Disabled (should be False. It's a True/False value.)
MemoryUsage= between 0.8 (between what and 0.8?)

Other than that, I used those settings, and everything works great. I'm in the game playing right now :D

Thanks dahli.llama!

Just made the changes. Glad it worked.

Mike R.

fernando_lopes_jr
June 6th, 2007, 03:55 PM
ajackson I'am still getting the same error could you point me to the scripts I have to use for EU servers.

ajackson
June 6th, 2007, 04:21 PM
ajackson I'am still getting the same error could you point me to the scripts I have to use for EU servers.

From your prior post you are running the correct script (the same script caters for both the EU and US versions).

Do a

ls -l
from within the Codemasters directory (ie the directory one up from where you run the script) and post the results.

ajackson
June 6th, 2007, 04:53 PM
I have a possible lead on the patching process. Looking at my captures of an enforced update (copied the file out of backup back into the main folder) and todays update I've found where it fetches the files from.

The first update issued this get from lotro.cdnetworks.us

/lotro/patch/2007240590_0705240910/all/lotroclient.exe

todays did the following request at lotro.cdnetworks.us

/lotro/patch/2007060648_0706061418/all/lotroclient.exe

Now I can see some pattern there, 20070606 is the date (YYYYDDMM), ignore 48 for now, the 070606 is also the date (in YYMMDD format), the 1418 seems to be the time.

Going back to the 48, for the first update it was 90 and the time was 0910, for the second it was 48 with the time 1418. Both times the 2nd & 4th digit.

Now all we have to do is find out the date & time of updates as well as which files to check for (I tried a wget * but it wouldn't allow it).

SNy
June 6th, 2007, 05:42 PM
Geez, guys!

Last time I checked, this had 16 pages. :)

Anyway, I meant to put up a tutorial about getting it to run (including all the registry tweaks and stuff from you guys) onto the entry page on my server, but haven't come around it yet. Will try over the weekend, so people don't need to fetch bits and pieces out of different forum posts. ;)

Regarding the patch server, I had a brief look at what they sent when I originally recorded the conversation and though it claimed to be HTTP (not https) it looked like either scrambled or encrypted. Ethereal could not make sense of the payload.
Also bear in mind that using the .NET launcher, downloading the files is only the first step, if it's done doing that the status says "decrypting", so I have my doubts about the possibility of implementing the patch stuff.

SNy

fernando_lopes_jr
June 7th, 2007, 06:02 PM
This is the output of the comand ls -l


fl@fl-ubuntu:~/.wine/drive_c/Program Files/Codemasters$ ls -l
total 4
drwxr-xr-x 9 fl fl 4096 2007-06-06 15:02 The Lord of the Rings Online

thak
June 7th, 2007, 08:45 PM
This is the output of the comand ls -l

I'd just like to jump in here--I've been lurking for weeks now, been in the beta for over six months, and playing daily on Windows--and say that two of my Linux boxes have the same problem as noted recently with that web page not returning data.

Incidentally, when I try to go directly to the page with my browser, it says that the page is down...so I think that may be some of the issue...

Fitzy_oz
June 8th, 2007, 03:16 AM
This is the output of the comand ls -l

Hi Fernando,
What is the exact command you are using to start the script and from which directory?
I've found that I have to start the srcipt from a terminal but cd to the ~/.wine/drive_c/Program Files/Turbine/The Lord of The Rings Online Folder first.

The eu version was the first to start working and therefore should provide the least amount of grief, you're account must be setup and the game must be up to date using the updated files from a windows copy of the game or an installation within a virtual box.

That and of course make sure you have the latest script from SNy's site and the URL encode script int the above mentioned folder and you should be fine....

Hope that helps, if not shout out. :)

carajean
June 8th, 2007, 09:37 AM
Ok update on my situation. The game is working after dragging and dropping from windows installation. Only problem I have is that in window mode i dont have any borders to make it bigger or what not. And also in game the sound skips a lot. I dont know if its lag or something which it shouldnt be but it does skip. I have yet to try and adjust the graphics im going to try and figure out the window problem first.

Fitzy_oz
June 8th, 2007, 11:20 AM
Ok update on my situation. The game is working after dragging and dropping from windows installation. Only problem I have is that in window mode i dont have any borders to make it bigger or what not. And also in game the sound skips a lot. I dont know if its lag or something which it shouldnt be but it does skip. I have yet to try and adjust the graphics im going to try and figure out the window problem first.

Go into winecfg, under the graphics tab their should be an option for allow window manager to control windows. That should fix it...

thealb
June 8th, 2007, 08:36 PM
Any idea why this is happening?

Please enter your account details now.
account:
password:
Requesting GLS authentication ticket...
14:35:37 URL:https://gls.lotro.com/GLS.AuthServer/Service.asmx [1741/1741] -> ".launcher/GLSAuthServer.config" [1]
Logged in.

The following servers are available:
0: Meneldor
1: Brandywine
2: Windfola
3: Gladden
4: Silverlode
5: Elendilmir
6: Landroval
7: Arkenstone
8: Firefoot
9: Nimrodel
10: Vilya
Your choice (enter the number on the left)? 8
14:35:38 URL:http://launcher.turbine.com/serverinfo.php?s=206.16.158.125 [916/916] -> ".launcher/server.config" [1]

Connecting to world login queue for realm Firefoot...
14:35:39 URL:https://launcher.turbine.com/login_queue.php [127/127] -> ".launcher/WorldQueue.config" [1]

Error: World login queue response indicates failure.

--------------

UPDATE:
I did some debugging on this because I SO wanted this to work.
I subscribe to both DDO and LOTRO from turbine. The lotrolauncher script didn't select the LOTRO subscription. So, here is the change I made:
Changed:
accountNum=`grep -h "<Name>" .launcher/GLSAuthServer.config | sed -e "s/^.*<Name>//;s/<\/Name>.*$//"`
To:
accountNum=`grep -h "<Name>" .launcher/GLSAuthServer.config | sed -e "s/^.*<Game>LOTRO<\/Game><Name>//;s/<\/Name>.*$//"`

Once I put this in, everything works nicely.

Thanks a lot for all the hard work guys!

carajean
June 9th, 2007, 01:48 AM
Can anyone comment on how the graphics are they look really crappy on my computer. I have a 7950gt and 2 gigs so I should be able to play this a bit higher than what I am.

sprocket1985
June 9th, 2007, 02:24 AM
The game will display up to "ultra high", but certain options cause bugs or do not work. Also, the game is unstable and crash-happy above "high" mode. On high mode, I find the framerate is higher than in windows on this mode, but windows looks better because of the stencilled shadows, distant imposters and reflective surfaces (e.g. water).

carajean
June 9th, 2007, 12:11 PM
Ok I went into winecfg and changed it to window mode and the game keeps crashing. There isnt a error I recognize in the terminal. The only thing I changed was the window mode in wine. Which is odd to me why it would do this. I crashes usually in a couple minutes.

Mrwasab1
June 9th, 2007, 06:32 PM
Hi all,
i have been eagerly reading this thread, but only managed to read the first 12 pages...
i dont know if it has been asked before, but will this script get the updates for the game?

also any chances of this working on fedora core 6? i know its nothing to do with ubuntu, but you lot seem to be the smartest :)

I used to have ubuntu installed, so if it doesnt work on anything else i might just reinstall it

Fitzy_oz
June 9th, 2007, 09:03 PM
@Carajean -

Weird, by changing the video mode from Full Screen to WIndowed, does it change the graphive settings at all ie. does it return details level medium or anything like that?

@Mrwasab1 -
You shouldn't have any trouble running this game under Fedora Core 6, as long as you have wine installed, the process should be exactly the same as it is under Ubuntu.

carajean
June 10th, 2007, 12:39 AM
Ok I been tweaking it for some times it did have to do with graphics. Its all fixed now except when im in window mode sometimes i get stuck just running and nothing i do will stop it except hitting random keys.

Mrwasab1
June 10th, 2007, 02:36 AM
@Carajean -

Weird, by changing the video mode from Full Screen to WIndowed, does it change the graphive settings at all ie. does it return details level medium or anything like that?

@Mrwasab1 -
You shouldn't have any trouble running this game under Fedora Core 6, as long as you have wine installed, the process should be exactly the same as it is under Ubuntu.

Thanks for the info Fitzy

what about the updates that the launcher checks for every time it is loaded under windows?
does that work in this script?

if not, are there ways around this?

reason i am asking is because this is the make or break case for windows. if this works on linux, windows is getting formatted and ive been looking forward to that day :D

enigma83
June 10th, 2007, 03:59 AM
Ok, I'm looking at getting LOTR:O after seeing this. I've seen that the updater, at the moment, doesn't work under Wine. I have got Windows 2000 installed under VMware. Will I be able to update inside Windows 2000, or will I have to get a copy of XP to update the game?

Xanius
June 10th, 2007, 04:26 AM
Ok, I'm looking at getting LOTR:O after seeing this. I've seen that the updater, at the moment, doesn't work under Wine. I have got Windows 2000 installed under VMware. Will I be able to update inside Windows 2000, or will I have to get a copy of XP to update the game?

It should work under 2k just fine. The launcher relies on .net 1.1 which is why it's not working under wine or cedega just yet and 2k handles 1.1 like XP does.

By the way, way to go for the guys that got the game launching under linux.

Fitzy_oz
June 10th, 2007, 04:45 AM
Thanks for the info Fitzy

what about the updates that the launcher checks for every time it is loaded under windows?
does that work in this script?

if not, are there ways around this?

reason i am asking is because this is the make or break case for windows. if this works on linux, windows is getting formatted and ive been looking forward to that day :D

The updating does not work with the script, however I have installed XP in a virtual box and update the game using the launcher in that session and simply copy the updated files to the linux installation thus effectively forcing the update. It works fine it just takes a little bit longer...

dahli.llama
June 10th, 2007, 05:37 AM
Ok I been tweaking it for some times it did have to do with graphics. Its all fixed now except when im in window mode sometimes i get stuck just running and nothing i do will stop it except hitting random keys.

What usually happens is that if your mouse leaves the window the game will keep the last button pressed as input until you press it again. So if your running and click somewhere else, then come back to the game you'll have to press the run key again to stop. Same with turning, or any other thing.

Xanius
June 10th, 2007, 08:26 AM
Hmm, I'm getting the Error: World login queue response indicates failure. message after getting everything set up.

I'm not getting the urlencode.sh error, everything is working fine right up until the very end. I'm using cedega 6.0.1, but I don't see how that would affect this portion of the process.

DarkShape
June 11th, 2007, 12:40 AM
Well, Read the whole thread a couple times now, Ive done all the ini configurations, and the reg entrys, also configured WINE correctlly as far as i can tell but i am still getting error 125 when i launch the script, which also forces my desktop res into 800x600 even tho my ini is set for 1024x768.

Any tips would be most welcome as im looking forward to get this working.

DarkShape
June 11th, 2007, 12:49 AM
Well, Read the whole thread a couple times now, Ive done all the ini configurations, and the reg entrys, also configured WINE correctlly as far as i can tell but i am still getting error 125 when i launch the script, which also forces my desktop res into 800x600 even tho my ini is set for 1024x768.

Any tips would be most welcome as im looking forward to get this working.

ok, well i got past the 125 error, and now im onto the 131 error

EDIT: Well, past the errors, but cant seem to get past the blank black screen
updated the files from the xp install but it refuses to launch

EDIT2:



Connecting to world login queue for realm Vilya...
19:19:39 URL:https://launcher.turbine.com/login_queue.php [325/325] -> ".launcher/WorldQueue.config" [1]
Ready. Now starting the client...
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1



thats the message at the end of the script if it helps..

sprocket1985
June 11th, 2007, 01:19 PM
Ok I been tweaking it for some times it did have to do with graphics. Its all fixed now except when im in window mode sometimes i get stuck just running and nothing i do will stop it except hitting random keys.

This is not a bug with the game. By having the application thinking it is running in full screen mode, clicking outside the window whilst holding a key will make the game think that you are continuing to push that button, thus making you run around in circles or what have you. In order to fix this, click back in the window, hold the opposite direction key, then click outside the window again. It works for me, usually.
Selecting "Allow Direct3d apps to stop cursor leaving window" may fix this, but I haven't tried it.

enigma83
June 12th, 2007, 12:39 AM
Has anyone tried running the updater under mono in any way? I fired up my win2k partition ... and well it didn't fire up. And my Win2k CD seems to be lost to the ages, so there's no point in me buying LOTR:O until this updating thing gets sorted.

sprocket1985
June 12th, 2007, 01:33 AM
It completely fails under mono, and the stacktrace is empty.
Installing .net 1.1 fails as soon as it sees you dont have IE5.x or better. Trying to fool it into thinking you do doesn't work either.

ajackson
June 13th, 2007, 10:18 AM
OK a general update now that I have my internet connection back.

I have added a how-to to the AppDB (http://appdb.winehq.org/appview.php?iVersionId=8094) page for this (ignore the 1.2 version, there never was a version 1.2 but when I remove it it keeps getting re-added for some reason).

I haven't added the altering of the MemoryUsage option in userprefs because before I lost my connection I was running tests, it seems that if your graphics card has a lot of memory you can lower the setting for better performance but if you have low graphics memory increasing the value helps.

As for the automated updates, I'm working of a system that will check if an update is needed so that it can tell the user (the files that are downloaded are encrypted so decrypting them could be difficult) but a warning system would help.

I have been working on a Mono based launcher (based on SNy's script), it's at a very early stage but when I get it working I will post a link to it (will let you run the game without having to go into the game folder so you can add it to your menu bar and/or have a desktop short cut).

ajackson
June 13th, 2007, 01:55 PM
Seems that version 1.2 is the Shores of Evendim version (bit strange as I'd have thought 1.12 > 1.2 in terms of version numbers), so I will tidy up that AppDB entry tomorrow (after checking that the game still runs after the update).

dahli.llama
June 13th, 2007, 03:21 PM
Seems that version 1.2 is the Shores of Evendim version (bit strange as I'd have thought 1.12 > 1.2 in terms of version numbers), so I will tidy up that AppDB entry tomorrow (after checking that the game still runs after the update).

Yeah, versions are weird like that.

I assume the 1.12 is 1.1 version 2 kind of, and then it will be 1.2, and later small updates will bump it to 1.21 and such.

Anyways, I'll need to fire up the game on my Windows box to get the update I suppose. I hope they don't break anything.

Mrwasab1
June 14th, 2007, 09:18 AM
Well guys ive followed this thread as best i could, all 21 pages of it. and i am a little confused about how to put this all together.

there is a lot of information here but i would like to know if anyone has created a step by step tutorial on how to do this?

I have installed wine, i have downloaded the script which was made collectively by most of you :D

also downloaded the URL encoding script.

I have all these things but i have no idea what to do next, where do i put the lotro friles? how do i launch this script because doing a chmod a+x wont work... what about the url encoding script?
I am fairly new to the world of linux so go easy on me. I would really appreciate if someone could tell me step by step how to get this working.

thanks in advance

ajackson
June 14th, 2007, 10:44 AM
there is a lot of information here but i would like to know if anyone has created a step by step tutorial on how to do this?

I have all these things but i have no idea what to do next, where do i put the lotro friles? how do i launch this script because doing a chmod a+x wont work... what about the url encoding script?
I am fairly new to the world of linux so go easy on me. I would really appreciate if someone could tell me step by step how to get this working.

OK if you haven't yet run anything in wine you won't have created your wine system. So start up a console (ie get to the command line) and type

winecfg
Wait while it creates the wine system for you and you should then see a window with various tabs on it. Check that the windows version is windows 2000 (should be the default but check anyway). Then click on the audio tab, you will get some sort of message about no audio system set up, ok that and you should see that it has set up either OSS or Alsa, leave that as it is for now. Close winecfg.

Back at the command prompt type regedit, if you have used regedit on a windows box it is identical. Set up the keys listed on the AppDB page (I posted the link a couple of posts up). Exit regedit once that is done.

You now need to get LOTRO onto your linux box, how you do it depends on how your system is setup, mine is dual boot so I can do a straight copy from the windows partition (remember at present you still need windows to perform the updates).

From your home directory (the one you start in when you fire up a terminal), your should be able to

cd ./wine/drive_c/Program*
That takes you into your wine systems Program Files directory. Copy LOTRO into here (I copied the, in EU case, Codemasters directory which the LOTRO directory lives in).

Once that is copied, put the two script files into the directory that lotroclient.exe lives in. To run you can simply go into the LOTRO directory and type

bash ./scriptname
where script name is the first script (ie not the urlencode one).

Since this would be the initial run of LOTRO it will bomb out with an error because you need to tweak the UserPreferences.ini file. That file should live in a directory called The Lord of the Rings Online that sits just off your home directory. Again look at the AppDB page for the changes that need to be made.

Hopefully this time when you run the launcher script the game will start and you can happily play, if you get any errors post them here and we'll try to help you.

ajackson
June 14th, 2007, 03:49 PM
Important change for 1.2 - Shores of Everdim

They have activated an option in the client (lotroclient.exe) launch process that is causing the current script problem.

If you get as far as connecting and then see a screen saying connection to server has been lost, you need to make a small adjustment to the script (note this is a hack fix, a proper fix should arrive soon).

Find the line that reads

wine ${gameClient_FILE} ${gameClient_ARGS} $@
Change it to read

wine ${gameClient_FILE} ${gameClient_ARGS} --HighResOutOfDate $@

The reason for this is that in one of the config files (launcher.config), the option GameClient.AlwaysPatchHighRes is now false (it used to be true) so now the additional parameter defined by GameClient.HighResPatchArg has to be passed when lotroclient.exe is ran.

Hopefully SNy will fix the script (better to keep it as one maintained version) soon. On the positive side my gui based launcher is close to being in a fit state to test, so hopefully I will stick a copy for you to test in the near future.

bsleys
June 14th, 2007, 05:14 PM
Ok thanks to everyone here I have the working.

However no matter what I do I have a problem with the outside ground textures not showing up properly. See attachment. Anyone have any idea's on how to fix this? I've tried lot and lot of various game settings and nothing seems to work. Nothing is crashing the game but it's hard to play when you are walking on glass all the time.

ajackson
June 14th, 2007, 07:38 PM
Ok thanks to everyone here I have the working.

However no matter what I do I have a problem with the outside ground textures not showing up properly. See attachment. Anyone have any idea's on how to fix this? I've tried lot and lot of various game settings and nothing seems to work. Nothing is crashing the game but it's hard to play when you are walking on glass all the time.
That I believe is being caused by LandscapeStaticObjectShadows not being Disabled. Hop to the AppDB page, it shows which settings are dodgy (or atleast those I found to be dodgy, YMMV).

bsleys
June 15th, 2007, 01:42 AM
That I believe is being caused by LandscapeStaticObjectShadows not being Disabled. Hop to the AppDB page, it shows which settings are dodgy (or atleast those I found to be dodgy, YMMV).I've tried those setting and far more. I can't seem to solve the problem. I guess I'll keep playing around with it.

dahli.llama
June 15th, 2007, 01:51 AM
I was wondering if someone could help me out with a quick script.

I want to write a script that will copy only the updated files from one folder to my current game folder. Basically, my wife's PC runs Windows so I have the game installed on hers, and the updater running. Then when an update happens, I have to copy the files over to my system. It takes nearly 2 hours to do this over our network.

What I'd like to have is a script that would compare the files in the two directories (my install and her install), and then only copy the ones that are different. I have a decent understanding of scripting, but this is evading me. I could really use some help on the reading of the files from the directories and recursing into the subdirectories.

Of course, this won't help the time a whole lot for big updates where a lot of files change, but I hope that it will make it so that smaller updates don't take as long.

Mrwasab1
June 15th, 2007, 04:04 AM
OK if you haven't yet run anything in wine you won't have created your wine system. So start up a console (ie get to the command line) and type

winecfg
Wait while it creates the wine system for you and you should then see a window with various tabs on it. Check that the windows version is windows 2000 (should be the default but check anyway). Then click on the audio tab, you will get some sort of message about no audio system set up, ok that and you should see that it has set up either OSS or Alsa, leave that as it is for now. Close winecfg.

Back at the command prompt type regedit, if you have used regedit on a windows box it is identical. Set up the keys listed on the AppDB page (I posted the link a couple of posts up). Exit regedit once that is done.

You now need to get LOTRO onto your linux box, how you do it depends on how your system is setup, mine is dual boot so I can do a straight copy from the windows partition (remember at present you still need windows to perform the updates).

From your home directory (the one you start in when you fire up a terminal), your should be able to

cd ./wine/drive_c/Program*
That takes you into your wine systems Program Files directory. Copy LOTRO into here (I copied the, in EU case, Codemasters directory which the LOTRO directory lives in).

Once that is copied, put the two script files into the directory that lotroclient.exe lives in. To run you can simply go into the LOTRO directory and type

bash ./scriptname
where script name is the first script (ie not the urlencode one).

Since this would be the initial run of LOTRO it will bomb out with an error because you need to tweak the UserPreferences.ini file. That file should live in a directory called The Lord of the Rings Online that sits just off your home directory. Again look at the AppDB page for the changes that need to be made.

Hopefully this time when you run the launcher script the game will start and you can happily play, if you get any errors post them here and we'll try to help you.

Thanks for the help. I got as far as running winecfg and making those changes.
Then when i open regedit, i dont have a Direct3D folder there. So i created one with the keys...i dont know if i had to do this...
Then i moved on to doing cd ./wine etc...
./wine does not exist in my home drive, or any drive for that matter. Thinking that the install was corrupted, i reinstalled wine, however i still dont have a .wine directory...

what else should i try?

bsleys
June 15th, 2007, 05:36 AM
Just as a quick FYI I posted a Howto tip from Crossover linux over on the CodeWeavers site at

http://www.codeweavers.com/compatibility/browse/name/?app_id=2869;tips=1

If anyone sees anything wrong with my tip please let me know.

Thanks

ajackson
June 15th, 2007, 10:31 AM
Then when i open regedit, i dont have a Direct3D folder there. So i created one with the keys...i dont know if i had to do this...
Yeah sorry should have mentioned that part.


Then i moved on to doing cd ./wine etc...
./wine does not exist in my home drive, or any drive for that matter. Thinking that the install was corrupted, i reinstalled wine, however i still dont have a .wine directory...

what else should i try?
you can try typing

locate user.reg
That should show you where the user.reg file can be found (it is part of the windows registry). Another thing you can try is

echo $WINEPREFIX
If it is set it points to the default wine directory.

ajackson
June 15th, 2007, 11:47 AM
Fix for hi-res graphics
OK reading the LOTRO EU forums to get the hi-res graphics patched you need to start LOTRO (on windows) and log in.

On the character selection screen ensure that your graphics are at least set to very high, you should then see a message about needing to restart LOTRO to patch, if you don't then your version is already patched.

If you get the message, exit LOTRO, restart the launcher (again on windows) and it should then update the hi-res graphics files. No need to log in this time though.

Copy the updated files over to linux and if you edited the lotrolauncher script to append --HighResOutOfDate, then edit it again and remove that addition (it is used by the launcher so not needed by our script).

@dahli.llama
To do a selective copy I think the command you are looking for is rsync, that only copies files that are different (and since it is designed for copying over networks I think it checks that the copy worked correctly).

ajackson
June 15th, 2007, 07:05 PM
The new version of wine (0.9.39) has brought one significant improvement, the cut-scene movies now have sound.

The settings in UserPrefs to be careful off are still the same and the help option still doesn't work.

I haven't done a prolonged test but looking at the wine 0.9.39 release notes a lot of work has gone in to the D3D and sound system, which are the main areas this game needs the help. The launcher will probably never get sorted until either Mono works better under wine or somehow you can install .NET (unlikely).

Mrwasab1
June 16th, 2007, 01:51 AM
Ok i got a little further than before. This time the game launches however after it attempts to authenticate, i get a black screen with a button saying QUIT on it.

i get this error in the console




Connecting to world login queue for realm Elendilmir...
11:14:29 URL:https://launcher.turbine.com/login_queue.php [325/325] -> ".launcher/WorldQueue.config" [1]
Ready. Now starting the client...
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
err:dscapture:widDsCreate DirectSoundCapture flag not set
This sound card's driver does not support direct access
The (slower) DirectSound HEL mode will be used instead.


i read a few pages ago someone else was getting these errors, reply was to setup their sound. i have already done this however
any ideas?

profzoom
June 16th, 2007, 02:56 AM
In my experience, the black screen with a quit button just means that you're not up to date with the current patch. So it ought to be just a matter of switching to Windows to update.

They just added a hotfix this afternoon. Here's the thread on the LOTRO forums about it:

http://forums.lotro.com/showthread.php?t=68989

dahli.llama
June 16th, 2007, 05:44 AM
Fix for hi-res graphics
@dahli.llama
To do a selective copy I think the command you are looking for is rsync, that only copies files that are different (and since it is designed for copying over networks I think it checks that the copy worked correctly).

That didn't seem to work. I may have used it incorrectly, but I got an error saying some files couldn't be found or that I didn't have the correct permissions.

Mrwasab1
June 16th, 2007, 07:15 AM
Ok thanks to everyone here I have the working.

However no matter what I do I have a problem with the outside ground textures not showing up properly. See attachment. Anyone have any idea's on how to fix this? I've tried lot and lot of various game settings and nothing seems to work. Nothing is crashing the game but it's hard to play when you are walking on glass all the time.

Thank you ajackson and everyone else for helping me.

I got the game running, but now i get the same problem that bsleys gets.
ive checked my settings and as he says i dont have LandscapeStaticObjectShadows enabled. it is set to disabled

tried playing with all the settings and i cant get it to work.

its running on a Nvidia go 7600 512 ram card

ajackson
June 16th, 2007, 09:42 AM
Thank you ajackson and everyone else for helping me.

I got the game running, but now i get the same problem that bsleys gets.
ive checked my settings and as he says i dont have LandscapeStaticObjectShadows enabled. it is set to disabled

tried playing with all the settings and i cant get it to work.

its running on a Nvidia go 7600 512 ram card
Check that VideoPostEffects is set to False, I get weird graphics if I leave that as true. Failing that post your UserPrefs and I'll give it a go on my system (I have a 7600 as well). Out of interest what nVidia drivers are you using?

Mrwasab1
June 16th, 2007, 11:02 AM
Check that VideoPostEffects is set to False, I get weird graphics if I leave that as true. Failing that post your UserPrefs and I'll give it a go on my system (I have a 7600 as well). Out of interest what nVidia drivers are you using?

im not sure how to tell you what drivers im using. i know that when i installed ubuntu, X failed to start and went straight into the command line. i had to change "nvidia" to "nv" in the xorgconfig file in order for X to start.

after successfully loading X, i ran a system update. so i really dont have any clue as to what driver it is. let me know how i can check

im on the windows partition atm so i cant post the user pref settings, but i will be doing that soon.

ajackson
June 16th, 2007, 01:20 PM
There are two ways I know of checking which graphics driver version you have, first is to try to run nvidia-settings, if it works it shows the driver version. Second is to fire up synaptic and search for nvidia, you should find you have nvidia-glx (maybe nvidia-glx-new) installed, the version installed is the version number.

Mrwasab1
June 16th, 2007, 06:08 PM
There are two ways I know of checking which graphics driver version you have, first is to try to run nvidia-settings, if it works it shows the driver version. Second is to fire up synaptic and search for nvidia, you should find you have nvidia-glx (maybe nvidia-glx-new) installed, the version installed is the version number.

Ok i finally checked and VideoPostEffects is set to False.

and the nvidia drive i have installed is 1.0-9631

here is my entire pref file





[Display]

Resolution=1680x1050

SyncToRefresh=False

Antialiasing=Disabled

WindowedResolution=1024x768

TripleBuffering=False

FullScreen=True

AllowDesktopCompositing=False

AllowWindowResizing=True

AllowFakeFullScreen=False

ConfineFullScreenMouseCursor=True

RefreshRate=Auto



[Render]

GraphicsCore=D3D9

VideoPostEffects=False

AnimationDetail=Medium

AllowGammaChanges=True

TextureFiltering=Trilinear

Gamma=1.01

AnisotropicQuality=4

MaxHardwareClass=0

BloomIntensity=1.00

LandscapeDrawDistance=High

DisplayAdapter=0

SpecularLighting=True

ObjectDrawDistance=High

Contrast=1.00

Brightness=1.00

AlphaToCoverage=False

PlayerCrowdQuality=1.00

BlobShadows=True

FrillDistance=Medium

OverbrightBloomFilter=False

TextureDetail=High

LandscapeShoreEffects=High

MemoryUsage=0.30

LandscapeStaticObjectShadows=Disabled

EnablePortraits=True

AspectRatio=Auto

BlurFilterQuality=Medium

ModelDetail=High

LandscapeLightingQuality=High

MultiPassLighting=True

StencilShadows=Disabled

MeshCombining=True

GlowMapping=True

MaterialDetail=High

SurfaceReflections=Low

AtmosphericsDetail=Medium

EnvironmentStencilShadows=False

DistantImposters=True



[Net]

ComputeUniquePort=True

BindInterface=

ConnectionSpeed=0.00

UserSpecifiedPort=0



[Input]

JoystickDeadZone=0.25

TurnKeySpeed=150.00

InvertMouseLookYAxis=False

PitchKeySpeed=60.00

MouseLookSensitivity=0.10

MouseLookSmoothingAmount=0.00



[Troubleshooting]

MaximumFrameRate=121

EngineSpeed=VeryHigh



[International]

UseIME=False



[Sound]

SoundVolume=1.00

SoundProvider=OpenAL

MaxPlayingSounds=64

MusicVolume=0.70

SoundFeatures=Software

UIVolume=1.00

EAXEnabled=False

PlayerMusicVolume=1.00

VOVolume=1.00

SoundDisabled=False

MusicDisabled=False



[Voice]

DevicePlayback={BD6DD71A-3DEB-11D1-B171-00C04FC20000}

DeviceCapture={BD6DD71B-3DEB-11D1-B171-00C04FC20000}

MicVolume=1.00

NetworkLatencyThresh=250

HandsFree=False

MicCaptureThreshold=0.10

VoiceVolume=1.00



[Camera]

AlignToSlope=False

ResetYawWhenPlayerMoves=False



[UI]

FloatyTextScale=1.00

FloatyTextOnTop=False



[Misc]

TooltipEnable=True

TooltipDelay=0.30



let me know how it goes for u

ajackson
June 16th, 2007, 07:16 PM
Ok i finally checked and VideoPostEffects is set to False.

and the nvidia drive i have installed is 1.0-9631

here is my entire pref file
let me know how it goes for u
Well apart from running very slowly (my graphics & machine can't handle that resolution to well) I didn't notice any glitching or oddness.

I have drivers 1.0-9755 installed, that seems to be the only difference (most of our graphics options are the same). There is a nvidia-glx-new in synaptic which claims to be driver 9755, maybe try installing that see if it is a problem with driver 9631, other than that I haven't a clue.

Mrwasab1
June 17th, 2007, 03:47 AM
Well apart from running very slowly (my graphics & machine can't handle that resolution to well) I didn't notice any glitching or oddness.

I have drivers 1.0-9755 installed, that seems to be the only difference (most of our graphics options are the same). There is a nvidia-glx-new in synaptic which claims to be driver 9755, maybe try installing that see if it is a problem with driver 9631, other than that I haven't a clue.

I upgraded the drivers so i am running the same as yours.
I downed the resolution to 1280x800 and played around with the settings while in the game. Now instead of having a gray shader effect like in the posts above, its all black instead.

dunno what else i could try.

Just out of interest how do you have your registry settings set?

took a screenshot to see if ive set them correctly

ajackson
June 17th, 2007, 10:27 AM
Just out of interest how do you have your registry settings set?

took a screenshot to see if ive set them correctly
The UseGLSL should be enabled rather than enable, otherwise yours are the same as mine (well except twice the video memory).

Mrwasab1
June 17th, 2007, 11:57 PM
changed the reg setting to enabled, booted the game up and it still had weird shaders.

I played around with the settings even more, and i seemed to have got the right combination of setting because all the shaders went back to normal the game looked good, I couldn’t see through walls but there were still some issues with overlapping shaders. The graphics settings were a little too high for my liking, so in the attempt to turn some down, the problem came back and gray see through fields were back.

It’s a shame because I cant remember the settings I had to duplicate it. Could you post your pref file and ill give that one a go?

dahli.llama
June 18th, 2007, 12:41 AM
im not sure how to tell you what drivers im using. i know that when i installed ubuntu, X failed to start and went straight into the command line. i had to change "nvidia" to "nv" in the xorgconfig file in order for X to start.

after successfully loading X, i ran a system update. so i really dont have any clue as to what driver it is. let me know how i can check

im on the windows partition atm so i cant post the user pref settings, but i will be doing that soon.

Did you ever change it back from "nv" to "nvidia" in your xorg.conf?

Mrwasab1
June 18th, 2007, 09:30 AM
Did you ever change it back from "nv" to "nvidia" in your xorg.conf?

i made sure it was back to "nvidia" and it is

Fitzy_oz
June 18th, 2007, 10:42 AM
i made sure it was back to "nvidia" and it is

Did you use the restricted drivers manager to install the driver or did you download it from the nvdidia site?

ajackson
June 18th, 2007, 11:06 AM
Could you post your pref file and ill give that one a go?




[Render]

LandscapeShoreEffects=High

ModelDetail=High

DisplayAdapter=0

Contrast=1.00

ObjectDrawDistance=High

AlphaToCoverage=False

LandscapeLightingQuality=Low

BloomIntensity=1.00

SurfaceReflections=Low

MeshCombining=True

GlowMapping=True

MemoryUsage=0.30

Gamma=1.01

StencilShadows=Disabled

AllowGammaChanges=True

Brightness=1.00

FrillDistance=Medium

AspectRatio=Auto

TextureFiltering=Sharp

AtmosphericsDetail=Medium

LandscapeDrawDistance=High

VideoPostEffects=False

MaterialDetail=High

AnisotropicQuality=4

MaxHardwareClass=0

EnablePortraits=False

DistantImposters=True

EnvironmentStencilShadows=False

OverbrightBloomFilter=False

LandscapeStaticObjectShadows=Disabled

BlobShadows=True

PlayerCrowdQuality=1.00

GraphicsCore=D3D9

AnimationDetail=Medium

TextureDetail=High

MultiPassLighting=True

SpecularLighting=True

BlurFilterQuality=Medium



[Net]

ConnectionSpeed=0.00

ComputeUniquePort=True

BindInterface=

UserSpecifiedPort=0



[Input]

InvertMouseLookYAxis=False

PitchKeySpeed=60.00

TurnKeySpeed=150.00

MouseLookSmoothingAmount=0.00

MouseLookSensitivity=0.10

JoystickDeadZone=0.25



[Troubleshooting]

AggressivelyCleanupGraphicsResources=Auto

EngineSpeed=VeryHigh

MaximumFrameRate=50



[Display]

RefreshRate=Auto

AllowFakeFullScreen=False

Resolution=1280x1024

FullScreen=True

TripleBuffering=False

SyncToRefresh=True

AllowWindowResizing=False

Antialiasing=Disabled

WindowedResolution=83493859

AllowDesktopCompositing=False

ConfineFullScreenMouseCursor=True



[International]

UseIME=False



[Sound]

MaxPlayingSounds=64

SoundFeatures=Software

SoundDisabled=False

PlayerMusicVolume=0.30

EAXEnabled=True

UIVolume=0.75

VOVolume=0.75

SoundProvider=OpenAL

MusicVolume=0.35

MusicDisabled=False

SoundVolume=0.75



[Misc]

TooltipDelay=0.30

TooltipEnable=True



[Voice]

DevicePlayback={BD6DD71A-3DEB-11D1-B171-00C04FC20000}

HandsFree=False

DeviceCapture={BD6DD71B-3DEB-11D1-B171-00C04FC20000}

NetworkLatencyThresh=140

MicVolume=1.00

MicCaptureThreshold=0.10

VoiceVolume=1.00



[Camera]

AlignToSlope=True

ResetYawWhenPlayerMoves=False



[UI]

FloatyTextScale=1.00

FloatyTextOnTop=False



That config runs fine for me (for some reason I have a strange number in the windowed resolution option but I run full screen so I doubt if it gets used.

I installed my graphics driver from the NVIDIA site rather than via synaptic/restricted drivers, maybe something is slightly different between the vanilla and ubuntu versions.

Mrwasab1
June 18th, 2007, 12:43 PM
Did you use the restricted drivers manager to install the driver or did you download it from the nvdidia site?

i used the restricted ones

but as ajackson mentioned i might actually install the ones from the nvidia website

bsleys
June 18th, 2007, 12:55 PM
I fixed my problem with the ground not showing properly by changing from CXoffice 6.1.0 to Wine 0.9.39.

Mrwasab1
June 18th, 2007, 02:52 PM
well looks like its one step forward 10 steps backwards for me...
i tried installing the nvidia drivers manually. somehow i completely messed it up and X wouldnt load saying that there was no compatible nvidia gpu available.

ended up turning on NV again, then used synaptic to install nvidia-glx-new
switched xorg.config to use nvidia, however its not the same any more...
firstly i had desktop effects enabled, now they wont enable at all. (not a big concern but an indication that my drivers are bung) and secondly see screen shot for the error that happens when i try and launch the game now...

and bsleys the only wine version i could find was 9.33, dont know where you got 9.39 from, you must have different repos than me.

ajackson
June 18th, 2007, 03:20 PM
For the latest deb of wine have a look here (http://www.winehq.org/site/download-deb), it tells you how to get the latest version.

If I remember right (it's been a while since I did it), you have to tweak something with the restricted kernel modules when using nvidia's own installer. I found this (http://www.nvnews.net/vbulletin/showthread.php?t=72490) page that tells you to remove them, though doing that you will need to check for new kernel versions yourself as linux-generic gets removed. That is fine if you don't need any of the restricted drivers (others are mainly wifi I think).

If you want to keep the ubuntu drivers and try with a newer wine then try running nvidia-xconfig to re-create your xorg.conf (I think it needs to be ran using sudo, oh and take a back up just in case), that might correct those errors you were getting. As for the beryl stuff, is it still enabled? It might have got disabled when you used the nv driver.