Skip to content

Windows WPF GUI for Touhou 3rd-party .t3pp patches, featuring directory/file patching, patch generation via xdelta3, and CRC32/MD5/SHA1 checks

License

Notifications You must be signed in to change notification settings

Hoshiruna/T3PP_PatchGUI_lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

T3PP_PatchGUIlite

CI

logo

About

Windows WPF frontend for Touhou 3rd-party Patch (.t3pp) packages.

Get the full version: Here

Features

  • Apply .t3pp patches to a directory or single file with hash readout.
  • Generate .t3pp patches from old/new directories or files using T3ppNativelite_lib.
  • View native log output to troubleshoot patching.
  • Language toggle (Simplified Chinese default, English included).

Requirements

  • Windows, .NET 8 SDK (desktop workload) to build; .NET 8 Desktop Runtime to run.
  • Visual Studio 2022 (optional) for WPF; C++ workload only if building the native helper.
  • Native helper: prebuilt T3ppNativelite_Debug_x64.dll / T3ppNativelite_Release_x64.dll live in PatchGUIlite/ or build them from T3ppNativeLite/.

Build

WPF app only (uses prebuilt native DLLs)

dotnet restore PatchGUIlite/PatchGUIlite.csproj
dotnet build   PatchGUIlite/PatchGUIlite.csproj -c Debug
dotnet build   PatchGUIlite/PatchGUIlite.csproj -c Release

Native helper (optional)

msbuild T3ppNativeLite/T3ppNativeLite.vcxproj /m /p:Configuration=Release /p:Platform=x64

Run

  • Debug: PatchGUIlite/bin/Debug/net8.0-windows7.0/PatchGUIlite.exe
  • Release: PatchGUIlite/bin/Release/net8.0-windows7.0/PatchGUIlite.exe

Keep alongside the executable:

  • PatchGUIlite.dll, PatchGUIlite.deps.json, PatchGUIlite.runtimeconfig.json
  • T3ppNativelite_Debug_x64.dll (Debug) or T3ppNativelite_Release_x64.dll (Release)
  • lang/ (zh_CN.json, en_US.json)

Publish (self-contained)

dotnet publish PatchGUIlite/PatchGUIlite.csproj -c Release -r win-x64 --self-contained true /p:PublishSingleFile=true

Output: PatchGUIlite/bin/Release/net8.0-windows7.0/win-x64/publish/PatchGUIlite.exe

Usage

Apply a patch

  1. Choose target mode (directory/file).
  2. Pick target.
  3. Pick .t3pp file.
  4. Click Apply Patch; watch logs in the console area.

Generate a patch

  1. Choose mode (file/directory).
  2. Pick Original and Modified sources.
  3. (Optional) keep Pack directory enabled to bundle outputs.
  4. Click Generate Patch to produce a .t3pp.

Localization

Language files live in PatchGUIlite/lang/*.json. Add a new JSON and wire it into the selector in MainWindow.xaml / code-behind.

Notes

  • Advantages over raw xdelta: bundles multiple files, embeds hashes/sizes, supports encrypted payloads, and can fall back to full-file data when delta is unsafe or unnecessary.

About

Windows WPF GUI for Touhou 3rd-party .t3pp patches, featuring directory/file patching, patch generation via xdelta3, and CRC32/MD5/SHA1 checks

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages