Kuribo64
Views: 20,011,454 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
04-23-24 04:19 PM
Guest:

0 users reading What are Xdelta patches really? | 1 bot

Main - Computers and technology - What are Xdelta patches really? Hide post layouts | New reply


alpha
Posted on 07-13-21 06:07 PM Link | #100498
well I want to know what is the difference of patch with a rom how they recognize and patch each other, and the difference of all like the IPS and others more, and one more question, can I create an Xdelta patch with PDF file, it is out of curiosity , because I wonder why the ROM is illegal and the patch is not

poudink
Posted on 07-13-21 06:43 PM (rev. 3 of 07-13-21 06:50 PM) Link | #100499
Patches only contain the data that is absent from the original file.

Patcher programs know whether or not the patch is being applied to the right file because xdelta patches store the hash of the original file and can compare it to the file that the patch is being applied to to check if it's the same. Hashes aren't magic, so there's always the possibility of collision, but those are really, really, really rare, so it's fine for most purposes.

You can create an xdelta patch with anything. It's not exclusive to hacks. Technically, you could create a patch that would transform a PNG image of Mario into an MP3 of the SMB1 theme. The patch would just end up containing the entirety of SMB1's theme though, since no part of it is contained within the PNG.

ROMs are illegal to share because they contain copyrighted content. It's not quite true to say that patches are entirely legal though. They're not perfect, so they often do contain a bit of copyrighted content. Even aside from that though, hacks regularly use assets from other games. Since they're not part of the game that's being hacked, they end up being part of the patch, but these assets are still copyrighted. If Nintendo really wanted to, they would be within their rights to take down most patches.

EDIT: Ah, forgot to answer one of the questions. xdelta is just a different format from IPS. Unlike IPS, it's not proprietary, and doesn't have ridiculous size limits on the files (I think IPS's max is 16mb), so it's a better format. Another good alternative is BPS.

____________________
Nothing to say, so jadnjkfmnjamnfjkldnajfnjkanfjdksan jsdnvj m.

Compa
Posted on 07-13-21 11:44 PM Link | #100500
IPS also doesn't bother to check the file it's patching unlike BPS or xdelta, as well as has a tendency to store unneeded data.

Other than that, poudink's answer is basically perfect.

(You'll likely come across other patch formats for different individual games or systems that deal with the differences better or worse generally, but xdelta and bps are overall well reputed within the ROM hacking community as generic patch formats.)

____________________
"I didn't get in the medical industry just by being cute, you know!"

alpha
Posted on 07-14-21 09:38 AM Link | #100506
thanks for the explanation and if so because Nintendo knows there are hacks because he didn't do something about it, I don't think they really care, the patchs

also patches have delta encoding, not human readable

Compa
Posted on 07-14-21 03:47 PM Link | #100507
It's still their intellectual property included in the files, and they could easily issue a DMCA complaint if it is described as having content they have copyrighted.

Reminder that the reason supermariologan (a channel I never cared about, but am using as an example) was shutdown was because Nintendo ordered a copyright violation on the username containing 'Super Mario'.

____________________
"I didn't get in the medical industry just by being cute, you know!"

alpha
Posted on 07-14-21 06:08 PM Link | #100508
literally this scared to me


Main - Computers and technology - What are Xdelta patches really? Hide post layouts | New reply

Page rendered in 0.019 seconds. (2048KB of memory used)
MySQL - queries: 29, rows: 208/208, time: 0.011 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.