-
Notifications
You must be signed in to change notification settings - Fork 11
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
[Request] Partial reading of pv_db.txt #20
Comments
It's called a mod_ db Include mod_ in the prefix of the database (Ex: Mod_pv_db.txt) |
I thought it might work with mod_pv_db.txt, but it didn’t. It seems my explanation was not understood, so I will explain the example in the main text in more detail. However, even if both mods are enabled, one of them does not work. This is because only the pv_db.txt of the mod with the higher loading priority (the one loaded last) is read. Someone knowledgeable about mods can investigate the changes in pv_db.txt for each mod and combine them, but when distributing mods on a distribution site, there are various users, so you cannot just tell them to “combine it yourself.” If both mods are created by the same author, they can simply distribute a combined mod, but if one of the mods is created by someone else, they cannot combine them without permission. Therefore, the request is to implement a feature that reflects only the relevant lines so that the translation mod is not disabled when the mod for changing recommended modules is introduced. As an example, I mentioned “pv_9999.lyric.001=” and “pv_9999.performer.0.pv_costume=” regarding lyrics and recommended modules, but ideally, other lines should also be reflected. |
This is indeed something that would be really hard to implement, but it IS doable, so I'll leave this issue open in case it gets implemented in the future. |
Currently, if you want to update the contents of pv_db.txt on the mod side, you need to include pv_db.txt in the mod folder.
However, if multiple mods contain pv_db.txt, the file of the mod with the higher loading priority will be applied.
(The mod at the top of the "priority = []" list in the DML’s config.toml)
Would it be difficult to make changes so that only the lines you want to reflect are written in pv_db_◯◯.txt (tentative file name) and only that part is overwritten?
For example, creating a lyrics translation mod that reads pv_db_◯◯.txt with only the lyric lines written like below.
pv_9999.lyric.001=abcd
pv_9999.lyric.002=efgh
pv_9999.lyric.003=ijkl
Reading a file with only the following descriptions and changing the recommended costumes for each PV on the module mod side.
pv_9999.performer.0.pv_costume=999
Please consider whether it is possible to respond.
The text was updated successfully, but these errors were encountered: