• Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!

Windows GMS2 creating Z drive?

Carnivius

Member
Why does GMS2 create this virtual drive Z: and shows what I assume are temp folders of various projects I've been working on or abandoned? Sometimes it vanishes while GMS2 is still open, sometimes it's still there long after I've closed it. I didn't really notice it until I was using the media player on my PS4 to watch some vids I downloaded and saw the list of drives from the PC as C, E and Z...

 

YellowAfterlife

ᴏɴʟɪɴᴇ ᴍᴜʟᴛɪᴘʟᴀʏᴇʀ
Forum Staff
Moderator
It's a drive mapped to the temp directory, most likely to workaround issues with Windows only allowing paths to be up to 256 characters (128 in multi-byte mode?) on most occasions
 

Mike

nobody important
GMC Elder
Yup.... This was mainly added for the insanely long Android paths - they're absolutely nuts, but are now used as a general build system to help the build and paths.
 

rwkay

YoYo Games Staff
YYG Staff
We had build problems over multiple targets so we generalised the system that was used to get round the same issue (Windows has a maximum of 255 characters in a file path).

Until MS release a version of Windows that does not have this limit (they are apparently working on it) we will have to live with this workaround.

NOTE: Mac version does not have to do this.

Russell
 
Yup.... This was mainly added for the insanely long Android paths - they're absolutely nuts, but are now used as a general build system to help the build and paths.
I have a small problem with GMS2, I exported the project it a few times to my NAS so that way i can access it from work and work on the project there. When I was done with the project for the day, I would export it again and then FTP back to the NAS. When I get home I save the project file to my local disk and work on it again from there and so forth.

Problem:
When I run the program (F5), I get the following:

"cmd" /c subst Z: "C:\Users\James\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"

elapsed time 00:00:00.2255235s for command "cmd" /c subst Z: "C:\Users\James\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 01/27/2018 12:34:19
Saving project to: C:\Users\James\Documents\GameMakerStudio2\Project_Hobby\Project_Hobby.yyp
Saving 49 resources
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.3.189/bin/Igor.exe" -options="C:\Users\James\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -- Windows Run

elapsed time 00:00:00.1375173s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.3.189/bin/Igor.exe" -options="C:\Users\James\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -- Windows Run started at 01/27/2018 12:34:20
"cmd" /c subst Z: /d

elapsed time 00:00:00.1265159s for command "cmd" /c subst Z: /d started at 01/27/2018 12:34:20
FAILED: Run Program Complete
How can I fix this?
 
We had build problems over multiple targets so we generalised the system that was used to get round the same issue (Windows has a maximum of 255 characters in a file path).

Until MS release a version of Windows that does not have this limit (they are apparently working on it) we will have to live with this workaround.

NOTE: Mac version does not have to do this.

Russell
They already have remove the limitation. In windows 10 version 1607 the max_path limit was removed. Not that it changes much until support for older OS's is dropped. The mapped drive solution is fine but from time to time the drives don't get released until the PC is restarted, not really a big issue though.
 
K

Krystof

Guest
I have a small problem with GMS2, I exported the project it a few times to my NAS so that way i can access it from work and work on the project there. When I was done with the project for the day, I would export it again and then FTP back to the NAS. When I get home I save the project file to my local disk and work on it again from there and so forth.

Problem:
When I run the program (F5), I get the following:



How can I fix this?
Hey did you fix it? I have the same exact error
 
I have also had a problem with GMS2

Problem
When I click (F5)

Code:
C:\WINDOWS\system32\cmd.exe exited with non-zero status (1)
elapsed time 00:00:05.5100651s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.2.326/bin/Igor.exe" -j=8 -options="C:\Users\thake\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff"  -- Windows Run started at 05/20/2019 20:34:36
"cmd"  /c subst Z: /d

elapsed time 00:00:00.0807847s for command "cmd" /c subst Z: /d started at 05/20/2019 20:34:42
"cmd"  /c subst Y: /d

elapsed time 00:00:00.0867675s for command "cmd" /c subst Y: /d started at 05/20/2019 20:34:42
"cmd"  /c subst X: /d

elapsed time 00:00:00.0907570s for command "cmd" /c subst X: /d started at 05/20/2019 20:34:42
FAILED: Run Program Complete
Does anyone know how I can fix this
 
I have also had a problem with GMS2

Problem
When I click (F5)

Code:
C:\WINDOWS\system32\cmd.exe exited with non-zero status (1)
elapsed time 00:00:05.5100651s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.2.326/bin/Igor.exe" -j=8 -options="C:\Users\thake\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff"  -- Windows Run started at 05/20/2019 20:34:36
"cmd"  /c subst Z: /d

elapsed time 00:00:00.0807847s for command "cmd" /c subst Z: /d started at 05/20/2019 20:34:42
"cmd"  /c subst Y: /d

elapsed time 00:00:00.0867675s for command "cmd" /c subst Y: /d started at 05/20/2019 20:34:42
"cmd"  /c subst X: /d

elapsed time 00:00:00.0907570s for command "cmd" /c subst X: /d started at 05/20/2019 20:34:42
FAILED: Run Program Complete
Does anyone know how I can fix this
Actually I found out how to fix it
 
Top