• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Windows Problem when i'm trying to create a exe.

GrooPhyx

Member
Good evening I have a problem with the creation of an executable. I am a beginner and I understand nothing at all about this error. I tried with a new project and everything works fine, but with this one nothing to do. If anyone can explain to me how to solve my problem thank you.



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

elapsed time 00:00:00.0277761s for command "cmd" /c subst Z: "C:\Users\Lp27S\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 06/23/2021 23:14:57
"cmd" /c subst Y: "C:\Users\Lp27S\AppData\Local\GameMakerStudio2\GMS2TEMP"

elapsed time 00:00:00.0282716s for command "cmd" /c subst Y: "C:\Users\Lp27S\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 06/23/2021 23:14:57
"cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.2.426"

elapsed time 00:00:00.0267837s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.2.426" started at 06/23/2021 23:14:57
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.2.426/bin/Igor.exe" -j=8 -options="C:\Users\Lp27S\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows PackageNsis

Loaded Macros from C:\Users\Lp27S\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\BlasterFas_AEFDACD2_D23C61B4\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\Lp27S\AppData\Roaming/GameMakerStudio2\Lp27Serveur_2526420\local_settings.json
Options: C:\Users\Lp27S\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\BlasterFas_AEFDACD2_D23C61B4\targetoptions.json
Setting up the Asset compiler
X://bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="BlasterFasterv2" /td="Y:/" /cd="Z:/BlasterFas_AEFDACD2_D23C61B4" /zpuf="C:\Users\Lp27S\AppData\Roaming/GameMakerStudio2\Lp27Serveur_2526420" /m=windows /tgt=64 /nodnd /cfg="Default" /o="Y:/BlasterFasterv2_67F5F9DF_VM" /sh=True /optionsini="Y:/BlasterFasterv2_67F5F9DF_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "D:\Documents\GameMakerStudio2\BlasterFasterv2\BlasterFasterv2.yyp" /preprocess="Z:/BlasterFas_AEFDACD2_D23C61B4"
We have a Zeus Project!
Found Project Format 2
ProjectFileWatcher:StartWatching:D:\Documents\GameMakerStudio2\BlasterFasterv2
Started: 23/06/2021 23:14:57
Finished: 23/06/2021 23:14:58
Diff: 00:00:00.5768469
Loaded Project: BlasterFasterv2
finished.
Release build
Options: Z:/BlasterFas_AEFDACD2_D23C61B4\ExtensionOptions.json
OptionsIni
Options: Z:/BlasterFas_AEFDACD2_D23C61B4\PlatformOptions.json
[Compile] Run asset compiler
X://bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="BlasterFasterv2" /td="Y:/" /cd="Z:/BlasterFas_AEFDACD2_D23C61B4" /zpuf="C:\Users\Lp27S\AppData\Roaming/GameMakerStudio2\Lp27Serveur_2526420" /m=windows /tgt=64 /nodnd /cfg="Default" /o="Y:/BlasterFasterv2_67F5F9DF_VM" /sh=True /optionsini="Y:/BlasterFasterv2_67F5F9DF_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "D:\Documents\GameMakerStudio2\BlasterFasterv2\BlasterFasterv2.yyp" /bt=exe /rt=vm /64bitgame=true
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Rooms...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Extensions...finished.
Global scripts...finished.
finished.
collapsing enums.
Final Compile...finished.
Saving IFF file... Y:/BlasterFasterv2_67F5F9DF_VM\BlasterFasterv2.win
Writing Chunk... GEN8
option_game_speed=60
Writing Chunk... OPTN
Writing Chunk... LANG
Writing Chunk... EXTN
Writing Chunk... SOND
Writing Chunk... AGRP
Writing Chunk... SPRT
Writing Chunk... BGND
Writing Chunk... PATH
Writing Chunk... SCPT
Writing Chunk... GLOB
Writing Chunk... SHDR
Writing Chunk... FONT
Writing Chunk... TMLN
Writing Chunk... OBJT
Writing Chunk... ACRV
Writing Chunk... SEQN
Writing Chunk... TAGS
Writing Chunk... ROOM
Writing Chunk... DAFL
Writing Chunk... EMBI
Writing Chunk... TPAGE
Texture Group - Default
Writing Chunk... TGIN
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png...
1 Compressing texture... writing texture texture_1.png...
2 Compressing texture... writing texture texture_2.png...
3 Compressing texture... writing texture texture_3.png...
4 Compressing texture... writing texture texture_4.png...
5 Compressing texture... writing texture texture_5.png...
6 Compressing texture... writing texture texture_6.png...
7 Compressing texture... writing texture texture_7.png...
8 Compressing texture... writing texture texture_8.png...
9 Compressing texture... writing texture texture_9.png...
10 Compressing texture... writing texture texture_10.png...
11 Compressing texture... writing texture texture_11.png...
12 Compressing texture... writing texture texture_12.png...
13 Compressing texture... writing texture texture_13.png...
14 Compressing texture... writing texture texture_14.png...
Writing Chunk... AUDO
Writing Audio Group Music
Writing Audio Group IntroMusic
Stats : GMA : Elapsed=1030,1907
Stats : GMA : sp=201,au=17,bk=0,pt=0,sc=50,sh=0,fo=2,tl=0,ob=212,ro=10,da=0,ex=0,ma=124,fm=0xB21C6DF808A0
DoSteam
Igor complete.
PlatformOptions
DoVersion
DoIcon
X:/\windows\makensis\makensis.exe /DPRODUCT_NAME="Blaster Faster" /DMAKENSIS="X:/\windows\makensis" /DINSTALLER_FILENAME="D:\Bureau\BlasterFasterv2.exe" /DSOURCE_DIR="Y:/BlasterFasterv2_67F5F9DF_VM" /DLICENSE_NAME="X:\\BaseProject\options\windows\installer\license.txt" /DFULL_VERSION="1.0.0.0" /DEXE_NAME="Blaster Faster" /DFILE_DESC="Installer for Made in GameMaker Studio 2" /DCOPYRIGHT_TXT="(c) 2021 GrooPhyx" /DPRODUCT_PUBLISHER="Gourmet Games" /DICON_FILE="D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\icons\icon.ico" /DIMAGE_FINISHED="D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\installer\finished.bmp" /DIMAGE_HEADER="D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\installer\header.bmp" X:/\BaseProject\options/windows/installer/nsis_script.nsi
MakeNSIS v2.46 - Copyright 1995-2009 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.

