Hi Steve.
I wonder if there is a way for changing fixed size of every individual string because I added some extra blank spaces to some in order to fit with the exact fixed size and there are some other that need 2 or 3 extra chars for translating it even better. I know doing that from a binary file is hard (better with disassembled code), but it would be nice if it could be done.
For example:
"SAQUE ESQUINA" (size = 13) --> "SAQUE DE ESQUINA" (new size = 16)(Here I need 3 extra chars that can be removed from the string "__ELIGE SUSTITUTO (F5-F6)__" (size = 27) that has 4 not needed blank spaces chars (2 at the beginning and 2 at the end). So its new size would be 24 for "_ELIGE SUSTITUTO (F5-F6)".
Code: Select all
00018084h: 4B 49 43 4B 2D 4F 46 46 00 52 45 53 45 52 56 41 ; KICK-OFF.RESERVA
00018094h: 20 00 20 4C 45 53 49 4F 4E 41 44 4F 00 01 20 53 ; . LESIONADO.. S
000180a4h: 55 53 54 49 54 55 49 52 20 4A 55 47 41 44 4F 52 ; USTITUIR JUGADOR
000180b4h: 20 02 00 20 20 45 4C 49 47 45 20 53 55 53 54 49 ; .. ELIGE SUSTI
000180c4h: 54 55 54 4F 20 28 46 35 2D 46 36 29 20 20 00 20 ; TUTO (F5-F6) .
000180d4h: 20 20 20 45 4C 49 47 45 20 54 41 43 54 49 43 41 ; ELIGE TACTICA
000180e4h: 20 59 20 50 55 4C 53 41 20 45 53 50 41 43 49 4F ; Y PULSA ESPACIO
000180f4h: 20 20 20 00 53 55 53 2E 2D 00 20 46 41 4C 54 41 ; .SUS.-. FALTA
00018104h: 20 44 45 20 00 53 41 51 55 45 20 44 45 20 50 55 ; DE .SAQUE DE PU
00018114h: 45 52 54 41 00 20 54 49 45 4D 50 4F 20 41 47 52 ; ERTA. TIEMPO AGR
00018124h: 45 47 41 44 4F 00 20 46 49 4E 20 50 41 52 54 49 ; EGADO. FIN PARTI
00018134h: 44 4F 00 20 4D 45 44 49 41 20 50 41 52 54 45 00 ; DO. MEDIA PARTE.
00018144h: 54 41 52 4A 45 54 41 20 41 4D 41 52 49 4C 4C 41 ; TARJETA AMARILLA
00018154h: 21 20 00 54 41 52 4A 45 54 41 20 52 4F 4A 41 21 ; ! .TARJETA ROJA!
00018164h: 20 00 50 45 4E 41 4C 54 59 21 00 4C 4F 53 20 47 ; .PENALTY!.LOS G
00018174h: 41 4E 41 44 4F 52 45 53 00 55 4E 20 45 4D 50 41 ; ANADORES.UN EMPA
00018184h: 54 45 00 53 45 4C 45 43 43 49 4F 4E 41 52 3A 00 ; TE.SELECCIONAR:.
00018194h: 4A 55 47 41 52 20 44 45 20 4E 55 45 56 4F 00 47 ; JUGAR DE NUEVO.G
000181a4h: 4F 4C 21 20 00 20 53 41 51 55 45 20 45 53 51 55 ; OL! . SAQUE ESQU
000181b4h: 49 4E 41 20 00 53 41 51 55 45 20 44 45 20 42 41 ; INA .SAQUE DE BA
000181c4h: 4E 44 41 00 4D 41 52 43 41 44 4F 52 20 2D 20 00 ; NDA.MARCADOR - .
An alternative method (but not recommended) is using the language switch code (
39 7C 00 [04] D6 D6 .... italian) in order to select original italian language and translate it to spanish. Doing that, all strings in spanish fit nicely with italian strings size (adding some extra blank spaces where required), except the string "PENALTY!" (size =

that doesn't fit with "RIGORE" (size = 6), so I need 2 extra chars.
Anyway, my desired translation for the text during a match is:
Code: Select all
KICK-OFF
RESERVA
LESIONADO!
# SUSTITUIR JUGADOR #
ELIGE SUSTITUTO (F5-F6)
ELIGE TACTICA Y PULSA ESPACIO
SUS. -
FALTA DE
SAQUE DE PUERTA
TIEMPO AGREGADO
FINAL DEL PARTIDO
MEDIA PARTE
TARJETA AMARILLA!
TARJETA ROJA!
PENALTY!
LOS GANADORES
UN EMPATE
SELECCIONAR:
JUGAR DE NUEVO
GOL!
SAQUE DE ESQUINA
SAQUE DE BANDA
MARCADOR -
I need your opinion about this, but if it is too difficult I'll leave it as is.
Thanks.