News: 11 March 2016 - Forum Rules

Author Topic: F1-Race Translation  (Read 2743 times)

papermanzero

  • Jr. Member
  • **
  • Posts: 49
    • View Profile
F1-Race Translation
« on: May 14, 2019, 11:41:16 am »
Hi everyone,

I am writing due to the F1-Race Translation
https://www.romhacking.net/translations/2839/

The CRC is completely different from the official NO-INTRO CRC
https://datomatic.no-intro.org/index.php?page=show_record&s=31&n=0218

Can someone try to update the patch with the No-Intro conform rom?

     File:    Famicom Grand Prix - F1 Race (Japan).fds
     Size:    131000
     CRC32:    C0DF6047  [selected]
     MD5:    FC84463E90835A8FA63D74A147F9D321
     SHA-1:    AF9BEFA6619C7EE7F91E3F9F5D155FE13D2FBB6D
     Serial:    - 

Psyklax

  • Hero Member
  • *****
  • Posts: 1112
    • View Profile
    • Psyklax Translations
Re: F1-Race Translation
« Reply #1 on: May 14, 2019, 12:12:38 pm »
No. The CRC is different because it's a Famicom Disk System disk. Let me explain...

FDS disks have a header which, unlike NES cartridges, is present on the original disk and has some useful information. One thing it includes is the date the disk was written to, because they're not produced like ROM chips. Therefore, you could have two disks which are identical yet one was produced on Wednesday and the other on Thursday, and they'll have different CRCs.

Second is that most games took advantage of the save functionality of the disks, which means that when disks were ripped to .fds files, the save data was intact. Indeed, unless you can find a factory-sealed FDS game and dump it (good luck) it's almost impossible to know with 100% certainty what the "original" save data looked like. So, again, two identical disks which have a different name for a save file will produce different results.

For those two reasons, I would recommend you disregard the CRC of FDS disks. Having translated FDS games myself, I can say that No-Intro isn't necessarily the best dump - there is NOTHING official about it. If you patch it and it works, it works. No need to get anal about CRCs. :D

KingMike

  • Forum Moderator
  • Hero Member
  • *****
  • Posts: 7188
  • *sigh* A changed avatar. Big deal.
    • View Profile
Re: F1-Race Translation
« Reply #2 on: May 14, 2019, 12:46:56 pm »
The thing to worry about is whether your ROM contains a (optional,  useless) fwNES header (total size 131016) bytes or not.

Again, unless you have an identical save file (unlikely) the ROM hash will not match.
"My watch says 30 chickens" Google, 2018

papermanzero

  • Jr. Member
  • **
  • Posts: 49
    • View Profile
Re: F1-Race Translation
« Reply #3 on: May 14, 2019, 01:12:06 pm »
Fully agree with all statements.
However I cannot apply the patch due to the BPS format.
Due to the differences like header etc (as explained above) the CRC is always different.
Even if the header is changed according to the information on the translation site, Beat does not allow to apply the patch.
This time an IPS format would be better.

That is the main issue currently. :D

May 14, 2019, 01:39:38 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
Ok... finally I found a way to apply the patch.
For the following version of the disc image (NO-INTRO version), I created a new bps and ips.

File:    Famicom Grand Prix - F1 Race (Japan).fds
Size:    131000
CRC32:   C0DF6047
MD5:     FC84463E90835A8FA63D74A147F9D321
SHA-1:   AF9BEFA6619C7EE7F91E3F9F5D155FE13D2FBB6D

You can download both translation patches here:
https://mega.nz/#!ZqxgUABJ!wlVireWIZJ8N3c6UzpGntn6EEaFLapaTxYpy7F9BEHg

Maybe someone can add those patches to the translation page.
« Last Edit: May 14, 2019, 01:40:48 pm by papermanzero »

Psyklax

  • Hero Member
  • *****
  • Posts: 1112
    • View Profile
    • Psyklax Translations
Re: F1-Race Translation
« Reply #4 on: May 14, 2019, 02:19:53 pm »
I cannot apply the patch due to the BPS format.

Ah.

That's a point I hadn't considered. Yes, Beat can be a pain with its adherence to CRCs, as it's super unhelpful with FDS. What I used was xdelta, because unlike IPS, it allows for data to be shifted around, which is absolutely essential for FDS translations because you can increase the size of files on the disk.

So for me, xdelta is best, and I don't think it refuses to patch things with a different CRC either. In your situation, though, I can see the problem you're having.