I have again the "Could not load SWT library" problem with version 1.0.14 on Linux.
1.0.12 starts fine.
Beiträge von gamebori
Willkommen in der Transport Fever Community
Wir begrüßen euch in der Fan-Community zu den Spielen Transport Fever und Train Fever, den Wirtschaftssimulatoren von Urban Games. Die Community steht euch kostenlos zur Verfügung damit ihr euch über das Spiel austauschen und informieren könnt. Wir pflegen hier einen freundlichen und sachlichen Umgang untereinander und unser Team steht euch in allen Fragen gerne beiseite.
Die Registrierung und Nutzung ist selbstverständlich kostenlos.
Wir wünschen euch viel Spaß und hoffen auf rege Beteiligung.
Das Team der Transport-Fever Community
-
-
Ok.
I corrcted the link.
The SWT library for the GUI is not in my power to change. I am not really happy with that library. It's ok for Windows but has many issues with mac and linux. I am thinking of changing the GUI to Java FX. Which looks similar on all systems and does not use any native drawing.
The GUI really has issues when it's run on too small resolution or on scaled Desktops.
I changed the layout on V1.1 maybe this will work better for you.
I have quite a big screen with a high resolution, so I normally don't maximize windows, but it's not a big deal.
A more serious issue: It doesn't show manually installed mods from transportfever.net, only mods from Steam. -
Hello, I compiled a new version. I will file it under BETA since its not properly tested yet. Basic stuff should work. Download is here
https://www.transportfever.net…anizer-community-edition/
Happy Testing ;D Hope you will give some feedback.
You can start the application by running the modorganizer executable. its the same as in the windows version but compiled for linux
Thanks!
I encountered some minor issues so far:
- The link should not include edit, it gives an access denied. Correct link : TPF2 Organizer (Community Edition)
- At first strartup it asks for directories and then it complaines it cannot find TransportFever2.exe. TransportFever2.exe does not exist on linux. I created a symlink TransportFever2.exe to TransportFever2, so I could continue
- I use KDE with a dark theme and some parts have a light background with light text and are very difficult to read. I do have this issue with more gtk applications though and I am not sure where the responsibilities lie.
- When the application is not fully maximised the different parts of the mod management tab overlap:
I'll go play around with it and will let you know if I find anything else. -
Good news. I was able to resolve the problems with the seven zip libraries. I had to check for Linux OS and change some code. I will provide a linux version at the end of the week.
Thanks a lot!
-
Hello,
the answer is you actually can't ;D At least not this version. I will try to compile a version for you. Please give me 2 days to do that. I need to test some features in linux so they will work properly.
But it might work. You need all the SWT related libraries to be compiled for linux. SWT uses native drawing methods of the OS to render the GUI. You can change them yourself.
Go to https://archive.eclipse.org/ec…ops4/R-4.19-202103031800/
Section: SWT Binary and Source
Download the linux libraries you need for your system and just replace the swt.jar file. in the app_lib folder of the Organizer
I don't now if the application will run 100% properly with that but you will be able to execute it.
Maybe you want to test that and give me feedback, so I can build a linux version and have some less work for testing.
Ha, it's been ages since I compiled anything myself, but I'll give it a try. Thanks. -
How do I run it on Linux?
I get this error when I open it with java -jar app.jarCode
Alles anzeigenException in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: no swt-win32-4940r23 in java.library.path: [/usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib] no swt-win32 in java.library.path: [/usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib] Can't load library: /home/boris/.swt/lib/linux/x86_64/libswt-win32-4940r23.so Can't load library: /home/boris/.swt/lib/linux/x86_64/libswt-win32.so at org.eclipse.swt.internal.Library.loadLibrary(Library.java:338) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:257) at org.eclipse.swt.internal.C.<clinit>(C.java:19) at org.eclipse.swt.widgets.Display.<clinit>(Display.java:145) at de.yetistudio.tpf2modmanager.main.common.gui.MainShell.<init>(MainShell.java:132) at de.yetistudio.tpf2modmanager.MainStart.main(MainStart.java:13)
-
Ich habe nie behauptet das eine Dev Version mit X-beliebigen Versionen läuft. Man darf sich auch nicht wundern, wenn build overwrite nicht funktioniert. Das Konzept sieht ja vor, das CommonAPI2 nur mit der richtigen Build von UG genutzt wird und nicht mit einer neueren.
Build 32019 funktioniert direkt mit CommonAPI2 1.7.20210310-dev:
Inspect Fenster hat nun einen Filter, in die Textbox kann man einen component type eingeben (Grossbuchstaben), alternativ kann man ACCOUNT Filtern, da es erheblich Performance kosten kann diese Daten anzuzeigen.
Es ist die erste Version mit LINE_DESTINATION für Linux, bzw. Linux Support.
1.7.20210310-dev
- add filter to inspector window
- try to use api.gui.util.destroyLater for destroying api elements
- native: Linux stablized, LINE_DESTINATION should work, TPF2 Build 32019 required
- support TPF2 Windows Build 32019 OpenGL & Vulkan Renderer
Thanks for the Linux version!
I have only played a few minutes with it and only used the mod settings, checks, downloads and upgrades (the main reason to have this mod for me anyway) and it seems to work perfectly so far. -
Link to current the dev version will be published at the first post:
CommonAPI2 - Neue Versionen und wichtige Informationen
There is a link to the relevant CommonAPI2 release here in this thread.
That one stops with this error:
-
there is no „non beta/dev“ version
Thanks for your reply.
I will try the latest TPF2 beta (it seems to have many relevant fixes, so it might finally work on my system). Is there a (n acccessible) list of CommonAPI2 versions? -
Where can I find the current stable version? I don't understand much German, but I've been trying to read a few pages back. Each download has comments like this: "not compatible with old versions" "only for windows beta" etc. Where do I find the regular non-beta linux version?