Jump to content

QuickPatch

From pangya.wiki

QuickPatch was a tool used by Ntreev (and presumably handed to publishers of regions) to create patches for Pangya.

Functionality

Connecting to patch servers

QuickPatch allows the user to connect (or specify connection details) for a patch server/CDN that later will server the clients with the new patch files. This is offered in a multitude of ways.

One option is using a list of predefined (and customizable) servers, allowing to prefill connection details like the IP address, port, target directory, FTP username and password.

The other option is to manually fill out the fields. This however does not offer all the options, because in the configuration dialog, only predefined servers can set a specific TEA key for the updatelist encryption.

Full or incremental patches

Using the options "Whole sync" and "Additional upload" full or incremental patch sets can be differentiated.

Specifying of patch details

For each patch, a patch version (ex. KR.Q4.548.00) and a patch number (ex. 306) can be specified. In this section of the patcher, there also is a disabled field present that specifies the version of the updatelist file format, it's fixed to 20090331.

Update files backup

QuickPatch has a backup directory mechanism for patches, moving the last patched files into that folder. If no files can be found in the current source directory it also tries using the files from the backup directory for a patch instead. The default backup directory is C:\_QuickPatchBackUpFile . Users also have the option to specify a time period of how long these backups should be kept, the default is 1 month.

Exclusive patch files

To not include internal files into patches, a denylist of files can be specified in the configuration.

The default list includes following files:

  • QuickPatch.ini
  • QuickPatch_Eu.exe
  • QuickPatch_lv1.exe
  • QuickPatchExt_lv1.exe
  • DataSafe.exe
  • WestPak.exe
  • ClassED.exe
  • MakeFont.exe
  • PakOut.exe
  • PuppetMasterG.exe
  • WangED.exe
  • FxBox.exe
  • PangYa.iff
  • ProjectG.pdb
  • wangreal.pdb
  • LoadingRes.pdb

Even with this option existing, the patcher was still leaked regardless, suggesting this was another patched variant with a different name that was not put into this list when the patch was created.

Server list

This feature allows defining the servers that can be selected in the dropdown on the main window, quickly filling out required options to configure patching for a specific server.

The options that can be defined per server are:

  • SERVER NAME: The name of the server in the list
  • URL: The host address/IP of the target server
  • REMOTE DIR: Directory on the target server to upload the patch to
  • ACCOUNT: FTP account username
  • PASSWORD: FTP account password
  • PORT: Server port (always defaults to 21 for FTP)
  • TEA KEY: Key used for the XTEA encryption of the patch listing (could be one of KR, JP, TH, EU, GB, U1, U2, U3, U4)
  • WHOLE SYNC: If a full or incremental patch should be made
  • PASSIVE: ?

The leaked version of QuickPatch also included a list of preconfigured servers:

  • 국내 팡야 QA (Private Pangya QA)
    • URL: 211.233.72.73
    • REMOTE DIR: /season4/patch/qa/
    • ACCOUNT: pangya
    • PASSWORD: ***
    • PORT: 21
    • TEA KEY: KR
    • WHOLE SYNC: false
    • PASSIVE: true
  • 엔트리브 팡야 (Ntreev Pangya)
    • URL: 211.233.72.73
    • REMOTE DIR: /season4/patch/release/
    • ACCOUNT: pangya
    • PASSWORD: ***
    • PORT: 21
    • TEA KEY: KR
    • WHOLE SYNC: false
    • PASSIVE: true
  • 국내 팡야 PATCH TEST (Private Pangya PATCH TEST)
    • URL: 192.168.11.238
    • REMOTE DIR: /client/patchtest/
    • ACCOUNT: administrator
    • PASSWORD: ***
    • PORT: 21
    • TEA KEY: KR
    • WHOLE SYNC: false
    • PASSIVE: true
  • 국내 팡야 UPDATE TEST (Private Pangya UPDATE TEST)
    • URL: 192.168.11.238
    • REMOTE DIR: /client/updatetest/
    • ACCOUNT: administrator
    • PASSWORD: ***
    • PORT: 21
    • TEA KEY: KR
    • WHOLE SYNC: false
    • PASSIVE: true
  • 태국 이니3 시즌4 테섭 (Thailand Ini3 Season 4 Ini Tessup (?))
    • URL: 203.195.98.151
    • REMOTE DIR: /patch_test_S4_lv1/
    • ACCOUNT: ini3pangya
    • PASSWORD: ***
    • PORT: 21
    • TEA KEY: TH
    • WHOLE SYNC: false
    • PASSIVE: true
  • 태국 이니3 시즌4 (Thailand Ini3 Season 4)
    • URL: 203.195.98.151
    • REMOTE DIR: /client_patch_S4/
    • ACCOUNT: ini3pangya
    • PASSWORD: ***
    • PORT: 21
    • TEA KEY: TH
    • WHOLE SYNC: false
    • PASSIVE: true
  • 태국 이니3 시즌4 사내테섭 (Thailand Ini3 Season 4 Ini Tessup (?))
    • URL: 192.168.11.250
    • REMOTE DIR: /TestClientPatch/Ini3_Th_lv1/
    • ACCOUNT: sysadmin
    • PASSWORD: ***
    • PORT: 21
    • TEA KEY: TH
    • WHOLE SYNC: false
    • PASSIVE: true
  • 유럽 고아 시즌3 Prod (European Goa Season 3 Prod)
    • URL: 193.252.133.39
    • REMOTE DIR: /patch-prod/
    • ACCOUNT: ntreev
    • PASSWORD: ***
    • PORT: 21
    • TEA KEY: EU
    • WHOLE SYNC: false
    • PASSIVE: true
  • 유럽 고아 시즌3 Test (European Goa Season 3 Test)
    • URL: 193.252.133.123
    • REMOTE DIR: /patchCBT/
    • ACCOUNT: pangya
    • PASSWORD: ***
    • PORT: 21
    • TEA KEY: EU
    • WHOLE SYNC: false
    • PASSIVE: true
  • 일본 게임팟 시즌4 (Japan GamePot Season 4)
    • URL: 211.13.208.87
    • REMOTE DIR: /patch/pangya_client/
    • ACCOUNT: ntadmin
    • PASSWORD: ***
    • PORT: 21
    • TEA KEY: JP
    • WHOLE SYNC: false
    • PASSIVE: true
  • 일본 게임팟 시즌4 Test (Japan GamePot Season 4 Test)
    • URL: 211.13.208.87
    • REMOTE DIR: /patch/test_client/
    • ACCOUNT: ntadmin
    • PASSWORD: ***
    • PORT: 21
    • TEA KEY: JP
    • WHOLE SYNC: false
    • PASSIVE: true

Registry import/export for settings

QuickPatch allows exporting and importing settings from/to registry (.reg) files. The settings are pulled from the registry key HKEY_LOCAL_MACHINE\Software\Ntreev\QUICKPATCH by default.

Screenshots

QuickPatch main window after opening
Configuration window of QuickPatch
Server adding/editing window

Discovery

This tool was discovered due to accidentally having been included in a patch itself.