Uploading addons to the MotherLode

Post requests, images, descriptions and reports about work in progress here.
Topic author
fungun
Posts: 315
Joined: 30.07.2007
Age: 57
With us: 11 years 8 months
Location: Iowa, USA

Uploading addons to the MotherLode

Post #1by fungun » 19.02.2011, 16:55

In the past couple weeks I have had addon rejected by the ML for mistakes on my part.
The reason for the mistakes-I didn't fully read the instructions on the "Upload" page at the ML
http://www.celestiamotherlode.net/upload.php
Especially this section-
Keep in mind that Celestia is a multi-platform program. Other platforms (Linux/Unix) don't consider the file "abc.jpg" and "ABC.jpg" equal, so you should enter all filenames carefully with correct case. Make sure directories like "textures\medres" or "models" are written all lowercase. Keeping everything lowercase and without blank spaces is probably the easiest solution. This is particularly important when creating 3DS or CMOD files.


Of course I have a Windows machine, so never noticed that this is a problem. Now that John V. is a team member, he is testing addons on Linux type machines.
To sum it up and to help speed the process of your addon being approved, I highly suggest double checking everything- spelling, texture names with capital letters or spaces in them, missing textures, extra textures, ect.

The guys at the ML have enough work to do on checking addons without the silly mistakes I have made by not reading the instructions completly.

I hope this helps other creators with their addons. :D

Tim

Avatar
John Van Vliet
Posts: 2706
Joined: 28.08.2002
With us: 16 years 7 months

Re: Uploading addons to the MotherLode

Post #2by John Van Vliet » 24.02.2011, 01:50

--- edit----
Last edited by John Van Vliet on 18.10.2013, 11:39, edited 1 time in total.

Topic author
fungun
Posts: 315
Joined: 30.07.2007
Age: 57
With us: 11 years 8 months
Location: Iowa, USA

Re: Uploading addons to the MotherLode

Post #3by fungun » 24.02.2011, 03:45

it it the repeated over and over and over- again- and over and over again SAME problems

Maybe a generic example or two would help to point at some of the most repeated mistakes made.

Thanks,
Tim

Avatar
John Van Vliet
Posts: 2706
Joined: 28.08.2002
With us: 16 years 7 months

Re: Uploading addons to the MotherLode

Post #4by John Van Vliet » 24.02.2011, 04:24

--- edit----
Last edited by John Van Vliet on 18.10.2013, 11:39, edited 1 time in total.

Avatar
Adirondack M
Posts: 516
Joined: 01.03.2004
With us: 15 years 1 month

Re: Uploading addons to the MotherLode

Post #5by Adirondack » 26.02.2011, 00:39

Thanks, Tim, for pointing to the rules for uploading add-ons.

