For anyone getting the MissingIni error, run innoextract on the UT2004 GOG installer, then copy the ini files from the extracted __support/app/System
folder to ~/.ut2004/System
and the game should launch without issue (provided you've already added the CD-key, of course). The PKGBUILD should probably be adjusted so the ini's are copied automatically.
Search Criteria
Package Details: ut2004-gog 3369-5
Package Actions
Git Clone URL: | https://aur.archlinux.org/ut2004-gog.git (read-only, click to copy) |
---|---|
Package Base: | ut2004-gog |
Description: | Unreal Tournament 2004 ECE native Linux version with data via GOG |
Upstream URL: | https://www.gog.com/game/unreal_tournament_2004_ece |
Licenses: | custom |
Conflicts: | ut2004, ut2004-steam |
Submitter: | jmsq |
Maintainer: | jmsq |
Last Packager: | jmsq |
Votes: | 3 |
Popularity: | 0.000001 |
First Submitted: | 2021-08-19 08:40 (UTC) |
Last Updated: | 2022-06-28 07:15 (UTC) |
Dependencies (5)
- libstdc++5AUR (libstdc++5-binAUR)
- openal (openal-gitAUR)
- sdlAUR (sdl-openglhqAUR, sdl-nokbgrabAUR, sdl-openglhq-nokbgrabAUR, sdl-gitAUR, sdl12-compat-gitAUR, sdl12-compat)
- innoextract (innoextract-gitAUR) (make)
- lgogdownloaderAUR (lgogdownloader-gitAUR, lgogdownloader-qt5AUR, lgogdownloader-qt5-gitAUR) (make)
Required by (0)
Sources (6)
Yamashiro commented on 2022-05-14 18:24 (UTC) (edited on 2022-05-14 18:24 (UTC) by Yamashiro)
grabarz commented on 2022-03-25 22:02 (UTC)
Just got CD key from GOG customer support. I've created CDkey
in /opt/ut2004/System
and ~/.ut2004/System
. No success. The same error message as before.
jmsq commented on 2022-03-18 05:32 (UTC) (edited on 2022-03-18 05:33 (UTC) by jmsq)
@tomatopaste the CDkey
file is required. Historically GOG have provided a key upon request from GOG support, but it might be integrated into the registry as part of the Windows installer as well. I believe it can be installed alternatively into ~/.ut2004/
instead of the system-level directory, but it does need to be in at least one of those places. Double check PCGamingWiki for details.
Tomatopaste commented on 2022-03-07 00:19 (UTC) (edited on 2022-03-07 02:12 (UTC) by Tomatopaste)
I have the exact same problem as @grabarz.
I have downloaded the required files from gog manually and moved them into the directory in which my PKGBUILD is located. I verified the checksums.
To complete installation, write your UT2004 cdkey to /opt/ut2004/System/CDkey as root.
The installation prompts to add the cdkey, but as far as I know the GOG edition does not come with one. Hence I did not create that particular file - might be related?
When I try to run the executables in the System folder, I get
$ ./ucc-bin
./ucc-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
$ ./ut2004-bin
./ut2004-bin: error while loading shared libraries: ./libSDL-1.2.so.0: wrong ELF class: ELFCLASS64
$ ./ucc-bin-linux-amd64
MissingIni
History:
Exiting due to error
$ ./ut2004-bin-linux-amd64
MissingIni
History:
Exiting due to error
The contents of the ~/.ut2004
folder after running ut2004
~/.ut2004/
└── System
└── UT2004.log
1 directory, 1 file
I used yay
as an AUR helper, but I get the same issues with using makepkg
.
This is the build log: https://pastebin.com/RNeqENL5
These are the contents of the package: https://pastebin.com/ReckDGPc
grabarz commented on 2022-01-24 02:13 (UTC)
Same:
grabarz@thinkpad /opt/ut2004/System $ ./ut2004-bin-linux-amd64
MissingIni
History:
Exiting due to error
jmsq commented on 2022-01-24 02:07 (UTC)
@grabarz, unfortunately I'm running out of ideas on what may be the problem on your setup. If you run this manually do you get a different result?
cd /opt/ut2004/System
./ut2004-bin-linux-amd64
This might also be the result of 3D acceleration not being set up correctly on your system. Have you tested 3D acceleration with other apps/games to make sure it's not just software rendering being used?
grabarz commented on 2022-01-24 01:16 (UTC)
grabarz@thinkpad ~ $ pacman -Qkk ut2004-gog
ut2004-gog: 1945 total files, 0 altered files
grabarz@thinkpad ~ $ ls -l .ut2004
drwx------ grabarz wheel 4.0 KB Sun Jan 23 07:16:20 2022 ./
drwx------ grabarz wheel 4.0 KB Sun Jan 23 16:56:36 2022 ../
drwx------ grabarz wheel 4.0 KB Sun Jan 23 07:16:20 2022 System/
grabarz@thinkpad ~ $ ls -l .ut2004/System/
drwx------ grabarz wheel 4.0 KB Sun Jan 23 07:16:20 2022 ./
drwx------ grabarz wheel 4.0 KB Sun Jan 23 07:16:20 2022 ../
.rw------- grabarz wheel 452 B Sun Jan 23 09:54:14 2022 UT2004.log
grabarz@thinkpad ~ $ cat .ut2004/System/UT2004.log
Log: Log file open, Sun Jan 23 09:54:14 2022
Init: Name subsystem initialized
Init: Version: 3369 (128.29)
Init: Compiled: Dec 14 2005 17:11:00
Init: Command line:
Init: (This is Linux64 patch version 3369.2)
Log: FileManager: Reading 0 GByte 0 MByte 0 KByte 0 Bytes from HD took 0.000000 seconds (0.000000 reading, 0.000000 seeking).
Log: FileManager: 0.000000 seconds spent with misc. duties
Uninitialized: Log file closed, Sun Jan 23 09:54:14 2022
grabarz@thinkpad ~ $
jmsq commented on 2022-01-24 01:13 (UTC) (edited on 2022-01-24 01:13 (UTC) by jmsq)
@grabarz well the package filelist appears to be correct. Can you verify the files are correct on disk: pacman -Qkk ut2004-gog
and that your home directory is writable by yourself, specifically the ~/.ut2004
subdirectory where UT stores local user config files?
grabarz commented on 2022-01-24 01:00 (UTC)
@jmsq the list of files is here: https://pastebin.com/mEYFLQWd
I will try to reinstall it after cleaning paru cache.
jmsq commented on 2022-01-24 00:51 (UTC)
@grabarz unfortunately that output is useless for me as it's reusing the package you previously built:
:: ut2004-gog-3369-3 is up to date -- skipping build
I'd suggest at least cleaning the built pacman package from your paru cache and grab the output of a fresh build (you can save the gog binaries since they're passing the hash checks.)
Alternatively, share the file list of the installed package: pacman -Ql ut2004-gog
Pinned Comments
jmsq commented on 2021-08-19 08:49 (UTC) (edited on 2021-08-30 12:31 (UTC) by jmsq)
For those who haven't used lgogdownloader with a GOG AUR package before, here's how you set it up.
Add
'gogdownloader::/usr/bin/lgogdownloader --download-file=%u -o %o'
to theDLAGENTS
section of/etc/makepkg.conf