It is currently Wed Oct 18, 2017 5:09 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri Nov 21, 2014 12:27 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19097
Location: NE Indiana, USA (NTSC)
VCDIFF/xdelta and BPS are modern binary patch formats that remain efficient even when moving things around while expanding a ROM, unlike IPS. But in this post someone had to rename a patch to get phpBB to accept it.

I'm ready to add some patch formats to our copy of phpBB. What patch formats should I add, and what are their filename extensions?


Top
 Profile  
 
PostPosted: Fri Nov 21, 2014 1:11 pm 
Offline
Formerly 43110
User avatar

Joined: Wed Feb 05, 2014 7:01 am
Posts: 311
Location: us-east
The only other binary patch format I can think of is bsdiff with I suppose a file extension of "bsdiff". (Historical note, xdelta previous to version 3 did produce an now obsolete format that is not vcdiff).

The rest I know are internal diff data in rsync, git, and chrome, with hard to find self contained tools and is a bit overkill for small rom patches.

Also textual diffs with a extension of "patch".


Top
 Profile  
 
PostPosted: Fri Nov 21, 2014 1:28 pm 
Online

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6277
Location: Seattle
Bsdiff is the only other one I can think of... but it doesn't seem to have a standard filename suffix.


Top
 Profile  
 
PostPosted: Fri Nov 21, 2014 5:32 pm 
Offline
User avatar

Joined: Sat Jul 12, 2014 3:04 pm
Posts: 936
tepples wrote:
Is there a way to expand the ROM without making the IPS so big?

43110 wrote:
I'm guessing if the expanded blank space is at the end of the ROM then the IPS would result in a series of RLE block.

The "truncation" extension MIGHT allow it...or might not.
Lunar IPS implements the truncation extension, and might be the first implementation, but we are not sure. Snes9x also implements this extension.

At the end of the patch after the "EOF", the truncation extension appends a big-endian integer of three bytes, to give the length of the patched file. An IPS patcher that implements this extension must truncate the patched file to the given length. The extension does not specify whether this can extend a file.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group