No problem about the distro confusion.
thanks that is indeed promising, however I don't know where to get the unshield-git "stable release? can't find it on AUR, Pacman or github... Should I be looking somewhere else? sorry if this is a bit of noob question, but I am indeed a noob,
Normally I'd tell you to install asp[1] and execute asp export unshield , but that's an archlinux specific tool and I have no idea if artix packages it.
The simplest way I found is to directly download the raw file using wget or some other downloader.
Create a folder unshield, cd into it and execute
hi I'm back,
sorry for the delay. so I am going to try the asp method you suggested again soon, but I tried the wget command and it seemed to work but I'm still getting an error when i try install open mw after,
booflet451-Reboofed:[booflet451]:~/unshield$ makepkg
==> Making package: unshield 1.5.1-1 (Sun 19 Dec 2021 20:29:59 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading unshield-1.5.1.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 100 123 100 123 0 0 563 0 --:--:-- --:--:-- --:--:-- 561
100 67454 0 67454 0 0 131k 0 --:--:-- --:--:-- --:--:-- 131k
==> Validating source files with sha256sums...
unshield-1.5.1.tar.gz ... Passed
==> Extracting sources...
-> Extracting unshield-1.5.1.tar.gz with bsdtar
==> Starting build()...
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for include file byteswap.h
-- Looking for include file byteswap.h - found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file stdbool.h
-- Looking for include file stdbool.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file sys/byteswap.h
-- Looking for include file sys/byteswap.h - not found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for fnmatch
-- Looking for fnmatch - found
-- Looking for iconv
-- Looking for iconv - found
-- Performing Test SIZE_FORMAT_ZI
-- Performing Test SIZE_FORMAT_ZI - Success
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11")
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1l")
-- OPENSSL_FOUND: TRUE
-- USE_OUR_OWN_MD5: OFF
-- BUILD_STATIC: OFF
-- Performing Test COMPILER_HAS_FPIC
-- Performing Test COMPILER_HAS_FPIC - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/booflet451/unshield/src/unshield-1.5.1
[ 6%] Building C object lib/convert_utf/CMakeFiles/convert_utf.dir/ConvertUTF.c.o
[ 13%] Linking C static library libconvert_utf.a
[ 13%] Built target convert_utf
[ 20%] Building C object lib/CMakeFiles/libunshield.dir/bswap.c.o
[ 26%] Building C object lib/CMakeFiles/libunshield.dir/component.c.o
[ 33%] Building C object lib/CMakeFiles/libunshield.dir/directory.c.o
[ 40%] Building C object lib/CMakeFiles/libunshield.dir/file.c.o
[ 46%] Building C object lib/CMakeFiles/libunshield.dir/file_group.c.o
[ 53%] Building C object lib/CMakeFiles/libunshield.dir/helper.c.o
[ 60%] Building C object lib/CMakeFiles/libunshield.dir/libunshield.c.o
[ 66%] Building C object lib/CMakeFiles/libunshield.dir/log.c.o
[ 73%] Linking C shared library libunshield.so
[ 73%] Built target libunshield
[ 80%] Building C object src/CMakeFiles/unshield.dir/unshield.c.o
/home/booflet451/unshield/src/unshield-1.5.1/src/unshield.c: In function ‘extract_file’:
/home/booflet451/unshield/src/unshield-1.5.1/src/unshield.c:522:3: warning: ignoring return value of ‘realpath’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
522 | realpath(output_directory, real_output_directory);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/booflet451/unshield/src/unshield-1.5.1/src/unshield.c:523:3: warning: ignoring return value of ‘realpath’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
523 | realpath(filename, real_filename);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 86%] Linking C executable unshield
[ 86%] Built target unshield
[ 93%] Building C object src/CMakeFiles/unshield-deobfuscate.dir/unshield-deobfuscate.c.o
[100%] Linking C executable unshield-deobfuscate
[100%] Built target unshield-deobfuscate
==> Entering fakeroot environment...
==> Starting package()...
Consolidate compiler generated dependencies of target convert_utf
[ 13%] Built target convert_utf
Consolidate compiler generated dependencies of target libunshield
[ 73%] Built target libunshield
Consolidate compiler generated dependencies of target unshield
[ 86%] Built target unshield
Consolidate compiler generated dependencies of target unshield-deobfuscate
[100%] Built target unshield-deobfuscate
Install the project...
-- Install configuration: ""
-- Installing: /home/booflet451/unshield/pkg/unshield/usr/share/man/man1/unshield.1
-- Installing: /home/booflet451/unshield/pkg/unshield/usr/lib/pkgconfig/libunshield.pc
-- Installing: /home/booflet451/unshield/pkg/unshield/usr/lib/libunshield.so.0.0.0
-- Installing: /home/booflet451/unshield/pkg/unshield/usr/lib/libunshield.so.0
-- Installing: /home/booflet451/unshield/pkg/unshield/usr/lib/libunshield.so
-- Installing: /home/booflet451/unshield/pkg/unshield/usr/include/libunshield.h
-- Installing: /home/booflet451/unshield/pkg/unshield/usr/bin/unshield
-- Set runtime path of "/home/booflet451/unshield/pkg/unshield/usr/bin/unshield" to ""
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/lib/libunshield.so.0.0.0
==> Creating package "unshield"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: unshield 1.5.1-1 (Sun 19 Dec 2021 20:30:08 CET)
booflet451-Reboofed:[booflet451]:~/unshield$ cd ~
booflet451-Reboofed:[booflet451]:~$ yay -S
booflet451-Reboofed:[booflet451]:~$ yay -s openmw
8 aur/openmw-vr-git r25608.ca2356615-1 (+0 0.00)
An open-source engine reimplementation for the role-playing game Morrowind, fork with OpenXR VR support.
7 aur/portmod-migrate 0.2.1-1 (+0 0.00)
A tool to help migrate from manually installed OpenMW mods to Portmod
6 aur/omwcmd 0.2.1-1 (+0 0.00)
A command line tool for interacting with openmw plugins
5 aur/omwllf 1.0-1 (+1 0.01)
OpenMW leveled list fixer
4 aur/openscenegraph-openmw-git 1:3.6.5.r16150.b02abe200-1 (+1 0.00)
Fork of OpenSceneGraph , with openmw-specific changes
3 aur/portmod 2.2.1-1 (+6 0.02)
A cli tool to manage mods for OpenMW
2 aur/openmw-tes3mp 0.7.0-3 (+6 0.00)
TES3MP is a project aiming to add multiplayer functionality to OpenMW, a free and open source recreation of the popular Bethesda Softworks game "The Elder Scrolls III: Morrowind".
1 aur/openmw-git 0.46.0.r2803.gcd9fb2ada-1 (+28 0.00)
An open-source engine reimplementation for the role-playing game Morrowind.
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:2] unshield-git-1.4.2.r12.g148d510-1 openmw-git-0.46.0.r2803.gcd9fb2ada-1
==> Making package: unshield-git 1.4.2.r12.g148d510-1 (Sun 19 Dec 2021 20:30:35 CET)
==> Retrieving sources...
==> Making package: openmw-git 0.46.0.r2803.gcd9fb2ada-1 (Sun 19 Dec 2021 20:30:35 CET)
-> Updating unshield git repo...
Fetching origin
==> Retrieving sources...
-> Updating openmw git repo...
Fetching origin
==> Validating source files with md5sums...
unshield ... Skipped
==> Validating source files with sha1sums...
openmw ... Skipped
==> Making package: unshield-git 1.4.2.r12.g148d510-1 (Sun 19 Dec 2021 20:30:39 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating unshield git repo...
Fetching origin
==> Validating source files with md5sums...
unshield ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of unshield git repo...
Cloning into 'unshield'...
done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.
==> Starting prepare()...
==> Starting pkgver()...
fatal: Not a valid object name HEAD
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version:
-> error making: unshield-git
booflet451-Reboofed:[booflet451]:~$
Use pacman -U unshield-1.5.1-1-x86_64.pkg.tar.zst in the directory you build it.
(the command requires root rights, you may want to use sudo. the package name is from my system and may be slighlty different on yours)
Then try again to build openmw-git and make sure you order yay to do a cleanbuild for everything to prevent leftovers from earlier builds messing things up.