Open Rishikesh01 opened 3 years ago
I have wine 2.0 and it somewhat works with some visual bugs. But that's more of a wine problem than a problem with the patcher.
wine 2.0 aint that really old ver
What version of wine are you using to play multiplayer of shc?
some guy from the UCP discord send me some Linux instructions some time ago:
In order to run the patcher, you need wine and winetricks.
After installing wine and winetricks, run the following in your terminal:
winetricks -q dotnet40
The GUI does not recognize hidden directories when you browse for files. If you did a standard installation of SHC with Steam, SHC
will most likely be located in ~/.steam/
. You need to reinstall SHC in a visible steam directory.
To do so, create a new empty empty directory:
cd
\
mkdir mysteam
Now, when you reinstall the game, when asked whether to install SHC in the standard directory or in a custom directory, choose custom directory and select the SHC installation located in mysteam.
And which version did you use for that? When i tried to run the latest version mp didn't work, so eventually i found 2.0 which worked for me.
Not me, the unknown person from the UCP. I don't know or remember if it was mentioned which version was used, sorry :/
oh thanks now it works.
some guy from the UCP discord send me some Linux instructions some time ago:
Installation hints for linux
In order to run the patcher, you need wine and winetricks.
After installing wine and winetricks, run the following in your terminal:
winetricks -q dotnet40
The GUI does not recognize hidden directories when you browse for files. If you did a standard installation of SHC with Steam, SHC will most likely be located in
~/.steam/
. You need to reinstall SHC in a visible steam directory. To do so, create a new empty empty directory:
cd
mkdir mysteam
Now, when you reinstall the game, when asked whether to install SHC in the standard directory or in a custom directory, choose custom directory and select the SHC installation located in mysteam.
dont you think it would be better to put it in readme
And which version did you use for that? When i tried to run the latest version mp didn't work, so eventually i found 2.0 which worked for me.
oh i dont play mp as of now.(i always lose the match XD )
will most likely be located in
~/.steam/
. You need to reinstall SHC in a visible steam directory. To do so, create a new empty empty directory:
cd
mkdir mysteam
Now, when you reinstall the game, when asked whether to install SHC in the standard directory or in a custom directory, choose custom directory and select the SHC installation located in mysteam.
Your instructions worked for me, thanks! If you want to avoid the reinstall, you can instead just create a symbolic link to the SHC installation in the visible folder:
cd mysteam
ln -s ~/.steam/path/to/shc
I ran into the same problem as you guys so I decided to add the suggestions into the README
@J-T-de, I pretty much just copied your response, I hope that that's ok?
Wouldn't it make sense to just rewrite the installer in something less dependent on a huge extra runtime, like C? I know this is more tedious, but it's a bit of a shame how much easier the entire game itself is to run in wine than just the installer for this patch.
If you want to do so we would welcome the assistance. The current languages are used because they are what the developers are most familiar and comfortable with. We have no problem if anyone wanted to remake it in a language that is more useful to them. Also nobody really wants to redo years worth of development just to change the language, I doubt it is quite as simple as you imply.
If you want to do so we would welcome the assistance. C is used because that's what the developers are most familiar and comfortable with. We have no problem if anyone wanted to remake it in a language that is more useful to them.
Is there some documentation on how the installer works. For example what files are copied where and how they affect the game?
Files are not copied, except for aiv, but iv always considered that separate to the ucp, just added for convenience. The patch directly modifies the exe file in binary or assembly. The exe is not fully documented. If you want to remake the patcher you would need to write a program that searches the exe for a certain array of bytes, then modifies that section of the exe. The arrays of bytes we use are stored as codeblocks. The current setup is described better at https://unofficialcrusaderpatch.github.io/UnofficialCrusaderPatch/contributing.html
when running the patch setup it causes wine to hang after clicking on ok.pluse if you try to change language it crashes in wine/lutris