BigBoiCJ / SteamAutoCracker

An open-source script that automatically Cracks (removes DRM from) Steam games
https://cs.rin.ru/forum/viewtopic.php?f=10&t=120610
BSD 3-Clause "New" or "Revised" License
779 stars 55 forks source link

[!!!] A Tkinter Python error occurred! The error has written to error_tkinter.log [v2.2.1] #80

Open Male-Stranger opened 1 month ago

Male-Stranger commented 1 month ago

Hello, I am new. I found a error.

[!!!] A Tkinter Python error occurred! The error has written to error_tkinter.log [v2.2.1]

Jorōgumo - じょろうぐも (Steam Page)

---------------------------------------
SteamAutoCracker GUI v2.2.1 by BigBoiCJ
---------------------------------------

Selected folder: C:/Users/User/Downloads/Jorōgumo - じょろうぐも/2442760

[1/2] Retrieving game informations from Steam...
- Game found! Name: Jorōgumo - じょろうぐも - AppID: 2442760

[2/2] Retrieving DLCs...
- No DLC found for this game!
Finished retrieving all the details about the game Jorōgumo - じょろうぐも (appID: 2442760)

Searching Steam API DLLs and cracking them...
- Attempting to run Steamless on NyxMechanics.exe
- Couldn't run Steamless on NyxMechanics.exe, it is probably not under DRM.
- Found steam_api64.dll in C:/Users/User/Downloads/Jorōgumo - じょろうぐも/2442760\Engine\Binaries\ThirdParty\Steamworks\Steamv151\Win64, planning crack application
- Attempting to run Steamless on NyxMechanics-Win64-Shipping.exe
- Couldn't run Steamless on NyxMechanics-Win64-Shipping.exe, it is probably not under DRM.
Created new file SteamConfig.ini
Backupped old file steam_api64.dll -> steam_api64.dll.bak
Created new file steam_api64.dll

-----
Finished cracking the game!
The game has been cracked successfully! (If you attempt to crack if again, SAC will try its best to make it work, but will let some leftovers of old cracks.)
[!!!] A Tkinter Python error occurred! The error has written to error_tkinter.log, please report it on GitHub or cs.rin.ru
Make sure to blank any personal detail.

error_tkinter.log error.log

Male-Stranger commented 1 month ago

There is another game as the same error.

Survival Guide 2 (生存指南2湖西区) (Steam Page)

---------------------------------------
SteamAutoCracker GUI v2.2.1 by BigBoiCJ
---------------------------------------

Selected folder: C:/Users/User/Downloads/Survival Guide 2 (生存指南2湖西区) (video game 2024) [Version Demo1.14v]/生存指南2湖西区 Demo

[1/2] Retrieving game informations from Steam...
- Game found! Name: Survival Guide 2 - AppID: 2615300

[2/2] Retrieving DLCs...
- No DLC found for this game!
Finished retrieving all the details about the game Survival Guide 2 (appID: 2615300)

Searching Steam API DLLs and cracking them...
- Attempting to run Steamless on SurvivalGuide2Demo.exe
- Couldn't run Steamless on SurvivalGuide2Demo.exe, it is probably not under DRM.
[!] Seems like a file named steam_api64.dll.bak is present. This could indicate that steam_api64.dll has already been cracked! Overwriting steam_api64.dll. No backup of the previous steam_api64.dll could be created, and the file has been deleted. steam_api64.dll.bak has been restored.
- Found steam_api64.dll in C:/Users/User/Downloads/Survival Guide 2 (生存指南2湖西区) (video game 2024) [Version Demo1.14v]/生存指南2湖西区 Demo\Engine\Binaries\ThirdParty\Steamworks\Steamv153\Win64, planning crack application
- Attempting to run Steamless on CrashReportClient.exe
- Couldn't run Steamless on CrashReportClient.exe, it is probably not under DRM.
- Attempting to run Steamless on UEPrereqSetup_x64.exe
- Couldn't run Steamless on UEPrereqSetup_x64.exe, it is probably not under DRM.
- Attempting to run Steamless on StartTestMotion-Win64-Shipping.exe
- Couldn't run Steamless on StartTestMotion-Win64-Shipping.exe, it is probably not under DRM.
Backupped old file SteamConfig.ini -> SteamConfig.ini.bak
Created new file SteamConfig.ini
Backupped old file steam_api64.dll -> steam_api64.dll.bak
Created new file steam_api64.dll

-----
Finished cracking the game!
The game has been cracked successfully! (If you attempt to crack if again, SAC will try its best to make it work, but will let some leftovers of old cracks.)
[!!!] A Tkinter Python error occurred! The error has written to error_tkinter.log, please report it on GitHub or cs.rin.ru
Make sure to blank any personal detail.

error_tkinter.log error.log

BigBoiCJ commented 1 month ago

Thanks for the report! Are you on windows or another OS?

I feel like the issue is the encoding that's wrong. On windows, "cp1252" is used by default, and it seems like the file you have is using another one, probably utf-8 if you're on linux. It might also be the order way around? Try editing the file to get this encoding. I might modify SAC to specifiy the default to utf-8.

Could you provide your config.ini? And tell me if you manually edited the config.ini file in any way, and if so, with what program?

Simply deleting the config.ini file and letting it re-generate should work though.