07th-mod / higurashi-assembly

9 stars 8 forks source link

Game does not re-compile Scripts if they have an older date modified #85

Closed drojf closed 1 year ago

drojf commented 2 years ago

Right now the engine uses the date modified of the scripts to determine whether to re-compile them. This works most of the time, but if you are updating scripts from an archive which is older than the existing scripts, the game might not compile scripts automatically. This would happen often with translations, whose archives may be older than our mod's archives.

It would be better to keep a hash of each script file somewhere, and also do a recompile if the hash has changed, or otherwise have another method to detect changes (in addition to the current date-modified method).

drojf commented 1 year ago

This should now be live in all chapters except console arcs, see https://github.com/07th-mod/higurashi-assembly/pull/86 for details