[BUG] Issue with config.ini and update bug
See original GitHub issueNewly install or upgrade will give wrong config.ini
.
P/s: For first time after install, the launcher will working correctly even with wrong
config.ini
. But after restart it, the launcher won’t work as expected.
- Normal
config.ini
(This is a backup file from old version):
[launcher]
channel=1
cps=
game_version=5.8.0
sub_channel=1
sdk_version=
game_install_path=D:\GAME\CollapseFolder\Hi3SEA
game_start_name=BH3.exe
is_first_exit=False
exit_type=2
- Wrong
config.ini
(Can be obtain by newly install or update game via normal path or delta patch):
[General]
channel=1
cps=
game_version=6.0.0
sub_channel=1
sdk_version=
Update issue:
I get this issue after apply the fix config.ini, in this case is above one. When start launcher, it recognizes the game but requires me to update the game once again. Do the update and the first issue (above one) happens
Issue Analytics
- State:
- Created a year ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
[Bug] Saving a Config (INI) File Should Not Replace Original File
When saving a config (INI) file, the original file is "replaced" (deleted and then a new file created in its place, as opposed...
Read more >BUG: astro add could not update config file safely #3071
I am willing to submit a pull request for this issue.
Read more >[SOLVED] "Error saving config.ini" upon choosing 'Create a ...
This error is shown when the game can't write to the config.ini file. Normally it is allowed to write to your documents folder...
Read more >[Bug?] Config files not always updating
Hi, I edited the Default ini files present inside my project folder, it appears that Rocket read them randomly.
Read more >Problem with auto update, get fatal error while ...
The error is thrown when I try to read a Configuration file in the Updater class and line config = Configuration.read(in);. Can someone...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks. Seem like working correctly now. I will check out if there is anything else to do. Closed by Li - Cause: Issue resolve
Hi there,
Just give you an update. Seems like I’m being able to reproduce your issue.
The issue occurred while the
game_install_path
in Launcher Scope’sconfig.ini
is empty.I will make a mechanism to relocate your game if the config is missing in the next version.
So, here’s a plan for you.
Games
inD:\GAME\CollapseLauncher\Hi3SEA
path.D:\GAME\CollapseLauncher\Hi3SEA
path to a new createdD:\GAME\CollapseLauncher\Hi3SEA\Games
folder.config.ini
file in thisD:\GAME\CollapseLauncher\Hi3SEA
path.config.ini
file in thisD:\GAME\CollapseLauncher\Hi3SEA
path with this one: