Twine offline Story Formats keep resetting to default

Please specify version and format if asking for help, or apply optional tags above:
Twine Version: 2.3.9 offline
Story Format: any

I’m not sure if this is a legitimate bug to report on the Twine github, or if it is just me, so figured I’d start here. Is this a bug or am I doing something crazy?

I installed the 2.3.9 version of Twine onto my Windows 10 desktop two days ago.

I have used the below steps 1-6 without a problem on the online Twinery version. So I’m hoping that means it’s not just me.

Steps:

  1. Installed Twine offline installer to default path.
  2. Got the latest SugarCube online from the docs here.
  3. Got the link to the Illume online format.js
  4. Fire up Twine
  5. Open Formats and add the path to the the SugarCube link. It installs without a problem and I set it to use it as the default.
  6. I then add the Illume. It installs without a problem. I set it to the default.
  7. I got into my story, and ensure the 2.33.1 is selected for the format.
  8. I exit out of Twine. When I look at the story-formats.json in my profile, it looks great. Note: See modified-story-formats.json, in the zip attached
  9. I fire up Twine again and exit out.
  10. Next time I start up Twine, SugarCube is back to 2.31.1, 2.33.1 is gone and Illume is no longer listed. I open the story-formats.json and the array looks like it might be broken, with an odd 2.31.1 entry added after the array is closed. Note: See broken-story-formats.json, attached in the zip. To me it looks like the array is broken when it tries to insert 2.31.1 back onto the list after it was replaced in step 5.
  11. Then the next time it starts, the JSON is reverted back to the default that was there after a fresh install.

From that point on, the story-formats.json seems to be reset back to default and I no longer see my two added formats.

I then tried downloading both and installing using the file:/// and it has the exact same issue, where it disappears eventually. I also tried setting the story-formats.json to read-only once I got the modified copy, and that doesn’t prevent it either.

story-format files.zip (1.5 KB)

clarification: There are two ‘offline’ variations of the Twine 2.x application:

  1. The install-able ‘Desktop’ release.
  2. A downloadable copy of the ‘Web-browser’ based release that can be run locally.

The installable version, sorry. :slight_smile:

When you say you “add the path to the SugarCube link”, what specifically are you doing? What does the path look like?

What I tend to do is:

  1. Put the SugarCube files where I want them to be on my computer.
  2. Open a new empty tab in my browser.
  3. Drag the “format.js” file from that directory to that browser window.
  4. Copy the URL at the top of the page.
  5. Paste that URL into Twine in the “Add a New Format” window and click “+Add”.

After that, it should work fine.

My path looks like this:

file:///C:/Program%20Files%20(x86)/Twine%202/SugarCube/format.js

If you aren’t using a path like that, then that could be the problem.

Hope that helps! :grinning:

I’ve tried it with both the online version and the downloaded version of the files. I have the online Twinery version set up using the online files and they are both working perfectly.

Online format URL:

For my PC, it’s Windows 10 and I have my user profile stored on a second drive (hence the D). I created a subfolder under Twine where the stories are kept to keep everything together. The single ticks are not there, and all files within the zips are located together.

  • Sugarcube: file:///D:/Profile/Documents/Twine/StoryFormats/sugarcube-2.33.0/format.js
  • Illume: file:///D:/Profile/Documents/Twine/StoryFormats/illume-1.0.5/format.js

For SugarCube, you should be downloading the recommended release from the main SugarCube v2 page (in the “Downloads” section).

Also, if you want to take a look at the source or submit an issue, here’s the SugarCube v2 GitHub page.

Hopefully that does the trick! :grinning:

That was the site where I got the offline version.

In the documentation, there is directions for the online install, which was my other attempt when the offline stopped working. https://www.motoslave.net/sugarcube/2/docs/#guide-installation-twine2-online

I thought I had downloaded the right versions, but I’ll redownload them all to make sure Upgrading to 2.33.1 won’t be a bad idea anyways.

