Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
PortWINE
Commits
68c2a672
Unverified
Commit
68c2a672
authored
Jul 01, 2024
by
Llein
Committed by
GitHub
Jul 01, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix launch game with old steam_api.ini
parent
f1559826
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
functions_helper
data_from_portwine/scripts/functions_helper
+7
-3
No files found.
data_from_portwine/scripts/functions_helper
View file @
68c2a672
...
...
@@ -2408,9 +2408,13 @@ start_portwine () {
for
chk_lang_and_uname
in
"steam_emu.ini"
"steam_api.ini"
"steam_api64.ini"
"SteamConfig.ini"
;
do
if
[[
-f
"
${
PATH_TO_GAME
}
/
${
chk_lang_and_uname
}
"
]]
;
then
sed
-i
"/Language/c
\L
anguage=
${
FULL_LN
}
"
"
${
PATH_TO_GAME
}
/
${
chk_lang_and_uname
}
"
sed
-i
"/UserName/c
\U
serName=
${
USER
}
"
"
${
PATH_TO_GAME
}
/
${
chk_lang_and_uname
}
"
sed
-i
"/PlayerName/c
\P
layerName=
${
USER
}
"
"
${
PATH_TO_GAME
}
/
${
chk_lang_and_uname
}
"
sed
-i
"/Language=/c
\L
anguage=
${
FULL_LN
}
"
"
${
PATH_TO_GAME
}
/
${
chk_lang_and_uname
}
"
sed
-i
"/UserName=/c
\U
serName=
${
USER
}
"
"
${
PATH_TO_GAME
}
/
${
chk_lang_and_uname
}
"
sed
-i
"/PlayerName=/c
\P
layerName=
${
USER
}
"
"
${
PATH_TO_GAME
}
/
${
chk_lang_and_uname
}
"
sed
-i
"/Language =/c
\L
anguage =
${
FULL_LN
}
"
"
${
PATH_TO_GAME
}
/
${
chk_lang_and_uname
}
"
sed
-i
"/UserName =/c
\U
serName =
${
USER
}
"
"
${
PATH_TO_GAME
}
/
${
chk_lang_and_uname
}
"
sed
-i
"/PlayerName =/c
\P
layerName =
${
USER
}
"
"
${
PATH_TO_GAME
}
/
${
chk_lang_and_uname
}
"
fi
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment