Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Can’t unzip the 1.02 version of the localization kit

A topic by Natalia Ryś created Apr 14, 2024 Views: 231 Replies: 16
Viewing posts 1 to 10
(1 edit)

This is VERY WEIRD… I downloaded the 1. 02 ver. of the kit without any problems. When I tried to extract its contents, I FAILED (the problematic file being game.js), but then SOMEHOW managed to get inside the ZIPPED FILE by double-clicking on it (?) (it is still considered ZIPPED, mind you). Then I succeeded in copying my 2 .lua files into it(HOW??? If it was ZIPPED!!)but I cannot change their NAMES!(remove the pl-PL language code that OmegaT- a CAT tool I used - attached to them. A fact I um… missed somehow.) Jeez… was that game title a premonition or what? 😅 Because I may not, indeed, have enough time! Jokes aside, I am thoroughly embarrassed. What a fail!😭😥

Also, it (the folder) did not ask for a password AT ANY STAGE. It should have, right?

I confirm that everything is fine with the zipfile itself.
Try downloading it again and using a different computer/zipping application.
https://alternativeto.net/software/pkzip/



Okay, one step closer! I managed to unzip lockit correctly (it DID ask for a password this time) and everything seemed in order… all files were in place… I replaced two .lua files with mine, edited their names to be correct (even checked them with Visual Studio Code AFTER i copied them… the structure seemed okay). Then re-zipped, uploaded to Itch… aaand black screen. And a browser console threw a TON of errors at me! (I’ll attach the photos). Also, at the moment my project is set to draft. Didn’t want to embarrass myself. But if I am supposed to get any help, I should make it public, right? 😅 I’ll do that in a sec.

(1 edit)

Maybe try going step by step?

First download the localization kit and extract it. Then upload it as it is and see if it runs.

If it does, open  text_translated.lua and paste over a fourth of your translated lines. Then upload it and see if it runs.

If it does, add the rest bit by bit, and then your graphics. Upload, check repeat.

If at any point the game stops working, it's down to a problem in the last addition.

Check it again line by line until you spot the issue. The upload and check again.

Hope it helps and thanks for joining!

But i noticed something weird in file structure! When opening the original lockit (clicking on its unzipped form), it immediately goes to show the contents (files and game.zip) of the kit. But when I tried to unzip MY zip file after zipping it, it went like this: not-enough-time-LocJam-1.02-pl —> not-enough-time-LocJam-1.02 —> and THEN the files and source zip! It’s as if there was an additional layer/tier added to the folder. I don’t know how to explain it… probably not making much sense… but maybe that breaks everything!

Yes, when you create the ZIP only select the top folder - if you are using 7-Zip you can actually change the folder structure inside the ZIP the same way you would move folders on your computer!

I’m sorry… choose the top folder…? So just click on  the whole thing and select "Send to compressed file (.zip)? Or it cannot be done right off the bat and third-party solution is absolutely necessary? I apologize for my stupidity, but I just don’t do that often, as you can clearly see 🤣 Also that "extra tier of folders" is only added if i try to RENAME the zip (for my convenience)

I think you can go inside that folder, select all the files in it, then Send to Compressed file from there... And I would advise not renaming the file in that case! 😅

I’m utterly confused! I opened the main folder of the kit, selected all the files (including my translations and the 2 folders -  EVERYTHING that was to select) and hit "send to compressed file" and STILL run into a black window after uploading that! My Lua files are okay (I was copying from them earlier to that testing tool and they worked) and the game.zip folder I did not even touch! Weirdly enough. when I click on the files to compress them, the resulting zip folder has the same name as the first file I selected. (Just with a zip extension). But I am leaving the name unchanged. Maybe that’s a mistake?

I don't think the name of the zip file really matters - has your game ever started?

No…😭 Just a black screen. Even  though all the files are there in the zip and are not damaged! The browser console does give me errors, but I have no idea what they MEAN, and so - how to fix them!

yeah the console errors are not very legible; there may also be a syntax error in your LUA then...

can you post your zip for download?

Well, I don't know if I did it CORRECTLY... but here comes the link: https://natalia-rys.itch.io/wakacje-wszechczasw At this point I just want it to LAUNCH! And I'll be happy :D

(1 edit)

I haven't looked at everything but in the top of the text_translated.lua file you have a line break (line 20-21) that breaks the comments!!

edit: yep, that's the error, game runs fine when you fix that line break

(1 edit) (+1)

Yes, it WAS  :) Now everything is up and running! Thank you very much for help and… see you next time 😉 (In another 6 months, perhaps? Because LOCJams seem to be held semi-annually now 😊)

Yes, see you next time!