Scripts (prior 0.10.x)

From Stellarium Wiki
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by Mimimaus (Talk); changed back to last version by Fetz)
(Undo revision 11684 by Soninesyc (talk)Removed spam)
 
(34 intermediate revisions by 15 users not shown)
Line 1: Line 1:
Please note that version 0.10.0 of Stellarium does not have a scripting engine - a new, and more sophisticated scripting engine will be implemented for a future release. People who are able to build the SVN code may play with the new scripting engine now, and may want to look at [[New Script Engine‎|this page]].
+
Please note that version 0.10.0 of Stellarium does not have a scripting engine a new, and more sophisticated scripting engine will be implemented for a future release. People who are able to build the Bazaar code may play with the [[New Script Engine‎|new scripting engine]] now.
  
 
==Installing Scripts==
 
==Installing Scripts==
Line 10: Line 10:
  
 
* Matthew Gates: [http://porpoisehead.net/mysw/stellarium_scripts/mng01_eclipse.zip Solar eclipse] (Bangladesh, 2009).
 
* Matthew Gates: [http://porpoisehead.net/mysw/stellarium_scripts/mng01_eclipse.zip Solar eclipse] (Bangladesh, 2009).
* Barry Gerdes: [http://www.geocities.com/wendygblyde/scripts.zip Solar eclipse] (Australia 2028).
+
* Barry Gerdes: [http://sarcasmogerdes.dyndns.org/stellarium/uploads/extra-scripts.zip a collection of sts and ssc (modified) eclipses]. The sts files should run if the sts script engine is activated and the audio files if sound is activated and your sound system is Avance. For a suitable compiled patch see [http://sarcasmogerdes.dyndns.org/stellarium/uploads/stellarium-patch0105.zip patch]
* Schdefoon: [http://schdefoon.de/fileadmin/tools/eclipse1999.zip Solar eclipse] (Germany 1999) - Version for stellarium 0.10.2: look [[New Script Engine‎|this page]].
+
* Schdefoon: [http://schdefoon.de/fileadmin/tools/eclipse1999.zip Solar eclipse] (Germany 1999) Version for stellarium 0.10.2: look [[New Script Engine‎|this page]].
* Vincent Giangiulio: [http://vincent.gian.club.fr/stellarium/analemma.zip Analemma]/ [http://vincent.gian.club.fr/stellarium/aurora.zip Aurora]
+
* Vincent Giangiulio: [http://vincent.gian.club.fr/stellarium/analemma.zip Analemma]/ [http://vincent.gian.club.fr/stellarium/aurora.zip Aurora] (''Links out of date'')
 
* Richard Brice: [http://www.porpoisehead.net/mysw/stellarium_scripts/Transit_of_Venus.zip Transit of Venus] (Arabian Sea, 2012).
 
* Richard Brice: [http://www.porpoisehead.net/mysw/stellarium_scripts/Transit_of_Venus.zip Transit of Venus] (Arabian Sea, 2012).
 
* Gregory Nuckolls: [http://www.porpoisehead.net/mysw/stellarium_scripts/your_sign.zip Your Sign].
 
* Gregory Nuckolls: [http://www.porpoisehead.net/mysw/stellarium_scripts/your_sign.zip Your Sign].
Line 21: Line 21:
 
* Matthew Gates: [http://porpoisehead.net/mysw/stellarium_scripts/zodiac.sts Zodiac].  This script illustrates how to select individual constellations.  The constellations of the Western Zodiac were chosen in response to a question in the forums.
 
* Matthew Gates: [http://porpoisehead.net/mysw/stellarium_scripts/zodiac.sts Zodiac].  This script illustrates how to select individual constellations.  The constellations of the Western Zodiac were chosen in response to a question in the forums.
 
* Iva Maric: [http://porpoisehead.net/mysw/stellarium_scripts/Ven_Jup_Occult_19980423.zip occultation of Venus and Jupiter 1998].  Earth's Moon occults both Venus and Jupiter, as seen from Ascension Island in 1998.
 
* Iva Maric: [http://porpoisehead.net/mysw/stellarium_scripts/Ven_Jup_Occult_19980423.zip occultation of Venus and Jupiter 1998].  Earth's Moon occults both Venus and Jupiter, as seen from Ascension Island in 1998.
* Iva Maric: [http://porpoisehead.net/mysw/stellarium_scripts/planet_alightment_2002.zip planetary alignment 2002].  See how the planets were arranged in 2002 - all very close together along the elliptic.
+
* Iva Maric: [http://porpoisehead.net/mysw/stellarium_scripts/planet_alightment_2002.zip planetary alignment 2002].  See how the planets were arranged in 2002 all very close together along the elliptic.
 
* Iva Maric: [http://porpoisehead.net/mysw/stellarium_scripts/JupiterAdventure.zip Jupiter adventure]. Take a trip to Jupiter!   
 
* Iva Maric: [http://porpoisehead.net/mysw/stellarium_scripts/JupiterAdventure.zip Jupiter adventure]. Take a trip to Jupiter!   
 
* Iva Maric: [http://porpoisehead.net/mysw/stellarium_scripts/MercuryAdventure.zip Mercury adventure]. Take a trip to Mercury!
 
* Iva Maric: [http://porpoisehead.net/mysw/stellarium_scripts/MercuryAdventure.zip Mercury adventure]. Take a trip to Mercury!
* Allen Gary: [http://porpoisehead.net/mysw/stellarium_scripts/solar_type_stars.sts Solar type stars] - See nearby solar class stars.
+
* Allen Gary: [http://porpoisehead.net/mysw/stellarium_scripts/solar_type_stars.sts Solar type stars] See nearby solar class stars.
* Adam Fenley: [http://www.datafilehost.com/download-ebce7264.html Solar Eclipse 2017] - A total solar eclipse in 2017; as seen from Nashville, Tennessee. An updated version for those using the current (circa 4100 build) subversion. It is useless for anyone else. [http://www.datafilehost.com/download-0e02cc84.html Solar Eclipse 2017 0.10.1 script]
+
* Adam Fenley: [http://www.datafilehost.com/download-ebce7264.html Solar Eclipse 2017] A total solar eclipse in 2017; as seen from Nashville, Tennessee. An updated version for those using the current (circa 4100 build) subversion. It is useless for anyone else. [http://www.datafilehost.com/download-0e02cc84.html Solar Eclipse 2017 0.10.1 script]
 +
* Qam1: [http://www.lowerwolfjaw.com/astro/Stellarium/efo.htm  Earth Oppositions from a floating city on Venus]Script will show how, where and what Earth will look like during oppositions from a floating city on Venus.
 +
* Qam1: [http://www.lowerwolfjaw.com/astro/Stellarium/efo.htm  Earth From Mars]Script contains Earth's Greatest Elongations as seen from the surface of Mars for the entire 21st century.
 +
* Qam1: [http://www.lowerwolfjaw.com/astro/Stellarium/efo.htm  Earth from Jupiter] Script contains Earth's Greatest Elongations as seen from Jupiter in the 21st century
 +
* Qam1: [http://www.lowerwolfjaw.com/astro/Stellarium/efo.htm Earth from other bodies] Script contains the best date in the 21st century to view Earth from every other planet and our moon.
 +
* Qam1: [http://www.lowerwolfjaw.com/astro/Stellarium/phobos.htm Phobos Phun] 7 Scripts of various happenings with Mars' largest Moon.
 +
* Edouardo: [https://sites.google.com/site/tdsmub/Home/Messiermarathonengver3-3.ssc Marathon Messier]: Display Messier list and navigate
 +
* Edouardo: [https://sites.google.com/site/tdsmub/Home/Urbansemi-marathonengver1-1.ssc Urban Marathon]: Display Urban Objects list and navigate
 +
* Edouardo: [https://sites.google.com/site/tdsmub/Home/Doublesemi-marathonengver1-2.ssc  Double Stars]: Display Double Stars list and navigate
 +
* Edouardo: [https://sites.google.com/site/tdsmub/Home/MMH400ver3-3.ssc  Herschel 400]: Display Herschel 400 list
 +
* Edouardo: [https://sites.google.com/site/tdsmub/Home/AllinOne1-1.ssc All-in-one] [https://sites.google.com/site/tdsmub/Home/AllinOne1-2.ssc  All-in-one v1.2]: Display Messier, Urban, Caldwell (v1.2 as C), Double and Carbon stars lists
 +
* Edouardo: [https://sites.google.com/site/tdsmub/Home/helpAllinOne.txt  help for All-in-one]:help to install and some doc
 +
 
 
* Please submit!
 
* Please submit!
  
 
==Note for version 0.9.x==
 
==Note for version 0.9.x==
Scripts written for versions previous to 0.9.x of Stellarium might date date command with the argument is a format like this:
+
Scripts written for versions previous to 0.9.x of Stellarium might have date commands with the argument in a format like this:
 
  date utc 2008:4:24T12:00:00
 
  date utc 2008:4:24T12:00:00
 
  date local 2008:4:24T12:00:00
 
  date local 2008:4:24T12:00:00
  
This will cause a problem in version 0.9.x - you need to update such scripts so that the date command they look like this:
+
This will cause a problem in version 0.9.x you need to update such scripts so that the date commands have this format:
 
  date utc 2008-04-24T12:00:00
 
  date utc 2008-04-24T12:00:00
 
  date local 2008-04-24T12:00:00
 
  date local 2008-04-24T12:00:00
 +
 +
i.e so the delimiters in the date portion are hyphens ("-"), not colons and numbers contain leading zeros, where applicable.
  
 
==Need hosting?==
 
==Need hosting?==

Latest revision as of 17:49, 23 November 2011

Please note that version 0.10.0 of Stellarium does not have a scripting engine — a new, and more sophisticated scripting engine will be implemented for a future release. People who are able to build the Bazaar code may play with the new scripting engine now.

Contents

Installing Scripts

To install a script copy the script file (.sts extension), and any texture files it uses to the scripts sub-directory of your User Data Directory. Instructions with many of these community-donated scripts may date back to older versions of Stellarium, and the instructions provided with the script may be out of date.

User Contributed Scripts

This page contains links to scripts provided by users.

  • Matthew Gates: Solar eclipse (Bangladesh, 2009).
  • Barry Gerdes: a collection of sts and ssc (modified) eclipses. The sts files should run if the sts script engine is activated and the audio files if sound is activated and your sound system is Avance. For a suitable compiled patch see patch
  • Schdefoon: Solar eclipse (Germany 1999) — Version for stellarium 0.10.2: look this page.
  • Vincent Giangiulio: Analemma/ Aurora (Links out of date)
  • Richard Brice: Transit of Venus (Arabian Sea, 2012).
  • Gregory Nuckolls: Your Sign.
  • Matthew Gates: Audio test. This script will help you to find out if your version of Stellarium was built with sound support enabled.
  • Mitch Gerdisch: helloworld This is a script that was put together to help the new script writer understand some scripting tricky bits.
  • Luca Zanchetta: occultation of Saturn 2007 This nice script shows a tour of the Western sky in May 2007, as visible from European Latitudes, paying special attention to the occultation of Saturn by the Moon at this time.
  • Raymond Roumeas: occultation of Venus by the Moon, 2007-06-18. Visible from NE of America, Greeland, Iceland, most of Europe, Arabia and SW of Asia.
  • Matthew Gates: Zodiac. This script illustrates how to select individual constellations. The constellations of the Western Zodiac were chosen in response to a question in the forums.
  • Iva Maric: occultation of Venus and Jupiter 1998. Earth's Moon occults both Venus and Jupiter, as seen from Ascension Island in 1998.
  • Iva Maric: planetary alignment 2002. See how the planets were arranged in 2002 — all very close together along the elliptic.
  • Iva Maric: Jupiter adventure. Take a trip to Jupiter!
  • Iva Maric: Mercury adventure. Take a trip to Mercury!
  • Allen Gary: Solar type stars — See nearby solar class stars.
  • Adam Fenley: Solar Eclipse 2017 — A total solar eclipse in 2017; as seen from Nashville, Tennessee. An updated version for those using the current (circa 4100 build) subversion. It is useless for anyone else. Solar Eclipse 2017 0.10.1 script
  • Qam1: Earth Oppositions from a floating city on VenusScript will show how, where and what Earth will look like during oppositions from a floating city on Venus.
  • Qam1: Earth From MarsScript contains Earth's Greatest Elongations as seen from the surface of Mars for the entire 21st century.
  • Qam1: Earth from Jupiter Script contains Earth's Greatest Elongations as seen from Jupiter in the 21st century
  • Qam1: Earth from other bodies Script contains the best date in the 21st century to view Earth from every other planet and our moon.
  • Qam1: Phobos Phun 7 Scripts of various happenings with Mars' largest Moon.
  • Edouardo: Marathon Messier: Display Messier list and navigate
  • Edouardo: Urban Marathon: Display Urban Objects list and navigate
  • Edouardo: Double Stars: Display Double Stars list and navigate
  • Edouardo: Herschel 400: Display Herschel 400 list
  • Edouardo: All-in-one All-in-one v1.2: Display Messier, Urban, Caldwell (v1.2 as C), Double and Carbon stars lists
  • Edouardo: help for All-in-one:help to install and some doc
  • Please submit!

Note for version 0.9.x

Scripts written for versions previous to 0.9.x of Stellarium might have date commands with the argument in a format like this:

date utc 2008:4:24T12:00:00
date local 2008:4:24T12:00:00

This will cause a problem in version 0.9.x — you need to update such scripts so that the date commands have this format:

date utc 2008-04-24T12:00:00
date local 2008-04-24T12:00:00

i.e so the delimiters in the date portion are hyphens ("-"), not colons and numbers contain leading zeros, where applicable.

Need hosting?

If you have a script you would like to share but have no web-space to put it, email me and I'll put it on my site].

See Also

Scripts on Removable Media

Personal tools
Namespaces
Variants
Actions
in this wiki
other languages
Toolbox