Page 1 of 1

Oddly-named .ogg files prevent launch

Posted: 07 Feb 2021, 03:30
by WonderDingo
Hi everyone, apologies if this is the wrong section for this kind of tech support.

https://ibb.co/JdntQXT

When I unpacked the project files on my Android phone, a few errors popped up relating to these .ogg files and they were apparently not unpacked along with the rest of the other sound files. I've tried moving the specific .ogg files from my PC to my phone, but they don't actually successfully copy when I try it and I get the same error message when launching ONScripter-RU. My first thought is that Android 11 has some specific restriction that doesn't allow files of whatever character that is to exist, but truly, I'm pretty stumped as to how to solve this. I have an Asus Zenfone 6 with a Snapdragon 855, if that matters.

Re: Oddly-named .ogg files prevent launch

Posted: 04 Mar 2021, 17:17
by ndgnuh
I fixed this one using this script: https://drive.google.com/file/d/14dobgq ... sp=sharing

If you know basic posix shell you can put the script in the root of the game directory and use Termux to run it there (current directory must be the root of the game). The script content is just this:

Code: Select all

cp sound/voice/05/3100012%7F3.ogg sound/voice/05/31000123.ogg
cp sound/voice/18/1180017%7F2.ogg sound/voice/18/11800172.ogg
cp sound/voice/11/4200132%7F8.ogg sound/voice/11/42001328.ogg
cp sound/voice/34/3100012%7F3.ogg sound/voice/34/31000123.ogg
cp sound/voice/13/4040024%7F5.ogg sound/voice/13/40400245.ogg
cp sound/voice/09/1130003%7F9.ogg sound/voice/09/11300039.ogg
Here's the script content, I put the script on here because I'm afraid the special character is going to be loss when copying from/to the web some how. You can copy the file name from the above (the one that doesn't have '%' in its name, eg

Code: Select all

sound/voice/05/31000123.ogg
) and manually rename the files. Note that the special character won't be displayed.