You originally said you were using the offline version of the Twine editor, but then you said that you had gotten the SugarCube “format.js” file for the online version of Twine.

I just wanted to make sure that, if you’re using the offline version of the Twine editor, then you’re using the offline version of the SugarCube “format.js” file in that instead.

Sorry for the confusion on that part. First I tried using the offline download, then when that one lost it I tried the online version just in case. Then when both were having issues I was trying both.

I re-downloaded the program and the storyformats and both seem to be working now. So must have been something that got corrupted in the first install I guess.

Thanks for the assistance!

Edit: And as soon as I start to edit my game, it’s story format is 2.31.1. Going back to the home screen the default format is 2.31.1 and 2.33.1 is no longer listed. I have no idea what to try now.

I started the installed Twine up this morning, and 2.33.1 was not listed. But the default 2.31.1 was listed.

I switched over to check some emails and left it running. When I switched back a couple of minutes later, 2.33.1 was showing up and 2.31.1 was gone.

Perhaps it just needs time to settle after starting up?

Here is the contents of my %appdata%/Twine/story-formats.json after I add the updated 2.33.1 SugarCube.

It only seems to happen for SugarCube. I’ve added Poof and Illume without updating SugarCube, using the offline downloads, and they stay without a problem. But if I add SugarCube it blows everything away including Illume and Poof. Starting from a fresh install, you can see what I did below.

The path to the files is the path to my user profile, and the story-formats folder is co-located with the Twine Stories and Backups folders. For the Sugarcube, all 3 files in the zip are co-located in the path with no other files present.

The below is what I see after adding SugarCube2 format and exiting. These are added through the Add Formats GUI, and not directly into the JSON.

{
"0":{"id":"d48ca6dc-24ea-40c1-97cd-04d8a6696562","name":"Chapbook","url":"story-formats/chapbook-1.2.0/format.js","userAdded":false,"version":"1.1.0"},
"1":{"id":"34eaa1c3-c075-47fe-8a44-f4da8ff4d3e9","name":"Harlowe","url":"story-formats/harlowe-1.2.4/format.js","userAdded":false,"version":"1.2.4"},
"2":{"id":"052793b1-2765-423a-bdbf-35d48f56d6be","name":"Harlowe","url":"story-formats/harlowe-2.1.0/format.js","userAdded":false,"version":"2.1.0"},
"3":{"id":"a1684171-8a88-49d9-9c4e-b6f44fde3c9a","name":"Harlowe","url":"story-formats/harlowe-3.1.0/format.js","userAdded":false,"version":"3.1.0"},
"4":{"id":"f3319282-8cd4-41bf-a9e0-a97be1c8e863","name":"Paperthin","url":"story-formats/paperthin-1.0.0/format.js","userAdded":false,"version":"1.0.0"},
"5":{"id":"316b09c2-937f-4cb8-ab4f-fcd03501dafc","name":"Snowman","url":"story-formats/snowman-1.4.0/format.js","userAdded":false,"version":"1.4.0"},
"6":{"id":"91c37d4f-6f98-479b-8d76-2052d996e3ca","name":"Snowman","url":"story-formats/snowman-2.0.2/format.js","userAdded":false,"version":"2.0.2"},
"7":{"id":"72e209ce-4416-4f36-9658-f435cb2d2293","name":"SugarCube","url":"story-formats/sugarcube-1.0.35/format.js","userAdded":false,"version":"1.0.35"},
"8":{"id":"1710629d-b64c-4d2a-9826-ebd8b2988436","name":"SugarCube","url":"story-formats/sugarcube-2.31.1/format.js","userAdded":false,"version":"2.31.1"},
"9":{"id":"ef73072d-1820-4a8d-9aad-d9cd09b6baf7","name":"SugarCube","url":"file:///D:/Profile/Documents/Twine/StoryFormats/sugarcube-2/format.js","userAdded":true,"version":"2.33.1"}
}

