Simple Core example?

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.

Simple Core example?

Postby Smok » August 7th, 2017, 7:55 am

I'm trying to make simple core addon, but whatever i try my core can't load.

Code: Select all
Error loading core data.

Details:

    Core ID: music
    Error loading the core with named id.
    Falling back to the default core.


I tried many differnt values for "path" without success.

Code: Select all
[core]
    id=music
    name= _ "Music"
    rank=20
    icon="data/core/images/icons/circlet_winged.png"
    image="data/core/images/icons/circlet_winged.png"
    description= _ ""
    path="/"
[/core]


Can somenoe give me example of minimalistic core addon? How value of "path" should look like? How the place it points should look like?
Smok
 
Posts: 49
Joined: June 14th, 2016, 11:52 am

Re: Simple Core example?

Postby Zap-Zarap » September 9th, 2017, 9:20 am

Smok wrote:core addon

In my understanding, the core and the add-ons are two seperated worlds, so there ain't such thing as a core add-on.
Either you are doing an (UMC) add-on, or programming for some (official mainline) core development. :hmm:
I like beavers.
User avatar
Zap-Zarap
 
Posts: 118
Joined: March 16th, 2015, 2:18 pm

Re: Simple Core example?

Postby James_The_Invisible » September 9th, 2017, 9:43 am

Believe it or not, but a such a thing was added in 1.13.0. Though there is not so much info about this. According to my knowledge, there is just one thread in the forums and a wiki page about it.
My content: For Power series
Ports: Danse Macabre Story of the Wose
Royal Guard/Silver Mage
User avatar
James_The_Invisible
 
Posts: 416
Joined: October 28th, 2012, 1:58 pm
Location: Somewhere in the Northlands, fighting dark forces

Re: Simple Core example?

Postby Pentarctagon » September 9th, 2017, 4:08 pm

Part of the problem is that fabi is no longer active, so I'm not sure there even is anyone with full knowledge about how a Core add-on can be made anymore. If I'm remembering correctly, I eventually either gave up or just assumed it wasn't something that would be helpful for me anyway, so I can't really offer any help myself.

The end result being that the only place a [core] is used, as far as I know, is the single [core] defined in mainline at data/cores.cfg. Filtering by Cores in the 1.13 add-ons manager also gives 0 results, despite this being introduced in 1.13.0 (over 2 years ago).
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
Pentarctagon
Forum Administrator
 
Posts: 2984
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)


Return to WML Workshop

Who is online

Users browsing this forum: No registered users and 2 guests