compiling wesnoth2

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderators: Forum Moderators, Developers

Post Reply
User avatar
Bitron
Moderator
Posts: 387
Joined: October 19th, 2015, 9:23 am
Location: Germany

compiling wesnoth2

Post by Bitron » August 17th, 2016, 8:39 pm

Well, I was curious about how the wesnoth2 mechanics actually works and decided to (try to) compile it.
I have managed to successfully compile the anura engine, but whats next? do I simply copy the wesnoth2-master files into the enignes folder?

User avatar
Dugi
Posts: 4782
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: compiling wesnoth2

Post by Dugi » August 17th, 2016, 8:46 pm

Does this question even belong here? Maybe Game Development or Off-Topic would be more suitable. You're asking about a different game. They should have their own forums or at least an IRC channel.

Also, considering their unclear for profit business model, it is possible that they made their game deliberately hard to compile. If it was easy, people would compile it themselves instead of paying for the prepared binaries.
Author of Legend of the Invincibles.
I am human, stronger than any god. -Joe Tiberi

Dave
Founding Developer
Posts: 7066
Joined: August 17th, 2003, 5:07 am
Location: Seattle
Contact:

Re: compiling wesnoth2

Post by Dave » August 20th, 2016, 6:45 pm

Put the wesnoth2 module from https://github.com/anura-engine/wesnoth2 under modules/wesnoth2 and then run anura with --module=wesnoth2
Dugi wrote: considering their unclear for profit business model, it is possible that they made their game deliberately hard to compile
The model is intended to be similar to what Wesnoth currently uses, with this clarified.

We want the game to be as easy for people to build and get hold of themselves, but since we are early in development we haven't spent much time smoothing this over yet. Any help with it is welcome!
“At Gambling, the deadly sin is to mistake bad play for bad luck.” -- Ian Fleming

Dave
Founding Developer
Posts: 7066
Joined: August 17th, 2003, 5:07 am
Location: Seattle
Contact:

Re: compiling wesnoth2

Post by Dave » August 20th, 2016, 6:57 pm

Also to get more help please use IRC -- #anura on irc.freenode.net
“At Gambling, the deadly sin is to mistake bad play for bad luck.” -- Ian Fleming

User avatar
Bitron
Moderator
Posts: 387
Joined: October 19th, 2015, 9:23 am
Location: Germany

Re: compiling wesnoth2

Post by Bitron » August 20th, 2016, 9:25 pm

Well... There is just a cmd window that poppes up for less than a sec and than nothing else is happening..
I did everything exactly like the described in the wiki page for building anura on windows. Exept one thing: when i tried to type in the "%VS110COMNTOOLS%vsvars32.bat" the cmd told me its an invalid command so I skipped it.
Everything else went fine. Well, okay, and I have no clue where to type in the --module=wesnoth2 :whistle:
Im using a Win10 System with VSEE 2013, downloaded the wesnoth2-master and the anura-trunk branch.

Krista
Posts: 1
Joined: September 4th, 2012, 3:32 am

Re: compiling wesnoth2

Post by Krista » August 20th, 2016, 9:33 pm

Bitron wrote:Well... There is just a cmd window that poppes up for less than a sec and than nothing else is happening..
I did everything exactly like the described in the wiki page for building anura on windows. Exept one thing: when i tried to type in the "%VS110COMNTOOLS%vsvars32.bat" the cmd told me its an invalid command so I skipped it.
Everything else went fine. Well, okay, and I have no clue where to type in the --module=wesnoth2 :whistle:
Im using a Win10 System with VSEE 2013, downloaded the wesnoth2-master and the anura-trunk branch.
If you built it yourself then all the files should be in the <some path>\build-Win32\ folder. The wesnoth2 checkout should go in the build-Win32\modules\wesnoth2 sub-directory. anura --module=wesnoth2 should be typed into a command prompt after changing directory into the appropriate build-Win32 sub-folder.

User avatar
Bitron
Moderator
Posts: 387
Joined: October 19th, 2015, 9:23 am
Location: Germany

Re: compiling wesnoth2

Post by Bitron » August 20th, 2016, 9:49 pm

Awesome, it worked fine. Thanks very well, to both of you, Dave and Krista.

User avatar
vultraz
Community Manager
Posts: 907
Joined: February 7th, 2011, 12:51 pm
Location: Dodging Daleks

Re: compiling wesnoth2

Post by vultraz » August 21st, 2016, 7:41 am

Dugi, please do not backseat-moderate or spread false accusations.
Creator of Shadows of Deception (for 1.12) and co-creator of the Era of Chaos (for 1.12/1.13).
SurvivalXtreme rocks!!!
What happens when you get scared half to death...twice?

Post Reply