mirror of
https://github.com/luau/UniversalSynSaveInstance.git
synced 2026-02-04 14:43:14 +02:00
Adjust Defaults Because Why have them enabled+TODO
This commit is contained in:
@@ -15,6 +15,8 @@ Reason: Many Executors fail miserably at providing good user experience when it
|
||||
|
||||
# TO-DOs:
|
||||
|
||||
- [ ] !!! Custom fallback Decompiler for ModuleScripts using require and then iterating through it, gathering all info about functions using [getupvals/getprotos/getconsts][Debug], converting all DataTypes using tostring or Descriptors, and then perhaps converting to JSON. (Make use of op-codes from Dex?) !!!
|
||||
- [ ] Check out varios Leaked Executors (Especially their Init / Lua scripts) to expand knowledge on the whole subject of saveinstance
|
||||
- [x] Add `continue` where needed
|
||||
- [ ] Add Documentation similar to [KRNL Docs] or [Synapse X Docs] / [Synapse X Docs Old]
|
||||
- [x] ~~Add fallback function for appendfile (whether through storing current xml as string or with use of readfile)~~ Removed Appendfile entirely
|
||||
@@ -133,7 +135,8 @@ resources include:
|
||||
[Roblox Format Specifications]: https://github.com/RobloxAPI/spec/
|
||||
[SharedStrings]: https://github.com/RobloxAPI/spec/blob/master/formats/rbxlx.md#sharedstring
|
||||
[Synapse X Docs Old]: https://synapsexdocs.github.io/custom-lua-functions/misc-functions/#save-instance
|
||||
[Synapse X Docs]: https://docs.synapse.to/reference/misc.html?highlight=saveins#save-instance
|
||||
[Debug]: https://web.archive.org/web/20221021015553/https://docs.synapse.to/reference/debug_lib.html
|
||||
[Synapse X Docs]: https://web.archive.org/web/20230318113846/https://docs.synapse.to/reference/misc.html
|
||||
[Synapse X Source 2019]: https://github.com/Acrillis/SynapseX
|
||||
[PropertyPatches v1]: https://github.com/MaximumADHD/Roblox-File-Format/blob/main/Plugins/GenerateApiDump/PropertyPatches.lua#L72
|
||||
[PropertyPatches v2]: https://github.com/rojo-rbx/rbx-dom/tree/master/patches
|
||||
|
||||
@@ -791,7 +791,7 @@ local function synsaveinstance(CustomOptions)
|
||||
}
|
||||
]]
|
||||
ExtraInstances = {},
|
||||
NilInstances = true,
|
||||
NilInstances = false,
|
||||
ShowStatus = true,
|
||||
FilePath = false, -- does not need to contain a file extension, only the name of the file.
|
||||
Object = false, -- If provided, saves as .rbxmx (Model file) instead; If Object is game, it will be saved as a .RBXL file -- ! MUST BE AN INSTANCE REFERENCE like game.Workspace for example; "optimized" mode is NOT supported with this option
|
||||
@@ -803,7 +803,7 @@ local function synsaveinstance(CustomOptions)
|
||||
IgnorePropertiesOfNotScriptsOnScriptsMode = false, -- Ignores property of every instance that is not a script in "scripts" mode
|
||||
IgnoreSpecialProperties = false, -- true will disable Terrain & some other things
|
||||
-- IsolatePlayerGui = false,
|
||||
IsolateStarterPlayer = true, --If enabled, StarterPlayer will be cleared and the saved starter player will be placed into folders.
|
||||
IsolateStarterPlayer = false, --If enabled, StarterPlayer will be cleared and the saved starter player will be placed into folders.
|
||||
IsolateLocalPlayer = false, -- Saves Children of LocalPlayer as separate folder and prevents any instance of ClassName Player with .Name identical to LocalPlayer.Name from saving
|
||||
IsolateLocalPlayerCharacter = false, -- Saves Children of LocalPlayer.Character as separate folder and prevents any instance of ClassName Player with .Name identical to LocalPlayer.Name from saving
|
||||
-- MaxThreads = 3
|
||||
|
||||
@@ -793,7 +793,7 @@ local function synsaveinstance(CustomOptions)
|
||||
}
|
||||
]]
|
||||
ExtraInstances = {},
|
||||
NilInstances = true,
|
||||
NilInstances = false,
|
||||
ShowStatus = true,
|
||||
FilePath = false, -- does not need to contain a file extension, only the name of the file.
|
||||
Object = false, -- If provided, saves as .rbxmx (Model file) instead; If Object is game, it will be saved as a .RBXL file -- ! MUST BE AN INSTANCE REFERENCE like game.Workspace for example; "optimized" mode is NOT supported with this option
|
||||
@@ -805,7 +805,7 @@ local function synsaveinstance(CustomOptions)
|
||||
IgnorePropertiesOfNotScriptsOnScriptsMode = false, -- Ignores property of every instance that is not a script in "scripts" mode
|
||||
IgnoreSpecialProperties = false, -- true will disable Terrain & some other things
|
||||
-- IsolatePlayerGui = false,
|
||||
IsolateStarterPlayer = true, --If enabled, StarterPlayer will be cleared and the saved starter player will be placed into folders.
|
||||
IsolateStarterPlayer = false, --If enabled, StarterPlayer will be cleared and the saved starter player will be placed into folders.
|
||||
IsolateLocalPlayer = false, -- Saves Children of LocalPlayer as separate folder and prevents any instance of ClassName Player with .Name identical to LocalPlayer.Name from saving
|
||||
IsolateLocalPlayerCharacter = false, -- Saves Children of LocalPlayer.Character as separate folder and prevents any instance of ClassName Player with .Name identical to LocalPlayer.Name from saving
|
||||
-- MaxThreads = 3
|
||||
|
||||
Reference in New Issue
Block a user