All looks good so far.

After restarting the application and letting it sit for a few minutes I exit out of it. The story-formats.json now looks like the below. As you can see there are a couple of modifications made. Element 8 is removed, and 9 becomes 8. Then a new 9 is added, but it’s outside the array. I suspect it’s whatever made this change that is causing the break.

{
"0":{"id":"4cac1dfd-0bda-4e3f-9f80-38b7ade4c118","name":"Chapbook","url":"story-formats/chapbook-1.2.0/format.js","userAdded":false,"version":"1.1.0"},
"1":{"id":"8df3e1b8-ac4f-4e1f-b752-6badbbdaf790","name":"Harlowe","url":"story-formats/harlowe-1.2.4/format.js","userAdded":false,"version":"1.2.4"},
"2":{"id":"67fad8f5-7520-4b64-a731-96b049f11537","name":"Harlowe","url":"story-formats/harlowe-2.1.0/format.js","userAdded":false,"version":"2.1.0"},
"3":{"id":"22169c04-6e35-4a10-9ce9-c2b706d17897","name":"Harlowe","url":"story-formats/harlowe-3.1.0/format.js","userAdded":false,"version":"3.1.0"},
"4":{"id":"a48ceff3-6a3f-4666-a792-0fd3f733a8e4","name":"Paperthin","url":"story-formats/paperthin-1.0.0/format.js","userAdded":false,"version":"1.0.0"},
"5":{"id":"59cd0371-c80d-4125-9189-fb87de38ae94","name":"Snowman","url":"story-formats/snowman-1.4.0/format.js","userAdded":false,"version":"1.4.0"},
"6":{"id":"5644fe80-5ac0-4e89-b4d1-aeec923addc3","name":"Snowman","url":"story-formats/snowman-2.0.2/format.js","userAdded":false,"version":"2.0.2"},
"7":{"id":"6451ff64-8a7f-47c1-8556-fb42b1ed6a0e","name":"SugarCube","url":"story-formats/sugarcube-1.0.35/format.js","userAdded":false,"version":"1.0.35"},
"8":{"id":"b906cb32-3260-41e5-8b0e-b51137a4ea75","name":"SugarCube","url":"file:///D:/Profile/Documents/Twine/StoryFormats/sugarcube-2/format.js","userAdded":true,"version":"2.33.1"}
}
9":{"id":"6646049b-696b-4e41-9388-7317aad97345","name":"SugarCube","url":"story-formats/sugarcube-2.31.1/format.js","userAdded":false,"version":"2.31.1"}
}

The next time I run the application the defaults are back and anything added is gone.

{
"0":{"id":"8519c0d6-9697-4f5a-be18-edb5ba78f393","name":"Chapbook","url":"story-formats/chapbook-1.2.0/format.js","userAdded":false,"version":"1.1.0"},
"1":{"id":"4ae54390-995e-43f1-b1fb-c18aa319ee98","name":"Harlowe","url":"story-formats/harlowe-1.2.4/format.js","userAdded":false,"version":"1.2.4"},
"2":{"id":"5d131d8b-5ce7-4787-a912-8b91b8126591","name":"Harlowe","url":"story-formats/harlowe-2.1.0/format.js","userAdded":false,"version":"2.1.0"},
"3":{"id":"87ad6c4b-4a43-4250-9361-2ab030a96ba0","name":"Harlowe","url":"story-formats/harlowe-3.1.0/format.js","userAdded":false,"version":"3.1.0"},
"4":{"id":"78b20bc5-d2fd-4b28-b8cd-f5bb70423b47","name":"Paperthin","url":"story-formats/paperthin-1.0.0/format.js","userAdded":false,"version":"1.0.0"},
"5":{"id":"c07fd285-469d-4b33-9326-bd5946798456","name":"Snowman","url":"story-formats/snowman-1.4.0/format.js","userAdded":false,"version":"1.4.0"},
"6":{"id":"bbcdd861-96f3-4c0c-8728-2f443211ed9f","name":"Snowman","url":"story-formats/snowman-2.0.2/format.js","userAdded":false,"version":"2.0.2"},
"7":{"id":"827c35f5-bb48-4485-b93f-ba160fb37d11","name":"SugarCube","url":"story-formats/sugarcube-1.0.35/format.js","userAdded":false,"version":"1.0.35"},
"8":{"id":"8ea256ef-1959-4f8d-b185-80ea3da52a45","name":"SugarCube","url":"story-formats/sugarcube-2.31.1/format.js","userAdded":false,"version":"2.31.1"},
}

