jakz / openmom Goto Github PK
View Code? Open in Web Editor NEWA cross-platform open source port of Master of Magic game from Microprose
License: GNU General Public License v3.0
A cross-platform open source port of Master of Magic game from Microprose
License: GNU General Public License v3.0
I've tried to configure the engine on Debian Stretch. I don't know cmake so i googled it and use this command:
cmake -DNAME_OF_SETTING=VALUE
I get this output:
Build Type is Debug
Base flags are -Wno-reorder -Wno-inconsistent-missing-override -std=c++14 -stdlib=libstdc++ -fdiagnostics-show-option
Debug flags are -O0 -g -fstandalone-debug -Wno-reorder -Wno-inconsistent-missing-override -std=c++14 -stdlib=libstdc++ -fdiagnostics-show-option
CMake Error at /usr/share/cmake-3.9/Modules/CMakeDetermineSystem.cmake:174 (file):
file attempted to write a file:
/home/rtentser/Sources/openmom/CMakeFiles/CMakeOutput.log into a source
directory.
Call Stack (most recent call first):
CMakeLists.txt:77 (project)
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
Found this project you guys had contributed to a while back and am wondering if it's still alive and well as I've seen a wee bit of activity a few months back but wasn't sure?
Also wondering do you have any sort of project website or community group where fans can keep up to date with your work? If so please let me know so I can share it with the community and also tribute you guys on my Master of Magic fan games tribute website.
I run a few MoM fan communities so if you guys are interesting in talking about your work or watching other rebuild attempts then feel free to come join the Master of Magic Discord that I help run. We recently created a MoM Reverse Engineering sub chat there as another fellow is working on a similar project to rebuild MoM and Civizard (the MoM playstation remake). I'm sure he'd love to talk to you guys!
Implode who made the Master of Magic HD Multiplayer remake over the last 15 years that's getting very complete now also lurks our discord too as he's still working away on MoM-IME (recently implemented working global AI and taught it to build roads in between trying to kill you lol!).
I found another group here on github who appear to have worked on a similar project called MoM-Clone (not related to the other MoM-clone project i nthe early 2000s lol) so I might go invite them too.
And finally I'm not sure how connected you guys are to the MoM fan community these days and MoM news but I also run a Facebook MoM group and help run the Discord I mentioned above. We try to keep up to date on all official and fan projects so if you've been missing out on all the good MoM news then come drop by! :)
For example Slitherine have purchased the MoM rights from Atari and are selling MoM on GoG & steam, and best of all appear to be working on a official MoM2 sequel!! They're super keen to get their hands on MoM's long lost source code and have expressed interest in rebuild projects too.. They started working with Caster of Magic creator Seravy and are now selling his MoM mod as an official addon! He too is currently rebuilding MoM from the ground up (except he's using his 10-15 years of hacking every part on MoM to rebuild it super quick) and is making a Caster of Magic 2 which he's already posting public alphas over at the Realms Beyond MoM forum. Slitherine have also made a new official Master of Magic forum too. I actually made a thread there telling them about all the source possibilities and rebuild projects I knew and included yours.
I think that's all the good stuff haha.. Hope to see you guys in the communities some time if you're not already there as your knowledge and experience of tinkering with MoM files would be most welcome. :)
I'm following other game re-implementation like OpenNitemare3D. The developer produces releases from time to time, basically every time a new feature is implemented and needs testing. I wonder if the same approach could be followed during the development of OpenMoM.
When i try to run openmom i get "Floating point exception". So i've run it with gdb and got this:
(gdb) run
Starting program: /home/rtentser/Sources/cmake/src/openmom
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Program received signal SIGFPE, Arithmetic exception.
0x0830c3bd in std::__detail::_Mod_range_hashing::operator() (this=0x864142c <i18n::data[abi:cxx11]>, __num=170, __den=0)
at /usr/bin/../lib/gcc/i686-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/hashtable_policy.h:446
446 { return __num % __den; }
(gdb) backtrace
#0 0x0830c3bd in std::__detail::_Mod_range_hashing::operator() (this=0x864142c <i18n::data[abi:cxx11]>, __num=170, __den=0)
at /usr/bin/../lib/gcc/i686-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/hashtable_policy.h:446
#1 0x0830c370 in std::__detail::_Hash_code_base<I18, std::pair<I18 const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__detail::_Select1st, enum_hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::_M_bucket_index (this=0x864142c <i18n::data[abi:cxx11]>, __c=170, __n=0)
at /usr/bin/../lib/gcc/i686-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/hashtable_policy.h:1260
#2 0x0830be7b in std::_Hashtable<I18, std::pair<I18 const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<I18 const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::__detail::_Select1st, std::equal_to<I18>, enum_hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_bucket_index (
this=0x864142c <i18n::data[abi:cxx11]>, __k=@0xbffff13c: I18::FIRST_AVAILABLE_INDEX, __c=170)
at /usr/bin/../lib/gcc/i686-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/hashtable.h:623
#3 0x0830bd28 in std::__detail::_Map_base<I18, std::pair<I18 const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<I18 const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::__detail::_Select1st, std::equal_to<I18>, enum_hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>, true>::operator[] (
this=0x864142c <i18n::data[abi:cxx11]>, __k=@0xbffff13c: I18::FIRST_AVAILABLE_INDEX)
at /usr/bin/../lib/gcc/i686-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/hashtable_policy.h:590
#4 0x0830bcd4 in std::unordered_map<I18, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, enum_hash, std::equal_to<I18>, std::allocator<std::pair<I18 const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::operator[] (this=0x864142c <i18n::data[abi:cxx11]>, __k=@0xbffff13c: I18::FIRST_AVAILABLE_INDEX)
at /usr/bin/../lib/gcc/i686-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/unordered_map.h:904
#5 0x0844fd4e in i18n::keyForString (key="messages_place_name_ruins_first")
at /home/rtentser/Sources/openmom/src/i18n/Localization.cpp:32
#6 0x082c5850 in __cxx_global_var_init () at /home/rtentser/Sources/openmom/src/ui/GfxData.cpp:34
#7 0x082c6afb in _GLOBAL__sub_I_GfxData.cpp ()
#8 0x08531a4b in __libc_csu_init ()
#9 0xb7ab8216 in __libc_start_main (main=0x82d7fc0 <main(int, char**)>, argc=1, argv=0xbffff364, init=0x8531a00 <__libc_csu_init>,
fini=0x8531a60 <__libc_csu_fini>, rtld_fini=0xb7feb070 <_dl_fini>, stack_end=0xbffff35c) at ../csu/libc-start.c:247
#10 0x082d7ee9 in _start ()
Which license do you use?
Hi,
I've tried to compile openmom
on my Ubuntu:
SkillSet::iterator
with invalid operands.Can you describe which version of clang on Mac is used to compile ?
Regarding your cmake
, I suppose you are using Mac and/or Windows ?
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.