For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com

Critical Error Unreal227j

Report bugs, read about fixes, new features and ask questions about the Unreal 227 patch here. Place comments and commit suggestions.
Post Reply
Wrenchie
OldUnreal Member
Posts: 11
Joined: Sun Feb 22, 2015 2:01 pm

Critical Error Unreal227j

Post by Wrenchie »

josh@josh-G11CD:~/.steam/debian-installation/steamapps/common/Unreal Gold/System64$ '/home/josh/.steam/debian-installation/steamapps/common/Unreal Gold/System64/UnrealLinux.bin'
WARNING: Not using preference directory
Forcing CPU affinity disabled.
Caught a C++ exception in main()!
Aborting.

Can't find file for package SDL2Drv.

History: UObject::SafeLoadError
UObject::SafeLoadError
<- UObject::StaticLoadClass
<- UGameEngine::Init
<- InitEngine


Exiting due to error

System:
Kernel: 5.4.0-122-generic x86_64 bits: 64 compiler: gcc v: 9.4.0
Desktop: Cinnamon 5.2.7 wm: muffin 5.2.1 dm: LightDM 1.30.0
Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal
Machine:
Type: Desktop Mobo: ASUSTeK model: G11CD v: Rev 1.xx serial: <filter>
UEFI: American Megatrends v: 1002 date: 03/19/2018
CPU:
Topology: Quad Core model: Intel Core i5-6400 bits: 64 type: MCP
arch: Skylake-S rev: 3 L2 cache: 6144 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 21599
Speed: 900 MHz min/max: 800/3300 MHz Core speeds (MHz): 1: 900 2: 900
3: 900 4: 900
Graphics:
Device-1: NVIDIA GM204 [GeForce GTX 970] vendor: ASUSTeK driver: nvidia
v: 515.48.07 bus ID: 01:00.0 chip ID: 10de:13c2
Display: x11 server: X.Org 1.20.13 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: NVIDIA GeForce GTX 970/PCIe/SSE2
v: 4.6.0 NVIDIA 515.48.07 direct render: Yes
Audio:
Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:a170
Device-2: NVIDIA GM204 High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:0fbb
Sound Server: ALSA v: k5.4.0-122-generic
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK driver: r8169 v: kernel port: d000 bus ID: 03:00.0
chip ID: 10ec:8168
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 1.14 TiB used: 66.61 GiB (5.7%)
ID-1: /dev/sda vendor: Toshiba model: DT01ACA100 size: 931.51 GiB
speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> rev: A7L0 scheme: GPT
ID-2: /dev/sdb vendor: Western Digital model: WD2500AAJS-75M0A0
size: 232.83 GiB speed: 3.0 Gb/s serial: <filter> rev: 3E02 scheme: MBR
Partition:
ID-1: / size: 457.07 GiB used: 66.58 GiB (14.6%) fs: ext4 dev: /dev/sda5
Sensors:
System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 56 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 36%
Info:
Processes: 246 Uptime: 1h 15m Memory: 7.70 GiB used: 3.20 GiB (41.6%)
Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.4.0 alt: 9 Shell: bash
v: 5.0.17 running in: gnome-terminal inxi: 3.0.38
SecureBoot disabled

I tried putting in the files the missing shared libraries but that didn't work, I tried just the System folder and is missing

$ ./UnrealLinux.bin
./UnrealLinux.bin: error while loading shared libraries: libvorbisfile.so.3: cannot open shared object file: No such file or directory

viewtopic.php?f=51&t=10014&p=97976&hilit=SDL2Drv#p97976

josh@josh-G11CD:~/.steam/debian-installation/steamapps/common/Unreal Gold/System64$ '/home/josh/.steam/debian-installation/steamapps/common/Unreal Gold/System/UnrealLinux.bin'
/home/josh/.steam/debian-installation/steamapps/common/Unreal Gold/System/UnrealLinux.bin: error while loading shared libraries: Core.so: wrong ELF class: ELFCLASS64

josh@josh-G11CD:~/.steam/debian-installation/steamapps/common/Unreal Gold/System64$ ./UnrealLinux.bin -log
WARNING: Not using preference directory
Forcing CPU affinity disabled.
Splash screen disabled when using the parameters log, server and TestRenDev
Unreal engine initialized
Bound to PhysXPhysics.so
Bound to Render.so
Initializing PhysX physics engine (ver 4.1.1)!
Failed to load SDL2Drv: Can't find file for package SDL2Drv..
Failed to load "Class SDL2Drv.SDL2Client": Can't find file for package SDL2Drv..
Can't find file for package SDL2Drv.
appError called:
Can't find file for package SDL2Drv.
Executing UObject::StaticShutdownAfterError
UObject::SafeLoadError
UObject::StaticLoadClass
UGameEngine::Init
InitEngine
Caught a C++ exception in main()!
Aborting.

