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
Improve batch file to convert GOG cp437 config files to UTF-8 #3042
Conversation
As long as the script:
Then that's sufficient for inclusion in the community contribution area. No need to apologize; this is open-source, so taking the initiative to move the bar forward in an area is all that's needed. If someone else has a better implemention, then they're free to add/improve it. I've listed some test cases in the PR text body. Can you setup those scenarios and run them? Then simply click the check-box to "check" them when you've confirmed. |
The batch file can convert a single You mean this? EDIT |
If @OpenRift412 could give me some feedback, it would be helpful. |
What does this version do differently than the previous one? |
Now it has two search methods to convert conf files, and you don't have to copy the config files to the batch program folder:
I've tested it and it works but if you could give me some feedback, it would be helpful (maybe I missed something). |
With all those test cases confirmed, we're safe to merged. Then @OpenRift412 will be able to test it in the latest dev build. |
I tested it and it seems to work alright. Don't think you missed anything. I'll let you know if I run into any more problems. |
Description
Describe a summary of your changes clearly and concisely, including motivation and context.
Breaking changes need extra explanation on backward compatibility considerations.
Feel free to include additional details, but please respect the reviewer's time and keep it brief.
More "advanced" version of this: #3031
It probably could be written better but that's the best I can do, sorry.
If you want to test it, I share the complete package: conf437-utf8.zip
There is also a simpler alternative version: #3031 (comment)
If you don't like it, you can close the PR.
Manual testing
Without recursive (no
/R
):With recursion (
/R
):Same as above test, but with confs inside nested directories under the given path:
Checklist
Please tick the items as you have addressed them. Don't remove items; leave the ones that are not applicable unchecked.
I have: