News: 11 March 2016 - Forum Rules, Mobile Version
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia

Author Topic: [PS1]Ace Combat 3 Electrosphere English Fan-Translation (v2.0 out now!)  (Read 86914 times)

DragonSpikeXIII

  • Full Member
  • ***
  • Posts: 200
  • Team NEMO
    • View Profile
    • Project NEMO
Re: [PS1]Ace Combat 3 Electrosphere English Fan-Translation (v2.0 out now!)
« Reply #340 on: November 29, 2017, 09:54:16 pm »
I've tried every available tool and none of them can locate these TIM files. Even jPSXdec, which will scan every uncompressed TIM in the image, can't find them. So I guess they're not standard at all, be it header or size-wise, or both.

I'll see what I can do regarding the location of one or more images, I'll get back to you as soon as I can.

weissvulf

  • Sr. Member
  • ****
  • Posts: 324
  • Good news! An anomaly solved the enigma.
    • View Profile
Re: [PS1]Ace Combat 3 Electrosphere English Fan-Translation (v2.0 out now!)
« Reply #341 on: November 29, 2017, 10:08:36 pm »
Maybe a good use for my tool then. I made it specifically because I had encountered many such 'proprietary' images on my own projects.

You probably already know, but if you have the location of one of these images in a BIN, you can find which file the image is in by dividing its BIN location by 2352 (aka 0x930). That will give you the LBA for file where the image is. A program like CDmage shows the start-LBA for each file on the disk.

DragonSpikeXIII

  • Full Member
  • ***
  • Posts: 200
  • Team NEMO
    • View Profile
    • Project NEMO
ACE COMBAT 3 electrosphere International Edition - End Credits translation
« Reply #342 on: December 03, 2017, 12:18:03 pm »
Just finished editing, take a look :)

Full video: https://youtu.be/rF2YJ5rn5Ew

And a screenie:

Note: "Screenplay and Conceptualization" and "Industrial Design" are original, the rest is fan-translated.

Thank you again, weissvulf! :beer:

It's one down and one to go now, finding someone who can help finish EsperKnight's work on the compression and improve our translation toolkit.

RidFin

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: [PS1]Ace Combat 3 Electrosphere English Fan-Translation (v2.0 out now!)
« Reply #343 on: December 07, 2017, 09:59:49 am »
for the music track, if you can't find it in the main executable, is probably inside some data on the disk, an overlay maybe?

DragonSpikeXIII

  • Full Member
  • ***
  • Posts: 200
  • Team NEMO
    • View Profile
    • Project NEMO
Re: [PS1]ACE COMBAT 3: text replacement (Jpn.->Eng.) (RELEASED!)
« Reply #344 on: January 13, 2018, 11:04:20 pm »
thanks for sharing your tools, in my spare time I made a real ulz compressor, is still not efficient as the namco's one but we'll get there soon.

https://github.com/Infrid/ac3es-tools

you need at least python 3.2

Bear in mind that even with the most efficient tool you won't get an ulz file that has the same filesize as the original. If you change something the compressor will produce a completely different file.

I tested against my own decompressor, when I have time I'll provide binaries (so you don't have to install python) and optimize the algorithm.

The compressor needs some parameter to compress files, those parameters are the ulz type and the compression level, you can get those information with the "info" command.

You can get information form iso and BPB files too, thanks to orientalcomputer_01 for that :)

I've finally run some tests with your decompressor/recompressor and I have some feedback for you.

Tests for Radio chatter and briefing TIM files went through without a hitch, the compressed file sizes were excellent and the game ran like it normally would.

However, 0114/0005.ulz and TIMs for the titles in the Search menu do not work properly after recompressing. The game still runs and does not crash, a good sign, but the graphics themselves come out garbled and with crazy colors. 0114/0005.ulz when uncompressed is a BIN or DAT file that contains several TIMs inside, the Search titles are regular TIMs with just one image, single-layer.

0114/0005.ulz is the file that has that text that is still in Japanese in the current v2.0 patches, the one that causes the inter-mission text (save game prompt and "Data Swallow" at the bottom) to go from English to Japanese at the end of every mission. This and the Search titles are the only parts still left for us to fix and make a final 100% fan-translation possible.

I'm not sure if it's just me or if you also encountered this problem, I ran extensive tests just to make sure and these are my results. The fact that the game won't lock up or crash shows you're on the right track, I just don't know what's wrong with these particular files.

Infrid

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Re: [PS1]Ace Combat 3 Electrosphere English Fan-Translation (v2.0 out now!)
« Reply #345 on: January 17, 2018, 11:45:14 am »
You are not alone, we did some tests and we had the same issue but we found a workaround, I haven't had the time to run the debugger and see why the game crashes but I suspect it has to do with some compression optimisations or the flag storage format.

We found the bug only with ulz type 0, if you use type 2 everything should be fine, try it.

