dewitters / mysticmine Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi,
I can't run on Linux, even though make seems to run ok.
$ make rm -f monorail/ai.c monorail/ai.so rm -rf monorail/data running build_ext pyrexc monorail/ai.pyx --> monorail/ai.c /home/qubodup/MysticMine-master/monorail/ai.pyx:22:24: Warning: 'not None' will become the default in a future version of Pyrex. Use 'or None' to allow passing None. building 'monorail.ai' extension gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -I/usr/include/python2.7 -c monorail/ai.c -o build/temp.linux-x86_64-2.7/monorail/ai.o gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro build/temp.linux-x86_64-2.7/monorail/ai.o -L/usr/lib -lpython2.7 -o /home/qubodup/MysticMine-master/monorail/ai.so ln -s /home/qubodup/MysticMine-master/data/800x600/ monorail/data $ ./MysticMine Error: ai module not present. Run 'make' first!
I'm on ArchLinux. Perhaps this has something to do with the python2/python
=python3 chaos.
Buttons from my joystick work fine ingame and in the menu, but I cannot use my joystick stick or cross to chose between the menu options :-/
Not sure if this is a bug or something which was not implemented.
Could you provide an icon for the game?
I just packaged it for ArchLinux and the package adds a desktop file so that the game appears in the application menu, but it has no icon so it’s a bit ugly.
Also, how would you describe the game? I’ve put «A one-button multiplayer mining cart game», but I can still change it.
The mine car sprite is not always rendered correctly.
The following image shows an example:
http://www.marcusmoeller.ch/share/mine_car_sprite_rendering.png
Hi there,
The mysticmine.com website seems to be redirecting to this GitHub repo, so the links in the README saying that one can find more info and buy the game on mysticmine.com should probably be removed.
According to https://pypi.org/project/Pyrex/ and https://pip.pypa.io/en/latest/development/release-process/#python-2-support looks like pyrex can not be found on pypi anymore.
wget
Copy/paste in your terminal.
cd /tmp && \
wget "https://www.csse.canterbury.ac.nz/greg.ewing/python/Pyrex/Pyrex-0.9.9.tar.gz" && \
tar xvpf Pyrex-0.9.9.tar.gz
git clone https://github.com/dewitters/MysticMine.git && \
cd MysticMine && \
virtualenv -p 2.7 venv && \
source ./venv/bin/activate && \
python -m pip install pygame numpy && \
pushd ../Pyrex-0.9.9 && \
python setup.py build && \
python setup.py install && \
popd && \
make && \
./MysticMine
Step by step description:
README.md
Warning: /tmp
gets cleaned up after system shutdown/reboot, copy /tmp/MysticMine
to /opt
or ~/Games
or somewhere else.
Required tools: python2
, virtualenv
, wget
, git
. Consult your distribution about how to install them.
user $ python --version
Python 2.7.18
user $ python -m pip --version
pip 20.3.4 from /tmp/MysticMine/venv/lib64/python2.7/site-packages/pip (python 2.7
user $ virtualenv --version
virtualenv 20.4.7 from /usr/lib/python3.9/site-packages/virtualenv/__init__.py
user $ wget --version
GNU Wget 1.21.1 built on linux-gnu.
-cares +digest -gpgme +https +ipv6 -iri +large-file -metalink +nls
-ntlm +opie -psl +ssl/openssl
user $ git --version
git version 2.32.0
The neutral/default locale C makes the game unable to run.
$ LANG=C ./MysticMine
Traceback (most recent call last):
File "./MysticMine", line 9, in <module>
import monorail.monorail
File "MysticMine/monorail/monorail.py", line 45, in <module>
languages += DEFAULT_LANGUAGES
NameError: name 'languages' is not defined
Hello,
I try to compile and run but:
$ make rm -f monorail/ai.c monorail/ai.so rm -rf monorail/data running build_ext pyrexc monorail/ai.pyx --> monorail/ai.c /home/keddie/src/MysticMine/monorail/ai.pyx:22:24: Warning: 'not None' will become the default in a future version of Pyrex. Use 'or None' to allow passing None. building 'monorail.ai' extension gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c monorail/ai.c -o build/temp.linux-x86_64-2.7/monorail/ai.o gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/monorail/ai.o -L/usr/lib64 -lpython2.7 -o /home/keddie/src/MysticMine/monorail/ai.so ln -s /home/keddie/src/MysticMine/data/800x600/ monorail/data
$ ./MysticMine Error: ai module not present. Run 'make' first!
What I can do with this? It is clear for me that there is error in linking, but how can i fixed it?
My os: Fedora 20, Python 2.7.5, code actual master c7592a3
It would be better if artwork used the CC0 1.0 Universal waiver, rather than the MIT license which is a software license.
The upsides of it are:
If CC0 is not possible for you, you can also choose CC BY 4.0 which has similar upsides to CC0.
As stated in the README, the original music and sound effects of Mystic Mine can't be redistributed under a free license. I think the libre games aficionados (for example from FreeGameDev) can help find some nice freely-licensed musics and sounds, but for this we'd need a listing of the needed assets. This post can be edited later on to contain the full list of assets and whether they have found a replacement yet.
Edit: Actually the sound and music files are still shown in the repo, but have been replaced by a silent placeholder. They are listed here: https://github.com/koonsolo/MysticMine/blob/master/data/800x600/resources.cfg
Music:
Sound effects:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.