RPatchur, a customizable patcher

L1nkZ

New member
Messages
10
Points
0
Hi,

A few days ago I released the first version of an open-source patcher I've been working on. The project has been developed in Rust and the UI is based on the webview project.

The project also includes a cross-platform, command-line THOR patch generator.

The patcher's current features are the following:

* Customizable, web-based UI

* Cross-platform (Windows 7/8/10, Linux, macOS)

* Configurable through an external YAML file

* HTTP/HTTPS support

* GRF file patching (version 0x101, 0x102, 0x103 and 0x200)

* THOR patch format support

* Drop-in replacement for the Thor patcher

* SSO login support (i.e., can act as a launcher)

* Manual patching

* Can use multiple patch mirrors

The project's repository can be found here: https://github.com/L1nkZ/rpatchur (and documentation can be found here). Contributions are welcome!

Releases

v0.3.0: https://github.com/L1nkZ/rpatchur/releases/tag/v0.3.0

v0.2.3: https://github.com/L1nkZ/rpatchur/releases/tag/v0.2.3

v0.2.2: https://github.com/L1nkZ/rpatchur/releases/tag/v0.2.2

v0.2.1: https://github.com/L1nkZ/rpatchur/releases/tag/v0.2.1

v0.2.0: https://github.com/L1nkZ/rpatchur/releases/tag/v0.2.0

v0.1.0: https://github.com/L1nkZ/rpatchur/releases/tag/v0.1.0

 
Last edited by a moderator:
good job tested work very gooooooood  , make the exe file with the git so we can find it then we go to 2 place 

 
hi @L1nkZ i got this error while cargo build..how to fix this?

...
Hi,

It seems you're missing a package on your distribution.

Doing the following on Debian/Ubuntu will probably fix that (although you may have some other missing packages):

sudo apt-get install libglib2.0-dev




Take a look at this Dockerfile to see most of the dependencies you may be missing for building the project on Debian or Ubuntu.

 
Last edited by a moderator:
Hi,

It seems you're missing a package on your distribution.

Doing the following on Debian/Ubuntu will probably fix that (although you may have some other missing packages):

sudo apt-get install libglib2.0-dev

sudo apt-get install libglib2.0-dev




Take a look at this Dockerfile to see most of the dependencies you may be missing for building the project on Debian or Ubuntu.
Hi..i install all from dockerfile...all 243 of 244 success but just one error how to fix this error? /swt

rpatchur.png

 
Hi..i install all from dockerfile...all 243 of 244 success but just one error how to fix this error? /swt

...


What are the specs of the box you use to compile the project?

Rust is actually pretty resource intensive when it comes to compiling and linking the code. For some projects for example, 4GiB of RAM might not be enough. I don't know for sure for RPatchur but it might require more than 1 or 2GiB, never checked.

 
Last edited by a moderator:
What are the specs of the box you use to compile the project?

Rust is actually pretty resource intensive when it comes to compiling and linking the code. For some projects for example, 4GiB of RAM might not be enough. I don't know for sure for RPatchur but it might require more than 1 or 2GiB, never checked.
Have other way?/sob...my vps 2core 1gbram

 
Have other way?/sob...my vps 2core 1gbram
Well, your only option is compiling on a more powerful computer (either on a VM or natively).

And by the way, compiling on your VPS probably wasn't going to cut it anyway, unless you're running the same Linux distribution you plan running RPatchur on.

If you want to compile a Windows executable you'd have to cross-compile or compile directly on a Windows machine.

 
hi @L1nkZ i success cargo build --release...and now where can i get patcher.exe to copy to my game client directory?not found...or just use thor.exe?

 
A new release has been tagged: https://github.com/L1nkZ/rpatchur/releases/tag/v0.2.2

Not really much changes on the patcher side (apart from a dependency update and a binary size reduction).

However, the release now includes a tool (mkpatch) to generate THOR patches easily from the command-line.

Check it out, feedback's welcome! The musl release of mkpatch should run out of the box on most linux distributions.

 
Last edited by a moderator:
A new version has been released! Here are the download links: https://github.com/L1nkZ/rpatchur/releases/tag/v0.3.0

The example UI and the documentation have been updated.

Warning to server administrators

This update includes breaking changes: the patcher's configuration file must be updated and the patcher's cache file will be reset.

Summary of changes

* It's now possible to apply patches manually (through the UI)

* Multiple patch servers can now be specified in the configuration (and if one is down, rpatchur will try to use the others)

* The cache file (containing the last patch index) is now saved as JSON and can therefore be modified with a text editor (be careful though)

* The window title can now be modified through the configuration file

* A lock file is now used to ensure that only one rpatchur process can update game files at a time

* Configuration errors are now displayed using native message boxes

 
Back
Top