Author
|
Topic: Need help with font tile (Read 2 times)
|
Rappa
Guest
|
|
« on: January 28, 2009, 09:19:48 pm » |
|
Hi everyone. I need your help in explaining and how to remedy the thing I describe below. Picture 1 is the screenshot from Saint Seiya in Nes, please notice the ! mark in the red circle. It's an original text in the game. Picture 2 is YY-CHR, a program alike Tile layer pro, so don't care about it. Take a look at the dakuten " (the one come after ka, ki, ku, ke, ko and makes them sound ga, gi, gu, ge, go.....). You can see, the dakuten just occupy the bottom right corner (a quarter) of the tile. But why does in picture 1, you can see the dakuten is displayed in the upper part of the tile (see: Jikan ga nai) and much right to it. I don't understand this point. But it's not end. I just copy the dakuten " and paste it to the tile of ! in YY-CHR. Then, what the heck is happening: The ! now became the dakuten, but it's still displayed at the right bottom of the tile, causing a blank between it and the last word (the hiragana i). So I just wonder why do they the same position in the tile but displayed so different? And how can I make the other tiles to be displayed like the dakuten (the origin)? IAm waiting for your reply. Thank you very much in advance.
|
|
|
|
Tauwasser
Guest
|
|
« Reply #1 on: January 28, 2009, 09:37:20 pm » |
|
I drew the tile raster in for you. Basically, when the game encounters a dakuten, it will not draw it on the same line, but it will go 1 line above and 1 tile behind the current x offset. <- | ã‹ã‚› ã‚› ã‹
So you need to find a way to either disable this, or, if you don't necessarily need the space, just skip it and don't use it in your english table. cYa, Tauwasser
|
|
|
|
Rappa
Guest
|
|
« Reply #2 on: January 28, 2009, 09:44:47 pm » |
|
Thank you very much, Tauwasser. Your explaination is very clear.
Now I got it. But I want to duplicate it, not disable it . So this is my problem because I tried copy it and paste to other tile but the new one doesn't work as the real one.
|
|
|
|
RedComet
Guest
|
|
« Reply #3 on: January 28, 2009, 09:53:27 pm » |
|
Thank you very much, Tauwasser. Your explaination is very clear.
Now I got it. But I want to duplicate it, not disable it . So this is my problem because I tried copy it and paste to other tile but the new one doesn't work as the real one.
What do you mean? Do you want to use the dakuten tile for something else or what?
|
|
|
|
Tauwasser
Guest
|
|
« Reply #4 on: January 28, 2009, 09:58:14 pm » |
|
Do you need other characters above certain characters? á ä ç â á à and capital variants of those? If so, it might be easier to just draw them in their own 8x8 tiles and use that. If you want to replicate this behaviour, then you have to learn ASM and program it into the rom!
cYa,
Tauwasser
|
|
|
|
Rappa
Guest
|
|
« Reply #5 on: January 28, 2009, 10:03:21 pm » |
|
I meant, I don't translate the Rom to English but Vietnamese, it has many symbol above the word directly as you see below Â, À, Ô, Ù, Ú..... So I want the dakuten " become ` and other symbol that displayed direct the A, O, U..... That's my problem now. It mean I must find a way to make other character displayed 1 line above basic line. Do you need other characters above certain characters? á ä ç â á à and capital variants of those? If so, it might be easier to just draw them in their own 8x8 tiles and use that. If you want to replicate this behaviour, then you have to learn ASM and program it into the rom! Yes, it's my thing. I tried drawing them in the tile but it seem not enough space for doing so. When it come to ASM, I think I'll have to give up this project.
|
|
|
|
RedComet
Guest
|
|
« Reply #6 on: January 28, 2009, 10:36:23 pm » |
|
That would actually be a really simple hack. Just find the code that handles the dakuten characters and expand on it.
|
|
|
|
Rappa
Guest
|
|
« Reply #7 on: January 28, 2009, 10:40:23 pm » |
|
That would actually be a really simple hack. Just find the code that handles the dakuten characters and expand on it.
Do you mean the code the we can find by relative search? Like 01=" , 02=. etc
|
|
|
|
Ryusui
Guest
|
|
« Reply #8 on: January 28, 2009, 11:40:41 pm » |
|
No, the ASM code. Welcome to the magical world of romhacking.
You are going to rework the guts of the game to expand its library of accent codes. It's much, much easier than it sounds. :3
You'll need an emulator with debugging functions and a reliable means of converting ROM addresses to NES pointers (which can be tricky). You'll need to set a read breakpoint to the text - preferably one of the dakuten characters - and then trace through the code and see how it determines which characters to print as accent marks and which characters to print straight.
You'll then need to add onto the routine, which can be difficult depending on how much free space there is in the current bank. Overall, it sounds like a really simple hack.
|
|
|
|
Rappa
Guest
|
|
« Reply #9 on: January 29, 2009, 12:00:15 am » |
|
Thank you very much, Ryusui. I'll try finding the routine. But what if it's a Snes Rom? Since Snes Emulator has no debug function so far as I know.
PS: Do you speak Japanese? It's easier for me than English.
|
|
|
|
Ryusui
Guest
|
|
« Reply #10 on: January 29, 2009, 01:20:43 am » |
|
ã™ã¿ã¾ã›ã‚“ã€ã¡ã‚‡ã£ã¨ã ã‘ãŒã€‚ ゲームソフトを翻訳ã“ã¨ãŒå‡ºæ¥ã‚‹ãŒã€è©±ã™ã“ã¨ãŒé›£ã—ã„。 ãã‚Œã§ã€ã‚¹ãƒ‘ファミã®ã‚²ãƒ¼ãƒ ソフトãªã‚‰ã€ã“れを使ã†ã€‚ http://geigercount.net/crypt/snes9x1.43.ep9r8.7zGeiger's Snes9x is quite possibly the only SNES emu with a full-fledged debugger under the hood. This sucker traces, it logs, it has breakpoint functionality...it's not quite on the level of similar debuggers for other platforms, but it's a SNES hacker's power tool. This said, if you're familiar with other debuggers, one thing you might find jarring is its lack of any kind of VRAM viewer (apart from the hex viewer). What you need, in this event, is this: http://www.romhacking.net/utils/vSNES291_exec.rarVSNES is the VRAM viewer Snes9x is missing. Technically, it's a savestate viewer, but the intermediate step of making a savestate every time you need to check VRAM is a minor inconvenience. Its memory viewer also has a nice search function. ãŒã‚“ã°ã£ã¦ã‚ˆï¼
|
|
|
|
Rappa
Guest
|
|
« Reply #11 on: January 30, 2009, 03:17:25 am » |
|
ã”ä¸å¯§ãªè§£ç”ã‚ã‚ŠãŒã¨ã†ã”ã–ã„ã¾ã™ã€‚使ã£ã¦ã¿ã›ã¾ã™ã€‚
Thank you very much, Ryusui. I'll try the soft now.
|
|
|
|
|