Comments (4)
Hi, for historical reasons the game is portable by default, ie. looks for the datadir next to the executable. You can use the --datadir
option to set its path. This is handled by the desktop entry, but not by the executable itself at the moment.
from supermariowar.
Hi @mmatyas , I tried adding these options but gives the same error, the files are correctly installed but the binary seems to not find the correct place 🤔
from supermariowar.
The command here should be smw-leveledit --datadir /usr/share/games/smw/
; does this not work in your case?
from supermariowar.
Ah yes, this one does, mmh... I just created a patch for my build, maybe you want to add something similar:
--- a/src/common/MapList.cpp
+++ b/src/common/MapList.cpp
@@ -125,7 +125,7 @@ MapList::MapList(bool fWorldEditor)
//TODO: add proper test via size
if (maps.empty()) {
- printf("ERROR: Empty map directory!\n");
+ printf("ERROR: Empty map directory! Try adding the --datadir parameter\n");
throw std::runtime_error("ERROR: Empty map directory!");
}
from supermariowar.
Related Issues (20)
- Super Mario War get stuck while loading HOT 4
- Add support for per-map secret powerup effect in worlds
- Segfault during shutdown (SDL2, Linux KMS/DRM video driver) HOT 2
- Mode settings display is broken HOT 3
- Game doesn't run on Raspberry Pi 5 HOT 7
- Question: is there any public server for smw? HOT 1
- Example of how to train an AI
- Level editor doesn't save HOT 4
- Revamp map and world editor HOT 2
- Custom objects?
- Water and quicksand tile flags
- World editor crashes when creating new world HOT 2
- The game doesn't open
- The game doesn't access the menu HOT 4
- Now, i can access the menu, but other pages are also broken HOT 2
- CMAKE: Configuring incomplete, errors occurred! HOT 3
- Eating a mystery mushroom crashes the game under certain circumstances HOT 1
- Minigame mode graphic missing in latest release HOT 1
- Suggestion: Add support for OGG loops 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 supermariowar.