I've updated this. Please kindly check if it works correctly. I don't have the game so I cannot test it.
Search Criteria
Package Details: corsix-th 0.66_beta2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/corsix-th.git (read-only, click to copy) |
---|---|
Package Base: | corsix-th |
Description: | Reimplementation of the game engine of Theme Hospital |
Upstream URL: | https://github.com/CorsixTH/CorsixTH |
Keywords: | game game-engine simulation theme-hospital |
Licenses: | MIT |
Submitter: | vesath |
Maintainer: | MarsSeed (carstene1ns) |
Last Packager: | MarsSeed |
Votes: | 71 |
Popularity: | 0.21 |
First Submitted: | 2010-06-07 15:48 (UTC) |
Last Updated: | 2022-06-09 19:59 (UTC) |
Dependencies (11)
- ffmpeg (ffmpeg-v4l2-request-git, ffmpeg-nox-git, ffmpeg-svt-vp9-git, ffmpeg-intel-full-git, ffmpeg-yt-dlp-bin, ffmpeg-amd-full, ffmpeg-decklink, ffmpeg-shinobi, ffmpeg-git, ffmpeg-ndi, ffmpeg-full, ffmpeg-full-git, ffmpeg-libfdk_aac, ffmpeg-headless, ffmpeg-obs, ffmpeg-vulkan, ffmpeg-cuda, ffmpeg-mmal, ffmpeg-amd-full-git, ffmpeg-nocuda)
- freetype2 (freetype2-minimal-git, freetype2-ttmetrics, freetype2-v35, freetype2-git, freetype2-ultimate5, freetype2-infinality-remix)
- lua
- lua-filesystem
- lua-lpeg
- sdl2_mixer (sdl2_mixer-minimal-git)
- cmake (cmake-git) (make)
- doxygen (doxygen-git, doxygen-clang) (make)
- ninja (ninja-git, ninja-samurai, ninja-mem, ninja-kitware, ninja-bin) (make)
- freepats-legacy (optional) – Soundfont for Midi playback
- soundfont-fluid (optional) – Alternative soundfont for Midi playback
Required by (1)
- theme-hospital-gog (optional)
Sources (1)
Latest Comments
MarsSeed commented on 2022-04-09 10:43 (UTC) (edited on 2022-06-04 15:32 (UTC) by MarsSeed)
SebinNyshkim commented on 2022-03-01 17:52 (UTC)
@TheCycoONE I had a hunch it might be connected to the recent major release of FFmpeg, but wasn't certain. I also had the ffmpeg4.4
package installed but it would still error out.
This package still breaks upon build, as it is still pulling in 0.64 but I also just tested it with the corsix-th-git
package and it compiled like a charm! Thanks for the quick fix :D
TheCycoONE commented on 2022-03-01 16:04 (UTC)
https://github.com/CorsixTH/CorsixTH/commit/95be4c96810818d05b668c373711cd8f38d4e8b4
The patch is now upstream ^
TheCycoONE commented on 2022-03-01 03:03 (UTC)
I see ffmpeg 5.0 was just released with API breaking changes. ArchLinux is carrying an ffmpeg 4.4 package (https://archlinux.org/packages/extra/x86_64/ffmpeg4.4/) which probably works better until we can incorporate the required changes.
TheCycoONE commented on 2022-03-01 00:15 (UTC) (edited on 2022-03-01 00:16 (UTC) by TheCycoONE)
@SebinNyshkim I haven't seen that yet, but if this is a problem with the latest ffmpeg I'll have it patched soon in git.
In the mean time you should be able to add -DWITH_MOVIES=off to the cmake line to get it to build - without cinematics of course.
SebinNyshkim commented on 2022-02-28 17:49 (UTC) (edited on 2022-02-28 17:50 (UTC) by SebinNyshkim)
The package doesn't build anymore (and FWIW neither does the corsix-th-git
package)
It aborts at around this step:
/home/sebin/.cache/yay/corsix-th/src/CorsixTH-0.64/CorsixTH/Src/th_movie.cpp: In member function 'bool movie_player::load(const char*)':
/home/sebin/.cache/yay/corsix-th/src/CorsixTH-0.64/CorsixTH/Src/th_movie.cpp:434:52: error: invalid conversion from 'AVCodec**' to 'const AVCodec**' [-fpermissive]
434 | -1, -1, &m_pVideoCodec, 0);
| ^~~~~~~~~~~~~~
| |
| AVCodec**
In file included from /home/sebin/.cache/yay/corsix-th/src/CorsixTH-0.64/CorsixTH/Src/th_movie.h:46,
from /home/sebin/.cache/yay/corsix-th/src/CorsixTH-0.64/CorsixTH/Src/th_movie.cpp:23:
/usr/include/libavformat/avformat.h:2165:41: note: initializing argument 5 of 'int av_find_best_stream(AVFormatContext*, AVMediaType, int, int, const AVCodec**, int)'
2165 | const AVCodec **decoder_ret,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/sebin/.cache/yay/corsix-th/src/CorsixTH-0.64/CorsixTH/Src/th_movie.cpp:445:52: error: invalid conversion from 'AVCodec**' to 'const AVCodec**' [-fpermissive]
445 | -1, -1, &m_pAudioCodec, 0);
| ^~~~~~~~~~~~~~
| |
| AVCodec**
In file included from /home/sebin/.cache/yay/corsix-th/src/CorsixTH-0.64/CorsixTH/Src/th_movie.h:46,
from /home/sebin/.cache/yay/corsix-th/src/CorsixTH-0.64/CorsixTH/Src/th_movie.cpp:23:
/usr/include/libavformat/avformat.h:2165:41: note: initializing argument 5 of 'int av_find_best_stream(AVFormatContext*, AVMediaType, int, int, const AVCodec**, int)'
2165 | const AVCodec **decoder_ret,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
[33/35] Building CXX object CorsixTH/CMakeFiles/CorsixTH_lib.dir/Src/th_map.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
-> error making: corsix-th
I also tried using the updated 0.65.1 tarball, but that aborts for pretty much the same reasons. Not sure how to proceed here to get it to build...
ydrolet commented on 2021-01-02 03:12 (UTC)
Hi! Just a reminder not to forget to update to version 0.64 that was released on June.
culebra_solida commented on 2020-07-14 02:32 (UTC)
Hi, i have no music, even enabling timidity as explained here https://wiki.archlinux.org/index.php/Timidity#Freepats doesnt work
TheCycoONE commented on 2019-05-27 13:09 (UTC)
For what it's worth, I was able to get working midi by adding fluidsynth and setting the environment variable SDL_SOUNDFONTS=/usr/share/soundfonts/default.sf2
Not sure if there is a better mechanism.
TheCycoONE commented on 2019-05-17 12:35 (UTC)
sdl2_mixer has an optional dependency on an external fluidsynth, does that work better?
carstene1ns commented on 2019-03-09 22:25 (UTC)
@raneon, @Lucki: As said, the soundfont version does not work.
I will update this to use my freepats-legacy
package.
raneon commented on 2019-03-08 21:15 (UTC)
corsix-th depends from timidity-freepats, which is not available anymore. Package seems to need an update. I could build the game without this.
Lucki commented on 2019-02-25 11:23 (UTC)
Hm, did a quick test and announcements and sounds were normal. But actually there's no music playing for me, maybe a configuration error on my side.
Right now it's difficult to build because the dependency does not exist.
carstene1ns commented on 2019-02-23 13:05 (UTC) (edited on 2019-02-23 13:05 (UTC) by carstene1ns)
@Lucki: Using freepats-legacy here, did you try it works with the soundfont version? Last time I tried sdl2_mixer with fluidsynth (is used for soundfonts), it sounded bad.
Lucki commented on 2019-02-23 00:59 (UTC)
TheCycoONE commented on 2018-07-25 00:57 (UTC)
Nice work with the update.
Lucki commented on 2018-07-24 23:04 (UTC) (edited on 2018-07-24 23:23 (UTC) by Lucki)
Why are you converting the logo? Should be possible to place it directly as svg
into ${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg
.
Maybe you need to depend on hicolor-icon-theme
or gtk-update-icon-cache
but i'm not sure about that.
Pinned Comments
MarsSeed commented on 2022-04-09 10:43 (UTC) (edited on 2022-06-04 15:32 (UTC) by MarsSeed)
I've updated this. Please kindly check if it works correctly. I don't have the game so I cannot test it.