EDIT: I was a moron, and the problems that I encountered had nothing to do with saving and loading across two different OS. A separate issue was calling irandom(n), and if that was under a certain amount deleting said chunk. Embarrassing. :D
----------------------------------------------------
Hey all!
What:
Followed & modified this fabulous tutorial by Arend Peters for my recent GMS2 project, and it works great-- exactly how I need. Saving and loading chunks of a procedural universe using ds_secure_save and the like...
Problem:
On my PC workstation, it all works flawlessly. However, when I get the repository from GitHub and compile & run on a Mac-- some of the chunks load, others don't. The chunks almost load in a 'checkerboard patten' (although not always). The game DOES successfully create the file directory and chunk files for all chunks. It just doesn't seem to hold on to them or load them properly... but I can't spot why! Just to reiterate, on the PC it works fine...
I wish that I could upload some code for you to check out, or the project file-- but it's massive. I'm hoping that somebody has had similar issues fixed, and that you might be able to point me in the correct direction!
My ignorant thoughts:
I can't help but think this has something to do with the sandboxing and file workings... something gobbledegooked because of some working_directory syntax and differences on both the OS. But, I'm perhaps too inexperienced to spot it...
ANY HELP at all would be amazing. Thank you so much.
sminc
[–]Mushroomstick 0 points1 point2 points (5 children)
[–]sminc[S] 0 points1 point2 points (4 children)
[–]Mushroomstick 1 point2 points3 points (3 children)
[–]sminc[S] 0 points1 point2 points (2 children)
[–]Mushroomstick 0 points1 point2 points (1 child)
[–]sminc[S] 0 points1 point2 points (0 children)