Command line defined: "PRODUCT_NAME=Blaster Faster"
Command line defined: "MAKENSIS=X:/\windows\makensis"
Command line defined: "INSTALLER_FILENAME=D:\Bureau\BlasterFasterv2.exe"
Command line defined: "SOURCE_DIR=Y:/BlasterFasterv2_67F5F9DF_VM"
Command line defined: "LICENSE_NAME=X:\\BaseProject\options\windows\installer\license.txt"
Command line defined: "FULL_VERSION=1.0.0.0"
Command line defined: "EXE_NAME=Blaster Faster"
Command line defined: "FILE_DESC=Installer for Made in GameMaker Studio 2"
Command line defined: "COPYRIGHT_TXT=(c) 2021 GrooPhyx"
Command line defined: "PRODUCT_PUBLISHER=Gourmet Games"
Command line defined: "ICON_FILE=D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\icons\icon.ico"
Command line defined: "IMAGE_FINISHED=D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\installer\finished.bmp"
Command line defined: "IMAGE_HEADER=D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\installer\header.bmp"
Changing directory to: "X:\BaseProject\options\windows\installer"

Processing script file: "X:/\BaseProject\options/windows/installer/nsis_script.nsi"
Processing plugin dlls: "X:\windows\makensis\Plugins\*.dll"
- AdvSplash::show
- Banner::destroy
- Banner::getWindow
- Banner::show
- BgImage::AddImage
- BgImage::AddText
- BgImage::Clear
- BgImage::Destroy
- BgImage::Redraw
- BgImage::SetBg
- BgImage::SetReturn
- BgImage::Sound
- Dialer::AttemptConnect
- Dialer::AutodialHangup
- Dialer::AutodialOnline
- Dialer::AutodialUnattended
- Dialer::GetConnectedState
- InstallOptions::dialog
- InstallOptions::initDialog
- InstallOptions::show
- LangDLL::LangDialog
- Math::Script
- NSISdl::download
- NSISdl::download_quiet
- ShellExecAsUser::ShellExecAsUser
- Splash::show
- StartMenu::Init
- StartMenu::Select
- StartMenu::Show
- System::Alloc
- System::Call
- System::Copy
- System::Free
- System::Get
- System::Int64Op
- System::Store
- TypeLib::GetLibVersion
- TypeLib::Register
- TypeLib::UnRegister
- UAC::_
- UserInfo::GetAccountType
- UserInfo::GetName
- UserInfo::GetOriginalAccountType
- VPatch::GetFileCRC32
- VPatch::GetFileMD5
- VPatch::vpatchfile
- nsDialogs::Create
- nsDialogs::CreateControl
- nsDialogs::CreateItem
- nsDialogs::CreateTimer
- nsDialogs::GetUserData
- nsDialogs::KillTimer
- nsDialogs::OnBack
- nsDialogs::OnChange
- nsDialogs::OnClick
- nsDialogs::OnNotify
- nsDialogs::SelectFileDialog
- nsDialogs::SelectFolderDialog
- nsDialogs::SetRTL
- nsDialogs::SetUserData
- nsDialogs::Show
- nsExec::Exec
- nsExec::ExecToLog
- nsExec::ExecToStack

