Skip to content

Conversation

@MrXANA91
Copy link

@MrXANA91 MrXANA91 commented Jul 16, 2024

Description

This pull request aims to give (at least) a temporary solution to issue #106 and its dupplicate(s).

While the root cause could not be entirely determined, it appears that deactivating the images rendering in servers description prevent the crash from happening.
This PR adds a checkbox setting in the Online/Display category to hide images in server description (deactivated by default).

Hide images in server description checkbox screenshot

Detailed changes

  • Added a boolean setting HideImagesInServersDescription (deactivated by default)
  • Added a checkbox control in the Online/Display category to control the boolean setting
  • Added a filter function to the server description string when receiving server information, that filters out the img tags if the boolean setting is enabled
  • Added a string ressource to AppString for the HideImagesInServersDescription checkbox text :
    • Settings_Online_HideImagesInServerDescription --> "Hide images render in servers description"

Checklist

  • Code compile
  • Problem is solved
  • String ressource for all languages (translation)
  • Solve inconsistency when changing setting after some servers info have already been loaded

Github commands

fix #106
fix #109

@MrXANA91
Copy link
Author

MrXANA91 commented Jul 16, 2024

This PR is only for reference as the repo is a bit outdated.
Some changes are also weirdly huge (see the AppStrings files).

Main maintainer will be contacted.

@MrXANA91 MrXANA91 marked this pull request as ready for review July 16, 2024 08:05
@MrXANA91
Copy link
Author

Marking this as Ready, even if some changes are still required.
Advises are welcomed.

@robke96
Copy link

robke96 commented Aug 4, 2024

I couldn't find a compiled version, so I compiled it myself. Since we don't know when this will be merged into the main branch, this should work for now. It requires a newer version but works fine as is.
[DO NOT UPDATE THE AC, AS IT WILL REMOVE THE PATCH.]

Download

I'm providing the compiled version for x86. If the URL doesn't work, please try another mirror:
GitHub: Content Manager.zip
Mega.nz
Mediafire
file.io

If any of the file/links seem suspicious, you can compile it yourself.

How to apply this patch?

Everything is explained in this video: Watch Tutorial

Instead of downloading the original Content Manager from the site, download the patched version provided in this Pull Request/Comment.

@sihawido
Copy link

@gro-ove please 🙏

@MrXANA91 MrXANA91 force-pushed the fixCrashServerSelection branch from a0cd917 to 8f4c01c Compare March 13, 2025 12:44
@MrXANA91 MrXANA91 marked this pull request as draft March 13, 2025 12:51
@MrXANA91
Copy link
Author

MrXANA91 commented Mar 13, 2025

I just rebased this PR, I'll test it later today.

Edit: yup, i forgot about it. Testing it this weekend.

@MrXANA91 MrXANA91 marked this pull request as ready for review March 16, 2025 15:24
@MrXANA91
Copy link
Author

Recompiled and tested to the latest commit of the master branch (c204f8d) :


Like @robke96 said, if you don't trust random people on the Internet giving you .exe files online (you shouldn't), you can recompile the project using this branch.

@SpiritFlow516
Copy link

Hello, with the new version of pure created for Linux there will be many people having the issue with accessing the euroracer servers. Would it be possible to merge the latest master with this branch? I may need to learn how to build it but it will allow us to use the latest version of content manager with this fix. Thank you

@MrXANA91 MrXANA91 force-pushed the fixCrashServerSelection branch from d43c7ba to 651fd6c Compare November 24, 2025 10:40
@MrXANA91
Copy link
Author

Hello, with the new version of pure created for Linux there will be many people having the issue with accessing the euroracer servers. Would it be possible to merge the latest master with this branch? I may need to learn how to build it but it will allow us to use the latest version of content manager with this fix. Thank you

PR has been rebased, testing it later today.

@MrXANA91
Copy link
Author

I am having a lot of trouble getting it to compile again, I don't really know what is happening.

@SpiritFlow516
Copy link

I'm trying to build just the latest and I'm having a hard time. I do c++ but never .net c#. There is no documentation either. I'm down to 2 projects not building. I had it down to 1 with 7 errors but the project configurations got changed and I went backwards. Mind you this is without any code change just the project configuration files. Thanks for trying though

@SpiritFlow516
Copy link

So I was able to solve the problems with the CefSharp library. It seems that the files for version 114.2.120.0 are not included. However, I also have the error related to AcManager.Controls (7 errors) which does not allow the AcManager to build. Please let me know if you solve it. Thanks

@MrXANA91
Copy link
Author

So I was able to solve the problems with the CefSharp library. It seems that the files for version 114.2.120.0 are not included. However, I also have the error related to AcManager.Controls (7 errors) which does not allow the AcManager to build. Please let me know if you solve it. Thanks

