Package Details: soh 8.0.6-1

Git Clone URL: https://aur.archlinux.org/soh.git (read-only, click to copy)
Package Base: soh
Description: An unofficial port of The Legend of Zelda Ocarina of Time for PC, Wii U, and Switch
Upstream URL: https://shipofharkinian.com/
Keywords: harkinian ship shipwright soh
Licenses: unknown
Submitter: AltoXorg
Maintainer: AltoXorg
Last Packager: AltoXorg
Votes: 2
Popularity: 0.55
First Submitted: 2022-11-09 06:14 (UTC)
Last Updated: 2024-08-13 06:58 (UTC)

Latest Comments

AltoXorg commented on 2024-05-19 08:50 (UTC)

I've confirmed your issue by testing on a clean chroot. Will issue a patch asap ;)

tcreature commented on 2024-05-19 04:32 (UTC)

I successfully built this package before, but it doesn't build for me anymore for some reason. Compilation fails with the following errors:

/home/tim/.cache/yay/soh/src/Shipwright-8.0.5/soh/src/boot/idle.c:80:20: error: passing argument 1 of ‘osViSwapBuffer’ makes pointer from integer without a cast [-Wint-conversion]
   80 |     osViSwapBuffer(0x803DA80); //! @bug Invalid vram address (probably intended to be 0x803DA800)
      |                    ^~~~~~~~~
      |                    |
      |                    int
/home/tim/.cache/yay/soh/src/Shipwright-8.0.5/soh/include/functions.h:143:27: note: expected ‘void *’ but argument is of type ‘int’
  143 | void osViSwapBuffer(void* vaddr);
      |                     ~~~~~~^~~~~

There are a few other warnings after this that are too big to fit here, but I think this error is what stops it. I can't tell if this is an issue with SoH or if it's my own gcc installation that's messed up in some way from a recent update. Does anyone know what would be the cause of this and how to fix it?

exponential commented on 2023-11-14 16:20 (UTC)

you can also try with high niceness, so everything else has priority put this in front of the command: "nice -n 19" This will not help with low memory

AltoXorg commented on 2023-11-14 09:23 (UTC) (edited on 2023-12-03 13:45 (UTC) by AltoXorg)

If compiling slows down your system, try to minimize your parallel job count (-j<count>) (should be atleast 4 or 2). Modify the PKGBUILD on something along the lines of cmake --build, add -j4 (or -j2 for less) at the end of the line.

UPDATE: added NINJAFLAGS environment variable to control the job count without editing PKGBUILD. (NINJAFLAGS=-j4 makepkg)

Glorious7060 commented on 2023-11-14 03:54 (UTC) (edited on 2023-11-14 18:08 (UTC) by Glorious7060)

My computer start freezing in this part: [9/867] Building CXX Object soh.......dlViewer.coo.o At this point my keyboard stop working and my mouse became very slow, and I have to force a restart in my computer With the git package is the same

EDIT: cmake --build -j4 solve my problem, thanks!

The-Anathema commented on 2023-06-27 00:21 (UTC)

==> Extracting sources...
  -> Extracting Shipwright-7.1.0.tar.gz with bsdtar
  -> Extracting libultraship-04ef63c74270dfe9df458bd8335aac7a7097468a.tar.gz with bsdtar
==> Starting prepare()...
patching file src/CMakeLists.txt
patching file src/Context.cpp
patching file src/Context.h
The next patch would create the file src/install_config.h.in,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
patching file src/public/libultra/os.cpp
==> ERROR: A failure occurred in prepare().

Having to manually delete this file from the cache for soh every time you update is very annoying.