TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Extensions
→
Toolset Extensions
→
[Extension] Keep'em Safe!
Pages:
1
2
[Extension] Keep'em Safe!
Alexin
Posts: 3127
March 14, 2011, 06:02:12 pm
Keep'em Safe!
is an extension that creates a ZIP file of the current game/kit to back it up. There are currently two options:
1) Backups are saved in the games folder of the current workspace or in a specified folder.
2) Saving a game backs it up automatically. This one can be a life saver, though I prefer to do it manually to control which versions are backed up.
The generated ZIP isn't compressed - it simply stores the game folder.
How to Install
Grab it on StencylForge (next version coming after b368).
Disclaimer
I
tested
the extension on
W7
only. Integrity of ZIP files was verified using WinRAR. If you get an error it's most likely because the folder isn't writable or a previous backup of the same game/kit is being used - no harm done.
Because of the reasons above I don't take responsibility for whatever damage the extension may cause.
Report any bugs here, please. Thanks.
Enjoy!
TODO for 0.2
- Validate alternative folder.
- Make it clearer when the workspace folder is being used.
- Show some confirmation if you backup via the menu.
« Last Edit: September 08, 2011, 09:25:30 pm by Jon »
"Find the fun"
alexin@stencyl.com
Alexin
Posts: 3127
April 06, 2011, 05:23:10 pm
I want to release 0.2 but I also need the ability to enable/disable the save button. Jon, do you mind if I modify OptionsPanel and ExtensionCP to allow it? If possible I would also like to expose the file chooser's AutoVerifyField to explore its feedback capabilities.
« Last Edit: April 06, 2011, 05:35:10 pm by Alexin »
"Find the fun"
alexin@stencyl.com
Jon
Posts: 17524
April 06, 2011, 09:46:35 pm
Sure, you're free to edit anything you'd like to improve your extension.
Alexin
Posts: 3127
April 10, 2011, 09:28:31 am
The warning text and icon refuse to show up no matter what I do. >:V
"Find the fun"
alexin@stencyl.com
Jon
Posts: 17524
April 10, 2011, 10:41:12 am
There is a call currently that disables them. Something like hideError.
Alexin
Posts: 3127
April 10, 2011, 10:54:13 am
It's disableErrorIcon() and I modified AutoVerifyField so the the error icon could be enabled/disabled at runtime, as well as the error message. I've tried plenty of solutions and inspected other parts of SW, but I couldn't make it work.
"Find the fun"
alexin@stencyl.com
Jon
Posts: 17524
April 10, 2011, 11:55:17 am
Did you implement the code for actually determining whether an error should be shown or not? The field verifier.
Alexin
Posts: 3127
April 10, 2011, 12:38:32 pm
I did and it works. I must be missing something so I'll look at it again later.
"Find the fun"
alexin@stencyl.com
Jon
Posts: 17524
September 16, 2011, 01:50:10 am
Did you have a chance to update this? I'd like this one to go out to the public.
Alexin
Posts: 3127
September 16, 2011, 03:36:14 am
I'm on it.
Can you tell me again what is the improvement/fix you referred before, please? I can't find where it is.
In fact, I remember I released a version newer than the one corresponding to the opening post. It addressed some suggestions (including yours).
Anyway, I just built and tested it again. I'll send it to you via email.
« Last Edit: September 16, 2011, 04:13:28 am by Alexin »
"Find the fun"
alexin@stencyl.com
Jon
Posts: 17524
September 17, 2011, 05:24:31 pm
Mainly this bug
1) Make a new game
2) Save
3) Modal dialog appears
Alexin
Posts: 3127
September 18, 2011, 07:41:54 am
I see. It looks like SW and the extension are somehow conflicting with that scenario. Neither can SW read game.xml nor the extension is able to backup.
Investigating...
"Find the fun"
alexin@stencyl.com
sixcorners
Posts: 10
January 09, 2012, 03:54:16 pm
Updates? Where did it go? What happened to it?
Alexin
Posts: 3127
January 09, 2012, 04:17:46 pm
No updates, though if I make one it will be to create multiple backups, so a failed game doesn't corrupt the only backup.
I don't know why it isn't on Forge, if that's what you're asking.
"Find the fun"
alexin@stencyl.com
sixcorners
Posts: 10
January 10, 2012, 12:08:36 am
Quote from: Alexin on January 09, 2012, 04:17:46 pm
I don't know why it isn't on Forge, if that's what you're asking.
That is correct. I was wondering if I could get a copy. Where does it back up the project to exactly? Another place on the computer or is there a web service you have set up so the copies are kept online? Dropbox maybe?
Pages:
1
2