I think I have way more than 7 errors when I try to build, most of them related to http://acstuff.club/... namespaces not being found, have you encountered those? If so, how have you handled them?
Also, can you please post the errors you're getting? I might be able to help.

On another note, I am trying to reach out to @gro-ove, without success for now.

@SpiritFlow516
Copy link

Yes the 7 errors are only on AcManager.Controls which then causes 142 errors in AcManager. So I went the route of getting the CefSharp libraries and adding then to the Libraries folder instead of getting the package from NuGet (CefSharpCommon, CefSharp.WinForms and CefSharp.Wpf version 114.2.120) and also getting the packages from NuGet and the problem is the same. Yes the errors are related to the namespace issue. The projects have several references that are not found and in some cases they have references to older versions (MoonSharp 1.6..0 and 2.0.0). So if the code built in the past the problem may be related to a configuration issue. I was also diffing the last 2 hashes and they show no change which is odd since there are supposed to be changes.

@SpiritFlow516
Copy link

So I was able to build the project using hash 09f3cc1 and with some changes to the AcManager and AcManager.Controls project files related to packages. Specifically fixing a couple of references. If update to any version after that I ended up with the same errors as the latest version.

@SpiritFlow516
Copy link

Ok I was able to built the latest hash (effa0e1) by changing all namespace entries from http://acstuff.ru to http://acstuff.club. Also, some changes to the AcManager and AcManager.Controls project files related to references which in turn change the packages.config for AcManager file project. However, when running the exe it says the version is 0.8.2136.36454 instead of 0.8.2790.39895 which is confusing. I had to switch to the actual tag to get the version to show the correct value. Thanks. By the way, the project still reports 39 warnings. Next, I'll try to manually add your workaround to create a Linux version.

@SpiritFlow516
Copy link

Your branch has an issue on file AppStrings.Designer.cs line 3697. It appear to be an unfinished merge. Let me know if I got it wrong. Thanks

@MrXANA91
Copy link
Author

Your branch has an issue on file AppStrings.Designer.cs line 3697. It appear to be an unfinished merge. Let me know if I got it wrong. Thanks

Yeah, good catch. Fixed the code.
Did you manage to build it? I haven't tried it since.

@SpiritFlow516
Copy link

Yes. I was able to build both versions. However, I had to make changes related to the namespace and also project files and the references to certain packages/libraries. When building the latest version the exe shows on the last version (39895) but when bringing your changes manually the version of the exe changed and it shows behind. That part I don't understand yet. I haven't bring your recent changes yet so I'll try it and see. Do you know what determines the version on the exe? I thought it was thru git and its tag. This is what git is giving me:
commit effa0e1 (tag: v0.8.2790.39895, tag: v0.8
.2787.39884, tag: v0.8.2782.39874, origin/master, origin/HEAD, master)

Thanks

@MrXANA91
Copy link
Author

Yeah the versioning is a bit a mystery to me here, I know that most of the time Github releases and source code don't match. So I wouldn't care too much about the exe version, just warn people to disable auto-update if they use this special compiled version.

@LECAGO
Copy link

LECAGO commented Jan 8, 2026

Hi all, can anyone provide the latest compiled .exe? The previous compiled .exe by @MrXANA91 is recently running into problems, crashing in server selection screen. I wasn't able to build a new version despite attempting to fix some referencing issues mentioned by @SpiritFlow516 (I'm not a C# developer).

@SpiritFlow516
Copy link

Content Manager.zip
Here is the executable with the latest code that includes @MrXANA91 addition to avoid the crash when viewing online servers such Euroracers. As he mentioned above, do not trust exe from strangers.

@LECAGO
Copy link

LECAGO commented Jan 10, 2026

Content Manager.zip Here is the executable with the latest code that includes @MrXANA91 addition to avoid the crash when viewing online servers such Euroracers. As he mentioned above, do not trust exe from strangers.

Sorry, are you sure this is the correct version? It does not include the fix that has a toggle to "Hide images render", and will crash when viewing EuroRacers server.

@SpiritFlow516
Copy link

Content Manager.zip Here is the executable with the latest code that includes @MrXANA91 addition to avoid the crash when viewing online servers such Euroracers. As he mentioned above, do not trust exe from strangers.

Sorry, are you sure this is the correct version? It does not include the fix that has a toggle to "Hide images render", and will crash when viewing EuroRacers server.

Sorry about that. It must be the latest version without the fix. I'll upload the other version soon.

@SpiritFlow516
Copy link

AssettoCorsa.zip
Here it is. I had to log on unto my linux account to get the executable because I'm having issues with git not able to get to the commits that had those changes. Anyway, this executable should work and is running the latest version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

5 participants