evolutionSteer icon indicating copy to clipboard operation
evolutionSteer copied to clipboard

Added saving functionality for the simulation

Open stijn-ringeling opened this issue 8 years ago • 4 comments

In your video you requested a saving and loading feature. Well here it is. It might not be perfect though as it saves a lot of data. This can be reduced by only saving essential variables that are needed to create the simulation and not all variables that are generated in runtime anyway. If you have any questions please let me know.

stijn-ringeling avatar Jun 21 '17 22:06 stijn-ringeling

Cool man, It appears that you accidentally update all the line endings

L-four avatar Jun 25 '17 13:06 L-four

Have you tested it? I merged it manually on my local copy and the buttons show, but it saves a 0bytes file

LordNeoZ avatar Jul 13 '17 14:07 LordNeoZ

Yeah, it worked for me using processing version 3 (tested just now). Though it did create massive files 11gens was 67.9 MB. should look at adding compression. See attached file test_save.zip

L-four avatar Jul 14 '17 07:07 L-four

Java has an zip api that works pretty much as writing to a normal file (ZipOutputStream and co.). Should be accessible by processing without problem.

On Fri, 14 Jul 2017, 09:42 Kyah Rindlisbacher, [email protected] wrote:

Yeah, it worked for me using processing version 3 (tested just now). Though it did create massive files 11gens was 67.9 MB. should look at adding compression. test_save.zip https://github.com/carykh/evolutionSteer/files/1147672/test_save.zip

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/carykh/evolutionSteer/pull/7#issuecomment-315293984, or mute the thread https://github.com/notifications/unsubscribe-auth/AGE80ZoSu58sS1tVO9bmX5YHiB8K-6uKks5sNxvLgaJpZM4OBk3_ .

MauroMombelli avatar Jul 14 '17 07:07 MauroMombelli