Giter Site home page Giter Site logo

thezoc / zpatcher Goto Github PK

View Code? Open in Web Editor NEW
46.0 10.0 19.0 837 KB

A suite to Create and Apply patches to application and games.

License: BSD 3-Clause "New" or "Revised" License

C 62.17% C++ 27.88% Makefile 0.38% PowerShell 0.10% Shell 0.04% Python 0.43% HTML 9.01%

zpatcher's Issues

Up to date message on startup

Zpatcher has been working great for me for my project for the past few months. However, on my most recent patch something broke. New users downloading for the first time get the "up to date" message on startup, with no downloading or patching at all. But, users who were at the previous version were able to patch successfully. What could be causing this?

setup-external-dependencies.ps1 doesn't work

Hello I just wanted to tell you that this powershell file doesn't work for me but it's not a problem I did manually everything you coded in this file. I put an image (sorry it's writen in french)
image

Directory problem

Branch: Version3
Environment: Windows10 VS2019 latest

This is likely a configuration issue with VS, but I have not been able to figure this out, and I expect others will experience a similar problem, so I hope you can help to resolve this one.

Installing all prerequisites manually worked fine.
Retarget projects to latest worked fine.

Building results in a malformed directory on all projects, and the following error:

Error MSB3191 Unable to create directory "C:\ue_projects\ZPatcher\ZPatcherLib\C:\ue_projects\ZPatcher_Intermediate\x64\Debug\ZPatcherLib". The given path's format is not supported. ZPatcherLib C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets 998

Note the duplicate C:\ue_projects\ZPatcher\ in the path.

Do you happen to have any suggestions on how to fix the directory location?

Links on Patchnotes

Links from the change log are opened in the launcher, not in the browser.

Problems with Visual Studio 2017 retargeting

Hello I've this when I compile the project. I downloaded tinyxml2 as curl or dirent but the tinyxml2.lib is missing. The problem is with this code : #include "tinyxml2.h".
Help would be appreciated.
Thanks for advance

wxprec.h

I get
"4>c:\users\reck\desktop\zpatcher-master\visualcreatepatch\stdafx.h(9): fatal error C1083: Cannot open include file: 'wx/wxprec.h': No such file or directory"
whenever I attempt to compile.

I'm trying to compile with VS2015

std::bad_alloc crash for certain windows users.

This might be way too vague for the issues system, but this seems like the only point of contact so I went for it.

  • When updating via ZLauncher to a specific patch users get a popup reading "*** Caught unhandled unknown exception; terminating" and the launcher just stays on "Applying Patch, Please Wait..." (still functional enough to complain about closing it while applying a patch)
  • Not everyone gets the error: works fine on 5 different computers, but another 4 computers have the crash. Only obvious common point is that most of the users who crash are on Windows 7, while those who it works for tend to be 8 or 10. One win10 computer still has the crash, though. Works fine for me personally, and I don't have direct access to the computers having issues.
  • Was compiled on 8.1 using Visual Studio 2015 with x64.
  • Using wxWidget's OnUnhandledException() override I was able to find that it's getting a std::bad_alloc exception, but I can't get a full stack trace out of it using wxWidget's debugrpt tools: OnFatalException() doesn't get called from it, and doing the reporting in OnUnhandledException() or OnExceptionInMainLoop() just gets the stack for current error handling rather than what threw it.
  • Trying again (after restoring the backups) or performing the patch process from scratch results in the same error consistently for users.
  • The ZLauncher log file ends on "Writing File: ./py/map/state/new_round.py" (part of a replace operation). There was only one more file it needed to perform a replace operation on (py/network/sanitize.py). It seems to write the new version of the new_round.py file correctly before crashing.
  • Nothing exceptional about the patch: it's quite small, only changes less than 20 files, and doesn't involve updating the patcher itself. There are only about 12 total patches in the configuration currently.
  • This is all using the current version of ZPatcher (as of this posting) with minimal modifications. Patches were created with the command line tool.

The relevant patch files can be provided if necessary, but I'd prefer to do so privately.

Patches limited?

basepatch works, first update works too, second and more updates are not working.
single patch not working, only together with first update
after the first update always the message "up-to-date".
zpatcher.zversion only contains blank characters?

is there a solution to delete the temporal downloads in the directory updates?
The downloaded server-side xml should also be deleted

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.