Tuesday, August 01, 2017

Re: NEW: games/corsixth

Brian Callahan wrote:
> Since CorsixTH doesn't care which version of Lua it uses, and all the
> RDEPS have a lua53 FLAVOR, let's just have CorsixTH use the first Lua
> that cmake finds, which is 5.3
>
> New tarball attached with that change.
>
> OK?
>
> ~Brian

Hi Brian,

Ha! I've been working on a CorsixTH port for over two years, but I
always had some bug here or there preventing me for submitting it
(old bugs between SDL2 and ld.so, trying to deal with Lua flavors,
weird crashes...). I was just working on it again, he he.

(That's why I had submitted an archivers/innoextract port in the
first place, because this way you can buy and play this game without
requiring Windows at all.)

Your port, like mine, still crashes for me on macppc, though.
It segfaults in THChunkRenderer::decodeChunks(), and I didn't find a
way to fix this. It "runs" on loongson, though, so I guess it's more
of an endianness issue.

Also, first time you start it, if you don't have any ~/.config/CorsixTH
stuff, you'll get a strange Lua strack trace, and you need to restart.
Once ~/.config/CorsixTH appears, this doesn't show up anymore. My port
also has this bug, and I don't know how to fix this either (I'm patching
main.cpp instead of using a wrapper, but this doesn't fix anything...
using Lua 5.1 instead of Lua 5.3 didn't fix anything either).

In case you're interested, the attached file incorporates some small
fixes from my own port (explicit dep on sdl2, make sure Doxygen can't
be picked up if installed, disable checkForUpdates() because bad and
useless code, don't add a hard dep to timidity because it's not built
by default, instead just suggest people to install it if they really
want it like some other ports already do).

No comments:

Post a Comment