home
back to other
back to tools
Godot 4 feature errors
Make sure the launch command is set to FPSoftware\startChrome.bat
.
If only Secure Context is listed, skip past the numbered list of steps.
- Download Godot RE Tools (GDRE) here and extract the folder inside the ZIP file to your chosen directory.
- Open gdre_tools.exe, go to RE Tools > Recover Project... and navigate to the location of the game's PCK file.
- After the game's assets are identified, a menu called "PCK explorer" will pop up. Under Destination folder, click the button with three dots and extract the game's assets to your folder of choice. Creating a new folder is recommended, as this will make the game's decompiled assets easier to work with. If the PCK is encrypted, it will be impossible to follow the rest of this guide.
- If you haven't already, go here and download the Standard version of Godot 4.3 for your operating system. Installation instructions may vary depending on your operating system.
- Run the non-console EXE (this is the one with the larger file size). When the main menu pops up, click Import. Navigate to the project.godot file that was generated by GDRE. Click Import & Edit and the game's project file will open. If you get a warning that the version of Godot you're using is different to the one the project was created in, this can be safely ignored.
- Go to Project > Export and click the Web (Runnable) preset (if it doesn't exist, click Add > Web), making sure Thread Support (under Variant) and Ensure Cross Origin Isolation (under Progressive Web App) are turned off.
- Click the icon with a page and three dots next to Export Path and select a folder of your choice for exporting, preferably a new one for ease of use (but not your curation's folder; we need to keep the original files for preservation purposes). End the path with the name of the JS file in the original web build. For instance, GameName.js would become GameName.html.
- If an "Export templates for this platform are missing" error doesn't appear, continue to step 9. If it does, click Manage Export Templates > Download and Install. It may take a while for these templates to install. Once they have installed, click Close and repeat steps 6-7.
- Click Export All... and choose the Release export mode. Go to the folder you exported the game to and delete any files that aren't included in the original web build, renaming any files to their original equivalents if necessary. Likewise, rename any original files to include "_original" before their file extensions, after which the new files can be safely moved in the same direction as the old ones.
If there is a Secure Context error, open game_name/index_name.js. Look for the following code snippet and remove it:
if (!Features.isSecureContext()) {
missing.push('Secure Context - Check web server configuration (use HTTPS)');
}
The game should now launch properly, albeit with non-working audio.