ERROR of Chinese culture art add

89 views
Skip to first unread message

Zhang Qiang

unread,
Feb 17, 2025, 10:47:04 AM2/17/25
to Stellarium

Hi Stellarium friends,

We’ve been working on testing of adding PNG shape layers for Chinese Culture constellations in Stellarium(we actually used 7 pieces of the western constellation texture png as a texture to avoid the format of png format), similar to how Western constellations are displayed. 

We placed the PNG files in the sky-cultures folder(refers to the screen-shot) and adjusted the .ini configurations, but the images never don’t appear or display incorrectly (e.g., misalignment, transparency issues, or not loading at all).

The log.txt file(refers to attachment for full record) shows the following error:
[ERROR] Failed to load texture: <path_to_PNG> - unsupported format or missing file.

Could you help me to figure out what exactly is the bugs?

Thanks in advance for your support!

Best,

Qiang



Screen Shot 2025-02-16 at 11.00.16 PM.png
log.txt
Screen Shot 2025-02-16 at 11.33.18 PM.png
constellationsart.fab
constellation_names.zh_CN.fab
constellationship.fab
config.ini
constellation_names.eng.fab

Georg Zotti

unread,
Feb 17, 2025, 10:54:41 AM2/17/25
to Stellarium
the textures are in a subdirectory, which is unexpected, and the program reports missing file. Place them in the same directory. Also, check line 7 in constellationsart.fab and add a space after png.

Please also note that this file format is obsolete. We have just switched to a new one for 25.1. A converter can help you, though.

Alexander V. Wolf

unread,
Feb 17, 2025, 10:56:03 AM2/17/25
to stell...@googlegroups.com
Hi!

пн, 17 февр. 2025 г. в 22:47, Zhang Qiang <zhang...@gmail.com>:
According to constellationship.fab and constellation_names.eng.fab file you should use numbers for first column in constellationsart.fab file (BiXiu -> 001)

--
With best regards, Alexander

Georg Zotti

unread,
Feb 17, 2025, 11:03:30 AM2/17/25
to Stellarium
Indeed. And please, if continuing in the old format for now: If this is intended to be published, the Chinese strings should go to the "original" untranslated strings second column), and the transliteration to the translatable part (third column). If possible, with an English translation added so that the meaning of the words can be translated to other languages.

Zhang Qiang

unread,
Feb 18, 2025, 12:12:21 AM2/18/25
to Stellarium
Thank you Georg, files moved, but one more question,  "a new one for 25.1", can you explain more, I am new to Stellarium. Thanks!

Zhang Qiang

unread,
Feb 18, 2025, 12:18:37 AM2/18/25
to Stellarium
Hey Alexander, you have a golden finger, what you point out instantly works, the texture appeared.
One more question: 
001 BiXiu.png 13 92 26451 399 438 15900 382 192 17999
what is does those number means? if i seperate them into groups as  (13, 92) 26451, (399, 438) 15900, (382, 192) 17999
26451, 15900, 17999 is the left, right coordinates, and center point?
(13, 92) ,  (399, 438), (382, 192) is the spherical angle?
And where to get those data? from the constellationship.fab?

Thanks for help! 
constellationship.fab

Alexander V. Wolf

unread,
Feb 18, 2025, 12:21:27 AM2/18/25
to stell...@googlegroups.com
Hi!

вт, 18 февр. 2025 г. в 12:18, Zhang Qiang <zhang...@gmail.com>:
Hey Alexander, you have a golden finger, what you point out instantly works, the texture appeared.
One more question: 
001 BiXiu.png 13 92 26451 399 438 15900 382 192 17999
what is does those number means? if i seperate them into groups as  (13, 92) 26451, (399, 438) 15900, (382, 192) 17999
26451, 15900, 17999 is the left, right coordinates, and center point?
(13, 92) ,  (399, 438), (382, 192) is the spherical angle?
And where to get those data? from the constellationship.fab?

Hmm... but format for all files for sky cultures are described in Stellarium User Guide ;)

Zhang Qiang

unread,
Feb 18, 2025, 12:44:01 AM2/18/25
to Stellarium
Thanks for instruction in such a good details, one more question: the Chinese font now, can be well displayed, which makes the Chinese user's using unconvenient, I will test if taking your suggestion, I wish the bug can be fixed.

Zhang Qiang

unread,
Feb 18, 2025, 12:44:06 AM2/18/25
to Stellarium
I think I got what you mean, the Chinese strings, you mean the Chinese fonts,  I make the change, move the Chinese constellation name(the 2-3 fonts Chinese strings) and now I can display the Chinese star/constellation name on the dome now! That's fabulous! 

