 | Question about character/letter/etc mapping |  |
09-15-2006, 11:56 PM
|
#1 | | g//ay for k//eternal
Wan is offline
Join Date: Jun 2006 Location: Santiago, Chile Posts: 758
Marketplace Rating: 0
Tokens: 1,242.66
Bank: 1,491,373.04
Total Tokens: 1,492,615.70 Donate Tokens | Question about character/letter/etc mapping (if this has to be moved to a more appropriate forum, go ahead)
I have a little problem with a specific char on SM: ♂
I see it clearly in the _shared1 16x16.png and _shared2 16x16.png files, but when I put it in a stepfile title (for example, DDRSN's HONEY♂PUNCH) it shows in the editor as the sphered "?" (therefore, the entire title doesn't show, and instead it loads the TITLETRANSLIT one)
How's it supposed to be mapped? What must I do to effectively see that character in the songname?
Last edited by Wan : 09-16-2006 at 12:00 AM.
| |
| |
09-16-2006, 12:25 AM
|
#2 | | also known as TOSE
AJ 187 is offline
Join Date: Jun 2006 Location: Chicago Posts: 693
Marketplace Rating: 0
Tokens: 346.27
Bank: 863,524,827.79
Total Tokens: 863,525,174.06 Donate Tokens | You saved the .sm file as UTF-8, right? | |
| |
09-16-2006, 12:29 AM
|
#3 | | g//ay for k//eternal
Wan is offline
Join Date: Jun 2006 Location: Santiago, Chile Posts: 758
Marketplace Rating: 0
Tokens: 1,242.66
Bank: 1,491,373.04
Total Tokens: 1,492,615.70 Donate Tokens | Quote:
Originally Posted by AJ 187 You saved the .sm file as UTF-8, right? | Of course, AJ. I've worked with oriental-titled songs :P | |
| |
09-16-2006, 02:02 AM
|
#4 | | also known as TOSE
AJ 187 is offline
Join Date: Jun 2006 Location: Chicago Posts: 693
Marketplace Rating: 0
Tokens: 346.27
Bank: 863,524,827.79
Total Tokens: 863,525,174.06 Donate Tokens | Well I wasn't sure, but now I know.
With _shared1 and _shared2, the ♂ symbol is actually in the top row, requiring you to use a control code (0x0B) instead of the character. My best guess at this point is to open the .sm in a hex editor and replace the instance of the ♂ with 0B. If the ♂ is a four byte (two hex character) letter, then replace it with a letter before going to hex edit.
This is uncharted territory (aka the first time I've ever seen this situation), so I wish you luck and hope SM doesn't kill everything. | |
| |
09-16-2006, 09:57 AM
|
#5 | | g//ay for k//eternal
Wan is offline
Join Date: Jun 2006 Location: Santiago, Chile Posts: 758
Marketplace Rating: 0
Tokens: 1,242.66
Bank: 1,491,373.04
Total Tokens: 1,492,615.70 Donate Tokens | Seems that something else has to be done...
First I edited the character in Notepad and replaced it with a space. Then I opened the .sm with XVI32...
Then I opened it with Notepad to make sure it was correct...
And then I opened SM. I went directly to the Steps Editor, and... 
Last edited by Wan : 09-16-2006 at 10:06 AM.
| |
| |
09-16-2006, 10:37 AM
|
#6 | | STANLEY FUBAR
dieKatze88 is offline
Join Date: Jan 2005 Location: New Jersey Posts: 2,126
Marketplace Rating: 3
Tokens: 6,142.70
Bank: 44,397,288.54
Total Tokens: 44,403,431.24 Donate Tokens | Ive been having this problem with DDR Forever (In General it cant translate)
Im working on correcting the issue, and will post my findings. | |
| |
09-16-2006, 11:39 AM
|
#7 | | g//ay for k//eternal
Wan is offline
Join Date: Jun 2006 Location: Santiago, Chile Posts: 758
Marketplace Rating: 0
Tokens: 1,242.66
Bank: 1,491,373.04
Total Tokens: 1,492,615.70 Donate Tokens | Thanks a bunch, Katze. Any help would be appreciated. | |
| |  | |  |
09-17-2006, 06:12 AM
|
#8 | | //bemanistyle::[User]
Takeru1412 is offline
Join Date: Sep 2006 Location: Imus, Philippines Posts: 11
Marketplace Rating: 0
Tokens: 0.00
Bank: 301.03
Total Tokens: 301.03 Donate Tokens | Quote: |
Originally Posted by myself I checked the sm source but ♂ is always be skipped because it is a control code (vertical tabulation). The first 2 rows and the last character of the _shared1 and _shared2 characters are skipped. In other words, you can't use them.
Other characters have aliases (eg. doublezeta,planet). Aliasing is a way to fix this problem but they are hardcoded so you can't make a new one. (I Hope they fix this on SM4)
Another one I can think of (for the desperate) is to replace the graphics of an unused character with ♂. Of course other instances of the character you replaced will show ♂, too.
There may be another way... who knows?
(Haven't got the new source for SM4 but looking at the old ones I have, they both have the same problem.)
About the other characters not showing up properly, maybe the 'Translation' option is set to romanization or maybe the text contain unknown characters (japanese or korean) which haven't been added to the font graphics. | scrap what i said.
Last edited by Takeru1412 : 09-17-2006 at 08:05 AM.
| |
| |  |  | |  |
09-17-2006, 06:56 AM
|
#9 | | STANLEY FUBAR
dieKatze88 is offline
Join Date: Jan 2005 Location: New Jersey Posts: 2,126
Marketplace Rating: 3
Tokens: 6,142.70
Bank: 44,397,288.54
Total Tokens: 44,403,431.24 Donate Tokens | Quote:
Originally Posted by Takeru1412 I checked the sm source but ♂ is always be skipped because it is a control code (vertical tabulation). The first 2 rows and the last character of the _shared1 and _shared2 characters are skipped. In other words, you can't use them.
Other characters have aliases (eg. doublezeta,planet). Aliasing is a way to fix this problem but they are hardcoded so you can't make a new one. (I Hope they fix this on SM4)
Another one I can think of (for the desperate) is to replace the graphics of an unused character with ♂. Of course other instances of the character you replaced will show ♂, too.
There may be another way... who knows?
(Haven't got the new source for SM4 but looking at the old ones I have, they both have the same problem.)
About the other characters not showing up properly, maybe the 'Translation' option is set to romanization or maybe the text contain unknown characters (japanese or korean) which haven't been added to the font graphics. | Keep in mind, this system doesnt work either, I managed to crosslink Doublezeta and OK. Im not sure how, as both have their own glyph. | |
| |  |
09-17-2006, 07:56 AM
|
#10 | | //bemanistyle::[User]
Takeru1412 is offline
Join Date: Sep 2006 Location: Imus, Philippines Posts: 11
Marketplace Rating: 0
Tokens: 0.00
Bank: 301.03
Total Tokens: 301.03 Donate Tokens | I found a solution. (tried it earlier but edited the wrong theme fonts -- how stupid)
You can just copy the glyph to the _misc and add ♂ to the 'ini.'
It will look something like this:
~~~~~~~~~~~~~
(bottom part)
Baseline=23
LineSpacing=24
line 0=☆★♡♥Ω
map doublezeta=5
map planet=6
line 1=←↑→↓☺Σ∠Δ
line 2=♩♪♫♬♭♮♯♂
~~~~~~~~~~~~~~
then copy the glyph to the _misc graphics right next to the #
If you plan to add it on the first cell on last row of the graphics, you have add "line 3=♂" in the ini.
I tried editing the _shared ini but you can't save it as utf-8 'cause all text will become '?' | |
| |
09-17-2006, 03:34 PM
|
#11 | | g//ay for k//eternal
Wan is offline
Join Date: Jun 2006 Location: Santiago, Chile Posts: 758
Marketplace Rating: 0
Tokens: 1,242.66
Bank: 1,491,373.04
Total Tokens: 1,492,615.70 Donate Tokens | Just in case, Takeru... as you can see, I AM using SM4 :P
I find pretty dumb that those characters are "mapped" in the "_sharedX 16x16.png" files, but the system just skips them O.o
I'll try your idea, and I'll tell you how did it go =)
Last edited by Wan : 09-17-2006 at 03:36 PM.
| |
| |
09-18-2006, 02:48 AM
|
#12 | | //bemanistyle::[User]
Takeru1412 is offline
Join Date: Sep 2006 Location: Imus, Philippines Posts: 11
Marketplace Rating: 0
Tokens: 0.00
Bank: 301.03
Total Tokens: 301.03 Donate Tokens | Quote:
Originally Posted by Wan Just in case, Takeru... as you can see, I AM using SM4 :P
I find pretty dumb that those characters are "mapped" in the "_sharedX 16x16.png" files, but the system just skips them O.o | They are in the font graphics because Bitmap Font Builder includes them. I think SM doesn't support unicode input that's why they skipped all the control characters (1st - 31st character). Try it in notepad, hold down ALT then press 13 on the numpad then release ALT. A note will show up in notepad but in command prompt, it's like pressing ENTER.
Oh yeah, I've already tried my idea and it works... in SM3.9 anyway  | |
| |  |
09-18-2006, 03:56 AM
|
#13 | | also known as TOSE
AJ 187 is offline
Join Date: Jun 2006 Location: Chicago Posts: 693
Marketplace Rating: 0
Tokens: 346.27
Bank: 863,524,827.79
Total Tokens: 863,525,174.06 Donate Tokens | Your idea should work in SM4 as well, Takeru. I should probably add it and some other symbols as well to the official version, why the hell not? | |
| |
09-18-2006, 06:13 AM
|
#14 | | STANLEY FUBAR
dieKatze88 is offline
Join Date: Jan 2005 Location: New Jersey Posts: 2,126
Marketplace Rating: 3
Tokens: 6,142.70
Bank: 44,397,288.54
Total Tokens: 44,403,431.24 Donate Tokens | See I tried that shit in position 32. Mabye the problem was where I put it. Hmm. | |
| |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | All times are GMT -6. The time now is 02:11 AM. | | |