Simple Core example?

The place to post your WML questions and answers.

Moderator: Forum Moderators

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
Smok
Posts: 53
Joined: June 14th, 2016, 11:52 am

Simple Core example?

Post by Smok »

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?
User avatar
Zap-Zarap
Posts: 159
Joined: March 16th, 2015, 2:18 pm

Re: Simple Core example?

Post by Zap-Zarap »

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

Re: Simple Core example?

Post by James_The_Invisible »

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
Pentarctagon
Project Manager
Posts: 5531
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Simple Core example?

Post by Pentarctagon »

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