[Linux Lobby] AFLobby Beta 3.9.7
Moderator: Moderators
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
sorry i've been busy lately, and didn't have a chance to try it; this unitsync version doesn't work on my OS neither (mandriva 2007)
even on my pc it complains it lacks of unitsync (but as you can see in the screenshot it's present...), i might try later to build myself an unitsync with your java bindings and see if it works.
oh, btw, linux is case sensistive, so UnitSync.so is different as unitsync (i tried to rename the file and it's not working neither)
this is the screenshot after pressing ok:
even on my pc it complains it lacks of unitsync (but as you can see in the screenshot it's present...), i might try later to build myself an unitsync with your java bindings and see if it works.
oh, btw, linux is case sensistive, so UnitSync.so is different as unitsync (i tried to rename the file and it's not working neither)
this is the screenshot after pressing ok:
Can you try putting aflobby and unitsync in a folder with mods and maps? I suspect that there may be a crash error or other problem caused by putting aflobby in a standalone folder with no content.
And its "unitsync" it looks for, java adds so/dll/dylib to the end depending on the OS.
However, with the adding the unitsync error dialog, you should be able to join channels/pm/etc. You would probably get a crash when you try to host with the mod pull down list returning null value as selected object, and you'll never get sync in battles.
Thanks for the screenshots ^_^
And its "unitsync" it looks for, java adds so/dll/dylib to the end depending on the OS.
However, with the adding the unitsync error dialog, you should be able to join channels/pm/etc. You would probably get a crash when you try to host with the mod pull down list returning null value as selected object, and you'll never get sync in battles.
Thanks for the screenshots ^_^
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
doesn't work in my spring data folder, i also try to build my own version of unitsync with java bindings and i succeed in building it, but neither my build worked with aflobby.
my guess it that it's a code/java related issue.
if you want, i'll find a way to publish my unitsync build and post it, if someone else wants to test it.
my guess it that it's a code/java related issue.
if you want, i'll find a way to publish my unitsync build and post it, if someone else wants to test it.
Java's loadLibrary() function looks in java.library.path, which under Windows includes the current working directory but under Linux only contains /usr/lib, /usr/local/lib, etc. Do a...
... from a Bash shell and the JVM should be able to find unitsync.so when run from that shell (or create a symlink from /usr/lib to where you've installed AFLobby).
Edit: loadLibrary() also prepends 'lib' to the filename on Linux, so you have to rename the actual file to libunitsync.so or you'll get the same link error.
Code: Select all
export LD_LIBRARY_PATH=/bla/bla/aflobby/
Edit: loadLibrary() also prepends 'lib' to the filename on Linux, so you have to rename the actual file to libunitsync.so or you'll get the same link error.
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
All right. I have tried version 14 with every possible combination of the following: passing kloot's command line, renaming UnitSync.so to UnitSync, renaming UnitSync.so to unitsync, and renaming unitsync.dll to unitsync. In each case, I got the following errors:
Additionally, in each case, I got the following error when I attempted to log in:
Once, when I started the lobby, I saw a blue screen and the buttons, rather than the white screen and only seeing buttons when I press on them. However, even when I did nothing but restart the lobby (without any changes), I did not see the graphics properly again. Even when I saw the graphics properly, I still got the same error messages. Hope that helps eliminate some possibilities!
Code: Select all
/usr/share/themes/Human/gtk-2.0/gtkrc:70: Engine "ubuntulooks" is unsupported, ignoring
/usr/share/themes/Human/gtk-2.0/gtkrc:240: Priority specification is unsupported, ignoring
Code: Select all
Unsatisfied link error, make sure you have a JNI aware UnitSync library in the same folder as AFLobby
AF if you want to support linux it would probably be a good idea that you installed it so you yourself can directly test changes. Virtualisation or something along those lines would do the trick.
Something like VMware would work its free as well.
http://www.vmware.com/download/player/
This looks helpful:
http://johnbokma.com/mexit/2005/11/07/v ... ation.html
Something like VMware would work its free as well.
http://www.vmware.com/download/player/
This looks helpful:
http://johnbokma.com/mexit/2005/11/07/v ... ation.html
- architeuthis
- Posts: 86
- Joined: 15 Dec 2005, 20:47
AF, if you don't want to do virtualisation you can try this out: https://wiki.ubuntu.com/install.exe/Prototype It's a program which installs Ubuntu "inside" windows, without the need of virtualisation or partitioning. I don't know if it's already completely usable or functional, but it came up in my mind.
Last edited by architeuthis on 21 Feb 2007, 18:53, edited 1 time in total.
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
if you don't want to use a virtual machine this project ported a linux kernel to windows; allowing to run linux programs natvely in windows @ almost full speed
http://wiki.gp2x.org/wiki/AndLinux
@ 10053r
your ubuntulooks isn't really an error, it's a "warning"; it's something that might cause difunctions but won't stop the usabilty of the lobby, in your case it means that the lobby isn't using the grafic theme of ubuntu, so it will have a different look, rather than your grafic session
EDIT: lol architeuthis, you beat me to it
http://wiki.gp2x.org/wiki/AndLinux
@ 10053r
your ubuntulooks isn't really an error, it's a "warning"; it's something that might cause difunctions but won't stop the usabilty of the lobby, in your case it means that the lobby isn't using the grafic theme of ubuntu, so it will have a different look, rather than your grafic session
EDIT: lol architeuthis, you beat me to it