sisong / HDiffPatch

a C\C++ library and command-line tools for Diff & Patch between binary files or directories(folder); cross-platform; runs fast; create small delta/differential; support large files and limit memory requires when diff & patch.
Other
1.52k stars 280 forks source link

get older file ERROR #373

Closed pquy37 closed 7 months ago

pquy37 commented 7 months ago

"input oldFile oldDataSize 3398147240 != diffFile saved oldDataSize 3436290185 ERROR!" then it became " THIS APP CANT RUN ON PC "

sisong commented 7 months ago

I tried cmline under windows\linux\macos OS, but I didn't recurrence the similar problem.
What are your test OS? Did you compile it by yourself? and What are your parameters when run hdiffz?

pquy37 commented 7 months ago

i've added ""-info diffFile" before the line code so it became " Cant run on Pc" and i just wanna update patch of game xD

pquy37 commented 7 months ago

D> WHERE hpatchez.exe is "D:\ WHERE path need update" "D:\WHERE the update file ( diff )" "D:\WHERE i wanna put my new file "

sisong commented 7 months ago

"-info diffFile" added from v4.6.9,you can see version by run $hpatchz -v

pquy37 commented 7 months ago

how can i fix that XD?

pquy37 commented 7 months ago

like i wanna update my file and Error so how can i fix that and update my file xD,pls ( im noob :v )

sisong commented 7 months ago

you can download https://github.com/sisong/HDiffPatch/releases/download/v4.6.9/hdiffpatch_v4.6.9_bin_windows64.zip for update hpatchz.exe
but can't fixed this problem, because your owner oldFile not the oldFile when diff; so the patchFile can't update your oldFile.

pquy37 commented 7 months ago

"your owner oldFile not the oldFile when diff" This means that the file is only updated by the developer ? or I did it some wrong way.I did see how to do it and follow it but it didn't work very well

pquy37 commented 7 months ago

can you suggest me xd ?

pquy37 commented 7 months ago

i got it hahahaha tks you i try so hard