Weird. None of those are correct, since they either have two SugarCube v2.x entries or no v2.33.1 entry. The second one comes closest to being correct. It should be like this (minus the line breaks):

{
"0":{"id":"4cac1dfd-0bda-4e3f-9f80-38b7ade4c118","name":"Chapbook","url":"story-formats/chapbook-1.2.0/format.js","userAdded":false,"version":"1.1.0"},
"1":{"id":"8df3e1b8-ac4f-4e1f-b752-6badbbdaf790","name":"Harlowe","url":"story-formats/harlowe-1.2.4/format.js","userAdded":false,"version":"1.2.4"},
"2":{"id":"67fad8f5-7520-4b64-a731-96b049f11537","name":"Harlowe","url":"story-formats/harlowe-2.1.0/format.js","userAdded":false,"version":"2.1.0"},
"3":{"id":"22169c04-6e35-4a10-9ce9-c2b706d17897","name":"Harlowe","url":"story-formats/harlowe-3.1.0/format.js","userAdded":false,"version":"3.1.0"},
"4":{"id":"a48ceff3-6a3f-4666-a792-0fd3f733a8e4","name":"Paperthin","url":"story-formats/paperthin-1.0.0/format.js","userAdded":false,"version":"1.0.0"},
"5":{"id":"59cd0371-c80d-4125-9189-fb87de38ae94","name":"Snowman","url":"story-formats/snowman-1.4.0/format.js","userAdded":false,"version":"1.4.0"},
"6":{"id":"5644fe80-5ac0-4e89-b4d1-aeec923addc3","name":"Snowman","url":"story-formats/snowman-2.0.2/format.js","userAdded":false,"version":"2.0.2"},
"7":{"id":"6451ff64-8a7f-47c1-8556-fb42b1ed6a0e","name":"SugarCube","url":"story-formats/sugarcube-1.0.35/format.js","userAdded":false,"version":"1.0.35"},
"8":{"id":"b906cb32-3260-41e5-8b0e-b51137a4ea75","name":"SugarCube","url":"file:///D:/Profile/Documents/Twine/StoryFormats/sugarcube-2/format.js","userAdded":true,"version":"2.33.1"}
}

Try closing Twine, manually make the “story-formats.json” file look like that, then run some tests with Twine to see if that works correctly. If it doesn’t, try changing Chapbook to have "version":"1.2.0".

Let us know how that works (or doesn’t work).

Just to make sure I’m working with the right file, I went to Twinery.org on August 3rd and picked the ‘Download 2.3.9’ link which initiated a download at the following URL: https://github.com/klembot/twinejs/releases/download/2.3.9/twine_2.3.9_win.exe. The application is installed on my C drive (SSD), and my user profile resides on my D drive (HDD).

I replaced the story-formats it with your suggested set up, removing the line breaks (I added them into mine for ease of reading). When I started Twine the Formats had 23.3 selected. When I exited out, it looked like the below, (I re-entered the line breaks):

