See likes

See likes given/taken


Posts you liked

Pages: [1]
Post info No. of Likes
Re: Issues running Unreal World on Ubuntu In a terminal, you can list the dynamic dependencies of urw like this:

Code: [Select]
ldd /usr/bin/urw3-bin

On some systems, urw might be installed in /opt instead. In that case, do
Code: [Select]
ldd /opt/urw3/urw3-bin
I'm using a different kind of linux, so your results will be a little different frmo mine, but on my computer it looks like this:

Code: [Select]
$ ldd /usr/bin/urw3-bin
        linux-vdso.so.1 (0x00007fffdff96000)
        libSDL2-2.0.so.0 => /usr/lib/libSDL2-2.0.so.0 (0x00007f4a27ebb000)
        libSDL2_mixer-2.0.so.0 => /usr/lib/libSDL2_mixer-2.0.so.0 (0x00007f4a27e73000)
        libSDL2_image-2.0.so.0 => /usr/lib/libSDL2_image-2.0.so.0 (0x00007f4a27e53000)
        libSDL2_net-2.0.so.0 => /usr/lib/libSDL2_net-2.0.so.0 (0x00007f4a27e4c000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f4a27c15000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f4a27b2d000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f4a27b0b000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f4a27924000)
        libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f4a278eb000)
        libjxl.so.0.7 => /usr/lib/libjxl.so.0.7 (0x00007f4a275e6000)
        libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x00007f4a27563000)
        libtiff.so.5 => /usr/lib/libtiff.so.5 (0x00007f4a274ce000)
        libwebp.so.7 => /usr/lib/libwebp.so.7 (0x00007f4a2745b000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f4a32e17000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f4a27441000)
        libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007f4a27433000)
        libhwy.so.1 => /usr/lib/libhwy.so.1 (0x00007f4a27428000)
        libbrotlienc.so.1 => /usr/lib/libbrotlienc.so.1 (0x00007f4a27384000)
        libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007f4a272d9000)
        liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f4a272af000)
        libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007f4a2728c000).

It sounds like one of these is missing on your system. If you post the output of ldd, we can probably figure it out which one

January 02, 2023, 07:47:55 PM
1
Re: How did you discover UnReal World? -- 10 choice poll @LuchyMane

Gotta love a post that merges URW and Neal Stephenson. Nice taste in both lit and games. Haven't read Criptonomicon yet, though (took on Snow Crash to begin with).

I was browsing a roguelike curator when I found out about this game. I wanted to find a game that introduced me to a different experience, something that would enrich my worldview. And URW doesn't disappoint. Posts like yours, the devs logs, the in-game entries, all of these are living proof of it.
 

January 02, 2023, 10:07:16 PM
1
Re: Issues running Unreal World on Ubuntu
So first off... ..I'm not Ubuntu literate enough to really understand what I need to do.
...It sounds like one of these is missing on your system. If you post the output of ldd, we can probably figure it out which one
I think Plotinus is suggesting that in addition to running the said ldd command on your terminal, you'd also post a copypaste of the output here in the forums so that other linux users could help you to figure out how to resolve possible issues with dependencies.
Good suggestion! Perhaps just do that, run ldd (as per Plotinus' example) and copy & paste the output here to get assistance.
While doing so, if you can kindly put the pasted ldd output in code brackets, it would particularly please me, like so:     [codee] your pasted text here [/codee]
Note that I used double 'ee' for the demonstration but you should use single 'e'...

If you installed the O/S just few months ago (presumably from a recent source) then this is a low success chance suggestion but because it is also a low effort one, I will suggest it...
Before doing the ldd suggestion mentioned above, perhaps try O/S update which can help get rid of bugs.
If you have not done so before see updating Ubuntu, here: https://itsfoss.com/update-ubuntu/


Edit: typo.

January 20, 2023, 11:31:23 AM
1
Re: Issues running Unreal World on Ubuntu
...
Regarding updating, I actually did that just before my initial post for unrelated reasons but I just tried again-there were a handful of updates but still nothing.
OK thanks for following up.

I checked the binary of the free-but-older-version of the game v.3.63 tonight, and after investigating it, I realized in this particular case, ldd output, at least the default output as we suggested/repeated earlier wouldn't have mattered. Still good advice for most other cases. Your post too demonstrates the fact that, ldd is not spitting out what UrW needs.
While it is possible to make ldd tell us more with extra parameters, probably not needed at this stage.

Instead, please try these below, and when prompted, just press Y and accept the disk cost & let apt auto-install any dependencies, as usual.

EDIT: Actually, I need to clarify that this is written for and tested on Ubuntu latest LTS Desktop 22.04 and UrW 3.63 (free-but-outdated) version and tested only on this version.
If you are however on the latest and greatest version of this game (v.3.72) let us know.


1. Install the SDL2 library components:
Code: [Select]
apt install libsdl2-2.0-0 libsdl2-image-2.0-0 libsdl2-mixer-2.0-0 libsdl2-net-2.0-0
2. Also install this audio dev lib:
Code: [Select]
apt install libjack-dev
Then open the console and type "urw" and let us know the outcome. If this does not work we will need more info from system.


Edit: clarified on what OS/Game versions this suggestion was tested on.

January 21, 2023, 03:03:27 AM
1
Re: Issues running Unreal World on Ubuntu
I am on 3.63, and it's now running perfectly! Everything in the first command was already installed but the second needed installation.

Thank you very much for your help!
I am very glad to hear that, and thanks for letting us know. Now, finally enjoy the great game! :)

