Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ogre Battle Gaiden (Densetsu no Ogre Battle) Translation
#10
Judge just sent me a dump of his text routines. To me, this looks like it was dumped from a disassembler. I don't know if he hand edited them or what. Maybe we'll get some clarification on that from him.

http://www.freeplaytech.com/wp-content/u...es-New.txt

Oh, and I should add that I do know some about how the variable-width font output works. You've seen the letter tiles in Tile Layer Pro. With Judge's routines, there's also a table that accompanies this. The table lists the width of each font tile. So, like the letter 'l' might have a 3 (or whatever) for its width while a "w' might have a much higher number. The routine uses this table to look up each tile's width and then move over that number of pixels before placing the next letter.

In my C code that inserts text into the ROM, I made the code to produce this table. It looks at the tile and detects the right-most edge of a letter (and then adds 1 for spacing or something not 100% sure). This table is inserted with the text, but there's another purpose for this. My C code would also try to estimate the width of entire lines of text and spit out a warning if it found one that may be too wide to fit on the screen.
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply


Messages In This Thread
RE: Ogre Battle Gaiden (Densetsu no Ogre Battle) Translation - by Flavor - 09-06-2012, 06:17 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)