Romhacking.net

Romhacking => ROM Hacking Discussion => Topic started by: Donatello on August 04, 2020, 06:04:10 am

Title: NES - Trojan - Translation in Italian
Post by: Donatello on August 04, 2020, 06:04:10 am
Hi everybody and greetings from Italy!

I am completely new to ROM hacking but I am willing to learn.

As a first project I've decided to translate Trojan in Italian.

Using FCEUX, TBLater and Tlp, I managed to translate the HUD and some messages
(https://i.ibb.co/WPdCXC8/trojan1.png) (https://ibb.co/WPdCXC8) (https://i.ibb.co/nf9gpN8/Trojan-it-mod-Europe-2.png) (https://ibb.co/nf9gpN8)

but I cannot find a way to translate this blinking text:
(https://i.ibb.co/5kV7ZfK/Trojan-it-mod-Europe-3.png) (https://ibb.co/5kV7ZfK)

I cannot find where is located this blinking text in the ROM file. I am able to freeze it in the NES memory but it's not very useful because it glitches the game.

Any hint would be much appreciated.

Best

Title: Re: NES - Trojan - Translation in Italian
Post by: sics on August 04, 2020, 12:42:19 pm
Hello and welcome, the texts you are looking for can be found at 0x019422.
(https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/3a2ee5f2-1088-487a-b3c1-0ab7dc307587/de2mxv5-b2d7f437-c0af-44f1-92ac-e04eccbcd60b.png?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOiIsImlzcyI6InVybjphcHA6Iiwib2JqIjpbW3sicGF0aCI6IlwvZlwvM2EyZWU1ZjItMTA4OC00ODdhLWIzYzEtMGFiN2RjMzA3NTg3XC9kZTJteHY1LWIyZDdmNDM3LWMwYWYtNDRmMS05MmFjLWUwNGVjY2JjZDYwYi5wbmcifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6ZmlsZS5kb3dubG9hZCJdfQ.pkd-slEdbrJIpNu-P2VdUBUYWRu6iRXumv-WLu6Q3V4)
in this case I found them doing a visual search.

(https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/3a2ee5f2-1088-487a-b3c1-0ab7dc307587/de2mxve-3ab2f17d-1c5b-48ec-9a18-06b178fa433d.png?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOiIsImlzcyI6InVybjphcHA6Iiwib2JqIjpbW3sicGF0aCI6IlwvZlwvM2EyZWU1ZjItMTA4OC00ODdhLWIzYzEtMGFiN2RjMzA3NTg3XC9kZTJteHZlLTNhYjJmMTdkLTFjNWItNDhlYy05YTE4LTA2YjE3OGZhNDMzZC5wbmcifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6ZmlsZS5kb3dubG9hZCJdfQ.NAVeU3YGIsf12SWmXUFMn9eF3RQwVBp-oPQy7pLDUfU)
Taking as reference the PPU Viewer data, to know where the graphics of that text are located.

(https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/3a2ee5f2-1088-487a-b3c1-0ab7dc307587/de2mxup-691f2a6e-75a4-49ff-9327-d00f6a223b0c.png?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOiIsImlzcyI6InVybjphcHA6Iiwib2JqIjpbW3sicGF0aCI6IlwvZlwvM2EyZWU1ZjItMTA4OC00ODdhLWIzYzEtMGFiN2RjMzA3NTg3XC9kZTJteHVwLTY5MWYyYTZlLTc1YTQtNDlmZi05MzI3LWQwMGY2YTIyM2IwYy5wbmcifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6ZmlsZS5kb3dubG9hZCJdfQ.gk6PmK-cX2FMKjrRMnhvW8kfQ-Bj5TJ-ne1Z_JizqqQ)
Another equally valid method is comparing some version previously translated into any language and the original ROM.

Even if you can't find another way out, you can discover what you are looking for by overwriting small portions of the ROM code in real time through the hex editor built into FCEUX.

In this way, it would only be necessary to restart the game to see how it is affected, and undo the changes that block the game (of course), until what you want to find is the only thing that fails.

I don't know if these are the best tips, but I hope you find them useful, good luck :thumbsup:
Title: Re: NES - Trojan - Translation in Italian
Post by: Donatello on August 06, 2020, 03:22:50 pm
Hi! And thank you!

I will follow you tips and I'll let you know!

 :)