Only lowercase filenames accepted

Author: Perkins
Date: Apr 11, 2016 9:55 PM
Category: Xi'Chung Bug Hunt
Posts: 3
So the game I'm autohosting has a title case name, which pbw refuses to accept. This hasn't been a problem for me before, since the linux autohost script happily converts the filename to lowercase when it packages it for upload, but I've now got autohost running in a vm and it's failing to upload the archive. Since se5 is case-agnostic, could we make pbw do the conversion to lowercase?


Commenter: Fyron
Date: Apr 13, 2016 11:07 AM
Only lowercase filenames accepted
If you rename your save file name to all lower-case, does SE5 re-write it to an uppercase value when processing the turn and writing the new file?
Commenter: Perkins
Date: Apr 14, 2016 7:49 PM
Only lowercase filenames accepted
Yes, se5 remembers the filename originally specified when creating the game and always writes the new turn into that name. It might not if the lowercase version exists already on a case-insenstive filesystem, but since autohost downloads the savegame to a scratch folder and se5 outputs the savegame into $se5/Savegame... I just tested, if I create the savegame with a lower-case name in the output folder on NTFS and it seems to just overwrite that rather than renaming it to upper-case so that at least works around the problem.