TheOpponent / st3-translation-notes

Notes for the translation of the Dreamcast game Sakura Taisen 3
The Unlicense
11 stars 1 forks source link

Attempt to accelerate general text writing speed #5

Closed TheOpponent closed 2 years ago

TheOpponent commented 2 years ago

The default text writing speed is one character every 3 frames. Because of the larger volume of text in a translation, this speed should ideally be increased. System messages as seen in the One Long Day mode have a faster writing speed.

TheOpponent commented 2 years ago

Text speed is controlled by floating point operations in the UMES region in memory. The result is stored 140 0x8C bytes after the start of this region. The default value for unvoiced lines is 4.0. Each frame, this value is decreased by 1.0 until the result is negative, at which point one text character is drawn and the value is reset to 4.0.

TheOpponent commented 2 years ago

In 1ST_READ.BIN, the byte at 0x2110d2 is 04, which is used as the number of frames to wait between each character written. Changing this value affects the default text writing speed. This does not affect the speed for system messages, which has a value of 01.