Can you add sounds to Celestia?

The place to discuss creating, porting and modifying Celestia's source code.
Markerz
Developer
Posts: 274
Joined: 29.01.2009
Age: 28
With us: 15 years 3 months
Location: Suzhou, China

Post #21by Markerz » 27.07.2022, 16:00

ANDREA wrote:I found a series of links to code lines, only.
you need to download in "Artifact" section, but never mind these are direct links.
64bit https://github.com/CelestiaProject/Celestia/suites/7492707115/artifacts/307675906
32bit https://github.com/CelestiaProject/Celestia/suites/7492707115/artifacts/307675907 (I don't think you'd need this)

they are just compressed zip/7z archives, to extract them you use need an unarchiver since you can open rar, then you should be able to open these as well, nothing fancy.

then you need to replace these files in your existing celestia installation (maybe Cartrite's version)...

ANDREA
Posts: 1543
Joined: 01.06.2002
With us: 21 years 11 months
Location: Rome, ITALY

Post #22by ANDREA » 27.07.2022, 20:42

Thank you, Markerz, I would never have found it, because a folder called "artifact" didn't seem good for what I was looking for.
My fault, surely due to my lack of knowledge of the English language.
I downloaded it and will install it tomorrow and let you know the results.
For the time being, thank you very much!

Andrea (AKA Goofy)
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO

ANDREA
Posts: 1543
Joined: 01.06.2002
With us: 21 years 11 months
Location: Rome, ITALY

Post #23by ANDREA » 28.07.2022, 15:13

Hi Markerz.
I just did a fresh install of Cartrite's release, but when I unzipped the celestia-x64 folder, the result was a folder oddly named win-32, probably a wrong name..

Anyway, I copied all the files contained in the folders res and RelWithDebInfo in Cartrite's Celestia root, and it doesn't work., giving this error message:

Launch_error.jpg

whose rough tanslation is:
"Impossible finding the entry point ..... of the procedure in the dynamic link library...."

This is an unfamiliar language to me, but it mentions the file celestia-win.exe and that made me think of something, so I checked Cartrite's "Celestia 1.7.0 windows installer" post, where I remembered something strange and yes, he says he changed the file name celestia-win.exe to celestia.exe, dunno why.
Could this be the reason for the error?
Or did I make some other mistake? :think:

Also, I have a doubt: obviously in Cartrite's release there is no "sounds" folder, so where possibly should the sound file go?
Thank you once again.

ANDREA (AKA Goofy) :smile:
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO

Markerz
Developer
Posts: 274
Joined: 29.01.2009
Age: 28
With us: 15 years 3 months
Location: Suzhou, China

Post #24by Markerz » 29.07.2022, 01:49

ANDREA wrote:Anyway, I copied all the files contained in the folders res and RelWithDebInfo in Cartrite's Celestia root, and it doesn't work., giving this error message:
can't you just please just check every file in that zip? there is a celestia-dep.x64.7z file, and you need to extract files in this archive and replace in celestia installation as well.

ANDREA wrote:obviously in Cartrite's release there is no "sounds" folder
just create them, the location is the same as celestia-ED, a sounds folder next to celestia.exe

ANDREA
Posts: 1543
Joined: 01.06.2002
With us: 21 years 11 months
Location: Rome, ITALY

Post #25by ANDREA » 29.07.2022, 16:40

Happiness is listening to Beethoven while looking at the wonders of the Universe! :)

Yes, Markerz, it worked, but when I unzipped and installed the files contained in the folder
celestia-dep.x64.7z nothing happened.
Desperate and just to try, I did the same operation with the third zipped file contained in that folder,
celestia-qt.x64.7z and copied all the files into Celestia.
Then I added a "sound" folder and copied there a sound file and.... wonderful, I was listening to it! :clap:
I don't know how to fully express my happiness and gratitude for all the developers and especially for you, Markerz, for your patience and kindness (and to Cartrite, too, that made the executable).
I really appreciated this, and next September my students will do the same.
Huge THANKS to all of you!
Bye

ANDREA (AKA Goofy) :P
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO


Return to “Development”