Luca91
September 14, 2023, 11:33am
1
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 )
13 Likes
Begasus
September 14, 2023, 11:38am
2
@Luca91 I’ll leave that to travis
2 Likes
pvalue
September 14, 2023, 12:42pm
3
This post was flagged by the community and is temporarily hidden.
Luca91
September 14, 2023, 6:05pm
4
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.
johna
September 14, 2023, 6:40pm
5
What about?
–datapath=PATH Path to data files (default ‘.’)
1 Like
Luca91
September 14, 2023, 11:51pm
6
@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
What about the config directory as default?
edit
Ninja’d! @cocobean beat me to it!
Luca91
September 15, 2023, 10:34am
10
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
1 Like
korli
September 15, 2023, 11:54am
11
It’s also possible to provide a script to make a “data” package from the original data files, then install this package locally.
Luca91
September 15, 2023, 9:09pm
12
3 Likes
Begasus
September 16, 2023, 6:18am
13
@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…
I did have a few comments, though.
1 Like