Patch System
Added by TomH about 5 years ago
Hello All,
Is there anyone out there that knows how to make patches and how the client receives such patches?
Thank you.
Replies (10)
RE: Patch System - Added by nimetu about 5 years ago
first execute 'patch_gen go' that creates 'patch_test/test0' folder.
now put your updated files to patch_test/text0/bnp folder and then run 'patch_gen updateProduct patch_test/test0/test_package.xml' which builds the patch stuff
you need 'xdelta.exe' and 'lzma.exe'. probably need to google them as they external apps.
RE: Patch System - Added by TomH about 5 years ago
Where do I find the patch_gen.exe?
\code\ryzom\tools\patch_gen
There's only cpp and h files.
When I open the all.sln the patch_gen is not there at all, so I'm not sure how to compile.
Any ideas?
RE: Patch System - Added by nimetu about 5 years ago
TomH wrote:
When I open the all.sln the patch_gen is not there at all, so I'm not sure how to compile.
hehe, i saw that. yeah, currently patch_gen is not compiled under windows.
under linux it segfaults at the end (which is probably 64bit fault), but patch seems to be generated.
RE: Patch System - Added by kervala about 5 years ago
TomH wrote:
No way to do this under windows? :(
That's really easy : you take a .vcproj file from a working project and copy it to the folder without project. Before adding it to the solution, you have to edit it with a text editor and change its name. You delete all files from project in project explorer and add new ones.
Finally, you should be able to compile your new project and you can tweak projects properties :)
I just created and uploaded a project for patch_gen.
RE: Patch System - Added by kerozcak about 5 years ago
CMake is Cross Platform Make. If it's possible to compile it on linux, it's probably possible to do it on windows.
Here's wiki for building on linux using CMake http://dev.ryzom.com/wiki/ryzom/BuildForLinuxCmake
RE: Patch System - Added by nimetu about 5 years ago
Opened wiki at http://dev.ryzom.com/wiki/ryzom/PatchGen
RE: Patch System - Added by TomH about 5 years ago
Thank you all.
@Kervala, I pulled and updated and used the vcproj then did a clean up and build, it failed so I tried to rebuilt and failed again. :P
The error:
Error 1 fatal error LNK1181: cannot open input file '..\..\..\nel\lib\nlmisc_r.lib' patch_gen patch_gen
RE: Patch System - Added by kervala about 5 years ago
TomH wrote:
Thank you all.
@Kervala, I pulled and updated and used the vcproj then did a clean up and build, it failed so I tried to rebuilt and failed again. :P
The error:
[...]
What is your error(s) when building nlmisc ?
I successfully compiled 32 and 64 bits release and debug versions without problem.
Btw if you need more help and quicker responses, you should join #ryzom
RE: Patch System - Added by TomH about 5 years ago
I have been in the IRC for long periods of time and no one ever talks.
Once only 3 people helped, but other days it is full of people and no one says a word so help in the forum is actually a LOT faster :P
(1-10/10)