I did something dumb... is it possible to reset System button Setup without viewing it? | Intech Studio
💬 general Grid

I did something dumb... is it possible to reset System button Setup without viewing it?

Martin Grider
Martin Grider · · 10 replies

I somehow managed to save the System button (index 16) with a code block that's identical to its button press, so now every time that layer is toggled it immediately cycles to the next layer. 😭

Is there an easy way to fix this without resetting the whole unit to factory?

Replies (10)

Hybrid Hybrid ·

Ooh, that's a tricky one... Just confirming I understand: in your Element 16 (System) under the Setup tab, do you have this code: page_load(page_next())?

I don't currently have any modules to test with but I'm guessing that the editor will jump to the next page no matter how you try to select the page with this problem? Is it the same behaviour when you click the little page number buttons ([1] [2] [3] [4]) in the Grid Editor software?

Do you have any backups / saved profiles on your system for this setup (I'm referring to the .json files that get saved to your computer)? If you do have a saved JSON config and it contains this problematic code, you should be able to edit the JSON file carefully to remove that bit of the code from the setup block (the code will be in minified form). Then you can probably do a factory reset and reapply the profile without losing all your work.

Hopefully one of the Intech guys can suggest a better solution to solve this... Good luck!

Martin Grider Martin Grider ·

Yes you understand correctly. And yes it’s the same when I press the editor page numbers. 😆 I don’t know where to look for a .json file, but I’ll see if I can find one! (I’m a developer and would have no problem editing such a thing.)

Hybrid Hybrid ·

Hi Martin, fellow developer/photographer here 👋

Are you on Mac or PC? I'm on a Mac and when saving Grid Editor configurations, they ended up in ~/Documents/grid-userdata/configs/ – I don't remember configuring that so I think it must be the default location. You could check there...

Martin Grider Martin Grider ·

Sadly, I have nothing in that folder. 😦

Martin Grider Martin Grider ·

I dug around in there, as well as in Library/Application\ Support/Grid\ Editor/, and didn't see anything that resembled a file I could edit.

Hybrid Hybrid ·

That's a shame... I guess you have to explicitly create a config and save it or download configs from the Profile Cloud in order for it to create those JSON files.

Having a safe mode or similar would be handy for situations like this where you could access the config without it executing the setup blocks. Or maybe some low-level command line interface that allows you to fetch/push config to a module for each page.

If you're feeling adventurous, you could dig around in the Editor repository to see if there's a way to access and export the config that is currently stored on the device. However, it would probably be less effort just to recreate whatever you'd set on that page.

Martin Grider Martin Grider ·

Okay, thanks for the responses. I'm hoping it won't be too much trouble to re-create what I had there. That's probably what I'll end up doing... tomorrow.

Hybrid Hybrid ·

👍 Good luck!

Martin Grider Martin Grider ·

I had to factory reset. Fortunately, restoring my previous settings was relatively painless. (I hadn't done much setup, but I could imagine if I had this would have been painful.)

Hybrid Hybrid ·

Glad you were able to sort it out without too much pain. I definitely suggest looking into creating profiles and saving regularly. It might even be worth putting it under version control...

In future updates, coding should be easier when the character limits are relaxed (see here).

Discord

View on Discord

This post is from the Intech Studio Discord community.

Open thread →