diff --git a/README.md b/README.md index 3e529f8..a8b983d 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/saveinstance.lua b/saveinstance.lua index 66cdadc..56f4c1c 100644 --- a/saveinstance.lua +++ b/saveinstance.lua @@ -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 diff --git a/saveinstance.luau b/saveinstance.luau index c5c195c..9333b9e 100644 --- a/saveinstance.luau +++ b/saveinstance.luau @@ -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