News:

11 March 2016 - Forum Rules

Main Menu

Hex Editor

Started by ballony, March 28, 2021, 06:48:32 AM

Previous topic - Next topic

ballony

Hello!
I am in the process of translating a Sm64 hack into another language. Unfortunately it is not possible to translate all texts with the Text Manager. Therefore I have to do it with the Hex Editor. But there I already have my first problem. I can't translate the whole text, because the hex code is much too long. I always have to shorten the text. Is there a solution how I can translate the complete text?!
Then my next question, how can I adjust the lines of the text in the Hex Editor! In the Text Manager, you can do this for each individual text at "Dialog Box Size". There I can choose if I want 1 - 5 or more. But how do I change this in the Hex Editor?

FCandChill

I would suggest working off the decomp project than a rom: https://github.com/n64decomp/sm64

The alternative would involve disassembling the game to learn where the pointers are and repointing with a script inserter. I think the former option is more straightforward.

Jorpho

QuoteI am in the process of translating a Sm64 hack into another language.
Which hack are you referring to?

The decompilation may be useful, but if the hack already rearranges everything, that could complicate things further.
This signature is an illusion and is a trap devisut by Satan. Go ahead dauntlessly! Make rapid progres!

ballony

The Hack I mean is Last Impact.

Jorpho

Have you tried simply contacting the author directly and asking what script insertion tools might be available? It looks like they have a Discord.
This signature is an illusion and is a trap devisut by Satan. Go ahead dauntlessly! Make rapid progres!

ballony

#5
I have already asked Kaze but he could not help me.

March 31, 2021, 05:50:42 AM - (Auto Merged - Double Posts are not allowed before 7 days.)

I would be really glad if someone could help me. I still don't know how to change these lines in the hex editor. Kaze said there must be a textbox that regulates this. But he didn't tell me where it is. Would be nice if someone could find it in Last Impact.

Jorpho

Quote from: ballony on March 28, 2021, 06:48:32 AMThen my next question, how can I adjust the lines of the text in the Hex Editor! In the Text Manager, you can do this for each individual text at "Dialog Box Size". There I can choose if I want 1 - 5 or more. But how do I change this in the Hex Editor?
Since you can make changes with Text Manager (whatever that is), why not try making the changes with Text Manager and then using a hex editor to compare the ROM before and after you make the change?
This signature is an illusion and is a trap devisut by Satan. Go ahead dauntlessly! Make rapid progres!

ballony

The problem is that the Text Manager does not display all texts! It only shows as much as it contains in the original game. But with this hack it has much more text than in the original game and therefore I can edit many texts only with the Hex Editor. And now I should find in it a textbox where you can edit these lines. But I don't know where it is.

julayla

Quote from: ballony on April 01, 2021, 03:55:12 AM
The problem is that the Text Manager does not display all texts! It only shows as much as it contains in the original game. But with this hack it has much more text than in the original game and therefore I can edit many texts only with the Hex Editor. And now I should find in it a textbox where you can edit these lines. But I don't know where it is.

I know how you feel. There are some games I want to see revised and re-localized to make some of the games with certain dialogue errors a bit better, though it's difficult at times to find the words you need to change.

ballony

I can't get any further with the Hex Editor. Apparently there is another solution. But I can't get out of there either. Does anyone know about the Text Manager 2.6! There you can create a new profile and expand the tables in the dialog. Then I could solve the other problem and still translate all texts without shortening.