Alright, finally got it done. You'll need the most recent version of RAD.
Features
-Main Menu system added. All in single project. Shows how loading can be done from startup.
-Fade in/fade out missing from previous version added.
-Save files encrypted with password based substitution cipher (just change the password to get a unique encryption).
Extract the archive to the 3D RAD directory and then run SaveLoad2.3dr from the projects folder.
Explanation
The project is an extension of the previous one (http://www.3drad.com/forum/index.php?topic=3760.0). The main improvement is the ability to encrypt save files. With the limited abilities of scripting in 3D rad, only a basic form of encryption could be realistically achieved. However, combined with the fact that a user will have no idea what information is being saved and in what order it is in, this encryption proves entirely secure. The startup script allows loading from the main menu by passing an internal variable (VAL_1=1/2/3) to the save/load script.
The encryption is a very simple substitution cipher based on a password. Opening the save/load script, you will be directed how to change this password so other RAD users cannot decipher your savefiles. The password can consist only of characters (letters or numbers) in the 'alphabet' string (see script for details on how to change this) and any character can only appear once. A longer password is generally stronger and a mixture of letters and numbers is vital.
TIP: to further strengthen the encryption, separate values that are similar or appear related. e.g character coordinates.
Any feedback or further suggestions are welcome!
Features
-Main Menu system added. All in single project. Shows how loading can be done from startup.
-Fade in/fade out missing from previous version added.
-Save files encrypted with password based substitution cipher (just change the password to get a unique encryption).
Extract the archive to the 3D RAD directory and then run SaveLoad2.3dr from the projects folder.
Explanation
The project is an extension of the previous one (http://www.3drad.com/forum/index.php?topic=3760.0). The main improvement is the ability to encrypt save files. With the limited abilities of scripting in 3D rad, only a basic form of encryption could be realistically achieved. However, combined with the fact that a user will have no idea what information is being saved and in what order it is in, this encryption proves entirely secure. The startup script allows loading from the main menu by passing an internal variable (VAL_1=1/2/3) to the save/load script.
The encryption is a very simple substitution cipher based on a password. Opening the save/load script, you will be directed how to change this password so other RAD users cannot decipher your savefiles. The password can consist only of characters (letters or numbers) in the 'alphabet' string (see script for details on how to change this) and any character can only appear once. A longer password is generally stronger and a mixture of letters and numbers is vital.
TIP: to further strengthen the encryption, separate values that are similar or appear related. e.g character coordinates.
Any feedback or further suggestions are welcome!