What's new

MW2 RGB Editing Tool

I

Immense

Developer
Messages
262
Reaction score
200
I decided to make this tool cause of S Shoe lol although its not a hard tool to make i thought some people would like it.
1a0e6e083bd357056438dfe7565b3d21.png

Pic of the tool as you can see its super simple didn't care to put that much work into it.
acd26e807c4be492e2aef6a6c90a71c5.png

example of what you can do, btw its ONLY on this page that you can edit it with this tool.
https://www.virustotal.com/en/file/...438fb44755f8aa39135b6454/analysis/1497393958/
Clearly the "viruses" are just obfuscation so no worries. If you don't want to download it then don't its fine.
If you like the tool let me know. Same for any issues with it as well. There are a few colors that don't currently work in it, but most should work. Be sure to bump to the topic if you like it.
Offsets found by D DeathRGH and given to me by S Shoe
3da7e75c391d2be373448993517347dc.png
 
Last edited:
K

Knife

_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_-`-_
Staff
Messages
1,264
Reaction score
1,240
Good work man, simple and effective.
 
I

ImOx

(^._.^)ノ
Retired
Messages
9,968
Reaction score
2,963
What's the point of the excessive obfuscation for something like this? :confused:
 
I

Immense

Developer
Messages
262
Reaction score
200
Seems excessive to me :o
And the offsets were posted on the MW2 code thread.
wouldn't know i never come on here to look for offsets lol i find em myself except obviously this stuff
 
D

DeathRGH

¯\_(ツ)_/¯
Messages
1,167
Reaction score
355
wouldn't know i never come on here to look for offsets lol i find em myself except obviously this stuff
Should i do a tut on how to find zones...its super easy!
 
I

Immense

Developer
Messages
262
Reaction score
200
Should i do a tut on how to find zones...its super easy!
Nah I just went by what S Shoe gave me cause he wanted it made so i did it then i guess he got it working after i got it done lol
 
D

DeathRGH

¯\_(ツ)_/¯
Messages
1,167
Reaction score
355
Nah I just went by what S Shoe gave me cause he wanted it made so i did it then i guess he got it working after i got it done lol
at this point i want you to see my way of doing it as i was too stupid to divide 1 by 255 ^^

Code:
        public void ARGB_to_Float(int R, int G, int B, int A)
        {
            if (Enumerable.Range(0, 5).Contains(R))
            {
                fR = (float)0.0;
            }
            if (Enumerable.Range(6,25).Contains(R))
            {
                fR = (float)0.1;
            }
            if (Enumerable.Range(26, 50).Contains(R))
            {
                fR = (float)0.2;
            }
            if (Enumerable.Range(51, 75).Contains(R))
            {
                fR = (float)0.3;
            }
            if (Enumerable.Range(76, 100).Contains(R))
            {
                fR = (float)0.4;
            }
            if (Enumerable.Range(101, 125).Contains(R))
            {
                fR = (float)0.5;
            }
            if (Enumerable.Range(126, 150).Contains(R))
            {
                fR = (float)0.6;
            }
            if (Enumerable.Range(151, 175).Contains(R))
            {
                fR = (float)0.7;
            }
            if (Enumerable.Range(176, 200).Contains(R))
            {
                fR = (float)0.8;
            }
            if (Enumerable.Range(201, 225).Contains(R))
            {
                fR = (float)0.9;
            }
            if (Enumerable.Range(226, 255).Contains(R))
            {
                fR = (float)1.0;
            }



            if (Enumerable.Range(0, 5).Contains(G))
            {
                fG = (float)0.0;
            }
            if (Enumerable.Range(6, 25).Contains(G))
            {
                fG = (float)0.1;
            }
            if (Enumerable.Range(26, 50).Contains(G))
            {
                fG = (float)0.2;
            }
            if (Enumerable.Range(51, 75).Contains(G))
            {
                fG = (float)0.3;
            }
            if (Enumerable.Range(76, 100).Contains(G))
            {
                fG = (float)0.4;
            }
            if (Enumerable.Range(101, 125).Contains(G))
            {
                fG = (float)0.5;
            }
            if (Enumerable.Range(126, 150).Contains(G))
            {
                fG = (float)0.6;
            }
            if (Enumerable.Range(151, 175).Contains(G))
            {
                fG = (float)0.7;
            }
            if (Enumerable.Range(176, 200).Contains(G))
            {
                fG = (float)0.8;
            }
            if (Enumerable.Range(201, 225).Contains(G))
            {
                fG = (float)0.9;
            }
            if (Enumerable.Range(226, 255).Contains(G))
            {
                fG = (float)1.0;
            }



            if (Enumerable.Range(0, 5).Contains(B))
            {
                fB = (float)0.0;
            }
            if (Enumerable.Range(6, 25).Contains(B))
            {
                fB = (float)0.1;
            }
            if (Enumerable.Range(26, 50).Contains(B))
            {
                fB = (float)0.2;
            }
            if (Enumerable.Range(51, 75).Contains(B))
            {
                fB = (float)0.3;
            }
            if (Enumerable.Range(76, 100).Contains(B))
            {
                fB = (float)0.4;
            }
            if (Enumerable.Range(101, 125).Contains(B))
            {
                fB = (float)0.5;
            }
            if (Enumerable.Range(126, 150).Contains(B))
            {
                fB = (float)0.6;
            }
            if (Enumerable.Range(151, 175).Contains(B))
            {
                fB = (float)0.7;
            }
            if (Enumerable.Range(176, 200).Contains(B))
            {
                fB = (float)0.8;
            }
            if (Enumerable.Range(201, 225).Contains(B))
            {
                fB = (float)0.9;
            }
            if (Enumerable.Range(226, 255).Contains(B))
            {
                fB = (float)1.0;
            }



            if (Enumerable.Range(0, 5).Contains(A))
            {
                fA = (float)0.0;
            }
            if (Enumerable.Range(6, 25).Contains(A))
            {
                fA = (float)0.1;
            }
            if (Enumerable.Range(26, 50).Contains(A))
            {
                fA = (float)0.2;
            }
            if (Enumerable.Range(51, 75).Contains(A))
            {
                fA = (float)0.3;
            }
            if (Enumerable.Range(76, 100).Contains(A))
            {
                fA = (float)0.4;
            }
            if (Enumerable.Range(101, 125).Contains(A))
            {
                fA = (float)0.5;
            }
            if (Enumerable.Range(126, 150).Contains(A))
            {
                fA = (float)0.6;
            }
            if (Enumerable.Range(151, 175).Contains(A))
            {
                fA = (float)0.7;
            }
            if (Enumerable.Range(176, 200).Contains(A))
            {
                fA = (float)0.8;
            }
            if (Enumerable.Range(201, 225).Contains(A))
            {
                fA = (float)0.9;
            }
            if (Enumerable.Range(226, 255).Contains(A))
            {
                fA = (float)1.0;
            }
        }

dont judge me :tongue:
 
I

Immense

Developer
Messages
262
Reaction score
200
at this point i want you to see my way of doing it as i was too stupid to divide 1 by 255 ^^

Code:
        public void ARGB_to_Float(int R, int G, int B, int A)
        {
            if (Enumerable.Range(0, 5).Contains(R))
            {
                fR = (float)0.0;
            }
            if (Enumerable.Range(6,25).Contains(R))
            {
                fR = (float)0.1;
            }
            if (Enumerable.Range(26, 50).Contains(R))
            {
                fR = (float)0.2;
            }
            if (Enumerable.Range(51, 75).Contains(R))
            {
                fR = (float)0.3;
            }
            if (Enumerable.Range(76, 100).Contains(R))
            {
                fR = (float)0.4;
            }
            if (Enumerable.Range(101, 125).Contains(R))
            {
                fR = (float)0.5;
            }
            if (Enumerable.Range(126, 150).Contains(R))
            {
                fR = (float)0.6;
            }
            if (Enumerable.Range(151, 175).Contains(R))
            {
                fR = (float)0.7;
            }
            if (Enumerable.Range(176, 200).Contains(R))
            {
                fR = (float)0.8;
            }
            if (Enumerable.Range(201, 225).Contains(R))
            {
                fR = (float)0.9;
            }
            if (Enumerable.Range(226, 255).Contains(R))
            {
                fR = (float)1.0;
            }



            if (Enumerable.Range(0, 5).Contains(G))
            {
                fG = (float)0.0;
            }
            if (Enumerable.Range(6, 25).Contains(G))
            {
                fG = (float)0.1;
            }
            if (Enumerable.Range(26, 50).Contains(G))
            {
                fG = (float)0.2;
            }
            if (Enumerable.Range(51, 75).Contains(G))
            {
                fG = (float)0.3;
            }
            if (Enumerable.Range(76, 100).Contains(G))
            {
                fG = (float)0.4;
            }
            if (Enumerable.Range(101, 125).Contains(G))
            {
                fG = (float)0.5;
            }
            if (Enumerable.Range(126, 150).Contains(G))
            {
                fG = (float)0.6;
            }
            if (Enumerable.Range(151, 175).Contains(G))
            {
                fG = (float)0.7;
            }
            if (Enumerable.Range(176, 200).Contains(G))
            {
                fG = (float)0.8;
            }
            if (Enumerable.Range(201, 225).Contains(G))
            {
                fG = (float)0.9;
            }
            if (Enumerable.Range(226, 255).Contains(G))
            {
                fG = (float)1.0;
            }



            if (Enumerable.Range(0, 5).Contains(B))
            {
                fB = (float)0.0;
            }
            if (Enumerable.Range(6, 25).Contains(B))
            {
                fB = (float)0.1;
            }
            if (Enumerable.Range(26, 50).Contains(B))
            {
                fB = (float)0.2;
            }
            if (Enumerable.Range(51, 75).Contains(B))
            {
                fB = (float)0.3;
            }
            if (Enumerable.Range(76, 100).Contains(B))
            {
                fB = (float)0.4;
            }
            if (Enumerable.Range(101, 125).Contains(B))
            {
                fB = (float)0.5;
            }
            if (Enumerable.Range(126, 150).Contains(B))
            {
                fB = (float)0.6;
            }
            if (Enumerable.Range(151, 175).Contains(B))
            {
                fB = (float)0.7;
            }
            if (Enumerable.Range(176, 200).Contains(B))
            {
                fB = (float)0.8;
            }
            if (Enumerable.Range(201, 225).Contains(B))
            {
                fB = (float)0.9;
            }
            if (Enumerable.Range(226, 255).Contains(B))
            {
                fB = (float)1.0;
            }



            if (Enumerable.Range(0, 5).Contains(A))
            {
                fA = (float)0.0;
            }
            if (Enumerable.Range(6, 25).Contains(A))
            {
                fA = (float)0.1;
            }
            if (Enumerable.Range(26, 50).Contains(A))
            {
                fA = (float)0.2;
            }
            if (Enumerable.Range(51, 75).Contains(A))
            {
                fA = (float)0.3;
            }
            if (Enumerable.Range(76, 100).Contains(A))
            {
                fA = (float)0.4;
            }
            if (Enumerable.Range(101, 125).Contains(A))
            {
                fA = (float)0.5;
            }
            if (Enumerable.Range(126, 150).Contains(A))
            {
                fA = (float)0.6;
            }
            if (Enumerable.Range(151, 175).Contains(A))
            {
                fA = (float)0.7;
            }
            if (Enumerable.Range(176, 200).Contains(A))
            {
                fA = (float)0.8;
            }
            if (Enumerable.Range(201, 225).Contains(A))
            {
                fA = (float)0.9;
            }
            if (Enumerable.Range(226, 255).Contains(A))
            {
                fA = (float)1.0;
            }
        }

dont judge me :tongue:
regardless both of ours work lmao so its all good no judging here everyone codes differently :smile:
 
D

DeathRGH

¯\_(ツ)_/¯
Messages
1,167
Reaction score
355
regardless both of ours work lmao so its all good no judging here everyone codes differently :smile:
but you should be honest and say that i had a dumb idea
 
I

Immense

Developer
Messages
262
Reaction score
200
but you should be honest and say that i had a dumb idea
well it is what it is lol it was kinda eh but its okay cause my code is nothing but else if statements lmao just using my function for rgb 
but you should be honest and say that i had a dumb idea
The one thing i was trying to do was use a color selector but it wasnt working at all no matter what i did lmao so i had to resort to putting my own color values in there lol
 
S

Shoe

♛COTM July 2016♛
Messages
3,294
Reaction score
1,831
mines clearly the best and and smallest amout of code :wink:

// 0xA4FADA38
jtag.WriteFloat(0xA4FADA38, new float[] { colorPickerButton10.SelectedColor.R / 255f, colorPickerButton10.SelectedColor.G / 255f, colorPickerButton10.SelectedColor.B / 255f, slider10.Value / 255f });
 
I

Immense

Developer
Messages
262
Reaction score
200
 
mines clearly the best and and smallest amout of code :wink:

// 0xA4FADA38
jtag.WriteFloat(0xA4FADA38, new float[] { colorPickerButton10.SelectedColor.R / 255f, colorPickerButton10.SelectedColor.G / 255f, colorPickerButton10.SelectedColor.B / 255f, slider10.Value / 255f });
you also didn't write that lol
 
I

ImOx

(^._.^)ノ
Retired
Messages
9,968
Reaction score
2,963
 

you also didn't write that lol
Was me lol.

at this point i want you to see my way of doing it as i was too stupid to divide 1 by 255 ^^

Code:
        public void ARGB_to_Float(int R, int G, int B, int A)
        {
            if (Enumerable.Range(0, 5).Contains(R))
            {
                fR = (float)0.0;
            }
            if (Enumerable.Range(6,25).Contains(R))
            {
                fR = (float)0.1;
            }
            if (Enumerable.Range(26, 50).Contains(R))
            {
                fR = (float)0.2;
            }
            if (Enumerable.Range(51, 75).Contains(R))
            {
                fR = (float)0.3;
            }
            if (Enumerable.Range(76, 100).Contains(R))
            {
                fR = (float)0.4;
            }
            if (Enumerable.Range(101, 125).Contains(R))
            {
                fR = (float)0.5;
            }
            if (Enumerable.Range(126, 150).Contains(R))
            {
                fR = (float)0.6;
            }
            if (Enumerable.Range(151, 175).Contains(R))
            {
                fR = (float)0.7;
            }
            if (Enumerable.Range(176, 200).Contains(R))
            {
                fR = (float)0.8;
            }
            if (Enumerable.Range(201, 225).Contains(R))
            {
                fR = (float)0.9;
            }
            if (Enumerable.Range(226, 255).Contains(R))
            {
                fR = (float)1.0;
            }



            if (Enumerable.Range(0, 5).Contains(G))
            {
                fG = (float)0.0;
            }
            if (Enumerable.Range(6, 25).Contains(G))
            {
                fG = (float)0.1;
            }
            if (Enumerable.Range(26, 50).Contains(G))
            {
                fG = (float)0.2;
            }
            if (Enumerable.Range(51, 75).Contains(G))
            {
                fG = (float)0.3;
            }
            if (Enumerable.Range(76, 100).Contains(G))
            {
                fG = (float)0.4;
            }
            if (Enumerable.Range(101, 125).Contains(G))
            {
                fG = (float)0.5;
            }
            if (Enumerable.Range(126, 150).Contains(G))
            {
                fG = (float)0.6;
            }
            if (Enumerable.Range(151, 175).Contains(G))
            {
                fG = (float)0.7;
            }
            if (Enumerable.Range(176, 200).Contains(G))
            {
                fG = (float)0.8;
            }
            if (Enumerable.Range(201, 225).Contains(G))
            {
                fG = (float)0.9;
            }
            if (Enumerable.Range(226, 255).Contains(G))
            {
                fG = (float)1.0;
            }



            if (Enumerable.Range(0, 5).Contains(B))
            {
                fB = (float)0.0;
            }
            if (Enumerable.Range(6, 25).Contains(B))
            {
                fB = (float)0.1;
            }
            if (Enumerable.Range(26, 50).Contains(B))
            {
                fB = (float)0.2;
            }
            if (Enumerable.Range(51, 75).Contains(B))
            {
                fB = (float)0.3;
            }
            if (Enumerable.Range(76, 100).Contains(B))
            {
                fB = (float)0.4;
            }
            if (Enumerable.Range(101, 125).Contains(B))
            {
                fB = (float)0.5;
            }
            if (Enumerable.Range(126, 150).Contains(B))
            {
                fB = (float)0.6;
            }
            if (Enumerable.Range(151, 175).Contains(B))
            {
                fB = (float)0.7;
            }
            if (Enumerable.Range(176, 200).Contains(B))
            {
                fB = (float)0.8;
            }
            if (Enumerable.Range(201, 225).Contains(B))
            {
                fB = (float)0.9;
            }
            if (Enumerable.Range(226, 255).Contains(B))
            {
                fB = (float)1.0;
            }



            if (Enumerable.Range(0, 5).Contains(A))
            {
                fA = (float)0.0;
            }
            if (Enumerable.Range(6, 25).Contains(A))
            {
                fA = (float)0.1;
            }
            if (Enumerable.Range(26, 50).Contains(A))
            {
                fA = (float)0.2;
            }
            if (Enumerable.Range(51, 75).Contains(A))
            {
                fA = (float)0.3;
            }
            if (Enumerable.Range(76, 100).Contains(A))
            {
                fA = (float)0.4;
            }
            if (Enumerable.Range(101, 125).Contains(A))
            {
                fA = (float)0.5;
            }
            if (Enumerable.Range(126, 150).Contains(A))
            {
                fA = (float)0.6;
            }
            if (Enumerable.Range(151, 175).Contains(A))
            {
                fA = (float)0.7;
            }
            if (Enumerable.Range(176, 200).Contains(A))
            {
                fA = (float)0.8;
            }
            if (Enumerable.Range(201, 225).Contains(A))
            {
                fA = (float)0.9;
            }
            if (Enumerable.Range(226, 255).Contains(A))
            {
                fA = (float)1.0;
            }
        }

dont judge me :tongue:
Damn, does this even result in accurate colors?
 
D

DeathRGH

¯\_(ツ)_/¯
Messages
1,167
Reaction score
355
Damn, does this even result in accurate colors?
Lets see, it has 11 posibilities for every color R, G, B which results in 11³ = 1331.
-> Only 16580044 colors are missing :smile:
 
I

iExoticMods

Enthusiast
Messages
37
Reaction score
4
Cool UI, But y Obfuscate?
 
Last edited:
Top Bottom