Page 1 of 2
Moving my old add-ons
Posted: 20.05.2020, 15:33
by Tegmine
First, it's nice to see that someone has picked up the baton and has continued running with Celestia. I haven't done too much with it for a while, rather, just focusing on adulting with odd bits of worldbuilding to pass the time.
That said, I recently got Celestia working for my laptop, which is running Ubuntu 18.04. I was able to get Celestia downloaded and installed, however, I do have a slight problem...I've got all these add-ons I would like to incorporate. I thought I would be able to just move the files from point a to point b...WRONG! The new location will not let me move, copy, paste, NADA. A little frustrating, but I'm sure any Linux experts out there would be able to at least point me in the right direction as to what I need to do.
Many Thanks,
-M-
Posted: 20.05.2020, 18:45
by onetwothree
This is expected situation for a proper designed OS: not to allow writing to every place a user may want. If you are with 1.6 version, you can always use sudo to copy files. With 1.7 you can create minimal ~/.celestia.cfg and define your extras directories in it.
Posted: 20.05.2020, 21:40
by Anthony_B_Russo10
Or you could try and open your file manager as a Root user allowing to add files to the Celestia directory.
Posted: 21.05.2020, 03:12
by Tegmine
It's the 1.61 version. Not super proficient with the terminal commands, but I am GREAT at following well-written instructions.
As far as accessing the root, I'm not even sure how to do that. "Open as root" is not an option on my file manager.
Thanks
-M-
Posted: 21.05.2020, 09:44
by Anthony_B_Russo10
What is the name of your File Manager.
Posted: 21.05.2020, 11:53
by Tegmine
Nautilus, also known as "Files"
-M-
Added after 49 minutes 27 seconds:
Got it figured out....Thanks for your help. I just needed to be pointed in the right direction!
-M-
Posted: 21.05.2020, 21:20
by Anthony_B_Russo10
You're welcome.
Posted: 30.05.2020, 13:26
by Tegmine
New wrinkle; my old addons work well, and I even was able to edit one of them. Still works fine. SO, I tried made a new add-on from my notebook of systems. (I took up worldbuilding when I couldn't run Celestia). The planets show up around the star, but NO TEXTURES!
I have:
Edited the .ssc through System Maker (ancient program that still works on my even more ancient desktop)
Edited the .ssc on my laptop
Changed the file and texture names to lowercase. The funny thing is, at least one of my older addons has upper case, numbers, etc. in the texture names and they show up without a problem...WHAT GIVES?
Here's the .ssc for your perusal....
Code: Select all
"Xaph" "HIP 20146"
{
Class "planet"
Texture "xaph.png"
HazeColor [ 0.38 0.49 0.94 ]
HazeDensity 0.25
Radius 74200
Atmosphere {
Height 180
Lower [ 0.73 0.4 0.68 ]
Upper [ 0.94 0.86 0.93 ]
}
CustomOrbit "Xaph 74200 "
EllipticalOrbit {
Period 0.022568
SemiMajorAxis 0.07899
Eccentricity 0.0255
Inclination 2.10732
AscendingNode 192.03
LongOfPericenter 104.24
MeanLongitude 108.7
}
RotationPeriod 197.831088
Obliquity 6
EquatorAscendingNode 208.63
RotationOffset 278.91
Albedo 0.03
#------------Data Block-----------
# Mass 332.81053 Earth Masses
# Density 1.1619207059
#-----------End Data Block--------
}
"Xeria" "HIP 20146"
{
Class "planet"
Texture "xeria2final.png"
SpecularTexture "xeria2spec.png"
SpecularColor [ 1 1 1 ]
SpecularPower 25
HazeColor [ 1 1 1 ]
HazeDensity 0.18
Radius 5746
BumpMap "xeria2.png"
BumpHeight 2
Atmosphere {
Height 61
Lower [ 0.87 0.95 0.98 ]
Upper [ 0.46 0.8 0.94 ]
Sky [ 0.37 0.55 0.89 ]
CloudHeight 15
CloudSpeed 76
CloudMap "cloud_combined_204882914.png"
}
CustomOrbit "Xeria 5746 "
EllipticalOrbit {
Period 0.9
SemiMajorAxis 0.92161
Eccentricity 0.0245
Inclination 2.64139
AscendingNode 293.22
LongOfPericenter 16.33
MeanLongitude 149.05
}
RotationPeriod 27.10075
Obliquity 21.2
EquatorAscendingNode 255.25
RotationOffset 310.54
Albedo 0.296
#------------Data Block-----------
# Mass 0.73326 Earth Masses
# Density 5.5125466494
#-----------End Data Block--------
}
"I" "HIP 20146/Xeria"
{
Class "moon"
Texture "geothermal.jpg"
SpecularColor [ 0.06 0.06 0.06 ]
Radius 249
CustomOrbit "I 249 "
EllipticalOrbit {
Period 18.55
SemiMajorAxis 266614
Eccentricity 0.09526
Inclination 11
AscendingNode 346.3
LongOfPericenter 20.25
MeanLongitude 341.84
}
EquatorAscendingNode 313.72
RotationOffset 131.05
Albedo 0.17
#------------Data Block-----------
# Mass 0.00003 Earth Masses
# Density 2.771496673
#-----------End Data Block--------
}
"II" "HIP 20146/Xeria"
{
Class "moon"
SpecularColor [ 0.06 0.06 0.06 ]
Radius 1437
BumpHeight 2
CustomOrbit "II 1437 "
EllipticalOrbit {
Period 3.6941675
SemiMajorAxis 89637
Inclination 1.87
AscendingNode 188.95
LongOfPericenter 19.26
MeanLongitude 168.73
}
EquatorAscendingNode 276.16
RotationOffset 213.28
#------------Data Block-----------
# Mass 0.00646 Earth Masses
# Density 3.1049410687
#-----------End Data Block--------
}
"Xaphos" "HIP 20146"
{
Class "planet"
Texture "xaphus.png"
HazeColor [ 0.94 0.94 0.94 ]
HazeDensity 0.5
Radius 23498
Atmosphere {
Height 190
Lower [ 0.51 0.83 0.92 ]
Upper [ 0.87 0.95 0.98 ]
Sky [ 0.98 0.98 0.87 ]
Sunset [ 1 0.5 0 ]
}
CustomOrbit "Xaphos 23498 "
EllipticalOrbit {
Period 1.97737
SemiMajorAxis 1.55614
Eccentricity 0.04
Inclination 0.15905
AscendingNode 224.17
LongOfPericenter 94.97
MeanLongitude 100.56
}
RotationPeriod 11.61
Obliquity 13.8
EquatorAscendingNode 233.22
RotationOffset 298.73
Albedo 0.454
#------------Data Block-----------
# Mass 15.0774 Earth Masses
# Density 1.6573907339
#-----------End Data Block--------
}
I have compared this side-by-side with a working addon. I could find NO differences in it. Maybe some fresh eyes can. As always, I thank you for your help!
-M-
Posted: 30.05.2020, 14:49
by onetwothree
Check your Celestia's console (press tilde ~) to see debug messages and errors.
Posted: 30.05.2020, 17:19
by LukeCEL
Just an idea. Are the textures inside the medres folder? In other words, have you made sure that the folder hierarchy looks something like this?
Code: Select all
xaph.ssc
[textures]
➥ [medres]
➥ xaph.png
➥ xeria2final.png
➥ xeria2spec.png
➥ geothermal.jpg
➥ xaphus.png
Posted: 31.05.2020, 13:18
by Tegmine
yeah. Everything is where it needs to be. Although, I just went through the normal means, not checking via terminal...which I don't know how to do.
Check your Celestia's console (press tilde ~) to see debug messages and errors.
How would I do that, exactly? I know how to do
some things with Linux terminal, but a lot of the background stuff and codes I don't. Thanks
-M-
PS: Yes, I freely reveal my ignorance.
Posted: 31.05.2020, 14:29
by SevenSpheres
Tegmine wrote:How would I do that, exactly? I know how to do some things with Linux terminal, but a lot of the background stuff and codes I don't. Thanks
It has nothing to do with the Linux terminal. Just press the ~ key while in Celestia; you should see something like
this.
Posted: 31.05.2020, 14:40
by selden
Celestia's "console" is available only within Celestia's own window. While Celestia is running, type a tilde (~) to see it and use the keyboard's up/down arrow-keys to navigate up and down in it. Tilde is Shift-` at the upper left corner of many keyboards. If you have many addons, you might need to increase the number of console lines which is down at the bottom of
celestia.cfg. In other words, you might want to change
Code: Select all
#------------------------------------------------------------------------
# The number of rows in the debug log (displayable onscreen by pressing
# the ~ (tilde). The default log size is 200.
#------------------------------------------------------------------------
# LogSize 1000
to
Code: Select all
#------------------------------------------------------------------------
# The number of rows in the debug log (displayable onscreen by pressing
# the ~ (tilde). The default log size is 200.
#------------------------------------------------------------------------
LogSize 10000
Posted: 31.05.2020, 15:36
by Tegmine
I took a couple of screenies from the two latest ones I've done
Here's one:
download/file.php?mode=view&id=7920Here's two
Screenshot from 2020-05-31 11-25-46.png
As you can see in either, there is an error loading the files; I only put my textures into a file named 'medres' which is in a folder named 'textures' which is in a folder for that particular add-on.
Most puzzling!
I tried adding to the cfg file that Selden suggested, but it didn't seem to change anything.
Thank you for your continued patience.
-M-
Posted: 31.05.2020, 16:09
by selden
If you are willing to provide the contents of your .ssc file plus a listing of the associated files, that might help someone to notice the problem.
Specifically, to generate the file listing,
cd to the directory where your .ssc is located and type the command
that'll list the files in the current directory and all of its subdirectories. My suspicion is that there's a typo in the texture image's name or it's not where you think it is.
Posted: 31.05.2020, 16:38
by Tegmine
The ssc is posted above, here's the output from the code I typed in...
Code: Select all
total 8
drwxr-xr-x 3 root root 4096 May 29 11:14 Textures
-rw-r--r-- 1 root root 3546 May 30 09:46 xeriasystem.ssc
./Textures:
total 4
drwxr-xr-x 2 root root 4096 May 30 09:48 medres
./Textures/medres:
total 12716
-rw-r--r-- 1 root root 2081034 Aug 29 2014 cloud_combined_204882914.png
-rw-r--r-- 1 root root 710533 May 30 09:42 geothermalbump.png
-rw-r--r-- 1 root root 148344 May 30 09:36 geothermal.jpg
-rw-r--r-- 1 root root 1148803 May 29 21:05 quom_bump.png
-rw-r--r-- 1 root root 1170488 Feb 10 2012 quomm.png
-rw-rw-r-- 1 root root 316058 Mar 29 2019 xaph.png
-rw-r--r-- 1 root root 316058 Mar 29 2019 Xaph.png
-rw-rw-r-- 1 root root 160814 Mar 29 2019 xaphus.png
-rw-r--r-- 1 root root 160814 Mar 29 2019 Xaphus.png
-rw-rw-r-- 1 root root 2348183 Apr 15 2019 xeria2final.png
-rw-r--r-- 1 root root 2348183 Apr 15 2019 Xeria2_Final.png
-rw-rw-r-- 1 root root 1015487 Apr 15 2019 xeria2.png
-rw-r--r-- 1 root root 1015487 Apr 15 2019 Xeria2.png
-rw-r--r-- 1 root root 21622 May 29 11:11 xeria2spec.png
-rw-r--r-- 1 root root 21622 May 29 11:11 Xeria2_spec.png
-M-
Posted: 31.05.2020, 16:43
by jujuapapa
Perhaps the png file is not a real png file.
Try with an another png file.

Posted: 31.05.2020, 17:03
by selden
One problem that I see is that the spelling of the directory name is incorrect: it should be "textures" not "Textures". Linux distinguishes between upper and lower case. I'm surprised you didn't get lots of other errors about missing image files.
Edited to add:
The lack of error messages probably is because you didn't "goto" other planets, so it didn't try to load their surface texture images.
Posted: 31.05.2020, 20:36
by Tegmine
Posted: 31.05.2020, 21:28
by selden
It's the kind of mistake anyone can make, and it's hard to notice if you aren't looking for it.
Have fun!