I just came across this issue with trying to use the `FactorioMaps` mod, as it writes to the temp directory (which is on my ramdisk).
I don't know C++, but is there any chance you could potentially catch that error and raise something more informative? Took me a while to figure out the cause of the error.
Run from ramdisk
Re: Run from ramdisk
Maybe it's related to this issue with relative paths:
https://stackoverflow.com/questions/560 ... out-parent
https://stackoverflow.com/questions/560 ... out-parent
Re: Run from ramdisk
If someone has some ramdisk software I could test with that isn't malware I could see if there are any workarounds but so far all of the errors I've seen are coming from the MSVC standard library; which is written by Microsoft developers for microsoft developers.
If you want to get ahold of me I'm almost always on Discord.
Re: Run from ramdisk
ImDisk has served me very well for the past few years.Rseding91 wrote: ↑Thu Jun 01, 2023 12:30 pmIf someone has some ramdisk software I could test with that isn't malware I could see if there are any workarounds but so far all of the errors I've seen are coming from the MSVC standard library; which is written by Microsoft developers for microsoft developers.
Re: Run from ramdisk
I found this page for imdisk: https://github.com/LTRData/ImDisk which says in more words "don't use this on modern versions of windows"
That sounds exactly like it won't work for Factorio and the flaw is the ram disk software.PLEASE NOTE: This project is not recommended on recent versions of Windows and many applications written for Windows Vista and later require features that are not supported. It is based on an old design for compatibility with as old versions as Windows NT 3.51. No new features will be added to this project but it will remain available here because it could still be useful in certain scenarios.
EDIT: the issues page even shows the exact same error mentioned here: https://github.com/LTRData/ImDisk/issues/6
If you want to get ahold of me I'm almost always on Discord.
Re: Run from ramdisk
Dataram RAMDisk works well for me (even thought now that I googled their homepage, it is not secured, so that seems little bit sketchy)
Re: Run from ramdisk
Does Factorio work if you set the read or write directory to a RAM disk using that software?
If you want to get ahold of me I'm almost always on Discord.
Re: Run from ramdisk
Ok. So the issues mentioned here and in some other posts are due to the ram-disk software being faulty as suspected.
If you want to get ahold of me I'm almost always on Discord.
Re: Run from ramdisk
I used amd's free software for a 4gig ramdisk on Win10 a few weeks ago. I made a symlink for the factorio temp directory. It saved the download to ramdisk, I connected to the server, and played, all without a hitch.
http://www.radeonramdisk.com/software_downloads.php
http://www.radeonramdisk.com/software_downloads.php