Jump to content
  • Sign Up
×
×
  • Create New...

Pinned PATCH Game Updater + Builder


Recommended Posts

  • Administrator

Game Updater + Builder


Overview

Auto Updater Builder is a VB.NET application designed to facilitate the creation of update packages. It generates individual ZIP files for each file in a source directory, maintaining the original directory structure, and creates version.txt, a filelist.txt and an index.php for version tracking, SHA256 hashes of the files, respectively and serving files to the client.

This is the hidden content, please

Features

  • Easy selection of source and output directories.
  • Build Version number entry for tracking.
  • Automated generation of version.txt, filelist.txt and index.php.
  • ZIP file creation for each file in the source directory, preserving directory structure.
  • SHA256 hash generation for file integrity verification.
  • Manage Package info

This is the hidden content, please

Installation

The only thing you need to do is open Auto Updater Builder
No specific installation process required. The application runs directly from the executable in the Windows environment.

This is the hidden content, please

Usage

  1. Purchase a package that suits you best
  2. Set the serial key in the builder
  3. Manage the Package and set the settings (Game, Website, etc...)
  4. Select Source Folder: Click on the related Select button to choose the source directory containing the files for packaging.
  5. Select Output Folder: Click on the related Select button to define the destination directory for the generated packages.
  6. Version Input: Enter the version number in Version text box. This will be used in version.txt.
  7. Generate Packages: Press Generate to initiate the packaging process.

This is the hidden content, please

Detailed Functionality

  • Folder Checks: Ensures the selected source and output folders meet the necessary conditions (non-empty source, empty destination).
  • Version Input Restriction: Only numeric inputs allowed for version number.
  • File Processing: Processes files in the source directory recursively, computes SHA256 hashes, and packages them into ZIP files.
  • Progress Tracking: Utilizes a progress bar to display progress.
  • Error Handling: Provides user alerts for issues related to folder selection or file processing.

This is the hidden content, please

File Handling and Deployment

This is the hidden content, please

Generated Files

Auto Updater Builder generates several files during its operation:

  • version.txt: Contains the version number of the package.
  • filelist.txt: Lists all files with their respective SHA256 hashes.
  • data.json: Serves the client updater with the necessary information
  • index.php: A fallback way for some hosts to serve the client updater the version.txt, filelist.txt, and data.json, acts as main page.
  • Individual .zip files for each item in the source directory, preserving the directory structure.

This is the hidden content, please

Moving Generated Files

Once the packaging process is complete, the generated files are found in the specified output folder. These files include the version.txt, filelist.txt, index.php, data.json and a zips folder containing ZIP files for each item.

To deploy these files for an update mechanism, follow these steps:

  1. Web Server Setup: Ensure you have a web server configured to serve files. In the provided code, the base URL is set as "http://127.0.0.1/updater/". Adjust this to your actual server's URL.

  2. Upload Files:

    • Upload the version.txt and filelist.txt, index.php and data.json directly to the root of the designated path on your web server (e.g.,
      This is the hidden content, please
      ).
    • Upload the contents of the zips folder to a subdirectory on your web server, named zips (e.g.,
      This is the hidden content, please
      ).
  3. Client Application Configuration:

    • The client application should be configured to check for updates from your web server. This is typically done by setting the baseURL in the application to match your web server's URL.

This is the hidden content, please

Note

Ensure that the web server's directory structure matches the expected paths set in the application code. For example, if your application expects version.txt at

This is the hidden content, please
, it should be placed accordingly on the server.


Auto Updater Builder - Automating package creation with ease and reliability.


 

This is your life, and it's ending one minute at a time.

Fight Club Film GIF by Tech Noir

Link to comment

  • Admin pinned this topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Important Information

Privacy Notice: We utilize cookies to optimize your browsing experience and analyze website traffic. By consenting, you acknowledge and agree to our Cookie Policy, ensuring your privacy preferences are respected.