{
"0":{"id":"a348e222-fa74-480b-b7fa-6953cb65c49e","name":"Chapbook","url":"story-formats/chapbook-1.2.0/format.js","userAdded":false,"version":"1.1.0"},
"1":{"id":"f378e464-8af4-4b68-9421-2b47f649dbd3","name":"Harlowe","url":"story-formats/harlowe-1.2.4/format.js","userAdded":false,"version":"1.2.4"},
"2":{"id":"123261cd-ef92-4ec2-a375-95f49d84466d","name":"Harlowe","url":"story-formats/harlowe-2.1.0/format.js","userAdded":false,"version":"2.1.0"},
"3":{"id":"71bd36f5-b952-4396-9526-735e927a23b9","name":"Harlowe","url":"story-formats/harlowe-3.1.0/format.js","userAdded":false,"version":"3.1.0"},
"4":{"id":"4bf3e54d-44b0-48fd-b37e-4b1f6b72bf19","name":"Paperthin","url":"story-formats/paperthin-1.0.0/format.js","userAdded":false,"version":"1.0.0"},
"5":{"id":"b2eb275f-eee8-4990-b17f-aa7582c52240","name":"Snowman","url":"story-formats/snowman-1.4.0/format.js","userAdded":false,"version":"1.4.0"},
"6":{"id":"71532d38-cbec-4de1-b199-7278d5fb0069","name":"Snowman","url":"story-formats/snowman-2.0.2/format.js","userAdded":false,"version":"2.0.2"},
"7":{"id":"2a6f6cc9-4ea0-459a-97fd-ac1be154ea30","name":"SugarCube","url":"story-formats/sugarcube-1.0.35/format.js","userAdded":false,"version":"1.0.35"},
"8":{"id":"74535507-cecd-45cf-897c-f62b8f97e6e5","name":"SugarCube","url":"file:///D:/Profile/Documents/Twine/StoryFormats/sugarcube-2/format.js","userAdded":true,"version":"2.33.1"}
}
9":{"id":"8276d8f7-2d15-4664-89a8-de287ccb4364","name":"SugarCube","url":"story-formats/sugarcube-2.31.1/format.js","userAdded":false,"version":"2.31.1"}
}

Which is similar to what happened before.

While it was closed, I reset it back to your suggested clean setup and changed Chapbook to ‘1.2’. On starting up, it all looked good in the Formats window. When I exited, the results were somewhat similar but it has added an extra element outside the array, like it’s trying to add the mismatched Chapbook as well as the older SugarCube (again with line breaks re-added).

{
"0":{"id":"3ebc0d46-f0db-4de2-8078-f33f2d1a2419","name":"Chapbook","url":"story-formats/chapbook-1.2.0/format.js","userAdded":false,"version":"1.2.0"},
"1":{"id":"cccb6e2c-4392-46e5-b014-595cd35d8624","name":"Harlowe","url":"story-formats/harlowe-1.2.4/format.js","userAdded":false,"version":"1.2.4"},
"2":{"id":"7cb4d8eb-c894-469a-afc6-661c0a5be488","name":"Harlowe","url":"story-formats/harlowe-2.1.0/format.js","userAdded":false,"version":"2.1.0"},
"3":{"id":"04eb47e9-89e4-41ca-80e6-3104416e84da","name":"Harlowe","url":"story-formats/harlowe-3.1.0/format.js","userAdded":false,"version":"3.1.0"},
"4":{"id":"b71d0147-41fc-44c3-adf3-e4260f36a0bd","name":"Paperthin","url":"story-formats/paperthin-1.0.0/format.js","userAdded":false,"version":"1.0.0"},
"5":{"id":"98a9cef5-5e7c-4f84-b7f6-d8f9fb00b215","name":"Snowman","url":"story-formats/snowman-1.4.0/format.js","userAdded":false,"version":"1.4.0"},
"6":{"id":"f7047010-5cf1-45a3-9533-e10233e2a1e7","name":"Snowman","url":"story-formats/snowman-2.0.2/format.js","userAdded":false,"version":"2.0.2"},
"7":{"id":"8f17142f-9094-4552-86ae-3beaad5f1d7b","name":"SugarCube","url":"story-formats/sugarcube-1.0.35/format.js","userAdded":false,"version":"1.0.35"},
"8":{"id":"7d3bb4f3-bb01-4bb0-a26a-47a9c0097f38","name":"SugarCube","url":"file:///D:/Profile/Documents/Twine/StoryFormats/sugarcube-2/format.js","userAdded":true,"version":"2.33.1"}
}
9":{"id":"167eaf51-6b3f-4298-9196-7e252c564879","name":"Chapbook","url":"story-formats/chapbook-1.2.0/format.js","userAdded":false,"version":"1.1.0"},
"10":{"id":"f824727b-1541-4e52-be8e-12b25b69ab50","name":"SugarCube","url":"story-formats/sugarcube-2.31.1/format.js","userAdded":false,"version":"2.31.1"}
}

