Skip to content

Some CMD output changes and logging changes #1

Merged
DexalGT merged 5 commits into
mainfrom
v2
Mar 23, 2026
Merged

Some CMD output changes and logging changes #1
DexalGT merged 5 commits into
mainfrom
v2

Conversation

@DexalGT

@DexalGT DexalGT commented Mar 23, 2026

Copy link
Copy Markdown
Member

No description provided.

DexalGT added 5 commits March 23, 2026 19:31
- Enable ANSI virtual terminal on Windows for proper color support
- Replace UTF-8 symbols (✓, ✗, •, ═, →) with ASCII equivalents (=>, X, >, =, ->)
- Add batch progress indicators for folder processing
- Show [N/M] progress counter and per-file status
- Update help text to clarify auto-fix behavior
- Improve error handling in batch mode (continue on file errors)

Drag-and-drop folders now work seamlessly with colored output on Windows.
- Rebuild .fantome/.zip archives with fixed WAD files
- Create .fixed.fantome output with all non-WAD files preserved
- Add 'Press any key to continue' prompt before exit (except JSON mode)
- Track fixed WAD paths and replace them in the archive
- Preserve original compression methods and file permissions

Fantome files are now properly modified with fix timestamp updated.
- Add filter_bin_fixes() to exclude WAD-level operations from BIN pipeline
- Prevents 'Fix rule not found' errors for bnk_remover, anm_remover, dds_to_tex
- WAD-level fixes: bnk_remover, anm_remover, dds_to_tex (file operations)
- BIN-level fixes: all others (property tree modifications)

Fixes error spam when processing files with all fixes enabled.
- Normal mode: clean output (INFO only), no debug spam
- Verbose mode (-v verbose): show DEBUG logs with timestamps
- Trace mode (-v trace): show TRACE logs for deep debugging
- Quiet mode (-v quiet): errors only

Changes:
- Remove timestamps in normal mode for cleaner output
- Demote chatty logs to DEBUG level (hash loading, file processing steps)
- Only show important INFO logs: 'Saved: <file>' messages
- Update help text to clarify verbosity levels

Before: 50+ lines of debug spam
After: ~10 lines of clean, colored output
- Update README with new features and CLI flags
- Add check mode, animation remover, shader fallback, entry validation
- Update test count to 84 passing tests
- Improve feature list with Windows CMD optimization and batch processing
- Update CLI reference with all new flags
@DexalGT DexalGT merged commit a9d0b3d into main Mar 23, 2026
1 of 2 checks passed
@DexalGT DexalGT deleted the v2 branch March 23, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant