SuperFactoryManager icon indicating copy to clipboard operation
SuperFactoryManager copied to clipboard

Where does SFM save it's programs?

Open XDuskAshes opened this issue 1 year ago • 6 comments

I googled around and found nothing, and I would like to open my programs in VSCode or Vim. I can usually find ComputerCraft's stuff in (World)/computercraft/computer/, and I'd like to know where ( if at all ) to find the SFM programs.

XDuskAshes avatar Jun 29 '24 23:06 XDuskAshes

It's stored as NBT on the disk. You need to use an NBT explorer on level.dat

Burkino avatar Jun 30 '24 01:06 Burkino

Would there ever be plans to make it more readily accessible, i.e. via saving a copy in a directory of the world save?

XDuskAshes avatar Jun 30 '24 01:06 XDuskAshes

yes, flat file access is on the todo list.

There will be some tedium involved in making it available to clients when on a server, but it is something I want to do and will likely explore as part of fixing problems caused by having too many labels on the label gun lol

TeamDman avatar Jun 30 '24 21:06 TeamDman

Idea ( im not a very good developer but i tend to have somewhat mediocre ideas )

Files, logically, should be stored in the world save I think of three possible places one could store it in terms of naming convention

(world save)/superfactorymanager/ (world save)/super-factory-manager/ (world save)/sfm/

just tossing ideas out, i like to at least try and help

XDuskAshes avatar Jul 01 '24 16:07 XDuskAshes

With flat file saving, next comes.... cough git support?

KitKat31337 avatar Sep 10 '25 17:09 KitKat31337

@KitKat31337:

With flat file saving, next comes.... cough git support?

Elaborate, you have my curiosity.

XDuskAshes avatar Sep 12 '25 09:09 XDuskAshes