!define: "COMPANY_NAME"=""
!define: "APP_NAME"="Blaster Faster"
!define: "SHORT_NAME"="Blaster Faster"
!define: "INSTDIR_REG_ROOT"="HKLM"
!define: "INSTDIR_REG_KEY"="Software\Microsoft\Windows\CurrentVersion\Uninstall\Blaster Faster"
!define: "MIN_FRA_MAJOR"="2"
!define: "MIN_FRA_MINOR"="0"
!define: "MIN_FRA_BUILD"="*"
PluginDir: "."
!include: "X:\windows\makensis\Include\MUI.nsh"
!include: "X:\windows\makensis\Contrib\Modern UI\System.nsh"
NSIS Modern User Interface version 1.8 - Copyright 2002-2009 Joost Verburg (X:\windows\makensis\Contrib\Modern UI\System.nsh:8)
!define: "MUI_INCLUDED"=""
!define: "MUI_SYSVERSION"="1.8"
!define: "MUI_VERBOSE"="3"
!include: closed: "X:\windows\makensis\Contrib\Modern UI\System.nsh"
!include: closed: "X:\windows\makensis\Include\MUI.nsh"
!include: "X:\windows\makensis\Include\AdvUninstLog.nsh"
Advanced Uninstall Log NSIS header v1.0 2007-01-31 by Red Wine (http://nsis.sf.net/User:Red_Wine) (X:\windows\makensis\Include\AdvUninstLog.nsh:29)
!include: closed: "X:\windows\makensis\Include\AdvUninstLog.nsh"
Name: "Blaster Faster"
Caption: "Blaster Faster"
BrandingText: "Blaster Faster"
OutFile: "D:\Bureau\BlasterFasterv2.exe"
InstallDir: "$PROGRAMFILES\Blaster Faster"
InstallRegKey: "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Blaster Faster\InstallDir"
VIAddVersionKey: "FileVersion" "1.0.0.0"
VIAddVersionKey: "ProductVersion" "1.0.0.0"
VIAddVersionKey: "ProductName" "Blaster Faster"
VIAddVersionKey: "CompanyName" "Gourmet Games"
VIAddVersionKey: "LegalCopyright" "(c) 2021 GrooPhyx"
VIAddVersionKey: "FileDescription" "Installer for Made in GameMaker Studio 2"
!define: "MUI_HEADERIMAGE"=""
!define: "MUI_HEADERIMAGE_BITMAP_NOSTRETCH"=""
!define: "MUI_ICON"="D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\icons\icon.ico"
!define: "MUI_WELCOMEFINISHPAGE_BITMAP"="D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\installer\finished.bmp"
!define: "MUI_HEADERIMAGE_BITMAP"="D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\installer\header.bmp"
!define: "MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH"=""
!insertmacro: UNATTENDED_UNINSTALL
!insertmacro: end of UNATTENDED_UNINSTALL
!insertmacro: MUI_PAGE_LICENSE
!insertmacro: end of MUI_PAGE_LICENSE
!insertmacro: MUI_PAGE_COMPONENTS
!insertmacro: end of MUI_PAGE_COMPONENTS
!insertmacro: MUI_PAGE_DIRECTORY
!insertmacro: end of MUI_PAGE_DIRECTORY
!insertmacro: MUI_PAGE_INSTFILES
!insertmacro: end of MUI_PAGE_INSTFILES
!define: "MUI_FINISHPAGE_NOAUTOCLOSE"=""
!define: "MUI_FINISHPAGE_RUN_TEXT"="Start Blaster Faster"
!define: "MUI_FINISHPAGE_RUN"="$INSTDIR\Blaster Faster.exe"
!insertmacro: MUI_PAGE_FINISH
!insertmacro: end of MUI_PAGE_FINISH
Var: "VCRedistSetupError"
!insertmacro: MUI_UNPAGE_WELCOME
!insertmacro: end of MUI_UNPAGE_WELCOME
!insertmacro: MUI_UNPAGE_CONFIRM
!insertmacro: end of MUI_UNPAGE_CONFIRM
!insertmacro: MUI_UNPAGE_INSTFILES
!insertmacro: end of MUI_UNPAGE_INSTFILES
!insertmacro: MUI_UNPAGE_FINISH
!insertmacro: end of MUI_UNPAGE_FINISH
!insertmacro: MUI_LANGUAGE
File: "D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\installer\finished.bmp" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in macro MUI_WELCOMEFINISHPAGE_INIT on macroline 5
Error in macro MUI_GUIINIT on macroline 2
Error in macro MUI_FUNCTION_GUIINIT on macroline 4
Error in macro MUI_INSERT on macroline 11
Error in macro MUI_LANGUAGE on macroline 7
Error in script "X:/\BaseProject\options/windows/installer/nsis_script.nsi" on line 161 -- aborting creation process


X:/\windows\makensis\makensis.exe exited with non-zero status (1)
elapsed time 00:00:02.8386041s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.2.426/bin/Igor.exe" -j=8 -options="C:\Users\Lp27S\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows PackageNsis started at 06/23/2021 23:14:57
"cmd" /c subst Z: /d

elapsed time 00:00:00.0272799s for command "cmd" /c subst Z: /d started at 06/23/2021 23:15:00
"cmd" /c subst Y: /d

elapsed time 00:00:00.0267836s for command "cmd" /c subst Y: /d started at 06/23/2021 23:15:00
"cmd" /c subst X: /d

elapsed time 00:00:00.0262884s for command "cmd" /c subst X: /d started at 06/23/2021 23:15:00
FAILED: Package Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.
 

Gamebot

Member
Personally, I think this belongs into the programming forum,...

Fifth paragraph up, from bottom states:

File: "D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\D:\Documents\GameMakerStudio2\BlasterFasterv2\options\windows\installer\finished.bmp" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in macro MUI_WELCOMEFINISHPAGE_INIT on macroline 5
Error in macro MUI_GUIINIT on macroline 2
Error in macro MUI_FUNCTION_GUIINIT on macroline 4
Error in macro MUI_INSERT on macroline 11
Error in macro MUI_LANGUAGE on macroline 7
Error in script "X:/\BaseProject\options/windows/installer/nsis_script.nsi" on line 161 -- aborting creation process
Appears you have a problem with your macros.

1. What is your macro code?
2. What version are using?
 

GrooPhyx

Member
Personally, I think this belongs into the programming forum,...

Fifth paragraph up, from bottom states:



Appears you have a problem with your macros.

1. What is your macro code?
2. What version are using?
I'm sorry but what is macro code ?
I'm using IDE v2.3.2.560 Runtime v2.3.2.426
 

Gamebot

Member
I realized that is internal after creating my own executable. I did see in the top line I posted above it was trying to find a file at your "D" location, which is common. It also says "No file found" I'm guessing there is a file its searching for and is not there or corrupted.


1, Start by checking if your project is where you think it is. You can easily find the location by booting up GMS and finding it in two places.

START PAGE :
Code:
Simply put mouse over project in recent to get the full address ( Underneath the project name )
IDE:
Code:
Drop Down menu:  File >> Recent >> Mouse over project file
My need to move it.


2. You may want to check your preferences settings in:

Code:
File >> Preferences >> Platform Settings >> "your os"
It shows your visual studio location
THEN it shows the output type below that in the drop down. I would make sure its on show dialog.



To answer your MACRO question. A macro is a constant that you can use in your code generally written into a single script.

Example:
GML:
#macro green c_green
#macro red make_color_rgb( 255, 0, 0 )
#macro pink 0xFF99FF

#macro p1 0
#macro p2 1
To get the color you only need to type green, red or pink to use those colors.
To get specific column data from say a 2d array you can just type the appropriate player. ( Best is a struct. Next is an enumerator or separate lists )
 

GrooPhyx

Member
I realized that is internal after creating my own executable. I did see in the top line I posted above it was trying to find a file at your "D" location, which is common. It also says "No file found" I'm guessing there is a file its searching for and is not there or corrupted.


1, Start by checking if your project is where you think it is. You can easily find the location by booting up GMS and finding it in two places.

START PAGE :
Code:
Simply put mouse over project in recent to get the full address ( Underneath the project name )
IDE:
Code:
Drop Down menu:  File >> Recent >> Mouse over project file
My need to move it.


2. You may want to check your preferences settings in:

Code:
File >> Preferences >> Platform Settings >> "your os"
It shows your visual studio location
THEN it shows the output type below that in the drop down. I would make sure its on show dialog.



To answer your MACRO question. A macro is a constant that you can use in your code generally written into a single script.

Example:
GML:
#macro green c_green
#macro red make_color_rgb( 255, 0, 0 )
#macro pink 0xFF99FF

#macro p1 0
#macro p2 1
To get the color you only need to type green, red or pink to use those colors.
To get specific column data from say a 2d array you can just type the appropriate player. ( Best is a struct. Next is an enumerator or separate lists )
Sorry for late response, i don't know why but the problem randomly disappear before i tried to fix it
 
Top