Wikifang:Telefang 1 Translation Patch/Tasks: Difference between revisions

From Wikifang, a definitive guide to Telefang, Dino Device and Bugsite
Jump to navigation Jump to search
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Completed Tasks==
== Things to do ==
* Enable VWF on all other text
* Edit the tile mappings so that the "G" in Telefang can hang with the rest of the family.
: Accepted as patch v58 and then new graphics inserted in patch v59.
* Remove kana selection from the naming screens, so that you can't use the weird precomposed glyphs.
: Fixed in patch v59. Now the glyphs after letters in the naming screens are punctuation, which is expected.
* Fix the naming screen so that the input field is either drawn without VWF, or that the naming cursor is properly positioned to the current letter offset.
** New script control codes EA and EB were inserted to disable and enable the VWF, respectively.
** Attempts at the first (disable VWF on the name input screen) failed because the particular script that prints nicknames is common across everything that prints nicknames, which is 99% things we want to keep VWF'd.
** Andwhyisit inserted a new text string to print the nickname without VWF in patch v86
* Created a better way to build patches which involves using a modified rgbds-linux to assemble them and codemodule to link them and overlay them over a base ROM.


==High Priority Tasks==
These are the things that still need to be worked on/finished for the patch, in no particular order.
# Implement proper text centering so that VWF text is properly centered
# Make it possible to nickname Denjuu with their full names, and have it appear properly on all screens.
#* Currently, we have 16 character Denjuu default names, but we have not increased the nickname limit and have no plans to.
# Translate the rest of the game
# Fix the SMS (text message) screen.
#* The text screen uses main script, and in the original game, manually formatted all of it's text. Sanky's inserter assumes all text is main script and formats it with newlines, since trying to do preformatting with spaces on a VWF is insanely stupid. This breaks the text as the SMS window is 6 tiles wide, not 16, and has 6 lines of text rather than 2.
#* The correct fix is to hack the main script routine to be aware of arbitrary text window sizes (the only other RPG I know of that does this is Earthbound). This will also tie into previously-promised work on word wrap and auto-centering. It will also require more analysis of the main script routine.
#* Adding more than two newlines to a main script being rendered outside of the normal text box is a BAD IDEA in general, because it will cause the main script to go into a different state and then return, under the assumption that it's being called per-frame. In reality, things that use main script to just draw lines of text set the text speed to instantaneous and call it once to accomplish a draw. Technically, the original programmers should not have used the main script in this fashion without making it aware of the size of the window it's drawing to - I assume the programmers were on a tight schedule at this point in development.
# Reimplement the patch as asm sources that can be built with rgbds/codemodule. This will also make it easy to port work to Speed Version, since the two are extremely similar, including the locations of critical pointcuts and free space in banks.


==Low Priority Tasks==
=== Translation work ===
The following "polish tasks" are low priority, should be done before the translation hits release-v1.0, and are part of producing a well-polished translation. Also, they should be relatively easy to do.


# Alter the titlescreen bottom copyright string, so that Kodansha can be written out in English.
* Finish the rest of the story
# Translate the "opening credits" and figure out what to do with Comic Bombom's logo.
* Phone calls (Phone questions will require a text-width calculator and possibly extra hacking)
#* BomBom can be left alone, the credits say "Concept: Kino Kozue, Denjuu Design: Takaki Saiko" ~ [[User:Kimbles|Kimbles]]
* Denjuu encyclopedia entries (Ditto)
# Fix the DMG/SGB Game Boy version of the menus, which use different compressed graphics.
* Text messages (Needs to be made functional before translation can even start.)
# The DMG/SGB Game Boy titlescreen has different sprite layouts from the CGB version.
 
# Alter the encounter screen so that denjuu encounters have 9 tiles of text space, and t-fanger encounters have 11.
=== Hacking ===
#* Currently both are set to 8 so that they can be centered by the [[User:Kmeisthax/Findings/2011/6/10/ROM_34_7F40_Disassembly|text centering routine]]. But this results in the text being off center slightly, which means that to properly center we need to have the whole window space.
 
