Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game crashes when the user try to change tag color #91

Closed
Kazenin opened this issue Jun 27, 2020 · 8 comments
Closed

Game crashes when the user try to change tag color #91

Kazenin opened this issue Jun 27, 2020 · 8 comments
Labels
bug opengl OpenGL specific issue upstream This needs a fix from the original developers

Comments

@Kazenin
Copy link

Kazenin commented Jun 27, 2020

Describe the bug

When I try to change tag color in truckersMP. the game is crashing

Expected behavior

This the option I can't change:
change_tag

Command

I am running this command to start the game:
`./truckersmp-cli -esp -x "/steam/path/compatdata/227300/pfx"

Terminal output

I receive this screen but not messages in terminal:
crash

Information

  • OS: [Debian 10 Testing]
  • Proton or Wine version: [`Proton 4.11-13``]
  • truckersmp-cli version: [latest version]

I try to execute these steps but no sucess. The config.txt files does not exist.

@Lucki
Copy link
Collaborator

Lucki commented Jun 27, 2020

Thank you for your bug report. We've encountered this before but unfortunately it looks like a bug in Wine/Proton.
The workaround you've found is basically the thing you want to do here.

The config.txt files does not exist.

It should exist. Please try to find the config file by following along this guide #50 (comment):

The tag color can be changed by editing the value of tag_color in config.txt. The default paths (for Proton) are:

ETS2: ~/.local/share/truckersmp-cli/Euro Truck Simulator 2/prefix/pfx/drive_c/users/steamuser/My Documents/ETS2MP/config.txt
ATS: ~/.local/share/truckersmp-cli/American Truck Simulator/prefix/pfx/drive_c/users/steamuser/My Documents/ATSMP/config.txt

You can pick a color from any of "HTML color picker" web sites and use its decimal value.
For example, if you want to use color #cccc00 (= 13421568), specify "tag_color" : 13421568 and overwrite the file:

{
   "extra" : {
      ...
   },
   "generals" : {
      ...
      "tag_color" : 13421568,
      ...
   },
   ...

python3 is useful to get decimal value:

$ python3
>>> 0xcccc00
13421568
>>> (Ctrl-d)

@Kazenin
Copy link
Author

Kazenin commented Jun 27, 2020

Hey @Lucki thanks for answer.

I tried to find this path but it does not exist. Take a look:

ETS2:
ets_mp

ATS:
ats_mp

I tried to find config.txt file on entirely system but it does not exist. I am stuck at this point. I dont know how generate this path on my file system. I installed TrucksMP using the tips written here on github instructions.

@Lucki
Copy link
Collaborator

Lucki commented Jun 27, 2020

You've given a custom prefix location (-x "/steam/path/compatdata/227300/pfx") so you have to look there:
/steam/path/compatdata/227300/pfx/drive_c/users/steamuser/My Documents/ETS2MP/config.txt

@Kazenin
Copy link
Author

Kazenin commented Jun 27, 2020

Gotcha!! It works!! I found the file and set tag color perfectly. Thank you so much @Lucki. Long life to truckersmp-cli and lets ride

@Lucki Lucki closed this as completed Jun 27, 2020
@kakurasan kakurasan pinned this issue Jun 28, 2020
@kakurasan
Copy link
Collaborator

This happens also on Windows 10 when OpenGL renderer is used (uset r_device "gl"). I'm sure that this is a bug in Multiplayer MOD, not in Wine/Proton.

Today I have submitted a bug report to TruckersMP Support.

Another workaround is to use Direct3D 11 (--enable-d3d11) instead of OpenGL.

@kakurasan
Copy link
Collaborator

Unfortunately this will most likely not be fixed.

  • According to TruckersMP Support, this is a known bug
  • Not sure whether TMP developers are trying to fix it or won't fix it
  • I wanted to ask TMP developers (not Support staff) some questions but it was not possible

Most players use D3D11 on Windows and D3D11 doesn't have this issue. So this would be low priority... 😞

@Lucki
Copy link
Collaborator

Lucki commented Aug 29, 2020

I've also tried to talk to them before about including real Linux support but they're pretty closed and don't want anyone to help.
We should keep an eye on the issue with DXVK (why d3dcompiler_47.dll is needed) so we don't need that activating anymore.

@Krisi1051
Copy link

Hi.

This issue should be fixed by TruckersMP: https://forum.truckersmp.com/index.php?/topic/105951-02350-released/

@Lucki Lucki added bug upstream This needs a fix from the original developers labels Oct 20, 2021
@Lucki Lucki unpinned this issue Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug opengl OpenGL specific issue upstream This needs a fix from the original developers
Projects
None yet
Development

No branches or pull requests

4 participants