Weird might be a significant understatement at this point. Although my wife would say it’d be a textbook definition of me.

When I add just Illume and Poof through the application, everything works wonderfully. I added them and then interacted with a couple stories then exited. Essentially the same thing I’ve been doing with the SugarCube testing (line breaks added):

{
"0":{"id":"c49a6cc0-7ead-4cb8-b0bf-f90e8ee309f5","name":"Chapbook","url":"story-formats/chapbook-1.2.0/format.js","userAdded":false,"version":"1.1.0"},
"1":{"id":"6ac2acf3-3e2c-475a-ab8e-beee9bbce1a0","name":"Harlowe","url":"story-formats/harlowe-1.2.4/format.js","userAdded":false,"version":"1.2.4"},
"2":{"id":"6df628a9-2dd2-4d3f-a4b8-949f52d98862","name":"Harlowe","url":"story-formats/harlowe-2.1.0/format.js","userAdded":false,"version":"2.1.0"},
"3":{"id":"0ef415ed-3512-4f79-aeb8-d921c2abde78","name":"Harlowe","url":"story-formats/harlowe-3.1.0/format.js","userAdded":false,"version":"3.1.0"},
"4":{"id":"8351f7df-df0f-4448-8729-94b614473651","name":"Paperthin","url":"story-formats/paperthin-1.0.0/format.js","userAdded":false,"version":"1.0.0"},
"5":{"id":"909c3900-7fbe-4b5f-8df5-cbdc83ed1f36","name":"Snowman","url":"story-formats/snowman-1.4.0/format.js","userAdded":false,"version":"1.4.0"},
"6":{"id":"1c02d34a-e981-40b6-b921-7689fb588a7d","name":"Snowman","url":"story-formats/snowman-2.0.2/format.js","userAdded":false,"version":"2.0.2"},
"7":{"id":"b694a1d4-b097-4201-a9e9-9691150760d2","name":"SugarCube","url":"story-formats/sugarcube-1.0.35/format.js","userAdded":false,"version":"1.0.35"},
"8":{"id":"ae68847b-2391-4d21-a17e-7b736140244f","name":"SugarCube","url":"story-formats/sugarcube-2.31.1/format.js","userAdded":false,"version":"2.31.1"},
"9":{"id":"3c6477c4-fae7-47b1-809e-9e763e8aebcc","name":"Illume","url":"file:///D:/Profile/Documents/Twine/StoryFormats/illume/format.js","userAdded":true,"version":"1.0.5"},
"10":{"id":"21fef8bc-fb8e-4707-88d9-331ca81a1d7e","name":"poof","url":"file:///D:/Profile/Documents/Twine/StoryFormats/poof/format.js","userAdded":true,"version":"1.6.3"}
}

It seems to stick no matter what I do within the app, changing default story formats, editing a story, and then exiting. It works beautifully. But when I try to add in SugarCube 2.33.1 it does the same thing with a different element number. The next time it’s started it blows everything away and resets it back to the default entries.

