Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Browser export issue

A topic by Madhousefruitcake created Oct 25, 2022 Views: 587 Replies: 6
Viewing posts 1 to 5
(2 edits)

I am using Tyranobuilder.

So I uploaded one route on browser no problem on itch.io, but the second route I upload gives me this error message:

Archive contains filename with non UTF-8 Encoded characters
Please try deleting the ZIP file and uploading another one.

Using visual studio code, I looked through the game files to see the problem. It highlighted Japanese characters as "not a basic ASCII character", and the route I successfully uploaded had the same issue...but uploaded regardless. Here's a screenshot:
https://imgur.com/a/GwgD8HF

Being an only English speaker and limited in coding knowledge, I'm at a loss on what to do. Please help. :(

(1 edit)

You must differentiate what is the name and path of a file, from its content.

The error says that the name or path of some file inside the zip contains a "special" character.

The messages you get from visual studio code probably refer to the content of a file, which is different from the file name.

You will have to check the names and paths of the files you are trying to upload, once you find it, rename it and make the corresponding corrections within your game code.

(1 edit)

The problem seems to be not with the contents of the file, but the filenames themselves.

Hiragana, Katakana, and Kanji aren't supported well and it would be better to turn the filenames into Romaji instead.

If possible, stick only to the 36 alphanum characters, underscores, and dashes.

Afterwards, you will need to update the game to use the new romaji filenames instead of the old ones.

(1 edit)

The filenames are all in English, it's just the contents have Japanese. That's where I'm stuck. I can't find any special characters in the filename.

In that case, it sounds like there's a file that doesn't have the right encoding. It's probably the files coming from a JPN since they default to ShiftJIS.

You'll need to identify which files came from that JPN and see if the file's encoding is at UTF-8 after you use "Re-open with Encoding" in VSCode. VSCode defaults to UTF-8 even if the file isn't so you'll need to use that re-open.

https://imgur.com/a/vVpEjmA

Once you identify what files aren't actually in UTF-8 encoding, then you'll need to use "Save with Encoding" and need to save it as UTF-8 this time.

But if you're comfortable enough with command line tools, I'd recommend using iconv instead and just force everything to be UTF-8

(+1)

This is a very common problem for anyone using Tyranobuilder Visual Novel. It is in their website that says they used 3rd party  export to make HTML, Android and IOS. The software you brought can not build any HTML related or Apple product codes to make it work. Tyranobuilder is a scam, the software is  abandoned too,  the 3rd parties are gone, we used to make HTML to android very easy but Google made new rules and now only a select group of paid companies even care about HTML to (device target).

The answer you are looking for can never be found, Tyranobuilder is a scam.

Ah, that stinks. I uploaded one of them successfully, so I was hoping there would be a way for me to upload another route. Thanks for letting me know. 

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.