Hi first of this is fantastic baka-neko. Can see use for some chinese korean games like Wind Fantasy XX. I presume all types of fonts are possible.
Thanks! Yes, it should be possible to use it for any language, as long as you provide the font.
I was trying to see what I can do with pc98 version "Kuro No Ken". My understanding is in the profile, width and height are for the text box area your trying to match with selected font. Then Left and top are how far the box start from the game window. Tried to mess around with that best i could get is .... or --- characters.
The first thing you need to check is the game's window name, for instance if you're using Neko Project, the command should look like this:
Then check the scale of the window, if it is native (640x400), the command looks like:
width and height are the size of the zone where the text is. left and top is the position within the client area. To choose precise values, press F9, this will generate 3 images in the same folder as FBCR.exe, check the file that ends with _full.bmp
Sometime you need to adjust the top value, as the image grabbed from the game change size, use the F9 trick to find the correct value.
Anyway, I've checked the game, it seems it is using the NEC PC98 font, so I've made a quick profile for the NPC dialogues, you would probably need an other profile for the intro and cut-scenes. Here's a shot:
And here's the profile:https://www.dropbox.com/s/ax8cafxjy6aqbzz/Kuro%20no%20Ken%20%28Forest%2C%20PC98%29%20%5Btimer%2C%20bottom%2C%20white%5D.txt?dl=1
I then decided to check some example you provided. Fired up Surging Aura on RetroAct and followed your instructions and got the same thing. I tried to set resolution to native megadrive 320x224 and still got nothing.
Same here, check the window name, the scale should be the same as the profile, disable all the shaders, and do the F9 trick to check the top value.
Looking at the log I see things like this Valid Rect: LEFT:465 TOP:83 RIGHT : 31 BOTTOM : 0. Wondering what it all means and if it helps. Or perhaps I lack understanding of it all. Thanks.
This is just for debugging, the valid rect is the part of the rect that you have defined in the profile that includes at least 1 pixel with the text color.
If the game is using standard Windows text rendering, shouldn't it be possible to hook into the process directly and determine exactly what characters the game is using? I think the NJStar CJK Viewer used to do that. (Anyone else remember that one?)
Of course, if the game is running in an emulator or somehow using its own text renderer, that would be a different matter.
Yes, standard text hooking is possible with many Windows games, but not all, and it is not possible at all with console games.