FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   XDELTA Batch Game Patcher (For Repacks) (https://fileforums.com/showthread.php?t=104440)

pratikpatel8982 21-05-2021 07:25

XDELTA Batch Game Patcher (For Repacks)
 
1 Attachment(s)
The Original script was posted on run.ru
All credit goes to paul44.
I have just modified it to suit repack installers. (automatic patching when opened)

This tool will create patches for games (created by the repacker) and then when game patcher.bat is executed, it will automatically detect game and apply the patch without user interference.

How To Use:

YOU MUST EDIT THE FOLLOWING LINES ACCORDING TO THE GAME BEFORE USE:
I do not recommend editing any other lines then the mentioned ones to avoid code breaking.

Code:

IN XdeltaPatchCreator_v2.0a.bat:
line 37
line 123

IN XdeltaGamePatcher_v2.8e.bat:
line 39
line 48,49,50
line 109

How to Create Patch: After editing, open XdeltaPatchCreator_v2.0a.bat and create patch.

How to Apply Patch: After editing, copy XdeltaGamePatcher_v2.8e.bat, _TempPatch and xdelta3-3.0.8.x86-64.exe to the base game folder.
If you are using setup file, You must create an archive with these three files so that they extract inside the base game folder. And edit the script to run XdeltaPatchCreator_v2.0a.bat

It will delete all junk files after execution including the .bat file itself.

Script Code example:
Code:

[Run]
Filename: "{app}\XdeltaGamePatcher_v2.8e.bat"; StatusMsg: "Installing Latest Update"

If you want to run it hidden:
[Run]
Filename: "{app}\XdeltaGamePatcher_v2.8e.bat"; StatusMsg: "Installing Latest Update"; Flags: runhidden

You can also add other flags to it.

You can press the Thanks button to appreciate my work

GaMEr_2077 21-05-2021 07:35

ASM!!!!!
N
Working
Bhai laga hi di aag :p

pratikpatel8982 21-05-2021 08:52

Quote:

Originally Posted by GaMEr_2077 (Post 492269)
ASM!!!!!
N
Working
Bhai laga hi di aag :p

Thanks, also added command to run it hidden (user will not see the window). Also made WPI script for mc

Bhai meko bhi chahiye tha aisa feature. Ab baar bar compress ni karna padega.

KaktoR 21-05-2021 11:31

You should delete the link of rin forums (it is not allowed).

However, you can just name the site like "rin.ru" or something (I guess everyone knows about it anyway).

pratikpatel8982 21-05-2021 18:57

Quote:

Originally Posted by KaktoR (Post 492275)
You should delete the link of rin forums (it is not allowed).

However, you can just name the site like "rin.ru" or something (I guess everyone knows about it anyway).

Done.

pratikpatel8982 21-05-2021 21:03

Updated OP with correct info + updated batch script

pratikpatel8982 22-05-2021 10:08

Don't use runhidden flag with this script!! It freezes the Installer.
Future Version Goals: Completely re-writing the patcher.bat script from scratch and try to solve the above bugs.


All times are GMT -7. The time now is 11:15.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com