On another note, as you might noticed, I've modified the thread subject and prefixed it [SOLVED] so that it's clearer to any board browsers.
Accurate information is good for future search results & external search engine hits too.


Edit: Just sharing as a FYI... I took the commands I used for this issue, cleaned up the notes a bit, combined with the general methodology notes & put them all in a rough guide post, as linked below. It might be of use later, for a future version, or even for another software/game.

[GUIDE] Unreal World Outdated Free Version On Modern Ubuntu Linux
https://www.unrealworld.fi/forums/index.php?topic=6878.0

January 21, 2023, 11:17:06 PM
1
[GUIDE] Unreal World Outdated Free Version On Modern Ubuntu Linux [GUIDE] Unreal World Outdated Free Version On Modern Ubuntu Linux

This guide attempts to help successfully run Unreal World outdated free version on a modern Ubuntu Linux system.
It is a rough step by step guide so if you have never installed a software package/game with a deb package, it might help.

There is a line somewhere in the middle of this post, marked with xxxxx (not kisses).
If you have already installed UrW or other software with deb packages before, you probably already know anything ABOVE the xxx line.

What's BELOW the xxx line is the main purpose I added this guide here.
It tries to help troubleshoot the missing dependencies issue so that more people can fix these issues quickly and locally.
Even though all of this can already be found in other web pages, YouTube videos etc. without knowing what to search for and without an overall structure, for some, it can be a daunting task to even start looking for help.

Please DO SEND any constructive criticism by replying directly to this message. Let me know if anything is wrong/unclear & needs further elaboration/important but missing from the guide etc.

Please DO NOT post technical issues by replying directly to this message - I will be happy to try and help you but best to open a new thread for your specific case, under General Discussion board. See the last bit of this message for a few hints on what to include in your help request.

Information on Ubuntu O/S
You can download Ubuntu linux operating system here: https://ubuntu.com
Installing Ubuntu is outside the scope of this guide but I will give a hint below so that, if interested but unsure where to start, you can look into it on the web.

Information on VirtualBox - The free virtualization software to keep your Windows or Mac and have your linux too (on the same PC)
If you do not wish to install Ubuntu linux on your existing hardware, you can use the free virtualization software VirtualBox https://www.virtualbox.org
You probably already knew this but this suggestion is for that one person who never tested (or heard of) virtualization software.
Assuming you have reasonably powerful/modern PC hardware VirtualBox software completely for free will let you run a "Ubuntu linux virtual machine" under your actual system.
Even if you completely "break" the linux, nothing will happen to your actual Windows system.
If you do use VirtualBox, ensure you provide adequate system resources to your new gaming virtual machine; e.g.: memory=4 GB, cpu=4x, display=128 MB VMSVGA & acceleration=enable 3d acceleration.

START
Step: Using Other Guides/Resources, Set Up Ubuntu Desktop 22.04 LTS
Ideally at first as a Virtual Machine so that you are used to it, a bit and feel more at home before you start diving deeper. Only then, start following this guide.

Step:  Update O/S, bring in the latest updates, fixes, dependencies etc and reboot
Code: [Select]
apt update && apt upgrade -y && reboot
Step:  Elevate to superuser & create temporary directory
Log back in after reboot, launch a terminal, become superuser, create a temporary location to set things up, store temporary log/output files etc.
Code: [Select]
sudo -i
mkdir /aaa && cd /aaa

Step:  Install pre-requisite software SDL2 library
SDL2 library is a software Unreal World requires, you can read more about it here: https://en.wikipedia.org/wiki/Simple_DirectMedia_Layer
Install SDL2 libs, with the command below.
Warning --yes flag means "Automatic yes to prompts; assume 'yes' as answer to all prompts and run non-interactively". I've added it here for speed, but if undesired, remove it.
Code: [Select]
apt --yes install libsdl2-2.0-0 libsdl2-image-2.0-0 libsdl2-mixer-2.0-0 libsdl2-net-2.0-0
Unreal World - Free Vs Paid Version Notice
I encourage everyone to purchase the game via itch.io or Steam so that you can enjoy the BEST Unreal World there is.
If you do not have the financial bandwidth at the moment (or just do not want), thankfully the very generous devs allow you to still enjoy the game legally (except the very latest goodies).

Step:  Download the Unreal World game package.
As of today (2023-January) v.3.63 is the free-but-not-latest version of the game and this link goes directly to that file.
This wget command should save the file urw_3.63_amd64.deb in your current directory, which is /aaa
Code: [Select]
wget http://www.unrealworld.fi/dl/3.63/linux/deb-ubuntu/urw_3.63_amd64.deb
Posterity Notice In the future when devs update the free version, the direct link below probably will not work, so you will need to go to the official website https://unrealworld.fi > Downloads > Ubuntu > 64-bit, right click on the download button/link, copy the shortcut/link, then update the wget command above with the new link.

