JonathanTroyer / Progress-Renderer

A mod for Rimworld. Automatically create scheduled renderings of the full map or only a chosen part of it.
GNU Lesser General Public License v3.0
2 stars 4 forks source link

Exported Image Encoding (PNG) does not survive restarts (after recent update) #26

Closed tannernewell closed 4 months ago

tannernewell commented 9 months ago

I set the Exported Image Encoding to "PNG (Unity)", but the Exported Image Encoding reverts to (default) "JPG (Unity)" after relaunching RimWorld. Deleted my configuration file and reproduced the issue with only Harmony, RimWorld + DLCs, and Progress Renderer active.

Looks like this was caused by a change in the recent (Oct. 12) update, since my images saved as PNGs on Oct. 11 and JPGs on Oct. 12. And to be fair, everything works fine when I manually change the setting to PNG... it just doesn't persist when I relaunch RimWorld.

Here's the configuration file... which leads me to believe that the exported image encoding is not saved anywhere (anymore?)?


<SettingsBlock>
    <ModSettings Class="ProgressRenderer.PRModSettings">
        <renderZones>False</renderZones>
        <timeOfDay>12</timeOfDay>
        <pixelsPerCell>8</pixelsPerCell>
        <createSubdirs>True</createSubdirs>
        <migratedOutputImageSettings>True</migratedOutputImageSettings>
        <migratedInterval>True</migratedInterval>
    </ModSettings>
</SettingsBlock>
TheVillageGuy commented 8 months ago

Ok that must be a config saving bug, I'll look into it asap. I'm sorry for not noticing it earlier, it must have slipped through all the notification mails I was getting