Skip to content

Releases: Tibbee/Lotd

Lotd-v2.1

09 Nov 12:50

Choose a tag to compare

Improve game detection and add configuration fallback

This commit introduces a more robust system for detecting game installations and provides a fallback mechanism for users, improving the application's reliability and user experience.

Key changes include:

  • Refactored the game installation detection logic to be more resilient. It now verifies the actual game version in a found directory by checking for specific data files (e.g.,
    YGO_DATA.dat vs. YGO_2020.dat).
  • Added a new ConfigForm that allows users to manually specify the game's installation and save file paths if automatic detection fails. This configuration is saved to a config.ini.
  • Implemented an in-memory cache for installation directories to prevent redundant, slow disk and registry lookups during a single application session.
  • Added a FormClosing event to the main DuelStarterForm to reset the game's screen state to the main menu on exit, ensuring a cleaner shutdown.

Lotd-v2

25 Oct 10:19

Choose a tag to compare

Lotd Tool v2 - Modernized Build & Enhanced Duel Starter

Release Date: October 25, 2025

This release modernizes the build system to SDK-style .NET while preserving .NET Framework 4.5 compatibility. It introduces configurable paths via config.ini, improved game version detection, and new features in the Duel Starter UI for folder-based deck loading and randomization. Backward compatibility is maintained—no breaking changes to existing functionality.

What's New

Build System Overhaul

  • SDK-Style Project Migration: Converted to modern SDK-style .csproj for easier building with .NET SDK 8.0+ (via Microsoft.NETFramework.ReferenceAssemblies.net45 NuGet). Supports x64 (recommended) and x86 builds.
    • Build via CLI: dotnet build -c Release -f net45 -p:Platform=x64.
    • Updated .sln for Visual Studio 2022 (v17).
    • Retained unsafe code support and manifest for admin elevation.
  • Updated .gitignore: Added .github/ and .vscode/ for cleaner repos.

Configuration Support

  • INI Overrides: Added config.ini (in exe dir) for custom paths.
    • InstallDirectory: Override game install detection (e.g., non-Steam setups).
    • SaveFilePath: Override save file location (supports env vars like %APPDATA%).
  • Robust Detection: Scans Steam dirs, verifies versions via core files (YGO_DATA.dat/toc for LOTD, YGO_2020.dat/toc for LE). Invalid paths now warn gracefully.

Duel Starter Enhancements

  • Folder Decks: New "Folder" option in deck type dropdown. Select a dir via "Change Folder" button to load .ydl/.ydk files (root-level only; skips invalid files).
  • Deck Randomization: New "Randomize Deck" checkbox. Auto-assigns random valid decks to cleared/randomized slots at duel start (respects manual sets; requires 2+ decks).
    • Fallback to first valid deck if randomization fails.
    • "Clear" button resets slots and flags for re-randomization.
  • UI Polish: Wider decks panel, dynamic button visibility/text for folder mode.

Other Fixes

  • Minor: Added newlines in designer files; improved path normalization (trims quotes, handles relative/absolute).

Installation & Usage

  1. Build with .NET SDK (see README for details).
  2. Place config.ini in the exe dir if overriding paths.
  3. Run as admin for memory tools.

Known Issues

  • Speed multiplier still experimental—avoid reapplying across sessions.
  • Folder decks: No subfolder scanning (future?).