works in embedded and in standalone. Maybe you can try to print os.getcwd() in embedded and in standalone to see if it is the same directory. If it’s not the case, you can work with absolute path instead of relative…
Oops I made a mistake in the link. I correct it. Fixed
Thank you Youle, I got the problem wrong though sorry.
It isn’t shutil at all. It was a thing I already knew about. When in standalone the saveGD names the file differently.
Whereas in embedded it is ascent_construction.bgeconf, in standalone it is ascent_construction.blend~.bgeconf