Skip to content

Fix exclamation points in file names breaking the patcher#38

Open
TheShadowEevee wants to merge 3 commits intoKcrPL:masterfrom
TheShadowEevee:master
Open

Fix exclamation points in file names breaking the patcher#38
TheShadowEevee wants to merge 3 commits intoKcrPL:masterfrom
TheShadowEevee:master

Conversation

@TheShadowEevee
Copy link
Copy Markdown
Contributor

@TheShadowEevee TheShadowEevee commented Mar 13, 2021

PR Desc: Fix exclamation points in file names breaking the patcher

Fixes #28

Problem:
A fairly long standing bug where the patcher breaks with exclamation points due to having ENABLEDELAYEDEXPANSION set in the patcher for the file counter has been known, and I've been trying to fix it for a few hours now. I have found no other special characters that exhibit this behavior, but if another shows up it will only take one line to fix.

Solution:
After some tinkering, I figured out that we are able to move the ENABLEDELAYEDEXPANSION setlocal call to right before it's needed in the patcher, and before that run a few commands to remove exclamation points from the file names of anything matching *.wad in the patcher's folder.

Operating Systems Edited: WINDOWS

@TheShadowEevee TheShadowEevee changed the title Testing Needed: Fix exclamation points in file names breaking the patcher Fix exclamation points in file names breaking the patcher May 4, 2021
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.

File names with special characters such as "!" make the program crash.

1 participant