Bemanistyle #1 In music game coverage - Dance Dance Revolution, Beatmania, IIDX, Popn Music Sponsored Banner Ad. Contact Keith or Djp to AdvertiseSponsored Advertisement

Go Back   Bemanistyle [dot] com Forums > Bemani Simulation > Theme Discussion
Tags: , ,

Reply
 
Thread Tools

Question about character/letter/etc mapping
Old 09-15-2006, 11:56 PM   #1
Wan
g//ay for k//eternal
 
Wan's Avatar
 
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
Send a message via PM  to Wan
Default 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.
  Reply With Quote

Old 09-16-2006, 12:25 AM   #2
AJ 187
also known as TOSE
 
AJ 187's Avatar
 
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
Send a message via PM  to AJ 187
Default

You saved the .sm file as UTF-8, right?
__________________

I am not in any way endorsed by the Royal British Legion.
if you wish to leave a record of your call, please state your message at the sound of the tone. *beep* buh? huh? (GTA2 forever)
  Reply With Quote

Old 09-16-2006, 12:29 AM   #3
Wan
g//ay for k//eternal
 
Wan's Avatar
 
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
Send a message via PM  to Wan
Default

Quote:
Originally Posted by AJ 187 View Post
You saved the .sm file as UTF-8, right?
Of course, AJ. I've worked with oriental-titled songs :P
__________________




  Reply With Quote

Old 09-16-2006, 02:02 AM   #4
AJ 187
also known as TOSE
 
AJ 187's Avatar
 
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
Send a message via PM  to AJ 187
Default

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.
__________________

I am not in any way endorsed by the Royal British Legion.
if you wish to leave a record of your call, please state your message at the sound of the tone. *beep* buh? huh? (GTA2 forever)
  Reply With Quote

Old 09-16-2006, 09:57 AM   #5
Wan
g//ay for k//eternal
 
Wan's Avatar
 
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
Send a message via PM  to Wan
Default

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.
  Reply With Quote

Old 09-16-2006, 10:37 AM   #6
dieKatze88
STANLEY FUBAR
 
dieKatze88's Avatar
 
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
Send a message via PM  to dieKatze88
Default

Ive been having this problem with DDR Forever (In General it cant translate)

Im working on correcting the issue, and will post my findings.
  Reply With Quote

Old 09-16-2006, 11:39 AM   #7
Wan
g//ay for k//eternal
 
Wan's Avatar
 
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
Send a message via PM  to Wan
Default

Thanks a bunch, Katze. Any help would be appreciated.
__________________




  Reply With Quote

Old 09-17-2006, 06:12 AM   #8
Takeru1412
//bemanistyle::[User]
 
Takeru1412's Avatar
 
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
Send a message via PM  to Takeru1412
Default

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.
__________________
======Takeru's Stepmania Files======
SMCHAR: Cloud v1.1 + Tifa v1 + Yuffie v1
SM39THEME: 3rdMixv.20>Laser123454321

真実は何時も一つ!

Last edited by Takeru1412 : 09-17-2006 at 08:05 AM.
  Reply With Quote

Old 09-17-2006, 06:56 AM   #9
dieKatze88
STANLEY FUBAR
 
dieKatze88's Avatar
 
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
Send a message via PM  to dieKatze88
Default

Quote:
Originally Posted by Takeru1412 View Post
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.
  Reply With Quote

Old 09-17-2006, 07:56 AM   #10
Takeru1412
//bemanistyle::[User]
 
Takeru1412's Avatar
 
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
Send a message via PM  to Takeru1412
Default

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 '?'
__________________
======Takeru's Stepmania Files======
SMCHAR: Cloud v1.1 + Tifa v1 + Yuffie v1
SM39THEME: 3rdMixv.20>Laser123454321

真実は何時も一つ!
  Reply With Quote

Old 09-17-2006, 03:34 PM   #11
Wan
g//ay for k//eternal
 
Wan's Avatar
 
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
Send a message via PM  to Wan
Default

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.
  Reply With Quote

Old 09-18-2006, 02:48 AM   #12
Takeru1412
//bemanistyle::[User]
 
Takeru1412's Avatar
 
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
Send a message via PM  to Takeru1412
Default

Quote:
Originally Posted by Wan View Post
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
__________________
======Takeru's Stepmania Files======
SMCHAR: Cloud v1.1 + Tifa v1 + Yuffie v1
SM39THEME: 3rdMixv.20>Laser123454321

真実は何時も一つ!
  Reply With Quote

Old 09-18-2006, 03:56 AM   #13
AJ 187
also known as TOSE
 
AJ 187's Avatar
 
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
Send a message via PM  to AJ 187
Default

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?
  Reply With Quote

Old 09-18-2006, 06:13 AM   #14
dieKatze88
STANLEY FUBAR
 
dieKatze88's Avatar
 
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
Send a message via PM  to dieKatze88
Default

See I tried that shit in position 32. Mabye the problem was where I put it. Hmm.
  Reply With Quote
Reply



Go Back   Bemanistyle [dot] com Forums > Bemani Simulation > Theme Discussion
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Sponsored Advertisement



All times are GMT -6. The time now is 02:11 AM.

vBulletin skin developed by: eXtremepixels
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
| Home | Register | FAQ | Members List | Calendar | Today's Posts | Search | New Posts |