oitofelix / mininim Goto Github PK
View Code? Open in Web Editor NEWThe Advanced Prince of Persia Engine (a childhood dream)
Home Page: http://oitofelix.github.io/mininim/
License: GNU General Public License v3.0
The Advanced Prince of Persia Engine (a childhood dream)
Home Page: http://oitofelix.github.io/mininim/
License: GNU General Public License v3.0
When make install DESTDIR="..."
was executed by emerge, access was denied to /usr/share/mininim
in make rule install-data-hook
. This was caused by $(MKDIR_P) "${pkgdatadir}"
line.
I am not sure, this issue may be gentoo-specific, but I patched Makefile.am to use
"${DESTDIR}${pkgdatadir}"
instead of "${pkgdatadir}"
. Luckily only one rule needed to be changed.
Hi!
I'm trying to build your program in my Debian and I have a problem with "./configure":
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ALLEGRO... no
configure: error: MININIM requires Allegro 5.0.9 (or superior)
Allegro is installed (obviously) the problem is the name in pkg-config: in Debian sid is "allegro-5" instead of "allegro-5.0":
tobias@ontable:~/Games/mininim/mininim-0.10$ pkg-config --list-all | grep allegro | sort
allegro-5 allegro - Allegro game programming library
allegro_acodec-5 allegro_acodec - Allegro game programming library, audio codec addon
allegro_audio-5 allegro_audio - Allegro game programming library, audio addon
allegro_color-5 allegro_color - Allegro game programming library, colors addon
allegro_dialog-5 allegro_dialog - Allegro game programming library, native dialog addon
allegro_font-5 allegro_font - Allegro game programming library, font addon
allegro_image-5 allegro_image - Allegro game programming library, image I/O addon
allegro_main-5 allegro_main - Allegro game programming library, magic main addon
allegro_memfile-5 allegro_memfile - Allegro game programming library, memory files addon
allegro_physfs-5 allegro_physfs - Allegro game programming library, PhysicsFS addon
allegro_primitives-5 allegro_primitives - Allegro game programming library, primitives addon
allegro_ttf-5 allegro_ttf - Allegro game programming library, TrueType fonts addon
allegro_video-5 allegro_video - Allegro game programming library, video player addon
bye!
Hi! :-)
Running the game with the --start-time=N switch (eg. mininim --start-time=7200), do the game to start and playing the introduction, but when pressing Enter the game starts but returns a segmentation fault and aborts.
I'm on Mint 17.3 x64 KDE and i installed the 0.10 version from homepage.
Bye! :-)
G.
If you cheat the guard and enter the second
level without taking the sword, you should be
awarded with the sword automatically. Otherwise
there is no way to go any further. Original game
did exactly that. There was no dead-end if you
enter level2 without a sword.
Attempt to build the executable from v200928.tar.gz fails with
src/mininim.h:82:10: fatal error: iup/iup.h: No such file or directory
82 | #include <iup/iup.h>
| ^~~~~~~~~~~
I played original game many years ago and cannot be entirely sure here.
When player gets to second screen(below first room) soldier from the right screen immediately start charging and eventually moves to current screen. In original game all positions in this screen were safe.
In original game, the sword is taken on-guard
automatically when the guard is seen. But minimim
doesn't take the sword out, so guard just kills me.
The code seems to be using many functions from
allegro-5.1, that are not available in 5.0. But only
version 5.0 is checked in configure. As a result,
the following link errors:
anim.c:(.text+0x916): undefined reference to al_set_display_flag' anim.c:(.text+0xad4): undefined reference to
al_set_display_flag'
src/kernel/video.o: In function init_video': video.c:(.text+0x365): undefined reference to
al_create_builtin_font'
src/kernel/audio.o: In function enable_audio': audio.c:(.text+0x142): undefined reference to
al_set_mixer_gain'
audio.c:(.text+0x1a6): undefined reference to al_set_mixer_gain' src/kernel/audio.o: In function
set_mixer_gain':
audio.c:(.text+0x200): undefined reference to al_set_mixer_gain' src/kernel/dialog.o: In function
init_dialog':
dialog.c:(.text+0x7): undefined reference to al_init_native_dialog_addon' src/kernel/dialog.o: In function
finalize_dialog':
dialog.c:(.text+0x43): undefined reference to `al_shutdown_native_dialog_addon'
It would be nice if allegro-5.0 is properly supported, rather
than to tighten the version check. fedora-23 only has 5.0.
When trying to compile branch next
on ./configure LUA_LIB="-llua50 -llualib50"
I got:
checking for a Lua interpreter with version >= 5.0, < 5.1... none
configure: error: MININIM requires Lua 5.0 (or superior)
on lua -v
:
Lua 5.3.4 Copyright © 1994-2017 Lua.org, PUC-Rio
to run on ARM machine?
Hi,
After build I get this error when I try to execute the program:
./mininim: create_bitmap (320, 200): cannot create bitmap
Using "al_get_errno()" in the code I get the value "0x02" but I don't know what it means :(
I don't know how to get more information about this issue to help you, if you have an idea, I'm happy to help you with this awesome project... ;)
In configure.ac
texinfo
version is parsed out by sed:
texinfo_version=`$MAKEINFO --version | $SED -n 's/^makeinfo.* \(@<:@@<:@:digit:@:>@.@:>@*\)$/\1/p'`
In my gentoo with texinfo v6.1 makeinfo
binary is symlink to texi2any
and --version
string is:
$ makeinfo --version
texi2any (GNU texinfo) 6.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
To configure without fails I changed sed
line to
$SED -n '1s/^.* \(@<:@@<:@:digit:@:>@.@:>@*\)$/\1/p'
When you press Ctrl-g, game is not paused.
While you select the file to save, the guard can
come close and you save in a very bad position.
All games I know of, freeze during the save dialog.
Btw, how is to restore?
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.