Originally posted by Metal_Man88
These things with hex stuff and programming are serious computer science topics, Shenox. As I tried to warn you, you're probably in over your head. You're probably better off stopping if you don't understand data structures like arrays, queues, and stacks, and also if you don't understand hex, binary, octal and their relation to decimal... and also object oriented programming.
You're just going to tear your hair out trying to do it otherwise, as it isn't something you just magically type into a box and magically becomes reality. Believe you me, I could potentially make what you're talking about in C++, but it's an undertaking such that Iiiii'm not about to spend hours of my life on that yet, unless I was being paid or something.
I don't think of C++/C/C# and other programming langues as extreme computer science. I don't know what a Array, queues or stacks are. I understand hex and binary very well, not so much as octal sense I did not ever hear about till a while ago. And I don't really understand binary to decimal. Nor what object oriented programming is. I hate seeing people think that you need a fancy collage degree or a one on one teacher to teach you how to program with many langues. I learned everything I knew in past 4 years and with just the help of notes I found, I never really asked people for much help, but here I see I always get people attempting to help which is very nice. I started hacking N64 roms in 06 when I was 11 years old, at time I just did a hack with Renegrade64 and followed a tut on making gameshark codes step by step and I made one to replace the Goomba's behavior with Bob-ombs. Very basic stuff, I felt around with the stuff I was given and came up with more stuff. Then I started making hacks dealing with ROM and RAM data using hex editor and Nemu64. Just years and years of experience with rom hacking =3. I started making programs in 09 starting with VB, then I did my first hack of a N64 rom using C but when I tried to play it, It would go black screen all the time. So I never messed with C++/C that much till 2010 when I helped okaygo with Mupen64plus and my own hack of Pj64 1.4 to support kaillera.
I know there are people like VLtone or frauber or even you or many other people on these forums who could make this program without any problems or anything. That in my opinion is because yall know more about the programming langue. I could spend hours reading information about programming, but I rather figure it out my self with SOME help.
Also thanks for all the information.
Dim Value as Byte = Byte.Parse("&H" & TextBox2.text)
I'm going to see what I can do with that. This is the entire code I had before for both
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If Val(Hex$(CLng("&H" & TextBox2.Text)) < &H245000) Then
TextBox4.Text = "Offset: 0x" + Hex$(CLng("&H" & TextBox2.Text) - &H245000) + Environment.NewLine + "Value: " + TextBox3.Text
MessageBox.Show("Finished!", "(Complete)")
End If
If Val(Hex$(CLng("&H" & TextBox2.Text)) > &H245000) Then
This is where I had problems at.
MessageBox.Show("This Gameshark code can NOT be patched!", "(Error)")
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
End If
End Sub