Skip to content

'Replace' files/folders instead of 'Merging'? #92

Open

Description

@PolarizedIons

Sort-of a question, sort-of a feature request:

I would like to use this library for our own Portal 2 mod loader, but would like to essentially hide a real dir/file completely from the game, and instead show only the content of a mapped folder.

Is this doable with the current version? Or would this be a feature request?

I did see mention of virtual 'deletes' in the usvfs.h file comment, right at the top, but couldn't find a method for it.

Thank you!

Activity

  1. Silarn commented on May 10, 2026

    @Silarn
    Member

    I didn't think it's designed to do this yet but there are other scenarios this could be useful like profile saves. (The way it's currently done is to specify a different download directory and then virtualize that location, which has pitfalls and drawbacks, since not all games let you do that.)

    So this is a config option we should consider.

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