Skip to content

Latest commit

 

History

History
143 lines (102 loc) · 4.22 KB

GameManager.md

File metadata and controls

143 lines (102 loc) · 4.22 KB

GameManager

繁體中文 | 简体中文

User Guide

Manual Add Game

There are three ways to add a new game:

  1. Add From Local

    • Click the Add button.
    • Select Add From Local.
    • Select the executable (exe) file.
  2. Add From Archive

    • Click the Add button.
    • Select Add From Archive.
    • Select the archive file.
    • Set the target library and game path.
    • The archive file will be extracted to the target library/game path folder.
  3. Install Game

    • Install ProcessTracer from the tools page.
    • Click the Add button.
    • Click Install Game.
    • Choose whether to use Locale-Emulator or not.
    • Select the installation file.
    • Complete the installation procedure.

Auto Scan Game

  • Add a folder to the Library, then click the Scan button.
  • The program will scan up to 8 levels of subdirectories inside the Library folders until it finds an exe file.

Integrate Locale Emulator

There are two ways to integrate Locale Emulator:

  1. Integrate Locale Emulator with Installation

    • Set up the Locale Emulator Path in the Settings page.
    • Click Edit in the Game page.
    • Select the LE Config setting to use Locale Emulator with the game.
  2. Integrate Locale Emulator without Installation

    • Go to the Tools page.
    • Click Download for the Locale-Emulator tool.
    • If the Locale Emulator Path in the Settings page is not set, it will be automatically configured after downloading the tool.
    • Click Edit in the Game page.
    • Select the LE Config setting to use Locale Emulator with the game.

Integrate Sandboxie-Plus

  • Set up the Sandboxie-Plus location in the Settings page.
  • Click Edit.
  • Enable the option Run with Sandboxie.
  • Edit the Box Name field to specify your target Sandboxie box name.

Integrate VNGTTranslator

  • Go to the tools page
  • Click download (if not installed)
  • Go to the game edit page
  • Check RunWithVNGTTranslator

Integrate Your Custom Tools

  • Go to the tools page

  • Click Open Tools Folder

  • Put your program in the folder with the following structure (the execution file name should be the same as the folder name) or put conf.vngt.yaml to specify the tool name and execution path:

    tools\
        your-custom-tool\
            your-custom-tool.exe

    or

    Name: your-custom-tool-name
    ExeName: path-to-your-custom-tool # relative to tools/your-custom-tool folder
    RunAsAdmin: true

Backup and restore save file

Backup

  • Set the save file location in the game information editor.
  • Open the menu on the game info by clicking .
  • Click MANAGE SAVE.
  • Click SAVE BACKUP.
  • The save file will be backed up to the save file location, using the date as the archive name.

Restore

  • Set the save file location in the game information editor.
  • Open the menu on the game info by clicking .
  • Click MANAGE SAVE.
  • Click SAVE RESTORE.
  • Select a date to restore. Be careful, as this action will replace the original data.

Develop

Requirement

  • Install dotnet-ef by using dotnet tool install --global dotnet-ef

Database Model Change

using following command , if need detail message , the command can add --verbose

for add migration

dotnet ef migrations add {MigrationName} --project .\GameManager.DB --startup-project .\GameManager.DB.Migrator

for remove migration

dotnet ef migrations remove --project .\GameManager.DB --startup-project .\GameManager.DB.Migrator