#(SOLVED) Trying to run a game on WINE with a foreign locale

1 messages · Page 1 of 1 (latest)

split granite
#

😭??

remote comet
#

i can't believe you finally finished installing

#

bruh what is that image

#

@split granite i can help you but you need to follow me in this

split granite
#

yeah?

remote comet
#
  1. You need to Uncomment the Japanese locale in your system

Go to this file /etc/locale.gen and uncommenti the line ja_JP.UTF-81

Uncomment = Remove The # Sign Before it

#
  1. After uncommenting the line, you need to generate the locale

Type this command in the terminal locale-gen

remote comet
#

sudo nano /etc/locale.gen

#

after you remove the # sign

#

click Ctrl+X to save

split granite
#

ohhh alr

remote comet
#

then Y then Enter

split granite
#

doesnt look very good

remote comet
split granite
remote comet
#

Three Simple Steps:

  1. Type sudo nano /etc/locale.gen
  2. Remove The # Sign Before ja_JP.UTF-81
  3. Click CTRL+X, Then Y, Then Enter
#

Also Run sudo locale-gen instead of locale-gen

split granite
#

oh

remote comet
#

you seem to lack the admin perms

remote comet
# split granite oh

just a tip you need to memorize, when it says permission denied just add sudo before the command

#

apply that to anything that says permission denied

split granite
#

oh bet

remote comet
split granite
#

lemme run the file

remote comet
#

we have not finished yet

split granite
#

yeah?

remote comet
#
  1. Install Japanese Fonts If You Haven't Already
split granite
#

the game uses english just with a japanese locale since it was translated

#

will i still need to install a japanese font?

remote comet
split granite
remote comet
#

Your system is english so you need to run this game like this

#

LANG="ja_JP.UTF-8" wine YourGame.exe

split granite
#

yeah i kno the command

#

LANG="ja_JP.UTF8" wine /home/copperwirestealer/Desktop/GyakuShawn/gyakushawn.exe

#

i have it copied 🙏

remote comet
#

good

#

keep me updated

split granite
#

it's running but the text is entirely distorted

#

please don't judge my taste in games 🙏

remote comet
remote comet
split granite
remote comet
split granite
#

it's a translation mod

split granite
remote comet
#

check that with wine -version

remote comet
split granite
remote comet
split granite
#

i think straight from the terminal

#

because i couldn't figure out the website

remote comet
#

may i give you a simpler solution that would save both me and your mental health?

#

We will get bottles

split granite
#

alr

remote comet
#

press Y and Enter

#

tell me when it's done

#

when it finished type this

flatpak run com.usebottles.bottles

#

and wait don't do anything till it finishes

#

when it's done you will see it's UI

#

just go along with it's introduction

split granite
#

alright im running the second command rn

#

:3 thx!

remote comet
split granite
#

locale doesn't work with bottles

remote comet
#

btw if you want to change bottles directory

#

go to prefrances and change it

#

just saying that before you fill up your system partition

split granite
remote comet
#

Bottles is straight forward

Click + sign > New Bottle > Choose Gaming > Wait till in finishes

#

if the game is installed click add shortcut

#

if not click install programs

#

i always suggest installing it from an installer

remote comet
#

i will tell you how to import the save data, just get it working first

remote comet
#

In terminal enter:

mkdir -p ~/.wine/locale-ja/

then

localedef -f EUC-JP -i ja_JP ~/.wine/ja_JP.EUC-JP

then

localedef -c -f SHIFT_JIS -i ja_JP ~/.wine/ja_JP.SJIS

#

Then I create the bottle, and entre into the bottle's Preferences and added two environment variables

#

LANG /.wine/locale-ja/

and

LANG /.wine/locale-ja/

#

Like this

split granite
remote comet
split granite
remote comet
#

Click Settings

split granite
#

ohhh i found it

remote comet
split granite
#

alr

#

am i good to run now?

remote comet
#

i have a last wild card but i hope it runs

split granite
#

its still fucked

remote comet
#

run these in terminal

#

sudo dnf install glibc-locale-source glibc-langpack-en

and

sudo dnf install glibc-locale-source glibc-langpack-jp

#

if the second one failed try

sudo dnf install glibc-locale-source glibc-langpack-je

split granite
#

says command not found

remote comet
#

type

sudo apt install dnf

#

then type the above commands

split granite
#

alr

#

Error: There are no enabled repositories in "/etc/yum.repos.d", "/etc/yum/repos.d", "/etc/distro.repos.d".

remote comet
#

because there are related to yum (a package manager for other distro)

split granite
#

i used apt

remote comet
split granite
#

u tell me u told me the command

remote comet
split granite
#

smh

remote comet
#

you gotta believe me when i tell you 'you are the only one who got that amount of unseen errors'

slow barn
# split granite it's running but the text is entirely distorted

try downloading some fonts
you can do this with a windows install if need be
download some language packs and then in C:\windows\Fonts
copy paste the .ttf into

xdg-open $HOME/.wine/drive_c/windows/Fonts
if need be into xdg-open $HOME/.fonts/ also
you can also get some supported misc fonts through linux too
sudo apt install fonts-noto fonts-powerline fonts-3270 fonts-inconsolata ttf-mscorefonts-installer
and after copy paste some more in .wine/drive_c directory again

#

ran into this before as well

#

basic default .wine/drive_c started recently with winehq to download just arial.ttf so it has some font support with troublesome applications
like screenshot above

#

if you want to just boop in and out of the ntfs windows disk
just open a folder manager like nautilus or dolphin
open the ntfs windows disk
and just go through your c: drive to windows/Fonts
copy paste them there into your home dir in linux from linux from the language packs from windows
easy trick

#

you can also check what wine is doing with this

clear ; echo '' ; wine --version ; strings $HOME/.wine/drive_c/windows/system32/dxgi.dll | grep v2 ; ls $HOME/.cache/wine

remote comet
slow barn
#

its mostly just copy paste fonts into wine dir in windows/fonts

#

he can do it

remote comet
split granite
#

im not getting windows just to download a font.

slow barn
#

it is an easier method

split granite
#

wait nvm i got it working :3

#

thank youuuuu