+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  How can I create a multi-file patch if the file sizes are different?
Pages: [1]
Author Topic: How can I create a multi-file patch if the file sizes are different?  (Read 2 times)
SPennLUE
Guest
« on: October 28, 2009, 05:40:17 pm »

I'm trying to create a translation patch for a PC game, but NINJA won't allow the patch to be created if the file sizes are different between versions.  The Readme or other documents can not be changed.  Another multi-file patch creator, Beopat, said the same thing:the updated/translated file must be the same size as the original.  There has to be a way around that, I've seen it does with other formats.

Also, does the file's name affect the ability to patch?
KaioShin
Guest
« Reply #1 on: October 28, 2009, 05:50:33 pm »

xdelta can handle that, but you'd have to make a patch for every file individually, you can't just run it over a whole directory.

Most PC game translation build custom installers and just overwrite all changed files. Ignore the controversy bullshit concerning patches only containing the changed information.
SPennLUE
Guest
« Reply #2 on: October 28, 2009, 06:39:34 pm »

So the EXEs that patch games like Cave Story are all custom-made?  There's no "EXE patcher" creator?  Hmm.

What language are they normally built with?  I don't really have any programming experience, but if it's easy enough I can mess around with some tutorials for a little while and see what I come up with.
KaioShin
Guest
« Reply #3 on: October 28, 2009, 07:22:41 pm »

I have no idea, I think installers are created with some sort of scripting language, but I have no hands-on experience. You'll probably have to google around.
golden
Guest
« Reply #4 on: October 29, 2009, 07:28:32 am »

The most popular installation system I've seen is the one from Nullsoft. With all the examples they provide, I'd say it'll be pretty easy for you to come up with something nice in no time.
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC