Workshop code doesn't replace files between the base game or other mods #7
Labels
No Label
bug
Critical Priority
duplicate
enhancement
help wanted
High Priority
invalid
Low Priority
Medium Priority
Meta
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Cavemanon/IWaniHugThatGator-Demo-Public#7
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For any mod that has a file that has the same file path and filename as one from the base game, or even other mods, Ren'Py will try to index all files and then complain about similar files such as images that are auto-namespaced in the images directory.
This makes it pretty inconvenient to do meaningful or simple mods, especially compromising on compatibility. Ideally mods should be able to overwrite files as intuition would expect, but I don't know how to do this or if it's even possible without massively complicating the build patch.
Interestingly though, images thrown into the "tl" directory do replace images in the base game without issues - even when an image directly calls from the normal "images" directory, if there's a file of the same filepath and file name in the "tl" directory it will replace that. The
load
function inrenpy/loader.py
in the renpy source code might be responsible for handling that. See if it can be useful for making file hierarchy a reality for workshop mods.