Ai0796 / BDSP-Randomizers

MIT License
17 stars 5 forks source link

unable to complete the setup #14

Closed yzbbbbb closed 2 years ago

yzbbbbb commented 2 years ago

image

any idea on how to fix this ?

Ai0796 commented 2 years ago

you should probably redownload, that's an error with a txt file that probably was corrupted somewhere

Greenertia commented 2 years ago

Having a similar issue but with cp949 codec. I've tried redownloading and using previous versions but it keeps coming up with the same issue. image

sora1614 commented 2 years ago

Same issue but mine says "cp932" and redownloading did not help.

sora1614 commented 2 years ago

RomFS Directory set to C:/Users/kapla/Downloads/exe.win-amd64-3.9/romfs Randomizing Starters! An Error has occured: Traceback (most recent call last): File "main.py", line 38, in buttonClicked File "D:\Users\moald\OneDrive\Projects\BDSP-Randomizers\Randomizers\Starters.py", line 135, in RandomizeStarters File "D:\Users\moald\OneDrive\Projects\BDSP-Randomizers\Randomizers\Starters.py", line 113, in colorPokemon File "D:\Users\moald\OneDrive\Projects\BDSP-Randomizers\Randomizers\Starters.py", line 96, in getPokemonColor UnicodeDecodeError: 'cp932' codec can't decode byte 0x82 in position 5699: illegal multibyte sequence

sora1614 commented 2 years ago

I've redownloaded the randomizer several times and it always gives me the same error.

Greenertia commented 2 years ago

Figured out what the issue was @yzbbbbb @sora1614 The error stems from python 3 using locale default encoding instead of UTF-8, all you need to do it temporarily change your default locale language to english, run the randomiser, and change it back if you want to.

Open control panel -> go to region -> administrative tab at the top -> and then change language of non-unicode programs to english. It will require admin and might require you to restart your computer.

Edit: Nevermind, looks like if you want starters randomised, you need to keep your system locale language to english. On the bright side, once your computer has a language downloaded, you won't need to restart your computer every time you swap it so it's easy to swap back and forth between english and whatever language you use.

sora1614 commented 2 years ago

That worked. Apparently I had it set to japanese for some reason.

sora1614 commented 2 years ago

Now the game freeze's on the menu where I pick the language.

sora1614 commented 2 years ago

The fps just drops to 0.

sora1614 commented 2 years ago

So I downgraded my game to 1.1.2 and everything works just fine.

sora1614 commented 2 years ago

I actually forgot to mention that I went back to the old randomizer as well. To downgrade the game version right click on the game then go to remove and then click remove installed updates. From there just download an old update and install it.

sora1614 commented 2 years ago

I got the randomizer set up to work but I'm still having problems in game so I don't know how helpful this info will be.