Ive downloaded PKGBUILD which compiles OpenTyrian Classic from svn under linux. It worked fine, but i wanted to play Enhanted version, so ive modified my pkgbuild, changing svn directory to enhanced. It compiled OpenTyrian without errors, but after installation of game i got "ERROR: Unable to find Tyrian data file: music.mus" error. Thats strange, because PKGBuild installs also all datafiles in it works with classic version. Where should i put datafiles ? Now i have (same as with Classic version), tyrian binary in /usr/share/opentyrian/tyrian and datafiles in /usr/share/opentyrian/data/
Enhanced uses a different way of specifying the data directories, that patch probably doesn't works. In fact, the package may not be installing some needed files.
Enhanced will first search for a directory named "autorun" in the cwd and then run all scripts inside. One of those should be the "00paths.con" file which specifies wether to use the user home dir for saving/etc (should probably be yes) and where the datafiles are located. This is only currently read from the cwd, which may be a problem, apart from wrapping it in a script that will changed cwd and then call tyrian I don't see any other alternative, but this is probably the best thing to be done anyway (using the wrapper script to call it).
Ok, that will propably resolve my problem. So how is proper way of installation of enhanced version? Make install doesnt copy autorun folder anywhere, but this folder is present in src directory. How "properly" install it? (i dont want to simply, dirty copy it, because i want to make this pkgbuild public).
You need the "autorun" and "opentyr-data" directories. Just copy them somewhere, and edit 00paths.con. I'll be looking into adding an option to change the place where it looks for the autorun dir at compile time.