#* Certain other screens only have 8 tiles of room for the name, so we'll also have to avoid breaking those.
* <s>Complete the Telefang Patch disassembly (2.9kbytes remain)</s>
# Automatic word-wrap, so that lines don't have to be formatted by the text injection tools, and that player and denjuu names don't have to be formatted as if they were "WWWWWWWW".
* Implement proper text centering so that VWF text is properly centered
# Change the icon for Chiru on the overworld to something that says Chiru.
* Implement text compression.
# Make the text input screen cycle from uppercase-lowercase-numbers, instead of uppercase-numbers-lowercase.
** Right now it's not needed since we have the overflow bank, but given that we're branching out into other languages with larger strings it may be useful
** Current idea: "Call with implicit return" opcode that calls a particular address and returns after n bytes regardless of it's contents.
** Is there a way to do efficient huffman table decoding on GBz80?
* Automatic word-wrap, so that lines don't have to be formatted by the text injection tools (Is this still possible?)
** Yes this is still possible
* Make text messages display properly again
* Fix any patch-related oddities with the nickname entry screen
* Check the longer Denjuu/attack names to make sure they display properly.
* Change the icon for Chiru on the overworld to something that says Chiru.
* Fix any issues with the menus and title screen in DMG/SGB mode (Are there any?)
* Redraw the copyright information on the title screen to say "Kodansha" in English.
* <s>Translate the opening credits (Concept: Kino Kozue, Denjuu Design: Takaki Saiko, leave the Comic BomBom logo alone.)</s> Done!
* <s>Make the text input screen cycle from uppercase-lowercase-numbers, instead of uppercase-numbers-lowercase.</s> Done!
* Change the text placeholder strings to say "Placeholder" as well as the pointer for the string.
 
=== Tools ===
 
* <s>Write better insertion-extraction tools (What's wrong with them?)</s>
* Write a text-width calculator to help with translating
* Fully document the bugfixes that have been added to the patch
* Find a way to eventually make the patch work on Speed
 
== Completed stuff ==
 
* Enabled VWF on all text
* Edited the tile mappings so that the "G" in the Telefang logo can hang with the rest of the family.
: (Accepted as patch v58 and then new graphics inserted in patch v59.)
* Removed kana selection from the naming screens, so that you can't use the weird precomposed glyphs.
: (Fixed in patch v59. Now the glyphs after letters in the naming screens are punctuation, which is expected.)
* Made it possible to nickname Denjuu with their full names. (Which version?)
: (Can use default names by not entering a nickname, but nicknames are still limited to 6 characters with no plans to change it.)

Latest revision as of 22:42, 24 May 2017

Things to do[edit]

These are the things that still need to be worked on/finished for the patch, in no particular order.

Translation work[edit]

  • Finish the rest of the story
  • Phone calls (Phone questions will require a text-width calculator and possibly extra hacking)
  • Denjuu encyclopedia entries (Ditto)
  • Text messages (Needs to be made functional before translation can even start.)

Hacking[edit]

  • Complete the Telefang Patch disassembly (2.9kbytes remain)
  • Implement proper text centering so that VWF text is properly centered
  • Implement text compression.
    • Right now it's not needed since we have the overflow bank, but given that we're branching out into other languages with larger strings it may be useful
    • Current idea: "Call with implicit return" opcode that calls a particular address and returns after n bytes regardless of it's contents.
    • Is there a way to do efficient huffman table decoding on GBz80?
  • Automatic word-wrap, so that lines don't have to be formatted by the text injection tools (Is this still possible?)
    • Yes this is still possible
  • Make text messages display properly again
  • Fix any patch-related oddities with the nickname entry screen
  • Check the longer Denjuu/attack names to make sure they display properly.
  • Change the icon for Chiru on the overworld to something that says Chiru.
  • Fix any issues with the menus and title screen in DMG/SGB mode (Are there any?)
  • Redraw the copyright information on the title screen to say "Kodansha" in English.
  • Translate the opening credits (Concept: Kino Kozue, Denjuu Design: Takaki Saiko, leave the Comic BomBom logo alone.) Done!
  • Make the text input screen cycle from uppercase-lowercase-numbers, instead of uppercase-numbers-lowercase. Done!
  • Change the text placeholder strings to say "Placeholder" as well as the pointer for the string.

Tools[edit]

  • Write better insertion-extraction tools (What's wrong with them?)
  • Write a text-width calculator to help with translating
  • Fully document the bugfixes that have been added to the patch
  • Find a way to eventually make the patch work on Speed

Completed stuff[edit]

  • Enabled VWF on all text
  • Edited the tile mappings so that the "G" in the Telefang logo can hang with the rest of the family.
(Accepted as patch v58 and then new graphics inserted in patch v59.)
  • Removed kana selection from the naming screens, so that you can't use the weird precomposed glyphs.
(Fixed in patch v59. Now the glyphs after letters in the naming screens are punctuation, which is expected.)
  • Made it possible to nickname Denjuu with their full names. (Which version?)
(Can use default names by not entering a nickname, but nicknames are still limited to 6 characters with no plans to change it.)