That's so crazy that there is still a request to update this. I can't believe they didn't fix that yet. I am sure they don't appreciate me editing the machine code to their game, but oh well. They should not force green lines on everyone then. I have been getting almost a hankering for this game again. I hardly play games anymore. If I do play this game again, I'll definitely have to fix that, holy crap. It would take me a day or two just to get back in to it and remember what I was doing. You gotta understand, I had to edit the machine code to the game in order to correct that. It's not very often where you see someone do that. It's very tedious. I used a program that allowed me to crack in to the .dll and edit the direct machine code. It takes hours of sifting and trial and error to essentially rewrite the game using machine code which is ridiculous to most people. Every programing language can be broken down to machine code or hex code. It's a ridiculously tedious way to have to program. But it's what has to be done, after all they didn't give me permission to edit their game at a core level like that. What if I design some hack that way, they would really not like that.
If you guys are interested on how I did this, go ahead and watch the video attached to this mod. I will show you exactly how to edit the machine code the way that I did it. I talk fast and get ahead of myself a lot. But if you can follow along you can edit the code too. But I'm warning you, you probably won't want to.
Wow I had no Idea this was still even needed. It's been so long since I logged in. I apologize for that. I actually was thinking about this game recently. So are the green lines still a bothersome thing? I actually had to change the game's machine code to get rid of it. Crazy stuff. I'm telling you, most modders don't do that. I even made a video of how I did it but me watching it again after all these years it has lost me. It would take me a few hours to get the hang of it again. To even remember what I was doing. I honestly figured they would have fixed that by now.
I see you edited assembly-csharp.dll. I want to disable chromatic abberation so I looked in that file with DotNet Resolver and I see a "CameraFilterPack_Color_Chromatic_Abberation" entry under "{}" but I'm not sure how to edit (or just remove?) this entry to get rid of chromatic abberation. Any ideas? Thanks.
In order to edit the entry you will need some sort of plugin to alter the machine codes. I used .Net Reflector 8 by Red Gate in conjunction with a plugin called Reflixil that allows you to edit machine codes. The idea is to look at the C# programming under the entry you want to edit. You will not be able to edit the C# directly or it would be quick and easy. Also you will probably break the game by removing the entry all together. Once you have the entry open and are able to see the C# programming of this entry you will then be able to use the Reflixil plugin to view the machine codes that make up this C# programming. Like I said, by deleting all the machine codes to remove the entry will more than likely break the program. Instead you must examine the machine codes and figure out a way to alter them in a manner to change the C# programming in a way that satisfies your needs. Remember every programming language breaks down to those same machine codes. Editing the machine codes is very time consuming and confusing.
I just looked at the entry in question and have figured out what you will need to do in order to disable it (I do not know for sure if this will work, a lot of this is trial and error. But at first glance this looks like what you would want to do). Unfortunately it will take me a long time in order to explain every detail of the needed change. But I will try. The first step is to open the Start section under the Chromatic Abberation entry in question. It is a pink square and is labeled Start() : Void. The C# programming looks like this:
What you want to do is eliminate that IF statement. The ! in front of the IF statement is telling it to be a 'not'. So it is essentially saying 'if system info does NOT support image effects then enabled = false'. Just delete Operand 7 and 8, save the file and reopen it. This will eliminate that IF statement and make it look like this: (If you do not save and reopen you will not get to see the changes to the C# programming.)
Yes I plan on keeping this mod up to date. It took me longer than normal to update this time around because I keep trying new things to improve this mod. For instance I was able to figure out how to allow targeting upon entering any vehicle. So there is no longer a need to rely on aiming to get your target readout while in a vehicle. I also added in 2 more optional files so that users can decide how many things they want hidden.
I apologize that I must abandon this mod. Due to the lack of interest It is not worthwhile to post updates to this mod. This will be the final update that I publish.
I apologize for the problems with downloading this mod from Nexus. It still does not seem to be working. This has happened ever since I decided to upload it again in .zip format. I will contact an admin today and see if i can get this resolved.
I have added in a demonstration video to show you how this mod works, as well as a little bit of how I did it at the end.
I can see the concerns as it is a .dll file. However this is totally legit. I will soon post a video showing how and what I did to make this file. This file was edited at a machine code level, but it does not contain anything malicious nor will it allow any cheating in the game.
I am having an error as well. When I download the file to test it, it tells me that it is 0 bytes. Though Nexus states that it is 676KB bytes. I am thinking that Nexus is having an error and to try again later. Is anyone else having errors?
23 comments
I just looked at the entry in question and have figured out what you will need to do in order to disable it (I do not know for sure if this will work, a lot of this is trial and error. But at first glance this looks like what you would want to do). Unfortunately it will take me a long time in order to explain every detail of the needed change. But I will try. The first step is to open the Start section under the Chromatic Abberation entry in question. It is a pink square and is labeled Start() : Void.
The C# programming looks like this:
private void Start()
{
ChangeOffset = this.Offset;
this.SCShader = Shader.Find("CameraFilterPack/Color_Chromatic_Aberration");
if (!SystemInfo.supportsImageEffects)
{
base.enabled = false;
}
}
What you want to do is eliminate that IF statement. The ! in front of the IF statement is telling it to be a 'not'. So it is essentially saying 'if system info does NOT support image effects then enabled = false'. Just delete Operand 7 and 8, save the file and reopen it. This will eliminate that IF statement and make it look like this:
(If you do not save and reopen you will not get to see the changes to the C# programming.)
private void Start()
{
ChangeOffset = this.Offset;
this.SCShader = Shader.Find("CameraFilterPack/Color_Chromatic_Aberration");
base.enabled = false;
}
This way instead disabling the feature if your system does not support it, It will just disable it, supported or not.
Good luck and tell me how you make out.
I have added in a demonstration video to show you how this mod works, as well as a little bit of how I did it at the end.
https://www.youtube.com/watch?v=omrF61bQ-XU
'the file linked is no longer valid, link removed'
I'm sorry you were having difficulties. I just tried to download your file and it worked fine for me. Is this error still being experienced by people?
https://forums.nexusmods.com/index.php?/topic/3632395-filesize-0-bytes-damaged-archive/