Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / problem path in other languages

Author
Message
metamorpho
8
Years of Service
User Offline
Joined: 17th Oct 2016
Location: Planet Earth
Posted: 26th May 2020 11:37
Hello everybody!!

Here is the code:


It produces this error - see the appendix

This is due to the fact that in the path to the resources the folders are named in Russian letters.

How to fix this error?
Users launch my game and complain because Does the game give an error if their paths are written in Russian?

Is it possible to configure agk to work with paths in any language?

Who will tell you how to solve this problem?

Attachments

Login to view attachments
Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 26th May 2020 11:58 Edited at: 26th May 2020 12:01
@metamorpho, for compilation, you should avoid the Cyrillic alphabet in the ways, but after you have assembled the project, it works great from anywhere. Tell me, are you Russian-speaking?
metamorpho
8
Years of Service
User Offline
Joined: 17th Oct 2016
Location: Planet Earth
Posted: 26th May 2020 12:16 Edited at: 27th May 2020 14:20
Qugurun, thanks for the answer !!
You are right, after compiling with English path letters, everything works in any directory.
Yes, I am Russian-speaking.

I have another similar question.
The ExtractZip team has problems with paths in Russian. As a result, it is impossible to use "ExtractZip" if there are Russian letters in the path where the game is installed.
Tell me how to solve this problem?
Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 26th May 2020 12:22 Edited at: 26th May 2020 12:22
@metamorpho, Write me a telegram @Qugurun
rus (@metamorpho, напиши мне в телеграм @Qugurun)
Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 26th May 2020 12:25 Edited at: 26th May 2020 12:27
I have guesses how to fix this. If the final platform is only Windows, then you can write own plugin that will work with Zip and which will not have problems with the Cyrillic alphabet.
(У меня есть догадки как это исправить, но нужно проверить. Если конечная платформа Windows, то можно написать свой плагин который исправит проблему с кириллицей.)
metamorpho
8
Years of Service
User Offline
Joined: 17th Oct 2016
Location: Planet Earth
Posted: 26th May 2020 12:26 Edited at: 27th May 2020 14:16
there is no telegram, there is Viber (or gmail) Yes platform Windows
Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 26th May 2020 12:36 Edited at: 26th May 2020 12:42
Can I have some code that causes a problem?
Можно пример кода который вызывает проблему? Может есть ВК?

I duplicate in English since the forum is English-speaking.
metamorpho
8
Years of Service
User Offline
Joined: 17th Oct 2016
Location: Planet Earth
Posted: 26th May 2020 12:43 Edited at: 26th May 2020 12:46
see private messages
yes VK is
Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 26th May 2020 15:58 Edited at: 26th May 2020 20:27
We solved the problem outside the forum. ExtractZip has no problems with Russian letters. The problem was in addition to WadPacker, more precisely in a couple of lines that ruined the folder path.

UPD: Hastened to conclusions, ExtractZip has a problem with Russian letters.
UPD: I wrote a plugin that fixes the problem of Russian letters for ExtractZip but now there is a similar problem, the plugin cannot load if there are Russian letters in the path to the application! LOL

Login to post a reply

Server time is: 2024-11-22 04:53:20
Your offset time is: 2024-11-22 04:53:20