Step:  Install the game
dpkg -i urw_3.63_amd64.deb

Step:  Launch the game
Click on the desktop icon or just issue the command listed below to launch the game.
Code: [Select]
urwIt would be great if it "just worked" when the game is launched.
Newest version of the game (3.72), as expected, does just work.
However as reported earlier (link below), older version of the game may rely on dependencies that are not clearly listed in the dpkg installation screen ( report: https://www.unrealworld.fi/forums/index.php?topic=6845.0 ).
Furthermore when user attempts to launch the game no clear instruction is given other than a cryptic message as detailed in the topic linked above.
This is the core issue: when launch game instruction doesn't work, it is not clear what is expected of the user to fix the problem. Install something? What exactly?

Step:  The right thing to do approach
The right thing to do now is to identify what missing software components are needed and install those, and only those.
This approach is not detailed / covered in this tutorial.
As far as I know there is no such list, it is not clear, it is not only system dependent, probably also version dependent. It is detective work and can be time consuming because:
* Game UrW is dependent on lib1, lib2, lib3.
** lib1 is dependent on libA1 and A2.
*** LibA1 is dependent on libX27 which is then dependent on libYYY341 and libYYY342.
***LibA2 is dependen...
Sometimes, it goes on and on. It is possible to get to the bottom of it but may need dedication...

xxxxxxxxxx

xxxxxxxxxx

Step:  Quick Hack: install 'em all
As a quick workaround, we can: 1) quickly determine what libraries are mentioned, AND 2) in a quick/scripted manner, try to install all "mentioned" libraries.
This is the not a precise approach at all and probably should be avoided on your actual/primary computer.

What to do on your actual/primary computer
a) It is probably best to just purchase the full game which is based on a recent build, using modern software (library) versions, and in my experience works flawless.
b) Alternatively, you can dedicate large amounts of time to systematically try libs and eventually find the working combination.
(If you go this route and eventually succeed, perhaps post a reply here sharing your O/S  exact version, game version, and what software packages you installed to get it working which can be seen with "grep Commandline /var/log/apt/history.log". I already have the paid version but it can help another person save time).

What to do on your gaming PC/gaming Virtual Machine
You can follow the instructions below to automatically add any and all missing software without careful consideration. You may end up with too much so perhaps do not do this on your main computer.
It may be OK to do this on a dedicated-gaming-virtual-machine which can be snapshotted/re-created with relative ease.
WARNING This can screw up your computer
WARNING Snapshot the virtual machine before doing this, in case it breaks something, you can revert back to the previous state with a single click.


Step: Install software package pax-utils
We will use lddtree utility which is distributed with the pax-utils so we need to install it.
Quote
apt --yes install pax-utils

Step: List dependencies and their dependencies using the lddtree utility, save output to a text file
Code: [Select]
lddtree /usr/bin/urw3-bin > lddtree.1.raw_output.txt
Step: Post-process the output to create filenames
Code: [Select]
cat lddtree.1.raw_output.txt | awk {'print $1'} > lddtree.2.filenames.txt
Step: Post-process the filenames to get base filenames (roughly)
Code: [Select]
cat lddtree.2.filenames.txt | sed -e 's/.so.[0-9]//' > lddtree.3.baseishfilenames.txt
Step: Automatically try to install any and all missing software
WARNING This can cause issues. If executing on a virtual machine, consider creating a snapshot before running this command, and otherwise, consider running a new backup just to be on the safe side.
The 1st command below just shows on screen what it will attempt to automatically install.
The 2nd command below will actually attempt the software installation, for each package.
SHOW command
Code: [Select]
cat lddtree.3.baseishfilenames.txt | while read line; do echo apt -y install $line-dev; doneINSTALL command
Code: [Select]
cat lddtree.3.baseishfilenames.txt | while read line; do apt -y install $line-dev; doneNote: This will not install every single missing library which is why it is called a 'Quick Hack' but based on my limited testing it is good enough, it did the job of converting a cannot-run-old-urw Ubuntu box to one that can run it and did it pretty quickly.

Step:  Once more, try launching the game
Now that a bunch of additional software is installed, there is a (high) chance, the missing dependency is now addressed so what failed earlier may work now.
Click on the desktop icon or just issue the command listed below to launch the game.
Code: [Select]
urw
What to do if it still doesn't work
Don't worry, take deep breath, relax. Remember nothing has changed & concept is the same, we still need to identify and install what is missing then it should work...

When relaxed adequately, go to the GENERAL DISCUSSION board, start a new discussion thread so that other linux users can try and help.

Please invest a few seconds to clearly naming the thread because what you put in the Subject field can pull or push technical people.
It is good to see something like "Getting 'Inconsistency detected by ld.so' error when launching v.3.88 under Ubuntu 52".
It tells us what O/S you have, which version of the game you are running, and what error message you are getting. That's a pretty good start.

Hope this helps someone, some day.

January 22, 2023, 12:16:40 AM
1