SummoningWars / summoning-wars

Summoning Wars is an action roleplaying game for singleplayer or up to 8 players in multiplayer.
GNU General Public License v3.0
8 stars 3 forks source link

upgrade OGRE 1.7 to 1.12.2 #1

Open SaintWish opened 5 years ago

SaintWish commented 5 years ago

also need to upgrade TinyXML to TinyXML2 and replace freealut with OpenAL Soft ?

jhonny-oliveira commented 1 year ago

Any update on this?

I patched the game to work on Ubuntu Jammy (https://xtradeb.net/play/summoning-wars) but I can't make it work on Ubuntu 23.04 with OGRE 1.12.10. I managed to build it and the game loads, but I can't create a profile. Probably due to my zero OGRE knowledge quality patching. :-)

@SaintWish is there any chance you can work on this or point me out in someone else's direction?

Thank you!

SaintWish commented 1 year ago

Any update on this?

I patched the game to work on Ubuntu Jammy (https://xtradeb.net/play/summoning-wars) but I can't make it work on Ubuntu 23.04 with OGRE 1.12.10. I managed to build it and the game loads, but I can't create a profile. Probably due to my zero OGRE knowledge quality patching. :-)

@SaintWish is there any chance you can work on this or point me out in someone else's direction?

Thank you!

There hasn't been any progress on this and I no longer have the time to work on this either. I originally got this project from here https://sourceforge.net/projects/sumwars/ but seems like there's been no updates on that repo as well.

jhonny-oliveira commented 1 year ago

Just for the record, these are the patches I used to build it on Ubuntu 23.04.

update_libcegui-mk2-dev_search_paths.patch.txt fix_ogre1.12.patch.txt fix_expected_unqualified-id_before_numeric_constant_PI.patch.txt desktop.patch.txt

I suspect the main reason for the game not to be work anymore is around this OGRE change. I don't think I fixed it properly.

/usr/include/OGRE/OgreSceneNode.h

1.9 ... typedef HashMap<String, MovableObject*> ObjectMap; typedef MapIterator ObjectIterator; typedef ConstMapIterator ConstObjectIterator;

1.12 ... typedef std::vector<MovableObject*> ObjectMap; typedef VectorIterator ObjectIterator; typedef ConstVectorIterator ConstObjectIterator;

Additional ref.: https://github.com/OGRECave/ogre/blob/master/Docs/1.10-Notes.md