When every uploader would read and obey what we wrote a long time ago
on the upload form (especially #6), everything would be fine.

Most of the time, John and I are telling people what is wrong with the
add-ons and how to fix them.

Over 80% of our spare time thereby is wasted (checking add-ons that will
not pass, keep track of what upload is fine (or not) and which version is the
very latest, telling people what is wrong and how to fix and so on) and only
about 20% of the uploaded add-ons are ready to be published at all.
So most of our efforts are for nil. This is not funny.

All this is not annoying to us only but also to all uploaders since they have
to wait longer for the publication of their add-ons than actually necessary.

-- Adirondack
We all live under the same sky, but we do not have the same horizon. (K. Adenauer)
The horizon of some people is a circle with the radius zero - and they call it their point of view. (A. Einstein)

Avatar
John Van Vliet
Posts: 2706
Joined: 28.08.2002
With us: 16 years 7 months

Re: Uploading addons to the MotherLode

Post #6by John Van Vliet » 26.02.2011, 03:49

--- edit----
Last edited by John Van Vliet on 18.10.2013, 11:39, edited 1 time in total.

Reiko
Posts: 1119
Joined: 05.10.2006
Age: 35
With us: 12 years 6 months
Location: Out there...

Re: Uploading addons to the MotherLode

Post #7by Reiko » 26.02.2011, 08:06

This is all confusing. :(

Avatar
selden
Developer
Posts: 10050
Joined: 04.09.2002
With us: 16 years 7 months
Location: NY, USA

Re: Uploading addons to the MotherLode

Post #8by selden » 26.02.2011, 09:34

Reiko,

What's confusing?

The "rules" for making a good Addon, or what's been written here?

Long ago, before the Motherlode became popular, I wrote the Web page http://www.lepp.cornell.edu/~seb/celest ... intro.html
I'm sure it's intimidating for people new to Celestia, and it doesn't mention many of the things needed to make an Addon that is easily installed in a current version of Celestia.

Do you think it would help if I wrote a new page "How to make a good Addon" perhaps?
(Of course, working on it now would further delay the VLA addon I've been working on for the past few months ;) )
Selden

Avatar
Fenerit M
Posts: 1880
Joined: 26.03.2007
Age: 12
With us: 12 years
Location: Thyrrenian sea

Re: Uploading addons to the MotherLode

Post #9by Fenerit » 26.02.2011, 19:08

A penny for me whether Reiko is referring to John's example on zshare... :wink:
Never at rest.
Massimo

Reiko
Posts: 1119
Joined: 05.10.2006
Age: 35
With us: 12 years 6 months
Location: Out there...

Re: Uploading addons to the MotherLode

Post #10by Reiko » 27.02.2011, 08:23

selden wrote:Reiko,

What's confusing?

The "rules" for making a good Addon, or what's been written here?

Long ago, before the Motherlode became popular, I wrote the Web page http://www.lepp.cornell.edu/~seb/celest ... intro.html
I'm sure it's intimidating for people new to Celestia, and it doesn't mention many of the things needed to make an Addon that is easily installed in a current version of Celestia.

Do you think it would help if I wrote a new page "How to make a good Addon" perhaps?
(Of course, working on it now would further delay the VLA addon I've been working on for the past few months ;) )
No need to do that, I'll figure it out. :)

Fenerit wrote:A penny for me whether Reiko is referring to John's example on zshare... :wink:
Part of it, yes.

Avatar
John Van Vliet
Posts: 2706
Joined: 28.08.2002
With us: 16 years 7 months

Re: Uploading addons to the MotherLode

Post #11by John Van Vliet » 12.05.2011, 02:25

--- edit----
Last edited by John Van Vliet on 18.10.2013, 11:40, edited 1 time in total.

Avatar
selden
Developer
Posts: 10050
Joined: 04.09.2002
With us: 16 years 7 months
Location: NY, USA

Re: Uploading addons to the MotherLode

Post #12by selden » 12.05.2011, 12:39

John,

Sorry, but Celestia always requires that an object be defined before it can be referenced by another object. It doesn't matter whether Celestia is running under Windows, Linux or MacOS. We've been mislead in the past because, under Windows, Celestia seems to always read SSC files in alphabetical order. However, this is just by chance. Celestia often reads files in a different order under different operating systems. Celestia uses whatever order file pointers are returned by the operating-system call to "return next file handle". There is no way to know in advance what order the file handles will be returned on a different computer. If that order happens not to be alphabetical, then the Addon can't work.

The only reliable way to make sure that all SSC objects are read in the correct order is to use only one SSC file in an Addon, or to make sure that objects are defined early in the same SSC file as the objects which refer to them. Similarly, the only reliable way to make sure that all STC objects are read in the correct order is to use only one STC file. This matters if one tries to define Stars and Barycenters in separate files. That may fail.

Celestia does always read the STC files in an Addon before it reads its SSC files, so Stars are always defined before the Planets which reference them.
Selden

ajtribick
Posts: 1780
Joined: 11.08.2003
With us: 15 years 8 months
Location: Switzerland

Re: Uploading addons to the MotherLode

Post #13by ajtribick » 12.05.2011, 16:54

Maybe we need to extend the add-on functionality to allow for some kind of "header file" for each add-on, where we could specify things like load order, as well as various things like author name, add-on name/version, etc...

Avatar
selden
Developer
Posts: 10050
Joined: 04.09.2002
With us: 16 years 7 months
Location: NY, USA

Re: Uploading addons to the MotherLode

Post #14by selden » 12.05.2011, 17:10

Alternatively, an "include" directive might be adequate.
Selden

ajtribick
Posts: 1780
Joined: 11.08.2003
With us: 15 years 8 months
Location: Switzerland

Re: Uploading addons to the MotherLode

Post #15by ajtribick » 12.05.2011, 17:59

Possibly. Although reading from a list is probably easier to code than doing dependency tracing ;)

Avatar
John Van Vliet
Posts: 2706
Joined: 28.08.2002
With us: 16 years 7 months

Re: Uploading addons to the MotherLode

Post #16by John Van Vliet » 12.05.2011, 18:18

--- edit----
Last edited by John Van Vliet on 18.10.2013, 11:38, edited 1 time in total.

duds26
Posts: 328
Joined: 05.02.2007
Age: 29
With us: 12 years 2 months
Location: Europe

Re: Uploading addons to the MotherLode

Post #17by duds26 » 14.05.2011, 14:56

Then let the computer generate the list.

Avatar
PlutonianEmpire M
Posts: 1348
Joined: 09.09.2004
Age: 34
With us: 14 years 7 months
Location: MinneSNOWta

Re: Uploading addons to the MotherLode

Post #18by PlutonianEmpire » 15.06.2011, 23:18

My apologies for digging up an old thread, but exactly how do I use FTP to upload add-ons to the Motherlode?
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
John Van Vliet
Posts: 2706
Joined: 28.08.2002
With us: 16 years 7 months

Re: Uploading addons to the MotherLode

Post #19by John Van Vliet » 16.06.2011, 01:20

--- edit----
Last edited by John Van Vliet on 18.10.2013, 11:38, edited 1 time in total.

W0RLDBUILDER
Posts: 122
Joined: 02.06.2010
With us: 8 years 10 months

Re: Uploading addons to the MotherLode

Post #20by W0RLDBUILDER » 15.09.2011, 23:17

This is probably a pretty stupid question, but how do I put up an update an addon that I've already uploaded?


Return to “Add-on development”

Who is online

Users browsing this forum: 2 guests
Bots: Bing [Bot]