Skip to content

[RAPT 8.1.3] keeplist & blocklist in Windows #122

Description

@zyowo

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions