Page 1 of 1

How do I upload an update to my NewGRF?

Posted: 30 Mar 2021 08:17
by Donald Duck
I'm trying to upload an update to my NewGRF using https://bananas.openttd.org/manager, but after filling out all form and submitting it, I get the error:
There is already an entry with the same md5sum-partial for this package; this most likely means you are uploading the exact same content.
Obviously the content is very similar to the one I've uploaded before since it's a new version of the same NewGRF, but it's not the exact same content since I've changed the graphics a bit.

How do I fix this error?

Re: How do I upload an update to my NewGRF?

Posted: 30 Mar 2021 16:23
by Eddi
if it's the same md5sum, it IS the exact same. (*)


(*) there's a known attack where you can reproduce an md5sum with a specially crafted data tail, but we're not after cryptographic security here

Re: How do I upload an update to my NewGRF?

Posted: 30 Mar 2021 19:26
by Michi_cc
The md5sum for NewGRFs is only done over the data part and not the sprite part. This should not be a problem as it's prudent to update the version entry in the Action 14 so the game knows which version to load.