Main Page/dev/patching

From UCGO-WIKI
Jump to navigation Jump to search

Game Patching using A and B Patch Type System

In the world of digital gaming, maintaining and updating game clients is a critical aspect of providing the best player experience. One approach to game patching involves the use of an "A and B" patch type system. This type of system allows developers to manage and deploy updates to their game clients in an efficient and flexible manner.

Understanding A and B Patch Types

In the A and B patch type system, "A" patches contain the entire game client for their respective version. These patches serve as a comprehensive update and are typically larger in size due to their comprehensive nature.

"B" patches, on the other hand, only contain changes relative to the last A patch or B patch. These patches are smaller and faster to download, making them ideal for minor updates or bug fixes.

Bullet Point Summary

  • A patches contain the entire game client for their version.
  • B patches contain changes relative to the last A or B patch.
  • A patches are typically larger and deployed less frequently.
  • B patches are smaller, faster to download, and deployed more frequently.

Step by Step Guide to Adding a Patch

Here is a step-by-step guide on how to add a patch using our system.

Prerequisites

  • Patches must be packaged in a .7z file with no main subfolder. The base files should reside at the top level of the .7z file, not in a subdirectory like /projectName/gamefiles.

Process

1. Access the Patch Management UI.

2. Input the required 'API Key' in the designated field.

3. Select the relevant 'Project' from the dropdown menu. This determines what game the patch is for.

4. Choose the 'Patch type' (either A or B).

5. Input the 'Patch version' and 'Patch Description' in their respective fields.

6. Provide the 'Patch URL' – this should be the URL of the .7z patch file.

7. Confirm all details are correct and click 'Add Patch'.

Interplay Between A and B Patches

It's important to note that when an A patch is introduced, a corresponding B patch must also be created. This B patch should encapsulate the changes necessary to upgrade from the last B patch to the new A patch version.

Clients that have already downloaded a version of the game client will never download another A patch. Therefore, having a corresponding B patch ensures these clients can still be updated to the latest version without the need to download the entire game client again.

In summary:

  • When introducing an A patch, a corresponding B patch must also be created.
  • This B patch should contain changes necessary to upgrade from the last B patch to the new A patch version.
  • Clients with an existing game client will only download B patches for updates.


Adding a Patch - UI Example

Example of the UI used for adding patches.
Example of an A patch.
Example of a B patch.

Please follow the above guidelines when adding a patch. This will ensure a smooth process and help maintain the integrity of the game client versions. If you encounter any issues or need further clarification, please reach out to the development team.

AおよびBパッチタイプシステムを使用したゲームパッチ

デジタルゲームの世界では、ゲームクライアントを維持・更新することは、最高のプレイヤー体験を提供するための重要な要素です。ゲームパッチを管理し、デプロイするための一つのアプローチとして、"AおよびB"パッチタイプシステムがあります。このシステムは、開発者がゲームクライアントのアップデートを効率的かつ柔軟に管理することを可能にします。

AおよびBパッチタイプの理解

AおよびBパッチタイプシステムでは、"A"パッチにはそのバージョンに対応するゲームクライアント全体が含まれます。これらのパッチは、包括的なアップデートであり、その包括的な性質から大きなサイズになります。

一方、"B"パッチは、最後のAパッチまたはBパッチに対する変更のみを含みます。これらのパッチは小さく、ダウンロードも速いため、マイナーなアップデートやバグ修正に理想的です。

要点のまとめ

  • Aパッチにはそのバージョンに対応するゲームクライアント全体が含まれます。
  • Bパッチには、最後のAパッチまたはBパッチに対する変更のみが含まれます。
  • Aパッチは一般的に大きく、頻繁にはデプロイされません。
  • Bパッチは小さく、ダウンロードが速く、頻繁にデプロイされます。

パッチの追加 - ステップバイステップガイド

以下に、当システムでパッチを追加するためのステップバイステップガイドを示します。

前提条件

  • パッチはメインのサブフォルダがない.7zファイルにパッケージ化する必要があります。ベースファイルは.7zファイルのトップレベルに配置し、/projectName/gamefilesのようなサブディレクトリには配置しないでください。

手順

1. パッチ管理UIにアクセスします。

2. 指定されたフィールドに必要な 'APIキー' を入力します。

3. ドロップダウンメニューから関連する 'プロジェクト' を選択します。これによりパッチがどのゲームに適用されるかが決まります。

4. 'パッチタイプ' (AまたはB) を選択します。

5. 'パッチバージョン' と 'パッチの説明' をそれぞれのフィールドに入力します。

6. 'パッチURL' を提供します – これは.7zパッチファイルのURLであるべきです。

7. すべての詳細が正しいことを確認して、「Add Project」をクリックしてください。

AパッチとBパッチの相互作用

Aパッチを導入する際には、対応するBパッチも作成する必要があることに注意が必要です。このBパッチは、最後のBパッチから新しいAパッチバージョンへのアップグレードに必要な変更を包含するべきです。

ゲームクライアントのバージョンを既にダウンロードしたクライアントは、再度Aパッチをダウンロードすることはありません。したがって、対応するBパッチを持つことで、これらのクライアントもゲームクライアント全体を再ダウンロードすることなく、最新バージョンに更新できることを保証します。

まとめると:

  • Aパッチを導入する際には、対応するBパッチも作成する必要があります。
  • このBパッチは、最後のBパッチから新しいAパッチバージョンへのアップグレードに必要な変更を含むべきです。
  • 既存のゲームクライアントを持つクライアントは、アップデートのためにBパッチのみをダウンロードします。


パッチの追加 - UI例

パッチを追加するためのUIの例。
Aパッチの例。
Bパッチの例。

以上のガイドラインに従ってパッチを追加してください。これにより、スムーズなプロセスを確保し、ゲームクライアントバージョンの整合性を維持するのに役立ちます。問題が発生した場合や、さらなる説明が必要な場合は、開発チームに連絡してください。