Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Traceback (most recent call last):
File "<string>", line 527, in updateRPC
File "e:\steam\steamapps\common\sourcefilmmaker\game\sdktools\python\2.7\win32\lib\codecs.py", line 296, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xbf in position 944: invalid start byte
I did install the script through the scripts tab in sfm, I haven't tried to install it manually or anything, and I do have -condebug in the launch settings
this piece of code i think would do it, but before try to just delete the console log file and check if anything you named could have a invalid character.
Code fix:
go to your sfm_init.py, open it in a text editor, do CTRL+F to search this command: consoleFile = open(os.getcwd()
there are 2 lines that have this command, so rewrite them just like in this print(remove encoding and put rb): https://pasteboard.co/ija9Te6PLdSo.png
if the code part works i'll deploy it on the main script
https://pasteboard.co/wG4Xv3Oh7dXo.png
What i need is the error message inside sfm if there is any.
Remember, you need to add the launch command -condebug for it to gather data regarding the map, my theory is that you maybe don't while having the showmap option on, causing the script to search for a file that doesn't exist, making the rpc crash and stop sending updates.
I don't get any mistakes and I'm wearing the name of the session, and I still get it as a session.
If you really want to show that session and you know you're going to be working on it for a long time, consider turning on custom activity, writing the map name on the box, and disabling project name.
Meanwhile i'll find a way to get the document path and get the name from there, once i do, i'll send the code bit here
so after playin SFM for an Hour the Rich Presence on Discord Activity just revert back to "Playing Source Filmmaker for 1 hour"
if i close SFM and Reopen it, its working normally again.