Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Game breaks when changing "poster_translated.png"

A topic by Localicows created 42 days ago Views: 731 Replies: 7
Viewing posts 1 to 2
(2 edits) (+1)

[EDIT: NOW SOLVED, thank you !]
Hello!

I edited the "poster_translated.png" file to localize the name on it according to the rest of my translation, but when I re-zip the whole "game" folder into the final build, the games does not work anymore (blackscreen).

I tried different solutions:
- Replacing the "game.zip" file with an updated zip file --> game launches but blackscreen
- Same thing, but while leaving the the "game" subfolder inside the final build folder. --> game does not launch at all

Has anyone had the same issue, and if yes, did you manage to fix it?

(I only edited "poster_translated.png", not the title artwork)

Thank you in advance!

(+1)

Do you know how to access the JavaScript console log in your browser? If you do you can check exactly what the error is from there and that can help me figure out what the problem is. Alternatively you can do an upload to itch and share the link with me so I can inspect.

(+1)

Thank you so much for offering to help! And for letting us have fun with with your game too.
Here is the uploaded project link: https://localicows.itch.io/debug-not-enough-time-fr

(+1)

The currently uploaded version still has a "game" subfolder in the zip file. Everything should be in the top folder for it to work, otherwise the engine cannot find the files.

(+1)

I had been checking the wrong subfolder, this explains everything. Thank you very much once again!

(2 edits) (+1)

I'm running into the same issue described here - I wanted to upload my files to test if the sprites work, but I keep getting a black screen. I'm kind of confused by what your prior comment means. Should we be putting everything that was in the game.zip into into the main not-enough-time-locjam files and not extracting them into a "game" subfolder?

Edit: you can check it out here :) https://vfried.itch.io/test

(+2)

When you  recreate the game.zip file after modifying the image you have to make sure that it has the same internal folder structure as the original. Often compression tools will create a zip file that has a single folder inside, which then contains all the other files. This prevents the engine from finding the files, so make sure it's not what's going on in your case.

(+1)

Turns out I did zip the folder instead of the contents, but even after fixing that I couldn't get it to work. Ended up downloading a clean copy of the game and redid the unzipping/rezipping process, and that did the trick! Sometimes starting over is easiest.

I appreciate you taking the time to answer our questions!