1) Autosave when exiting level editor, 2) auto-versioning, 3) Save As

Got a cool idea that should be in R'n'D? Let's hear it!

Moderators: Flumminator, Zomis

Post Reply
BrownSky
Posts: 59
Joined: Mon Sep 24, 2018 4:04 am

1) Autosave when exiting level editor, 2) auto-versioning, 3) Save As

Post by BrownSky »

Hi Holger, thank you again for such a great app, Rocks'n'Diamonds, which has gone far behind any other program inspired by Boulderdash. The reason being I think its great flexibility and scope for extending it. I apologize for peppering you with so many requests/new ideas, I guess I just feel that so much fantastic work has gone into the BDX engine, that the level designer is now by comparison is looking a bit long in the tooth and could do with some love...

# 1. Could an option please be added to the Editor sub-menu under Setup,
to allow the user to not have to answer the dialog asking if he or she wants to discard the changes,
but [with this setting] the program doesn't discard the changes,
instead it auto-saves the file.

The reason for this request is,
I often decide not to save the changes,
and then I regret it later.
If I could set it to autosave,ing
then I can always capture the changes,
and if I have software running monitoring the folder for changes,
it can automatically create a backup copy of the latest file,
so over time I accumulate a set of versions of each level.

#2. Even better of course would be if Rocks'n'Diamonds could have a setting to auto-rename the old version of the level file - that is, upon the user clicking Save, or the program auto-saving. The program would need to do the rename of the existing file just before it writes the level data to a new file.

#2b. It would be great if the auto-rename could NOT just rename the file to 'Backup of 001.level',
but instead, appended a date-time stamp to the file name, e.g.
'001.20250731163459.level'.

Then I wouldn't need to use a 3rd party application to capture versions of the levels. I have some software which does this - well, only one, a text editor called EditPad Lite - and it is my go-to text editor because of that feature, although I am planning to at some point upgrade to EditPad Pro. But being a text editor, it can't help me much with level files, for which the one and only program to work with them is Rocks'n'Diamonds itself :-)

#3. And lastly, being able to "save as" a level with a different name, from the level designer, would be fantastic, and make the level designer behave much more like most programs.

Cheers, John
BrownSky
Posts: 59
Joined: Mon Sep 24, 2018 4:04 am

Re: 1) Autosave when exiting level editor, 2) auto-versioning, 3) Save As

Post by BrownSky »

Hello, I think this is a continuation/extension of my original post:

There is a special levelset folder for each user, in their own data directory. And there is special behaviour of the app for this folder, eg saving newly created levels to this levelset, under certain conditions.

I would like to propose adding another special levelset folder for the user,

'[username ]LastUnsavedEdit'

eg

JohnLastUnsavedEdit

What will it contain?

Well, anytime that a level is opened in the level editor,
and one or more cells are changed,
or a change is made in the level config or in one of the elements' properties,
and then the editor is quitted without saving the changes,
the level with the changes is saved to the 'LastUnsavedEdit' levelset,
being numbered 1 more than the last,
eg

000.level
001.level
002.level
etc,

That way I would have a chronologically ordered list of my activity, without having to do anything special. And anything I didn't want to keep I could just delete at my leisure - it would leave gaps but that would be fine. Especially if combined with my idea for a way of jumping between existing levels, skipping nonexisting levels :D

So what I like about this idea is that it is just the same as a regular levelset, but it is a 'chronological, automatic' levelset, and a great resource for the noodly Rocks'n'Diamonds player who is also a creator of levels. Why, when you die, you could leave instructions for your heirs to upload this folder to the internet, and then people could look at the work of a lifetime, or at least 10, 20, 30, 40... years! :mrgreen:

John
Post Reply