Jump to content

Please help me with converting image (Teethingring5) [SOLVED]


Recommended Posts

I want to translate an old game: https://vndb.org/v16655

The game basically is a slide show without text file, just a bunch of images with words attached them.

So there's no way you can use an auto translate tool to play. I think it'd be nice if I can translate it.

This is the file in game: https://ibb.co/r3mLwC6

And these are image files after I extracted Image.dat using AEToolhttps://ibb.co/2n3TkJs

These files are at Teethingring5 Graphic format like you see in this: https://ibb.co/2ZN2xdg

Next I change them to BMP or TGA to edit them: https://ibb.co/g7RK8x9

Finally I want to convert them back to Teethingring 5 but no luck and still stuck at this step.

If somebody know how to please teach me. Any help is appreciated!

 

 

 

Link to comment
Share on other sites

15 hours ago, Anonym271 said:

If you could provide some sample files I could take a look on them and maybe write you a conversion tool.

Yes, it'd be a huge help for me.

Here is the link of the game: https://drive.google.com/file/d/1bEsXYzL35JfQYK0ky0l8oJBzousIbypH/view?usp=sharing

Here's sample files I extracted from Image.dathttps://drive.google.com/file/d/1WMbCDkIc3kGylCCxmOuaOpcPRo3DGNwm/view?usp=sharing

The tool I used is AETools: http://wks.arai-kibou.ru/ae.php?p=dl

 

 

Link to comment
Share on other sites

Okay, this one will convert your image files back to the TeethingRing5 format: https://drive.google.com/file/d/1ZIyvDReCHd-bM3BA0xlLvZld65X1qrLo/view?usp=sharing

Use it in the command line:

tg5.exe <original_image_file> <new_file.tga> [output_file]

It requires the original image file since it contains some metadata that is not stored in the TGA files (or whatever format you choose). If you omit the output_file argument the original_image_file will be overwritten.

Also this does not apply any compression (in fact the file size will even be larger than the raw image data) so the file sizes might increase drastically. Tell me if the files get too big (e.g. if the maximum file size of the archives gets exceeded) or if anything else does not work, I will try to fix it then.

Link to comment
Share on other sites

2 hours ago, Anonym271 said:

Okay, this one will convert your image files back to the TeethingRing5 format: https://drive.google.com/file/d/1ZIyvDReCHd-bM3BA0xlLvZld65X1qrLo/view?usp=sharing

Use it in the command line:


tg5.exe <original_image_file> <new_file.tga> [output_file]

It requires the original image file since it contains some metadata that is not stored in the TGA files (or whatever format you choose). If you omit the output_file argument the original_image_file will be overwritten.

Also this does not apply any compression (in fact the file size will even be larger than the raw image data) so the file sizes might increase drastically. Tell me if the files get too big (e.g. if the maximum file size of the archives gets exceeded) or if anything else does not work, I will try to fix it then.

Excuse me, would you mind taking a quick look for me? I'm extremely unknowledgeable when it comes to this kind of stuff.

tr5.exe <CG001_A> <CG001_A.tga> [CG001_B]

It gave me an error: < was unexpected at this time.

Here is the picture: https://ibb.co/9rz4yNF

 

Link to comment
Share on other sites

10 minutes ago, DonSlime said:

Excuse me, would you mind taking a quick look for me? I'm extremely unknowledgeable when it comes to this kind of stuff.


tr5.exe <CG001_A> <CG001_A.tga> [CG001_B]

It gave me an error: < was unexpected at this time.

Here is the picture: https://ibb.co/9rz4yNF

 

When you define how comand line tools should be used you usually put required arguments in <> and optional arguments in []. So what I wrote just meant: the first argument should be your original file, the second one the TGA file and as the last one you can offer an output. When you use the program you leave any kind of brackets away, so you just write:

tr5.exe CG001_A CG001_A.tga CG001_B

They are just here to tell you what you have to offer and what you are allowed to offer :)

Link to comment
Share on other sites

44 minutes ago, Anonym271 said:

When you define how comand line tools should be used you usually put required arguments in <> and optional arguments in []. So what I wrote just meant: the first argument should be your original file, the second one the TGA file and as the last one you can offer an output. When you use the program you leave any kind of brackets away, so you just write:


tr5.exe CG001_A CG001_A.tga CG001_B

They are just here to tell you what you have to offer and what you are allowed to offer :)

OMG... 😅

Then I just did as you said and it said: Failed to open CG001_A.tga as image file.

I wonder if I did something wrong again...

Link to comment
Share on other sites

Hm... this is strange. It works for me. Is this the exact TGA file you have uploaded? And of course: make sure that the files are in the same directory as the tg5.exe file when you execute it.

The workflow that works for me:

  • place tg5.exe, the original CG001_A and your edited CG_001_A.tga in the same directory
  • open a command prompt from here (navigate to the folder in your file explorer and type "cmd.exe" in the address field)
  • execute the command: tr5.exe CG001_A CG001_A.tga CG001_B

If this does not work for you I have no idea what could be the reason to be honest...

Link to comment
Share on other sites

On 5/14/2021 at 5:13 PM, Anonym271 said:

Hm... this is strange. It works for me. Is this the exact TGA file you have uploaded? And of course: make sure that the files are in the same directory as the tg5.exe file when you execute it.

The workflow that works for me:

  • place tg5.exe, the original CG001_A and your edited CG_001_A.tga in the same directory
  • open a command prompt from here (navigate to the folder in your file explorer and type "cmd.exe" in the address field)
  • execute the command: tr5.exe CG001_A CG001_A.tga CG001_B

If this does not work for you I have no idea what could be the reason to be honest...

Sorry for late replying, it worked as your instructions. Now I can continue working on my game.

You’re the absolute best! Thank you for your help!

Spoiler

P/s: You don't mind if I credit you when I'm done?

 

Link to comment
Share on other sites

  • DonSlime changed the title to Please help me with converting image (Teethingring5) [SOLVED]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...