Can't find file for package SDL2Drv.

History: UObject::SafeLoadError
UObject::SafeLoadError
<- UObject::StaticLoadClass
<- UGameEngine::Init
<- InitEngine


Exiting due to error
Exiting.

~/.steam/debian-installation/steamapps/common/Unreal Gold/System64$ ls -l | grep ">"
lrwxrwxrwx 1 josh josh 13 Jul 13 18:57 libalure.so -> libalure.so.1
lrwxrwxrwx 1 josh josh 17 Jul 13 18:57 libalure.so.1 -> libalure.so.1.2.0
lrwxrwxrwx 1 josh josh 16 Jul 13 18:57 libFLAC.so.8 -> libFLAC.so.8.3.0
lrwxrwxrwx 1 josh josh 20 Jul 13 18:57 libfmodex.so -> libfmodex-4.44.49.so
lrwxrwxrwx 1 josh josh 15 Jul 13 18:57 libfmod.so -> libfmod-3.75.so
lrwxrwxrwx 1 josh josh 12 Jul 13 18:57 libmikmod.so.2 -> libmikmod.so
lrwxrwxrwx 1 josh josh 15 Jul 13 18:57 libogg.so -> libogg.so.0.8.4
lrwxrwxrwx 1 josh josh 15 Jul 13 18:57 libogg.so.0 -> libogg.so.0.8.4
lrwxrwxrwx 1 josh josh 14 Jul 13 18:57 libopenal.so -> libopenal.so.1
lrwxrwxrwx 1 josh josh 19 Jul 13 18:57 libopenal.so.1 -> libopenal.so.1.21.1
lrwxrwxrwx 1 josh josh 18 Jul 13 18:57 libpng16.so.16 -> libpng16.so.16.8.0
lrwxrwxrwx 1 josh josh 22 Jul 13 18:57 libvorbisenc.so.2 -> libvorbisenc.so.2.0.12
lrwxrwxrwx 1 josh josh 22 Jul 13 18:57 libvorbisfile.so -> libvorbisfile.so.3.3.8
lrwxrwxrwx 1 josh josh 22 Jul 13 18:57 libvorbisfile.so.3 -> libvorbisfile.so.3.3.8
lrwxrwxrwx 1 josh josh 18 Jul 13 18:57 libvorbis.so -> libvorbis.so.0.4.9
lrwxrwxrwx 1 josh josh 18 Jul 13 18:57 libvorbis.so.0 -> libvorbis.so.0.4.9
lrwxrwxrwx 1 josh josh 15 Jul 13 18:57 libX11.so -> libX11.so.6.3.0
lrwxrwxrwx 1 josh josh 15 Jul 13 18:57 libX11.so.6 -> libX11.so.6.3.0
lrwxrwxrwx 1 josh josh 11 Jul 13 18:57 libxmp.so -> libxmp.so.4
lrwxrwxrwx 1 josh josh 15 Jul 13 18:57 libxmp.so.4 -> libxmp.so.4.4.1
lrwxrwxrwx 1 josh josh 16 Jul 13 18:57 libXpm.so -> libXpm.so.4.11.0
lrwxrwxrwx 1 josh josh 15 Jul 13 18:57 libXpm.so.4 -> libxmp.so.4.4.1
lrwxrwxrwx 1 josh josh 15 Jul 13 18:57 libxX11.so -> libX11.so.6.3.0
lrwxrwxrwx 1 josh josh 20 Jul 13 18:57 libXxf86dga.so -> libXxf86dga.so.1.0.0
lrwxrwxrwx 1 josh josh 20 Jul 13 18:57 libXxf86dga.so.1 -> libXxf86dga.so.1.0.0
User avatar
Neon_Knight
OldUnreal Member
Posts: 378
Joined: Tue Aug 25, 2009 9:02 pm

Re: Critical Error Unreal227j

Post by Neon_Knight »

From a thread in the development section:

A beginning note:
Smirftsch wrote: Sat Jun 04, 2022 11:07 am (...) current stable is 2.0.22 and the minimum version required is 2.0.16
Check if your distro's SDL2 version is above 2.0.16.

Try this for analysis:
Smirftsch wrote: Mon May 30, 2022 4:19 pm try
ldd ./UnrealLinux.bin
or
ldd -r ./UnrealLinux.bin

and if that doesn't show maybe
ldd --verbose ./UnrealLinux.bin

and the same with SDL2Drv.so

