Comments (7)
rpm -ql opmon|grep keys
/usr/share/OpMon/keys
/usr/share/OpMon/keys/english.rkeys
/usr/share/OpMon/keys/espanol.rkeys
/usr/share/OpMon/keys/francais.rkeys
Keys are installed in that location.
from opmon-archive.
How did you install the game? Normally this is not where the data is installed
from opmon-archive.
I'm packaging the game right now as an rpm for openSUSE.
AFAIK this is where it should be installed.
I'm using the openSUSE Cmake macro.
Which expands to:
find . -name CMakeLists.txt \
-exec sed -i -re '/^[[:blank:]]*[sS][eE][tT][[:blank:]]*\([[:blank:]]*(CMAKE_BUILD_TYPE|CMAKE_COLOR_MAKEFILE|CMAKE_INSTALL_PREFIX|CMAKE_VERBOSE_MAKEFILE).*\)/{s/^/#IGNORE /}' {} +
mkdir -p build
cd build
/usr/bin/cmake $OLDPWD/. \
%if "/usr/bin/make" == "/usr/bin/make"
-G"Unix Makefiles" \
%else
-GNinja \
%endif
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DINCLUDE_INSTALL_DIR:PATH=/usr/include \
-DLIB_INSTALL_DIR:PATH=/usr/lib64 \
-DSYSCONF_INSTALL_DIR:PATH=/etc \
-DSHARE_INSTALL_PREFIX:PATH=/usr/share \
-DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_C_FLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables} -DNDEBUG" \
-DCMAKE_Fortran_FLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables} -DNDEBUG" \
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed" \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \
%if "lib64" == "lib64"
-DLIB_SUFFIX=64 \
%endif
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DBUILD_STATIC_LIBS:BOOL=OFF \
-DCMAKE_COLOR_MAKEFILE:BOOL=OFF \
-DCMAKE_INSTALL_DO_STRIP:BOOL=OFF \
-DCMAKE_MODULES_INSTALL_DIR=/usr/share/cmake/Modules
Thus setting the prefix to /usr
from opmon-archive.
Ok, I understand now why it works in that one terminal.
It's the instance where I am in the checked out git repo ;)
So it just takes the resources relative to pwd.
I think opmon needs to be patched to look for the location in the official places (/usr/local/share and /usr/share). It would be best if one could use the value that was given to it via CMake. Not sure if or how that is possible.
from opmon-archive.
Shouldnt https://github.com/OpMonTeam/OpMon/blob/master/src/utils/path.cpp#L92 do this?
BTW I'm using the 0.14 release tarball. But according to git blame it already contains this.
from opmon-archive.
Okay give me a minute, I might be on it ;)
from opmon-archive.
Solved it :)
from opmon-archive.
Related Issues (20)
- Change how the animations are stored HOT 2
- Add a confirmation before quitting the game HOT 2
- Tools for non-programmers
- Documentation HOT 1
- JSON subdivision HOT 3
- Modern CMake HOT 1
- Remove the data folder from this repo HOT 6
- Build error on Mac OS X HOT 2
- Doors sounds only work one direction HOT 4
- Screen Transition Hitbox Issue HOT 2
- Decouple and Generalize Event System HOT 1
- List the assets to load + tilesets in json HOT 1
- Issue with the "รง" character HOT 2
- Warnings at compilation HOT 1
- Replace handleError calls by exceptions
- Fix "include spaghettis"
- Line size calculation should be done with the actual text width and not the number of characters
- Use two lines of dialogues instead of three
- Dialogue box should automatically fit the screen size and resolution HOT 1
- Centralize design decisions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opmon-archive.