Another World (RAW) ported to Haiku

Hello,
during my lunch break I tried to port Another World (RAW - the opensource reimplementation of the engine) to Haiku.

Screenshots:

WARNING: you need original game files (I used the DOS version).

I’ll write a recipe and send a PR tonight or tomorrow (@Begasus you are authorized to kick my ass if I forget any trailing line this time :rofl:)

13 Likes

@Luca91 I’ll leave that to travis :stuck_out_tongue:

2 Likes

This post was flagged by the community and is temporarily hidden.

HELP NEEDED: the recipe is almost ready, but since the game requires additional files (the original game data) to be copied to the installation directory, and since that directory is read-only (/boot/system/apps/AnotherWorld/), I don’t know how to proceed.

Any advice? Thanks a lot.

Other than that, it is ready.

What about?

–datapath=PATH Path to data files (default ‘.’)

1 Like

@johna Yeah, this is also feasible, but then you have to instruct the user to place the data in another directory.

Don’t get me wrong, this is perfectly fine (at least for me), but for the end user I think that a self-contained solution is better.

Anyway if this is the only solution, I can proceed. I’ll wait for a confirmation :wink:

  • ~/config/non-packaged/data/AnotherWorld

What about the config directory as default?

edit

Ninja’d! @cocobean beat me to it!

You can use a wrapper script like it is used here: https://github.com/haikuports/haikuports/blob/master/games-strategy/ja2_stracciatella/additional-files/ja2_stracciatella.sh

1 Like

Thanks everyone for your suggestions.

@extrowerk solution is my favourite: a launch script is perfect for notify the user any error due to missing game data! Thanks

Also, sorry for these questions, I’m a total noob at packaging software on Haiku :sweat_smile:

1 Like

It’s also possible to provide a script to make a “data” package from the original data files, then install this package locally.

PR is now live: Another World (NEO-RAW): new recipe by Luca1991 · Pull Request #9426 · haikuports/haikuports · GitHub

3 Likes

@humdinger is our script guru, I’ll leave that up to him, left a note on the PR to put the binary “raw” in $binDir or $prefix/bin so users can control the engine from Terminal even without the script.

Hardly… :slight_smile:
I did have a few comments, though.

1 Like