Lynx3d / pylotro

Lord of the Rings Online and Dungeons & Dragons Online Launcher written in Python
GNU General Public License v3.0
12 stars 14 forks source link

Can u compile pylotro for windows ? #7

Open chinesefriends opened 6 years ago

chinesefriends commented 6 years ago

Thank you very much. My email is qthmatao@qq.com @nwestfal help me plz.Thank you

nwestfal commented 6 years ago

I know some users have done this before, but since I'm on Linux I have not had the need to do this. On Windows I would just use the TurbineLauncher.exe that comes with the game. I've looked into compiling on Windows and it is not real clear to me how to do it. I do believe you can install python on Windows and get it to work however. I know there is a user Kasad on here that has compiled it in the past. Here is his web page: https://oyox.de/619-lotro-auf-linux-hier-opensuse/ But the version on there is old. If I get some time I'll take a look again at what is required to compile on Windows.

Lynx3d commented 6 years ago

I haven't played in a while, but as the above link mentions, wine can actually handle Lotro's native launcher now. At least it did when I had to use it to transfer a character from a retired server. Those are the reasons I haven't updated this repo in ages.

As for the "compiled" version, note that it really just bottles python interpreter + dependencies + .pyc files into an executable for convenience. If pylotro couldn't handle windows in its script form, the packaged version couldn't either. I never used pylotro that way, and don't know the setup used for the package still floating around (it was not py2exe IIRC) but nothing really stops you from installing CPython and PyQt4 on windows and run the main script just like you'd do it on Linux. It's just that I don't really see a reason to use pylotro on windows (or with Python running inside wine) other than making your life harder.

nwestfal commented 6 years ago

I've heard that it supposedly works now, but last time I tried it on OpenSUSE it worked maybe 1 out 10 times. I'll have to try it again sometime but I don't play much anymore either.

chinesefriends commented 6 years ago

@nwestfal @Lynx3d thank you very much ! I have compiled it on windows10, but have some warring at patch module ,I will try again. use pylotro on windows because it very fast than TurbineLauncher.exe