Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The latest version of the extension is not creating the zip folder with the files that were used to create the package #88

Open
MarceloGh05t opened this issue Jan 31, 2025 · 10 comments
Assignees

Comments

@MarceloGh05t
Copy link

MarceloGh05t commented Jan 31, 2025

The latest version of the extension is not creating the zip folder with the files that were used to create the package, which shows the executable .exe file and the other files. They only appear in the VM that was used to create the package, but it is not creating the zip file. This is necessary to be sent as a symbol file to Microsoft.

It is only creating the folder with the package files.

I'm taking the files from the vm folder and making a zip with it, as a workaround.

@DiasFranciscoA
Copy link
Collaborator

When mentioned that the last version of the extension doesn't work according to the expected does it mean that the previous version did work fine?! What extension version are you using currently (please make sure you are using a released version from the releases section). What version used to work correctly?

@MarceloGh05t
Copy link
Author

MarceloGh05t commented Jan 31, 2025

@DiasFranciscoA
I will be more clear and specific in the version: WindowsGDK.Ext.v1.1.0, it is the folder with the misxvc package, ekb and the necessary files, however the files, which were used to create the package, executable, images, game config that need to create a zip to be sent as a symbol file. this zip is not being created extension of error in this log to create the zip, it only creates the folder with the package files, but it is missing to create the zip

The success information inside log is from the folder with the msixvc, ekb and other files and the error message is from the zip, with the exe and the files used to create the game (which are sent as symbol files for Microsoft certification)

FINAL LOG:

"################################### Finished Creating Package ###################################"
"Output folder: C:\Users\marce\Desktop\17894YUMEGAMESTUDIO.BREAKINGBRICKS-WINDOWS_1.0.2.0_x64__dmr5c2kdsngzg-pkg"
"NOTE: You will need both .MSIXVC and .EKB to upload the package to the MS Partner Center"
"#################################################################################################"

C:\Users\marce\GameMakerProjects\BrickOut_pc\extensions\GDKExtension\post_package_step.bat exited with non-zero status (255)
elapsed time 00:01:16.2147674s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2024.8.1.218/bin/igor/windows/x64/Igor.exe" -j=8 -options="C:\Users\marce\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows PackageZip started at 01/31/2025 11:36:03
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.

@stuckie stuckie moved this from Triage to Backlog in Team Workload Feb 3, 2025
@DiasFranciscoA DiasFranciscoA moved this from Backlog to In Progress in Team Workload Feb 3, 2025
@DiasFranciscoA
Copy link
Collaborator

The error you are seeing as always been there... and it is there on purpose to stop Igor from building any further, the only package required by Microsoft when uploading the game is the .MSIXVC file and the .EKB file. When it comes to symbol files (.pdb) you can still have those and they are inside the generated folder inside a zip file.

Image

As you can see in the image above the zip file is still generated and should contain all the symbol files (.pdb) required. Below is the contents of the zip file.

Image

Image

In other words the "FAILED: Package Program Complete" is intended and is forced so Igor doesn't continue and create the normal windows ZIP file.

@MarceloGh05t
Copy link
Author

MarceloGh05t commented Feb 4, 2025

Image

The version I mentioned (.v1.1.0, latest version) does not create the zip file as shown in the image I told you about.

No zip file is created. (I already knew this. I'm just showing you a picture, because it didn't help to say it and you must have used another version to generate a zip file)

@DiasFranciscoA
Copy link
Collaborator

We just update the extension to a latest version (2.0.0) this version requires an update to the GDK which needs to be June 2024 (Update3). This version was tested internally and should work as expected.

Note

The zip file referenced in this issue is not generated by the extension or by GameMaker. It is produced by Microsoft's packaging system, and its absence might be related to using an outdated version of the GDK. We believe updating the GDK should resolve this issue. We were unable to reproduce the problem locally after testing with the latest GDK version (240602)

@MarceloGh05t
Copy link
Author

MarceloGh05t commented Feb 6, 2025

I had tested with the gdk version in the same version used for xbox by game maker. Changing the gdk version in the extension properties

One observation: putting different versions of the GDK for the Windows GDK extension and another version of the GDK for the Xbox runtime is a terrible solution. The version of the GDK used by the extension can be changed in its properties, but it would be feasible for both to use the same version of the GDK.

@DiasFranciscoA
Copy link
Collaborator

DiasFranciscoA commented Feb 6, 2025

@MarceloGh05t hello, I wanted to ask if the problem persists, then? What GameMaker version is being used? Thank you so much for your patience and collaboration to figure this issue out.

@MarceloGh05t
Copy link
Author

MarceloGh05t commented Feb 6, 2025

@DiasFranciscoA version 2.0.0 gave an error when using gdk version 24300 (which worked with version 1.0.0 of the extension) and did not even create the package folder, which before creating

the error logs suggest, that the path came broken only as Program instead of Program Files, probably due to the space, which in cli command in line when the path has space you need to use quotes

Error: [GDKEXTENSION] ERROR: Failed to copy "C:\Program

Logs:

[GDKEXTENSION] INIT: Script initialization succeeded (v2.0.0 :: 1).
Setting environment for using Microsoft Desktop Visual Studio 2022 Gaming Tools
Warning: Could not find default VC++ tools config file "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt".
Warning: Could not find default VC++ redist config file "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\Microsoft.VCRedistVersion.default.txt".
Warning: Could not set VC Tools Install Directory.
Warning: Could not set VC Redist Directory.
1 arquivo(s) copiado(s).
1 arquivo(s) copiado(s).
1 arquivo(s) copiado(s).
[GDKEXTENSION] ERROR: Failed to copy "C:\Program

Version game maker

Image

@MarceloGh05t
Copy link
Author

In gdk version 240602, the package folder was generated in extension version 2.0.0, but the zip file was not created.

In other words, it is not the gdk version, but there is a problem that occurs when using the bat file:

C:\Users\marce\GameMakerProjects\teste_pc\extensions\GDKExtension\post_package_step.bat

Image

@DiasFranciscoA
Copy link
Collaborator

Thank you so much for the report there was indeed a typo on the version to use it should be 240602 (but our links were pointing to Update3). The version should be the same as the one used by GameMaker to build Xbox. The extensions was updated yet another time (2.0.2) to make sure the correct path is being used in case your system has more than one version of GDK installed.

In regards to your previous output the log was misleading as the paths were computed and resolved successfully

We will kindly ask you to:

  1. update to the latest 2.0.2 version of the extension.
  2. update the IDE|Runner to the latest monthly version 2024.11
  3. send the complete log output (please make sure the Log Level in the extension options is set to 2)

Thank you once again for the cooperation,
FranciscoDias

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

2 participants