The compression algorithm is a bit naive, uses a lot of CPU power and it's quite slow but it works for now. I'll optimise it when it's stable because it's not efficient like the namco's one.

Let me know if you need something else.

DragonSpikeXIII

  • Full Member
  • ***
  • Posts: 200
  • Team NEMO
    • View Profile
    • Project NEMO
Re: [PS1]Ace Combat 3 Electrosphere English Fan-Translation (v2.0 out now!)
« Reply #346 on: January 23, 2018, 06:39:18 am »
Thank you for the tip, I have just finished compressing and testing everything that's been translated up until now and there are no bugs anymore, including Search titles and that 0114/0005.ulz, so I can finally discard the option of leaving them untranslated.

Huge thanks to you and the AC3 Italian Fan-Translation team for your compressor/decompressor tool, this problem has at long last been resolved.

EDIT: I just added the tools and info needed to translate the end credits as requested by RidFin, they may be useful to you if you still need to locate and translate them. http://www.romhacking.net/forum/index.php?topic=17658.msg340734#msg340734
« Last Edit: January 23, 2018, 08:49:45 am by DragonSpikeXIII »

Infrid

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Re: [PS1]Ace Combat 3 Electrosphere English Fan-Translation (v2.0 out now!)
« Reply #347 on: January 29, 2018, 12:10:37 pm »
Thanks for testing it, I had time to look up on a debugger and see why my compressor doesn't work with ulz0 and I just found out why!

The formats ulz0 and ulz1 are nearly identical in terms of compression ratio and file structure.

The difference is how the ulz0 is decompressed, the game decompress data until gets a flag with just zero bytes (r11 has to be 0x00000000), that's why it uses 31 bits for the flags, the last one is always 1 until we finish the process.

Ulz2 looks for file size instead, it decompress until the output is big enough. Both formats stores the decompressed file size into the header, I used that information when I decompress in my script. That's why I was able to decompress both formats.

I'll publish the fix soon, I don't know why they adopted two formats, maybe they came from different internal teams.

What method should you use? It's up to you, I consider ulz2 better, it uses all the flags and should produce a smaller ulz file.

Meanwhile if you used ulz2 instead of ulz0 and it's working, it's perfectly fine, you don't have to change anything.


D.O.Eraven

  • Jr. Member
  • **
  • Posts: 25
    • View Profile
Re: [PS1]Ace Combat 3 Electrosphere English Fan-Translation (v2.0 out now!)
« Reply #348 on: January 30, 2018, 04:54:16 pm »
We are pleased to announce a new version of ac3es tools. As Infrid said before we fixed the big for ulz type 0!

GitHub - Infrid/ac3es-tools: Compress and decompress ULZ files for Ace Combat 3 game
https://github.com/Infrid/ac3es-tools
-AC3 Italian Translation Project-
http://ac3es.infrid.com/doku.php?id=start

OrientalComputer_1

Infrid

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Re: [PS1]Ace Combat 3 Electrosphere English Fan-Translation (v2.0 out now!)
« Reply #349 on: March 26, 2018, 06:56:47 pm »
we noticed the bin splitter can pack correctly only files with a size multiple of 4, I update ac3es tools for handling this type of files.

https://github.com/Infrid/ac3es-tools

Also the file list contains relative paths and if you don't have the list at all it can scan a directory.

TideGear

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: [PS1]Ace Combat 3 Electrosphere English Fan-Translation (v2.0 out now!)
« Reply #350 on: April 03, 2018, 04:55:14 am »
First of all, I want to say thank you to everyone involved in this wonderful project. I've already completed a Fiona-loyal run as well as a run following Dision. This game is truly fantastic.

However, I did notice one typo. One of the messages from Simon says "by that as it may" instead of "be that as it may". It's pretty trivial but worth pointing out.

So more updates are coming, correct?

DragonSpikeXIII

  • Full Member
  • ***
  • Posts: 200
  • Team NEMO
    • View Profile
    • Project NEMO
Re: [PS1]Ace Combat 3 Electrosphere English Fan-Translation (v2.0 out now!)
« Reply #351 on: April 08, 2018, 06:36:09 pm »
Thanks for the grammar check, it was already fixed a few months ago but any feedback is welcome.

One final update that fixes such mistakes and translates what is still in Japanese in v2.0 is coming, to be released When It's Done.

TideGear

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: [PS1]Ace Combat 3 Electrosphere English Fan-Translation (v2.0 out now!)
« Reply #352 on: April 08, 2018, 08:41:58 pm »
Thanks for the grammar check, it was already fixed a few months ago but any feedback is welcome.

One final update that fixes such mistakes and translates what is still in Japanese in v2.0 is coming, to be released When It's Done.

Awesome! I have since completed all five endings and that was the only thing that jumped out at me, except I think Cynthia says "prise" when it should be "pry", but I'm not certain of that one.

Anyway, y'all did a fantastic job. Thanks again!