Skip to main content

FAQs with Cocos2d Porting to Win32

Game cannot be opened after the EXE file generated by COCOS is packaged.

The resource files the game depends on are not in the same directory as the EXE file. This is because after packaging, everything is installed under C:\Program Files\WindowsApps, and the EXE looks for its required resources based on its own location. When packaging, change all resource paths to absolute paths: "Absolute path of the EXE\Resource path".