Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix exclamation points in file names breaking the patcher #38

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fix exclamation points in file names breaking the patcher #38

wants to merge 3 commits into from

Conversation

TheShadowEevee
Copy link
Collaborator

@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