Creating Campaign On Non Rooted Android Device

The place to post your WML questions and answers.

Moderators: Forum Moderators, Developers

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
DEAD-HEAD
Posts: 16
Joined: July 31st, 2019, 2:11 pm

Creating Campaign On Non Rooted Android Device

Post by DEAD-HEAD » August 1st, 2019, 2:15 pm

So Wesnothians I have a non rooted Android device which I don't want to root,but I want to make a Single Player Campaign on my device.

I already made Scenario and Map file and placed it in data/campaign/(name)/mapsANDscenario.But I did not added unit folder or "_main" file and when I tried to load that Campaign it did not appeared in my list.

So I wanted to ask is it possible to make a whole Campaign of Scenarios on Non Rooted Device which on forum has said to extract saves which is not possible.If yes,I would appreciate a short point wise guide.

And advance elements like text dialogues,special items,trail maps or different objectives like to acquire a item or survive or kill certain number of enemies just like variety presented in Heir To The Throne(Core) Campaign.

Please also paste a link on forum for necessary set of WML to be learned.

Thanks!
gamer&memer

User avatar
Ravana
Forum Moderator
Posts: 2199
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: Creating Campaign On Non Rooted Android Device

Post by Ravana » August 1st, 2019, 2:54 pm

Without _main.cfg your addon is not loaded.

Android uses same WML as computer, so no special requirements.

DEAD-HEAD
Posts: 16
Joined: July 31st, 2019, 2:11 pm

Re: Creating Campaign On Non Rooted Android Device

Post by DEAD-HEAD » August 1st, 2019, 4:03 pm

Ravana wrote:
August 1st, 2019, 2:54 pm
Without _main.cfg your addon is not loaded.

Android uses same WML as computer, so no special requirements.
What is this _main.cfg file exactly?
gamer&memer

User avatar
Ravana
Forum Moderator
Posts: 2199
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: Creating Campaign On Non Rooted Android Device

Post by Ravana » August 1st, 2019, 4:11 pm

https://wiki.wesnoth.org/Addonstructure

_main.cfg is the only file wesnoth reads without _main.cfg telling it to load another.

gfgtdf
Developer
Posts: 1184
Joined: February 10th, 2013, 2:25 pm

Re: Creating Campaign On Non Rooted Android Device

Post by gfgtdf » August 1st, 2019, 9:32 pm

Writing code ( which is what you must do you in order to create a campaign) is usually an annoying thing to do on any mobile device whether rooted or not, even if you somehow attach a real keyboard to your phone probably won't work well because if the display size. So to.answwe your question: while it could be possible in theory, it's just not practicable.
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.

DEAD-HEAD
Posts: 16
Joined: July 31st, 2019, 2:11 pm

Re: Creating Campaign On Non Rooted Android Device

Post by DEAD-HEAD » August 2nd, 2019, 2:06 am

Game is well emulated with keyboard option no problem in writing any thing through game,but my is to right out of it for saves so that Campaign has complexes
gamer&memer

User avatar
beetlenaut
Developer
Posts: 2379
Joined: December 8th, 2007, 3:21 am
Location: Washington State
Contact:

Re: Creating Campaign On Non Rooted Android Device

Post by beetlenaut » August 2nd, 2019, 5:07 am

You can use the Create link at the top of this page to find out more about campaigns or scenarios, or to get a complete WML tutorial. You can also download WML_Guide from the add-on server to get a short example campaign that you can modify and expand. It also has notes in the code telling you how it works.
Campaigns: Dead Water,
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide

DEAD-HEAD
Posts: 16
Joined: July 31st, 2019, 2:11 pm

Re: Creating Campaign On Non Rooted Android Device

Post by DEAD-HEAD » August 2nd, 2019, 2:27 pm

Actually my main problem is that I can't access
.wesnoth1.14 folder because my device ain't rooted(open) so I can't play a Scenario I created because I can't add it in that folder and so I haven't starting with coding
gamer&memer

Post Reply