How lambor590/half-sword-enhancer works
Half Sword Enhancer combines an optional Windows launcher with an in-game mod. The launcher detects the game, installs or updates the appropriate artifacts, and can start the game. In-game, users open and search a menu to edit player/world settings, spawn content, customize equipment, and configure shortcuts, appearance, and texture overrides. The graph keeps those product areas distinct. Some feature links are documented by the README; source excerpts and the index show only selected implementation relationships, so unsampled wiring is not inferred.
Main entry points: MenuManager.cpp Menu manager · Main.cpp Launcher app · UpdateManager.cpp Updates · GameHook.h Game hooks
Components 23
Launcher
- Launcher app
Launcher/src/Main.cpp - Game discovery
Launcher/src/SteamLocator.cpp - Updates
Launcher/src/UpdateManager.cpp - Downloads
Launcher/src/NetworkManager.cpp - Package cache
Launcher/src/PackageCache.cpp - Installation
Launcher/src/InstallManager.cpp
Mod runtime
- Mod entry points
Proxy/src/DllMain.cpp - UE4SS entry
UE4SSBridge/src/DllMain.cpp - Mod lifecycle
Mod/src/Core/ModRuntimeLifecycle.cpp - Game hooks
Mod/include/Hooks/GameHook.h - Unreal game SDK
Mod/SDK/SDK/Basic.hpp
In-game menu
- Menu manager
Mod/src/MenuManager.cpp - Settings and presets
Mod/src/ConfigManager.cpp - Shortcuts
Mod/src/KeybindManager.cpp - Notifications
Mod/src/NotificationManager.cpp
Game features
- Player editing
Mod/src/Sections/SaveEditorSection.cpp - World and camera
Mod/src/FreeCameraManager.cpp - Spawn and equipment
Mod/src/Sections/LoadoutManagerSection.cpp - Weapon editor
Mod/src/Sections/WeaponEditorSection.cpp - Texture overrides
Mod/src/AssetOverrideManager.cpp - Free camera manager
Mod/src/FreeCameraManager.cpp
Other components
- Player
- Half Sword
Connections 29
- Player → Launcher app: runs optionally
README.md - Launcher app → Game discovery: finds game
- Launcher app → Updates: checks updates
- Updates → Downloads: downloads package
Launcher/src/UpdateManager.cpp - Updates → Package cache: caches package
Launcher/src/UpdateManager.cpp - Updates → Installation: installs package
Launcher/src/UpdateManager.cpp - Installation → Half Sword: installs artifacts
- Launcher app → Half Sword: starts game
- Player → Half Sword: starts through Steam
README.md - Half Sword → Mod entry points: loads mod
README.md - Half Sword → UE4SS entry: loads via UE4SS
README.md - Mod entry points → Mod lifecycle: initializes
- UE4SS entry → Mod lifecycle: initializes
- Player → Menu manager: opens and searches
README.md - Menu manager → Settings and presets: loads settings
Mod/src/MenuManager.cpp - Menu manager → Shortcuts: uses shortcuts
Mod/src/MenuManager.cpp - Menu manager → Notifications: shows notifications
Mod/src/MenuManager.cpp - Menu manager → Player editing: offers editing
- Menu manager → World and camera: offers world tools
- Menu manager → Spawn and equipment: offers equipment
- Menu manager → Weapon editor: offers weapon editing
- Menu manager → Texture overrides: offers overrides
- Player → Free camera manager: controls camera
README.md - Mod lifecycle → Game hooks: uses hooks
- Texture overrides → Game hooks: registers hooks
Mod/src/AssetOverrideManager.cpp - World and camera → Game hooks: uses hooks
Mod/src/FreeCameraManager.cpp - Spawn and equipment → Game hooks: queues game actions
Mod/src/Sections/LoadoutManagerSection.cpp - World and camera → Unreal game SDK: uses SDK types
Mod/src/FreeCameraManager.cpp - Spawn and equipment → Unreal game SDK: uses SDK types
Mod/src/Sections/LoadoutManagerSection.cpp