and we'll see what it shows
Smirftsch wrote: Tue May 31, 2022 2:13 pm you could try to comment
Suppress=DevLoad (just put a ; in front)

and start with "UnrealLinux.bin -log"
And you can try these fixes too:
Smirftsch wrote: Mon May 30, 2022 2:34 pm Try to delete the libSDL2* stuff from System/System64 folder so that it has to use your distro's own version of it.
Localization project coordinator/spanish maintainer

Only the people that do nothing but criticize don't make mistakes. Do things. Make mistakes. Learn from them. And screw those who do nothing but throw poison and criticize.
Wrenchie
OldUnreal Member
Posts: 11
Joined: Sun Feb 22, 2015 2:01 pm

Re: Critical Error Unreal227j

Post by Wrenchie »

I am checking Linux Mint's repo
https://community.linuxmint.com/softwar ... ibsdl2-dev
Neon_Knight wrote: Sat Jul 16, 2022 1:20 pm From a thread in the development section:

A beginning note:
Smirftsch wrote: Sat Jun 04, 2022 11:07 am (...) current stable is 2.0.22 and the minimum version required is 2.0.16
Check if your distro's SDL2 version is above 2.0.16.

Try this for analysis:
Smirftsch wrote: Mon May 30, 2022 4:19 pm try
ldd ./UnrealLinux.bin
or
ldd -r ./UnrealLinux.bin

and if that doesn't show maybe
ldd --verbose ./UnrealLinux.bin

and the same with SDL2Drv.so

and we'll see what it shows
Smirftsch wrote: Tue May 31, 2022 2:13 pm you could try to comment
Suppress=DevLoad (just put a ; in front)

and start with "UnrealLinux.bin -log"
And you can try these fixes too:
Smirftsch wrote: Mon May 30, 2022 2:34 pm Try to delete the libSDL2* stuff from System/System64 folder so that it has to use your distro's own version of it.
Wrenchie
OldUnreal Member
Posts: 11
Joined: Sun Feb 22, 2015 2:01 pm

Re: Critical Error Unreal227j

Post by Wrenchie »

It is only 2.0-0 its less than 20.16 or what I need dammit
Neon_Knight wrote: Sat Jul 16, 2022 1:20 pm From a thread in the development section:

A beginning note:
Smirftsch wrote: Sat Jun 04, 2022 11:07 am (...) current stable is 2.0.22 and the minimum version required is 2.0.16
Check if your distro's SDL2 version is above 2.0.16.

Try this for analysis:
Smirftsch wrote: Mon May 30, 2022 4:19 pm try
ldd ./UnrealLinux.bin
or
ldd -r ./UnrealLinux.bin

and if that doesn't show maybe
ldd --verbose ./UnrealLinux.bin

and the same with SDL2Drv.so

and we'll see what it shows
Smirftsch wrote: Tue May 31, 2022 2:13 pm you could try to comment
Suppress=DevLoad (just put a ; in front)

and start with "UnrealLinux.bin -log"
And you can try these fixes too:
Smirftsch wrote: Mon May 30, 2022 2:34 pm Try to delete the libSDL2* stuff from System/System64 folder so that it has to use your distro's own version of it.
User avatar
Neon_Knight
OldUnreal Member
Posts: 378
Joined: Tue Aug 25, 2009 9:02 pm

Re: Critical Error Unreal227j

Post by Neon_Knight »

Try locate libSDL2. What does it output?
Localization project coordinator/spanish maintainer

Only the people that do nothing but criticize don't make mistakes. Do things. Make mistakes. Learn from them. And screw those who do nothing but throw poison and criticize.
User avatar
rdy2bz
OldUnreal Member
Posts: 81
Joined: Wed Apr 06, 2011 5:48 am

Re: Critical Error Unreal227j

Post by rdy2bz »

Mint 20.3 is based on Ubuntu 20.04 (which is based on Debian), which means it uses most of the libs provided by Ubuntu. SDL2 is one of those libs, so you're system has SDL2 2.0.10 for now.

It's a bit unfortunate for the patch to depend on a version that wasn't released until mid 2021, but fortunately they ship the needed lib that will work with your system. Put that libs in the folders accordingly, take care of that since I see that you already have a mixup between 32bit and 64bit components in your folders. That one line with the wrong ELF class says that you have a 64bit lib in the 32bit folder.
User avatar
Neon_Knight
OldUnreal Member
Posts: 378
Joined: Tue Aug 25, 2009 9:02 pm

Re: Critical Error Unreal227j

Post by Neon_Knight »

