Page 25 of 28

Re: New SEGAGAGA translation project in the works!

Posted: Mon Jan 27, 2025 12:11 am
by Exxistance
VincentNL/madsheep/ateam--appreciate the insight and guidance. I'll use it as my starting point if I decide to dive into the binary. But, MES files and the remaining textures come first!

STORY02.MES is complete. Video here...also shows off some of the dev room environment textures:

https://www.youtube.com/watch?v=2dz1rF_y854

I'm posting the completed .MES files herefor anyone who wants to patch their own copies or use them.

Re: New SEGAGAGA translation project in the works!

Posted: Mon Jan 27, 2025 3:34 am
by VincentNL
pomegd wrote: Mon Jan 27, 2025 12:09 am I don't know if this will help,
Attached is the text data dumped from 1_SGGG.BIN.
Once you have translated the text columns of this csv table, you can rewrite 1_SGGG.BIN by using “patch.py”.
Make sure it fits within the size value.

I have not checked the operation thoroughly, so there may be some glitches.

Note that when Excel is used to edit csv, some cells with only numbers will convert strings on their own.
For example.
0123 -> 123

sgggtext_python.png
sgggtext.png
textdump.7z
That's half the job done :)

How about a .txt export format?

// Message ID: 0
// Pointer: 0x9ae0
// Length: 7
// Text:
こんにちは
===============

Re: New SEGAGAGA translation project in the works!

Posted: Mon Jan 27, 2025 4:15 am
by pomegd
VincentNL wrote: Mon Jan 27, 2025 3:34 am How about a .txt export format?

// Message ID: 0
// Pointer: 0x9ae0
// Length: 7
// Text:
こんにちは
===============
Is the text format correct as follows?
Message ID=sequential number?
Length=byte?
sgggtext_format.png

Re: New SEGAGAGA translation project in the works!

Posted: Mon Jan 27, 2025 4:54 am
by VincentNL
Yeah, if you'll make a line-based parser, that's fine.
Just put a separator after Text line to better divide entries.

Re: New SEGAGAGA translation project in the works!

Posted: Mon Jan 27, 2025 5:10 am
by pomegd
textdump.png
1_SGGG_dump_text.7z
(233.95 KiB) Downloaded 28 times

Re: New SEGAGAGA translation project in the works!

Posted: Mon Jan 27, 2025 5:40 am
by madsheep
pomegd wrote: Mon Jan 27, 2025 5:10 am textdump.png
1_SGGG_dump_text.7z
How did you dump the text?

Re: New SEGAGAGA translation project in the works!

Posted: Mon Jan 27, 2025 5:44 am
by fafadou
madsheep wrote: Fri Jan 24, 2025 4:50 pm I have updated my MES tool enjoy

Image

Image
this tool is very great, do you know if any others games used .MES files ?
It should help for others projects too, like @VincentNL great tools too.

Re: New SEGAGAGA translation project in the works!

Posted: Mon Jan 27, 2025 6:34 am
by VincentNL
Please confirm no-one is working on MRG Extractor / Rebuilder.

Re: New SEGAGAGA translation project in the works!

Posted: Mon Jan 27, 2025 7:57 am
by pomegd
madsheep wrote: Mon Jan 27, 2025 5:40 am How did you dump the text?
Use ghidra to get a list of Strings Value.
Since ghidra does not support automatic parsing of 2-byte characters, much of this work had to be done manually.
I then created a simple tool to extract the text based on the addresses obtained, and extracted the Text, Length, etc. from 1_SGGG.bin.
ghidra.png

Re: New SEGAGAGA translation project in the works!

Posted: Mon Jan 27, 2025 8:03 am
by madsheep
VincentNL wrote: Mon Jan 27, 2025 6:34 am Please confirm no-one is working on MRG Extractor / Rebuilder.
I don't think anyone is working.
pomegd wrote: Mon Jan 27, 2025 7:57 am
madsheep wrote: Mon Jan 27, 2025 5:40 am How did you dump the text?
Use ghidra to get a list of Strings Value.
Since ghidra does not support automatic parsing of 2-byte characters, much of this work had to be done manually.
I then created a simple tool to extract the text based on the addresses obtained, and extracted the Text, Length, etc. from 1_SGGG.bin.
ghidra.png
Excellent. So we have correct values and lengths based on functions from ghidra