Never mind the art itself is incorrect, it is a test, after the parameter for the art is clear, all the shapes will be upload later

On Monday, February 17, 2025 at 11:03:30 a.m. UTC-5 Georg Zotti wrote:
Screen Shot 2025-02-18 at 12.38.26 AM.png

Zhang Qiang

unread,
Feb 18, 2025, 1:06:39 AM2/18/25
to Stellarium
Oh, I didn't know that, what a shame. Did you have a page number? I am reading the manual now but seems not locate any with the texture file mapping parameter...

Zhang Qiang

unread,
Feb 18, 2025, 1:06:45 AM2/18/25
to Stellarium
My  plan is to add similar art shapes to the Chinese constellations, this is the BiXiu, one of the seven mansion of White Tiger, the four Zodiac shapes, just wondering the mapping of texture need a set of parameter as:
001 BiXiu.png 13 92 26451 399 438 15900 382 192 17999
But those data were scrape from the Western constellation for test purpose. 
So in fact, the parameters for BiXiu and any other Constellation/Mansions is still in need of those parameters.

640-25.png

Alexander V. Wolf

unread,
Feb 18, 2025, 1:08:54 AM2/18/25
to stell...@googlegroups.com


вт, 18 февр. 2025 г. в 13:06, Zhang Qiang <zhang...@gmail.com>:
Oh, I didn't know that, what a shame. Did you have a page number? I am reading the manual now but seems not locate any with the texture file mapping parameter...

Please see Chapter 9 - Adding Sky Cultures

Alexander V. Wolf

unread,
Feb 18, 2025, 1:11:11 AM2/18/25
to stell...@googlegroups.com
вт, 18 февр. 2025 г. в 13:06, Zhang Qiang <zhang...@gmail.com>:
My  plan is to add similar art shapes to the Chinese constellations, this is the BiXiu, one of the seven mansion of White Tiger, the four Zodiac shapes, just wondering the mapping of texture need a set of parameter as:
001 BiXiu.png 13 92 26451 399 438 15900 382 192 17999
But those data were scrape from the Western constellation for test purpose. 
So in fact, the parameters for BiXiu and any other Constellation/Mansions is still in need of those parameters.

Stellarium User Guide, paragraph 9.6 (pages 122-123)

Susanne M Hoffmann

unread,
Feb 18, 2025, 2:33:14 AM2/18/25
to Stellarium
that's an amazing development, thank you so much everybody! 

I have three more Chinese sky cultures - historically correct, time resolved, reconstructed by a Chinese scholar who is just waiting for the new (json) format to be released - one of the struggles were the Chinese characters: on his behalf: thousand thanks for solving this problem

Georg Zotti

unread,
Feb 18, 2025, 4:37:27 AM2/18/25
to Stellarium
We are not fully there yet, the dust after the format conversion earthquake on Saturday is just settling. What is already identified as broken are the Chinese lunar mansion borders, they will have to be redefined in the JSON. (BTW, you can now already define any epoch for boundaries!)

The converter could not auto-fix problems or lacunae of the older definitions. But now that we have a new format, we can extend this and define new tags that may then allow displaying a mix of multilingual labels. 

I hope to have a first version of the updated SC creation chapter in the GIT later today.

For the OP: You can keep defining your new artwork as described in Chapter 9 of the 24.4 User Guide, then convert to the new format with the converter program that will (hopefully) come with 25.1 in a few weeks.

Zhang Qiang

unread,
May 26, 2025, 9:10:26 PM5/26/25
to Stellarium
Screen Shot 2025-05-26 at 8.26.00 PM.png
Any idea where we can change the font size used to display the constellation tags?
Thanks for reply! Qiang

Georg Zotti

unread,
May 27, 2025, 3:53:56 AM5/27/25
to Stellarium
On the skyculture tab in the view settings, you can change line widths, label font sizes, transition times, art brightness, and the preferred mix of labelling.

Zhang Qiang

unread,
May 27, 2025, 3:57:59 PM5/27/25
to stell...@googlegroups.com
Hi Georg,

Thank you, I just found and solved the problem.
Best regards,
Qiang

--
You received this message because you are subscribed to a topic in the Google Groups "Stellarium" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/stellarium/WlPnA36R3mg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to stellarium+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/stellarium/3b863a91-e3f4-4789-a0f4-b223ff060c5cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages