nondeterministic / eureka

Old-school CRPG engine, editor and game
GNU General Public License v3.0
44 stars 3 forks source link

Possible to build with libxml2? #1

Closed clort81 closed 3 years ago

clort81 commented 3 years ago

I have no libxml++-3.0 in debian sid. Could this be built against libxml2 Version: 2.9.12+dfsg-5 ?

clort81 commented 3 years ago

Checking libxml homepage it appears they've progressed to versions 3, 4 and 5, yet even latest debian/devuan is still stuck with 2.6. So I installed the 3.0 branch with:

 git clone -b libxml++-3.0 --single-branch https://github.com/libxmlplusplus/libxmlplusplus.git

Then the usual ./autogen.sh && ./configure && make -j4 && make install gets src/eureka binary

54M src/eureka

(That's a big binary for an ultima 4 game)

after make install eureka/demoworld runs.

Nice job! Suggest tweaking makefile to allow a run without make install.

clort81 commented 3 years ago

The run gets me some rendering errors with. INFO: sdlwindow.cc: Created SDL window 1024x768 INFO: sdlwindow.cc: SDL renderer supports accelerated rendering. INFO: sdlwindow.cc: Created arena texture inside with dimensions w: 612, h: 740, inside SDL-Window with dimensions: w: 1024, h: 768 Exception caught: Cannot instantiate underlying libxml2 structure ERROR: Error loading game data from /usr/local/share/eureka/data/demoworld.xml. Did you run make install? ERROR: eureka.cc: Game world XML-file seems to have no initial map defined.

The file seems to be called Demoworld.xml, not demoworld.xml

clort81 commented 3 years ago

Created symbolic links cd /usr/local/share/eureka/data `` ln -s Demoworld.xml demoworld.cml ln -s Demoworld demoworld


All text in the textbox is apearing at the bottom. other screens are black.
clort81 commented 3 years ago

eureka_text

clort81 commented 3 years ago

Georgeous retro graphics and awesome soundtrack, btw.

clort81 commented 3 years ago

very low cpu use too. you're not drawing a million times per second like Open Blades of Exile. This game engine has potential.

clort81 commented 3 years ago

closing this, moving to new issue about console log rendering.