{
"0":{"id":"812c0e6e-cd08-4b55-83f4-061d62a2bbdd","name":"Chapbook","url":"story-formats/chapbook-1.2.0/format.js","userAdded":false,"version":"1.1.0"},
"1":{"id":"1c5d4925-0b5b-49f8-907a-c4f373567b0e","name":"Harlowe","url":"story-formats/harlowe-1.2.4/format.js","userAdded":false,"version":"1.2.4"},
"2":{"id":"8b0eeba4-46c9-43d5-ad20-96ecb5ff1224","name":"Harlowe","url":"story-formats/harlowe-2.1.0/format.js","userAdded":false,"version":"2.1.0"},
"3":{"id":"ffafe99d-7d18-4bcf-9bba-8980f087543a","name":"Harlowe","url":"story-formats/harlowe-3.1.0/format.js","userAdded":false,"version":"3.1.0"},
"4":{"id":"c8dabea6-46f2-482e-b30b-5bff0027400c","name":"Paperthin","url":"story-formats/paperthin-1.0.0/format.js","userAdded":false,"version":"1.0.0"},
"5":{"id":"d2f72818-835c-4c9c-b39c-6eb53e331f6c","name":"Snowman","url":"story-formats/snowman-1.4.0/format.js","userAdded":false,"version":"1.4.0"},
"6":{"id":"49588584-8949-458d-a96d-1ced95c389bf","name":"Snowman","url":"story-formats/snowman-2.0.2/format.js","userAdded":false,"version":"2.0.2"},
"7":{"id":"22498761-3ac6-4fd0-ae30-6072a3274266","name":"SugarCube","url":"story-formats/sugarcube-1.0.35/format.js","userAdded":false,"version":"1.0.35"},
"8":{"id":"85f690ca-5fad-4a94-b0c9-be553ffbdf3e","name":"Illume","url":"file:///D:/Profile/Documents/Twine/StoryFormats/illume/format.js","userAdded":true,"version":"1.0.5"},
"9":{"id":"ef2cc0f4-4295-4169-bdc8-5c08221f046c","name":"poof","url":"file:///D:/Profile/Documents/Twine/StoryFormats/poof/format.js","userAdded":true,"version":"1.6.3"},
"10":{"id":"9cd05009-68e4-4f7c-b14b-a337e7fd8d4f","name":"SugarCube","url":"file:///D:/Profile/Documents/Twine/StoryFormats/sugarcube-2/format.js","userAdded":true,"version":"2.33.1"}
}
11":{"id":"20505c4e-02c2-47b6-93bf-1e128d84892f","name":"SugarCube","url":"story-formats/sugarcube-2.31.1/format.js","userAdded":false,"version":"2.31.1"}
}

If it’s just me, my computer seems to not like SugarCube… but is happy with poof and illume :crazy_face:

At this point it sounds like you should report all of that at the Twine “Issues” section on GitHub.

There’s definitely something going wrong there.

1 Like

Ok, thanks a lot for the help! I’ll head over and file a post there.

As it didn’t seem like something that was affecting everyone, I didn’t want to assume it was a bug if it was something simple I’d missed

I’ve experienced the same trouble but on Linux. I’ve been brute-forcing it all this time (re-adding everything manually each time). Your attempt gave me a better brute-forcing method though. At least now I’ll just save a copy of a properly formatted story-formats.json and overwrite the corrupted one when it goes bad. :joy: So thank you for the temporary solution.

I found a possible temporary workaround for Windows. I don’t see why it’d work on Linux either.

Once you have the clean configuration in the story-formats.json, mark it as read only. That way Twine can’t change the file on launch. It’s worked nicely for me so far this afternoon.

Of course the drawback is that when you need to update or install a story format you’ll have to set it back to read write and it may get modified again.

1 Like

Ok, I misread this to mean it didn’t work. I’ll try setting it to be read-only and see what happens. Thanks. :slight_smile:

My best guess on that one is I must have changed the Read Only status on the copies of the file I had made. I had several different versions I was keeping in a different folder, so I could compare what was going on. Sorry about that!