rdy2bz wrote: Sun Jul 17, 2022 3:44 pm Mint 20.3 is based on Ubuntu 20.04 (which is based on Debian), which means it uses most of the libs provided by Ubuntu. SDL2 is one of those libs, so you're system has SDL2 2.0.10 for now.

It's a bit unfortunate for the patch to depend on a version that wasn't released until mid 2021, but fortunately they ship the needed lib that will work with your system. Put that libs in the folders accordingly, take care of that since I see that you already have a mixup between 32bit and 64bit components in your folders. That one line with the wrong ELF class says that you have a 64bit lib in the 32bit folder.
I'm using Elementary Hela, which is also based on 20.3. So I guess other than updating the distro we don't have much of a choice.
Localization project coordinator/spanish maintainer

Only the people that do nothing but criticize don't make mistakes. Do things. Make mistakes. Learn from them. And screw those who do nothing but throw poison and criticize.
User avatar
tlk
OldUnreal Member
Posts: 64
Joined: Fri May 08, 2020 6:24 am

Re: Critical Error Unreal227j

Post by tlk »

rdy2bz wrote: Sun Jul 17, 2022 3:44 pm It's a bit unfortunate for the patch to depend on a version that wasn't released until mid 2021
That's way too steep and most likely avoidable. Means the code must depend on some relatively minor behaviour changes...
Neon_Knight wrote: Mon Jul 18, 2022 10:19 am I guess other than updating the distro we don't have much of a choice.
There's (almost) always a choice. Certainly there are things worth trying before changing your OS. Like simply looking for a recent enough SDL somewhere on pkgs.org which will work with the distro or just compiling one - with debootstrap this should be easy enough.
User avatar
Smirftsch
Administrator
Posts: 8999
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali
Contact:

Re: Critical Error Unreal227j

Post by Smirftsch »

rdy2bz wrote: Sun Jul 17, 2022 3:44 pm It's a bit unfortunate for the patch to depend on a version that wasn't released until mid 2021, but fortunately they ship the needed lib that will work with your system. Put that libs in the folders accordingly, take care of that since I see that you already have a mixup between 32bit and 64bit components in your folders. That one line with the wrong ELF class says that you have a 64bit lib in the 32bit folder.
Unfortunate? Maybe, but not unreasonable. I needed this version due to a new function they included there to fix quite some bad behavior.
Sometimes you have to lose a fight to win the war.
Wrenchie
OldUnreal Member
Posts: 11
Joined: Sun Feb 22, 2015 2:01 pm

Re: Critical Error Unreal227j

Post by Wrenchie »

Smirftsch wrote: Fri Jul 22, 2022 6:18 am
rdy2bz wrote: Sun Jul 17, 2022 3:44 pm It's a bit unfortunate for the patch to depend on a version that wasn't released until mid 2021, but fortunately they ship the needed lib that will work with your system. Put that libs in the folders accordingly, take care of that since I see that you already have a mixup between 32bit and 64bit components in your folders. That one line with the wrong ELF class says that you have a 64bit lib in the 32bit folder.
Unfortunate? Maybe, but not unreasonable. I needed this version due to a new function they included there to fix quite some bad behavior.
I got it all working, I had to compile SDL2 from source then put it in the lib folder and get fmod and others compiled. So it works now, I had to write a script that runs bash like a shortcut to the unreallinux.bin file since launchers don't work

save it as ug.sh on desktop

#!/bin/bash
# rsync script
cd '/home/josh/.steam/debian-installation/steamapps/common/Unreal Gold/System64/'
'./UnrealLinux.bin'
exit
User avatar
tlk
OldUnreal Member
Posts: 64
Joined: Fri May 08, 2020 6:24 am

Re: Critical Error Unreal227j

Post by tlk »

Smirftsch wrote: Fri Jul 22, 2022 6:18 am
rdy2bz wrote: Sun Jul 17, 2022 3:44 pm It's a bit unfortunate for the patch to depend on a version that wasn't released until mid 2021, but fortunately they ship the needed lib that will work with your system. Put that libs in the folders accordingly, take care of that since I see that you already have a mixup between 32bit and 64bit components in your folders. That one line with the wrong ELF class says that you have a 64bit lib in the 32bit folder.
Unfortunate? Maybe, but not unreasonable. I needed this version due to a new function they included there to fix quite some bad behavior.
arguably it is unreasonable to require a *very* recent *minor* change in a dependency.

at least it's not how you do a commercial.. well a production piece of software
User avatar
rdy2bz
OldUnreal Member
Posts: 81
Joined: Wed Apr 06, 2011 5:48 am

Re: Critical Error Unreal227j

Post by rdy2bz »

