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

[RAPT 8.1.3] keeplist & blocklist in Windows #122

Open
zyowo opened this issue Mar 4, 2024 · 0 comments
Open

[RAPT 8.1.3] keeplist & blocklist in Windows #122

zyowo opened this issue Mar 4, 2024 · 0 comments

Comments

@zyowo
Copy link

zyowo commented Mar 4, 2024

I've recently been working on RAPT's keeplist.txt and blacklist.txt, which convert pattern strings into regular expressions based on specific rules. However, the path obtained by using os.path.join under Windows contains backslashes

D:\Program Files\renpy-8.1.3-sdk\rapt\project/app/src/main/assets\game\tl\tchinese\script.rpyc
D:\Program Files\renpy-8.1.3-sdk\rapt\project/app/src/main/assets\game\tl\ukrainian\options.rpyc
D:\Program Files\renpy-8.1.3-sdk\rapt\project/app/src/main/assets\game\tl\ukrainian\screens.rpyc
D:\Program Files\renpy-8.1.3-sdk\rapt\project/app/src/main/assets\game\tl\ukrainian\common.rpyc
D:\Program Files\renpy-8.1.3-sdk\rapt\project/app/src/main/assets\game\tl\ukrainian\script.rpyc
D:\Program Files\renpy-8.1.3-sdk\rapt\project/app/src/main/assets\game\tl\ukrainian
D:\Program Files\renpy-8.1.3-sdk\rapt\project/app/src/main/assets\game\tl\japanese
D:\Program Files\renpy-8.1.3-sdk\rapt\project/app/src/main/assets\game\tl\schinese
D:\Program Files\renpy-8.1.3-sdk\rapt\project/app/src/main/assets\game\tl\tchinese
D:\Program Files\renpy-8.1.3-sdk\rapt\project/app/src/main/assets\game\tl\russian

which will cause problems for regex matching.

For example, if I want to block the game/dlc/chapter40 folder, directly filling in blocklist.txt will not match. I can only use the wildcard writing method of game**dlc**chapter40.

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

No branches or pull requests

1 participant