Package Details: corsix-th 0.67_release-1

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://corsixth.com/
Keywords: game game-engine simulation theme-hospital
Licenses: MIT
Submitter: vesath
Maintainer: randomnobody
Last Packager: randomnobody
Votes: 74
Popularity: 0.53
First Submitted: 2010-06-07 15:48 (UTC)
Last Updated: 2023-08-19 17:22 (UTC)

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

antena commented on 2023-06-19 12:58 (UTC) (edited on 2023-06-19 12:58 (UTC) by antena)

Since recently I am unable to build this due to "Error prone negation: negation is executed before relational operator" on line 313 in CorisxTH/Lua/world.lua during Lua check phase.

Here's the patch I made to fix the issue, hope it helps someone!

--- world.lua.orig      2023-06-19 14:45:48.891587391 +0200
+++ world.lua.mod       2023-06-19 14:46:18.244980721 +0200
@@ -310,7 +310,7 @@
       end
     end
   end
-  if #self.available_diseases == 0 and not self.map.level_number == "MAP EDITOR" then
+  if #self.available_diseases == 0 and self.map.level_number ~= "MAP EDITOR" then
     -- No diseases are needed if we're actually in the map editor!
     print("Warning: This level does not contain any diseases")
   end

MarsSeed commented on 2022-07-01 02:58 (UTC)

Sorry for the strange pkgver (0.66_release instead of a simple 0.66).

I've screwed up earlier with the beta release tags: pacman considers 0.66_beta1 to be higher than 0.66.

Next time, I'm going to use proper, pacman-conformant versioning: e.g. 0.67beta, which is followed by 0.67rc and then 0.67 - in increasing order as far as pacman sees it. :)

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.

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.