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.
Post Reply
Posts: 52
Joined: June 14th, 2016, 11:52 am

Simple Core example?

Post by 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.


    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

    name= _ "Music"
    description= _ ""
Can somenoe give me example of minimalistic core addon? How value of "path" should look like? How the place it points should look like?

User avatar
Posts: 153
Joined: March 16th, 2015, 2:18 pm

Re: Simple Core example?

Post by 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
Posts: 461
Joined: October 28th, 2012, 1:58 pm
Location: Somewhere in the Northlands, fighting dark forces

Re: Simple Core example?

Post by 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.

User avatar
Forum Administrator
Posts: 3517
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Simple Core example?

Post by 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

Post Reply