Smirftsch wrote: Fri Jul 22, 2022 6:18 am Unfortunate? Maybe, but not unreasonable. I needed this version due to a new function they included there to fix quite some bad behavior.
I thought so, that's very reasonable if you need something that was added only in the recent version :thumbsup:
Still unfortunate that older Distros don't ship the new SDL version.
User avatar
tlk
OldUnreal Member
Posts: 64
Joined: Fri May 08, 2020 6:24 am

Re: Critical Error Unreal227j

Post by tlk »

rdy2bz wrote: Fri Jul 22, 2022 5:58 pm that's very reasonable if you need something that was added only in the recent version
no it is not
unless the version in question isn't a major update
rdy2bz wrote: Fri Jul 22, 2022 5:58 pm Still unfortunate that older Distros don't ship the new SDL version.
the bane of Linux OSes (aka distros) they won't update stuff even between minor releases. Pay for the (back)ports I'd say, but... oh well.
User avatar
rdy2bz
OldUnreal Member
Posts: 81
Joined: Wed Apr 06, 2011 5:48 am

Re: Critical Error Unreal227j

Post by rdy2bz »

I'm not sure I can follow your train of thought. SDL adds new functionalities with every minor version, it's not just bugfixes, see the changelog for 2.0.16. And if you need the new stuff, bumping your dependency is reasonable in my eyes.

The thing is, it kind of breaks the idea of Linux distributions to keep the libs centralized so you can apply patches easily and thus keep your system safe - that's the unfortunate part of the story. But in one or two years I bet every Distro has updated to a newer SDL version and that's that then.
User avatar
tlk
OldUnreal Member
Posts: 64
Joined: Fri May 08, 2020 6:24 am

Re: Critical Error Unreal227j

Post by tlk »

rdy2bz wrote: Fri Jul 22, 2022 8:18 pm I'm not sure I can follow your train of thought
I'm not sure it's right to depend on every little bit of change that occurs between minor versions. As you pointed out yourself these changes happen all the time.
rdy2bz wrote: Fri Jul 22, 2022 8:18 pm The thing is, it kind of breaks the idea of Linux distributions to keep the libs centralized
yeah but what really breaks the idea is the distro fragmentation
open source model gives the opportunity to strive for what is *right* for software - doing the same thing once. And this is the main advantage free software has against propitiatory. Unfortunately it's plain to see whether this advantage is used or not...
And even if we imagine (c) that the promised land comes and all distros merge into one, different software would still need to depend on diff versions of libs. But in that imaginary case, providing some software with some "personal" lib versions would be so much easier. It's sane, even if it's not entirely correct technically. (I can imagine the sheer outrage of Debian folks lol)
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: Critical Error Unreal227j

Post by []KAOS[]Casey »

false equivalence -- unreal is closed source. You additionally choose to use a distro that is based off another distro with no actual -- only perceived benefits. And that distro is using an outdated version of the distro it's based on. I also recognize that ubuntu is based off debian, and the same statements could be made about ubuntu and debian, the difference between the two is more that ubuntu is geared towards a more entry level user and debian is not. Regardless, you choose to use an outdated distro. Ubuntu 22.04 uses libsdl 2.20 which claims to be compatible within this thread. The theoretical best way to solve this would be with a flatpak but I am not certain it's possible (legally) to actually ship 227j in such a way, you'd have to make it yousrelf.

Also, there is nothing stopping you from compiling and installing libsdl2 yourself. You can preach all you want, but in the end you are running linux, presumably an OS designed for power users and complaining you're using old libs when you have ways to solve it.
Wrenchie
OldUnreal Member
Posts: 11
Joined: Sun Feb 22, 2015 2:01 pm

Re: Critical Error Unreal227j

Post by Wrenchie »

[]KAOS[]Casey wrote: Sat Jul 23, 2022 5:03 pm false equivalence -- unreal is closed source. You additionally choose to use a distro that is based off another distro with no actual -- only perceived benefits. And that distro is using an outdated version of the distro it's based on. I also recognize that ubuntu is based off debian, and the same statements could be made about ubuntu and debian, the difference between the two is more that ubuntu is geared towards a more entry level user and debian is not. Regardless, you choose to use an outdated distro. Ubuntu 22.04 uses libsdl 2.20 which claims to be compatible within this thread. The theoretical best way to solve this would be with a flatpak but I am not certain it's possible (legally) to actually ship 227j in such a way, you'd have to make it yousrelf.

Also, there is nothing stopping you from compiling and installing libsdl2 yourself. You can preach all you want, but in the end you are running linux, presumably an OS designed for power users and complaining you're using old libs when you have ways to solve it.
Ok thank you can you close this topic please and lock it.
Post Reply

Return to “Unreal 227”