Logo

[help] Titles Not Displaying Correctly

Register Log In Back To Forums

Post #1 · Posted at 2018-02-16 11:01:26pm 6.1 years ago

Offline strizzuth
strizzuth Avatar Member
4 Posts
Not Set
Reg. 2018-02-16

I've been searching the web and documentation for an answer and I simply can't find one. Well, two answers, really. I'm having two separate problems with getting titles to display properly within SM (using ver 5.0.12 FWIW)

Firstly I'm totally confused as to how to display non glyph characters such as the planet in Space Maco's Theme or the double zeta. The documentation just says to put an ampersand in front but that didn't work and the title is just displaying &doublezeta instead of the character I need. I SUPPOSE I could map it to a glyph not already in use in the game but I'd rather not resort to that. How do the pros do it?

Second, I opened a BIG can of worms when trying to add a few more kanji to the Japanese fonts. Shocked I was able to add the characters to the png files without any trouble, but when I added the characters to the ini files SM crashed on startup. Deleting these characters from the ini files fixed the crash but how do I add new characters without killing the program? I did it with the _misc 16px characters to add a backwards R for TËЯRA (TERRA) and the upside-down A for BREⱯK DOWN! (BREAK DOWN) so clearly it's possible to add new characters, but the game keeps throwing up its hands in defeat with the kanji for some reason. I made sure to update both the 16 and 24px fonts in exactly the same way.

Can anyone help with one or both of these problems?

Post #2 · Posted at 2018-02-17 01:37:28am 6.1 years ago

Offline Kyzentun
Kyzentun Avatar Member
3,209 Posts
United States
Reg. 2008-02-20

"I'm honestly pissed off."
If you're editing the font ini file by hand, this might help:
Font format documentation

I don't think it's actually possible to add new characters. I believe that when stepmania sees "&4thnote;" in the text, it looks through the list in src/FontCharAliases.cpp for "4thnote" to convert that to a position in the font texture. So if the character you want to add isn't already hardcoded into stepmania, it won't work.
silenttype01: Kyzentun is never harsh. He says it how it is.

GENERATION 24: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

Post #3 · Posted at 2018-02-17 02:25:00am 6.1 years ago

Offline strizzuth
strizzuth Avatar Member
4 Posts
Not Set
Reg. 2018-02-16

OK, I guess I have to pick something from unicode that isn't used in the fonts. I hope I don't run into any stepfiles in Georgian anytime soon...

But the kanji issue is quite mysterious to me. I've been continuing to play with it and the game only crashes when I modify the 16px japanese ini file.


...Or are you saying these particular kanji aren't hardcoded into SM and thus can't be used? For reference, these are the only ones I've tried to add, so far, and I put them at the end of page 6 where there was blank space.

蝶 華 爛 漫 祝

Post #4 · Posted at 2018-02-17 02:49:59am 6.1 years ago

Offline Kyzentun
Kyzentun Avatar Member
3,209 Posts
United States
Reg. 2008-02-20

"I'm honestly pissed off."
The crash is most likely some mistake in the ini. If the engine detects an error in the font data, it just crashes.
silenttype01: Kyzentun is never harsh. He says it how it is.

GENERATION 24: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

Post #5 · Posted at 2018-02-17 04:43:47am 6.1 years ago

Offline strizzuth
strizzuth Avatar Member
4 Posts
Not Set
Reg. 2018-02-16

OK, the problem is 100% solved. I re-installed and that solved the kanji issue. I think one of the themes I downloaded messed up the fallback files or something. I know that shouldn't happen but... Anyway, thanks for your help! I've got everything working exactly like I want it to now. Now I just have to make the symbol for Prince's Lovesign...
Register Log In Back To Forums

0 User(s) Viewing This Thread (Past 15 Minutes)

©2006-2024 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 6% · Database: 4% · Server Time: 2024-04-26 18:53:23
This page took 0.006 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language