Technical support > Linux

Debian: uforadiant package

(1/2) > >>

apo:
I'm quite satisfied with the uforadiant package. It compiles nicely and the application appears to work.

Questions:

There are some helper files and scripts under contrib in the git repository. Is there anything useful that should be installed with the uforadiant package? Shall software be recommended or suggested by the Debian package like

ufoai-uforadiant
Suggests: blender

Recommended packages are installed automatically when someone installs uforadiant, but this feature can be turned off or ignored.

There is only one thing which bothers me. At the first start up, uforadiant asks about the UFO:AI Installation Path. I have to tpye in "/usr/share/games/ufoai" or I can change this setting under Preferences later. I'd like to suggest to insert the value of "datadir" at build time automatically because this seems to be the place uforadiant is looking for. Or perhaps it isn't. Feedback is most welcome.



Mattn:
you can do the following: path the user.xml in ufoai/radiant folder and add the following below the user node.

--- Code: ---    <paths>
        <enginePath value="/some/path"/>
    </paths>

--- End code ---

Mattn:
btw. the class you are looking for is maybe GameManager (ufoai/src/tools/radiant/radiant/settings/GameManager.cpp)

GameManager::initialise

It looks like config.h isn't included and thus PKGDATADIR isn't know - i will check that.

Mattn:
please check whether cc5b662677833be2d4306d5c9a178e4cc6b5b1c7 fixed the issue for you.

apo:
Thanks. That's definitely better. Though uforadiant still complains about:


--- Quote ---Could not load ufos/entities.ufo
--- End quote ---

But that's because I installed the radiant directory in /usr/share/games/uforadiant instead of /usr/share/games. I will change the directory that should solve the issue. Although perhaps you might consider to change radiant to uforadiant to avoid any naming collisions in the future with similar packages like gtkradiant or whatever.

EDIT:

It seems it doesn't really matter whether I install uforadiant to radiant or uforadiant. I think appending either radiant or uforadiant to the PKGDATADIR path string should suffice.

Navigation

[0] Message Index

[#] Next page

Go to full version