Register - Login
Views: 99372441
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
04-23-22 08:02:39 PM
Jul - NO! GO TO STAR! - Mario64 Gameshark Patcher New poll - New thread - Thread closed
Next newer thread | Next older thread
ShenoxVII

(in all seriousness, you're a prick)
Level: 24


Posts: 5/111
EXP: 75916
For next: 2209

Since: 10-09-10


Since last post: 9.0 years
Last activity: 9.0 years

Posted on 10-23-10 05:12:59 PM Link
http://www.mediafire.com/?o8266a694qo2wlq




Read read me for information.

This just corrects the type of gameshark code and turns the address of the code into a offset and gives you your value back and lets you do the rest. I cut off a lot of the program in this post so I could work the bugs out. I'm still working on the program to directly edit a rom and fix the gameshark code if it happens to be outdated or if something is wrong with it. Also to self correct rom with chksum is another thing on to due list. This program I think will make some people's life just a bit easier. Still a lot of bugs so don't complain if you are reading this.
Flames540
User
Level: 10


Posts: 12/16
EXP: 4180
For next: 234

Since: 08-17-10


Since last post: 11.5 years
Last activity: 10.4 years

Posted on 10-23-10 06:41:44 PM Link
so let's say if I insert a gameshark code into your program.. it'll overwrite the orginal values so that the gameshark code is always activated? if so... good work

if not, please explain more understandable

Flames540

____________________
-Hardstyle!- www.lsdb.nl -Hardstyle!-
MarIO0
Member
Level: 16


Posts: 15/43
EXP: 19155
For next: 1101

Since: 09-03-09


Since last post: 9.2 years
Last activity: 8.6 years

Posted on 10-23-10 07:42:54 PM Link
What kind of Gamesharks can this program patch? Patches to the ROM, patches to the RAM, or both?
ShenoxVII

(in all seriousness, you're a prick)
Level: 24


Posts: 6/111
EXP: 75916
For next: 2209

Since: 10-09-10


Since last post: 9.0 years
Last activity: 9.0 years

Posted on 10-23-10 08:18:55 PM Link
Originally posted by MarIO0
What kind of Gamesharks can this program patch? Patches to the ROM, patches to the RAM, or both?



Read read me. It will directly patch to the rom when I fix some of the check gameshark feature and when I fix a few other things ill work on directly patching to extended m64 roms. It currently just takes the code that you broke down and put the type and stuff in the boxes and turns that into a offset in hex decimal in ROM and then gives you your value. I just made this post so people will know it's here and you can see it. I'm still working on it. More stuff to come soon.
ShenoxVII

(in all seriousness, you're a prick)
Level: 24


Posts: 7/111
EXP: 75916
For next: 2209

Since: 10-09-10


Since last post: 9.0 years
Last activity: 9.0 years

Posted on 10-23-10 08:19:33 PM Link
Originally posted by Flames540
so let's say if I insert a gameshark code into your program.. it'll overwrite the orginal values so that the gameshark code is always activated? if so... good work

if not, please explain more understandable

Flames540




Not right now it does not. It will soon after I get the direct rom editing fixed and a few other features fixed.
Lyskar
12210
-The Chaos within trumps the Chaos without-
Level: 192


Posts: 6771/12211
EXP: 99234388
For next: 639183

Since: 07-03-07

From: 52-2-88-7

Since last post: 7.4 years
Last activity: 7.3 years

Posted on 10-23-10 08:43:51 PM Link
Stats
Time/Date
10-23-10 02:43:51 PM
Posts
6771
Days Here
1208
Level
120
Metal_Man88's Post
Currently it just deciphers Gameshark codes into the actual locations of where the rom is being edited; then you have to go in a hex editor and do the rest, if I read it correctly.

____________________

Eisnaught - SSQ² - Mobius Roleplay - SSS
Flames540
User
Level: 10


Posts: 14/16
EXP: 4180
For next: 234

Since: 08-17-10


Since last post: 11.5 years
Last activity: 10.4 years

Posted on 10-23-10 08:55:42 PM Link
Originally posted by Metal_Man88
Currently it just deciphers Gameshark codes into the actual locations of where the rom is being edited; then you have to go in a hex editor and do the rest, if I read it correctly.


yeah that was probably the programs main function by now

Flames540


____________________
-Hardstyle!- www.lsdb.nl -Hardstyle!-
RDX

Level: 32


Posts: 123/198
EXP: 193357
For next: 13085

Since: 02-14-09


Since last post: 10.8 years
Last activity: 10.5 years

Posted on 10-23-10 09:10:13 PM Link
Originally posted by ShenoxVII
Originally posted by Flames540
so let's say if I insert a gameshark code into your program.. it'll overwrite the orginal values so that the gameshark code is always activated? if so... good work

if not, please explain more understandable

Flames540




Not right now it does not. It will soon after I get the direct rom editing fixed and a few other features fixed.

That'll be pretty sweet. Noob hackers such as myself greatly appreciate what you're doing, I wasn't planning on learning how to ASM hack anyway so this'll help a lot.

____________________
ShenoxVII

(in all seriousness, you're a prick)
Level: 24


Posts: 8/111
EXP: 75916
For next: 2209

Since: 10-09-10


Since last post: 9.0 years
Last activity: 9.0 years

Posted on 10-23-10 09:25:39 PM Link
Originally posted by Metal_Man88
Currently it just deciphers Gameshark codes into the actual locations of where the rom is being edited; then you have to go in a hex editor and do the rest, if I read it correctly.



Yea, I'm still looking for a way to turn program into hex viewing, then make it go to the offset of textbox 2 and then change next 2 bytes to the value's then save it into the rom. Much work to be done, the biggest block in the road for me is making a hex editor inside a program that is already a advance calculator and gameshark code fixer sort of, sense it can translate older gamesharks into 3.0 version ones, which is the kind pj64. Iv searched google, and tried many possible codes but I can't get it to correctly open a program, view in "&H" which tells the program to view or see something in hex, then to have it fully view the file, say a rom. It will only show the first byte of the full rom. It's getting annoying that I can't do anything to stop this.
Lyskar
12210
-The Chaos within trumps the Chaos without-
Level: 192


Posts: 6773/12211
EXP: 99234388
For next: 639183

Since: 07-03-07

From: 52-2-88-7

Since last post: 7.4 years
Last activity: 7.3 years

Posted on 10-23-10 10:00:33 PM (last edited by Metal_Man88 at 10-23-10 07:07 PM) Link
Stats
Time/Date
10-23-10 04:00:33 PM
Posts
6773
Days Here
1208
Level
120
Metal_Man88's Post
I get the feeling it may be presenting it in an array or stack fashion. I couldn't tell without the code (and I hope it's C/C++ or Java, since I wouldn't be sure of how to modify it in other languages) but if you gave me the offending snippet I might be able to guess at it.

Edit: Visual Basic? D'oh.

____________________
Eisnaught - SSQ² - Mobius Roleplay - SSS
ShenoxVII

(in all seriousness, you're a prick)
Level: 24


Posts: 10/111
EXP: 75916
For next: 2209

Since: 10-09-10


Since last post: 9.0 years
Last activity: 9.0 years

Posted on 10-24-10 02:06:03 AM Link
Originally posted by Metal_Man88
I get the feeling it may be presenting it in an array or stack fashion. I couldn't tell without the code (and I hope it's C/C++ or Java, since I wouldn't be sure of how to modify it in other languages) but if you gave me the offending snippet I might be able to guess at it.

Edit: Visual Basic? D'oh.




I only use C/C++ for emulation. Java for emulinker hacks for kaillera. VB for my own personal stuff because it is very visual and very basic, sort of.
MarIO0
Member
Level: 16


Posts: 16/43
EXP: 19155
For next: 1101

Since: 09-03-09


Since last post: 9.2 years
Last activity: 8.6 years

Posted on 10-24-10 06:14:27 AM Link
Originally posted by ShenoxVII
Originally posted by Metal_Man88
Currently it just deciphers Gameshark codes into the actual locations of where the rom is being edited; then you have to go in a hex editor and do the rest, if I read it correctly.



Yea, I'm still looking for a way to turn program into hex viewing, then make it go to the offset of textbox 2 and then change next 2 bytes to the value's then save it into the rom. Much work to be done, the biggest block in the road for me is making a hex editor inside a program that is already a advance calculator and gameshark code fixer sort of, sense it can translate older gamesharks into 3.0 version ones, which is the kind pj64. Iv searched google, and tried many possible codes but I can't get it to correctly open a program, view in "&H" which tells the program to view or see something in hex, then to have it fully view the file, say a rom. It will only show the first byte of the full rom. It's getting annoying that I can't do anything to stop this.


Mmm, sorry for making you look like a noob, but you absolutely don't need an hex editor to modify a file in any programming language I know. Assuming you're using C# (which is quite probable), it's as easy as:




byte[] rom = File.ReadAllBytes("C:/m64.z64")
rom[0x1234] = (byte)0x80; // Change byte at position 0x1234 to value 0x80
// Other operations
File.WriteAllBytes("C:/modified_m64.z64", rom)

Lyskar
12210
-The Chaos within trumps the Chaos without-
Level: 192


Posts: 6794/12211
EXP: 99234388
For next: 639183

Since: 07-03-07

From: 52-2-88-7

Since last post: 7.4 years
Last activity: 7.3 years

Posted on 10-24-10 08:29:45 AM Link
Stats
Time/Date
10-24-10 02:29:45 AM
Posts
6794
Days Here
1208
Level
120
Metal_Man88's Post
He's using VB, but it is true--you can just open the file and find the offset, change it, and save it without having to load it in hex view or whatever. Just have to know how to get to the right place too.

____________________

Eisnaught - SSQ² - Mobius Roleplay - SSS
ShenoxVII

(in all seriousness, you're a prick)
Level: 24


Posts: 11/111
EXP: 75916
For next: 2209

Since: 10-09-10


Since last post: 9.0 years
Last activity: 9.0 years

Posted on 10-24-10 01:10:57 PM Link
Originally posted by MarIO0


Mmm, sorry for making you look like a noob, but you absolutely don't need an hex editor to modify a file in any programming language I know. Assuming you're using C# (which is quite probable), it's as easy as:




byte[] rom = File.ReadAllBytes("C:/m64.z64")
rom[0x1234] = (byte)0x80; // Change byte at position 0x1234 to value 0x80
// Other operations
File.WriteAllBytes("C:/modified_m64.z64", rom)



Thanks, I never done my own project or program using C/C#/C++ or anything like that, I only used C programing language when I was dealing with emulation and some rom hacks. With VB it's probably not as open to what I could do but it is much easier in my opinion. I suppose because I'm not really more then a year of experience with java, C, and VB when most people like frauber or VLtone have like yearS of experience. Is there anyway I could launch two different programing languages into one project file to work all as one problem, and just make it so my gs to offset button can access the C written program and then the C written program can also access the strings I used in VB so I could get the offset and value?
MarIO0
Member
Level: 16


Posts: 17/43
EXP: 19155
For next: 1101

Since: 09-03-09


Since last post: 9.2 years
Last activity: 8.6 years

Posted on 10-24-10 01:26:46 PM (last edited by MarIO0 at 10-24-10 10:31 AM) Link
Originally posted by ShenoxVII
Originally posted by MarIO0


Mmm, sorry for making you look like a noob, but you absolutely don't need an hex editor to modify a file in any programming language I know. Assuming you're using C# (which is quite probable), it's as easy as:




byte[] rom = File.ReadAllBytes("C:/m64.z64")
rom[0x1234] = (byte)0x80; // Change byte at position 0x1234 to value 0x80
// Other operations
File.WriteAllBytes("C:/modified_m64.z64", rom)



Thanks, I never done my own project or program using C/C#/C++ or anything like that, I only used C programing language when I was dealing with emulation and some rom hacks. With VB it's probably not as open to what I could do but it is much easier in my opinion. I suppose because I'm not really more then a year of experience with java, C, and VB when most people like frauber or VLtone have like yearS of experience. Is there anyway I could launch two different programing languages into one project file to work all as one problem, and just make it so my gs to offset button can access the C written program and then the C written program can also access the strings I used in VB so I could get the offset and value?



From the screenshot it looks like you may be using VB.NET, in this case you have the functions I used above available in the .NET standard library(1, 2). If you're using an older VB then I have no idea, but I'm sure that there's some way to do it.

About mixing different languages, I wouldn't do it, but if you want to do it anyway: If you're using .NET, I believe you can freely mix any .NET language (like C# and VB.NET) in a project. If you're not using .NET, it gets a lot more complicated, but you can use an external process, or you can also use C libraries with VB.
ShenoxVII

(in all seriousness, you're a prick)
Level: 24


Posts: 13/111
EXP: 75916
For next: 2209

Since: 10-09-10


Since last post: 9.0 years
Last activity: 9.0 years

Posted on 10-24-10 03:06:01 PM Link
Originally posted by MarIO0
Originally posted by ShenoxVII
Originally posted by MarIO0


Mmm, sorry for making you look like a noob, but you absolutely don't need an hex editor to modify a file in any programming language I know. Assuming you're using C# (which is quite probable), it's as easy as:




byte[] rom = File.ReadAllBytes("C:/m64.z64")
rom[0x1234] = (byte)0x80; // Change byte at position 0x1234 to value 0x80
// Other operations
File.WriteAllBytes("C:/modified_m64.z64", rom)



Thanks, I never done my own project or program using C/C#/C++ or anything like that, I only used C programing language when I was dealing with emulation and some rom hacks. With VB it's probably not as open to what I could do but it is much easier in my opinion. I suppose because I'm not really more then a year of experience with java, C, and VB when most people like frauber or VLtone have like yearS of experience. Is there anyway I could launch two different programing languages into one project file to work all as one problem, and just make it so my gs to offset button can access the C written program and then the C written program can also access the strings I used in VB so I could get the offset and value?



From the screenshot it looks like you may be using VB.NET, in this case you have the functions I used above available in the .NET standard library(1, 2). If you're using an older VB then I have no idea, but I'm sure that there's some way to do it.

About mixing different languages, I wouldn't do it, but if you want to do it anyway: If you're using .NET, I believe you can freely mix any .NET language (like C# and VB.NET) in a project. If you're not using .NET, it gets a lot more complicated, but you can use an external process, or you can also use C libraries with VB.



I'm not 100% sure. I just need a way to view a file in hex decimal with VB and the rest I can do on my own. I just can't figure out a way to, i tried lots of things, many google searches and still no find.
Lyskar
12210
-The Chaos within trumps the Chaos without-
Level: 192


Posts: 7347/12211
EXP: 99234388
For next: 639183

Since: 07-03-07

From: 52-2-88-7

Since last post: 7.4 years
Last activity: 7.3 years

Posted on 12-12-10 09:17:27 PM Link
Stats
Time/Date
12-12-10 03:17:27 PM
Posts
7347
Days Here
1258
Level
125
Metal_Man88's Post
This topic was left open on the premise the utility would actually be finished. It was not, and thus remains a simple program which cannot do what it says it should do. To save the time and sanity of would-be newbies who would waste their time with it, I am trashing this thread.

Shenox, if you figure out how to actually program things which do their job, make another topic then. Otherwise, I am done with these half-made program shenanigans.

____________________

Eisnaught - SSQ² - Mobius Roleplay - SSS
Next newer thread | Next older thread
Jul - NO! GO TO STAR! - Mario64 Gameshark Patcher New poll - New thread - Thread closed


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

30 database queries, 3 query cache hits.
Query execution time:  0.087918 seconds
Script execution time:  0.081805 seconds
Total render time:  0.169722 seconds


TidyHTML vomit below
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 2 column 301 - Warning: unescaped & or unknown entity "&page"
line 119 column 11 - Warning: <form> isn't allowed in <table> elements
line 118 column 10 - Info: <table> previously mentioned
line 120 column 11 - Warning: missing <tr>
line 120 column 119 - Warning: missing </font> before </td>
line 124 column 16 - Warning: plain text isn't allowed in <tr> elements
line 120 column 11 - Info: <tr> previously mentioned
line 125 column 68 - Warning: missing </nobr> before </td>
line 141 column 68 - Warning: missing </nobr> before <tr>
line 147 column 35 - Warning: missing <tr>
line 147 column 50 - Warning: missing </font> before </td>
line 148 column 37 - Warning: unescaped & or unknown entity "&id"
line 147 column 189 - Warning: missing </font> before </table>
line 149 column 35 - Warning: missing <tr>
line 149 column 50 - Warning: missing </font> before </td>
line 149 column 91 - Warning: missing </font> before </table>
line 156 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 158 column 9 - Warning: missing <tr>
line 176 column 13 - Warning: missing <tr>
line 189 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 191 column 9 - Warning: missing <tr>
line 209 column 13 - Warning: missing <tr>
line 219 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 221 column 9 - Warning: missing <tr>
line 239 column 13 - Warning: missing <tr>
line 245 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 247 column 9 - Warning: missing <tr>
line 265 column 13 - Warning: missing <tr>
line 274 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 276 column 9 - Warning: missing <tr>
line 294 column 13 - Warning: missing <tr>
line 308 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 310 column 9 - Warning: missing <tr>
line 328 column 13 - Warning: missing <tr>
line 331 column 74 - Warning: <style> isn't allowed in <td> elements
line 331 column 9 - Info: <td> previously mentioned
line 331 column 1365 - Error: <z> is not recognized!
line 331 column 1365 - Warning: discarding unexpected <z>
line 331 column 1377 - Warning: discarding unexpected </z>
line 333 column 1409 - Error: <z> is not recognized!
line 333 column 1409 - Warning: discarding unexpected <z>
line 333 column 1417 - Warning: discarding unexpected </z>
line 335 column 1433 - Error: <z> is not recognized!
line 335 column 1433 - Warning: discarding unexpected <z>
line 335 column 1445 - Warning: discarding unexpected </z>
line 337 column 1461 - Error: <z> is not recognized!
line 337 column 1461 - Warning: discarding unexpected <z>
line 337 column 1469 - Warning: discarding unexpected </z>
line 340 column 2393 - Warning: discarding unexpected </td>
line 343 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 345 column 9 - Warning: missing <tr>
line 363 column 13 - Warning: missing <tr>
line 374 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 376 column 9 - Warning: missing <tr>
line 394 column 13 - Warning: missing <tr>
line 409 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 411 column 9 - Warning: missing <tr>
line 429 column 13 - Warning: missing <tr>
line 435 column 908 - Warning: unescaped & or unknown entity "&H"
line 438 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 440 column 9 - Warning: missing <tr>
line 458 column 13 - Warning: missing <tr>
line 461 column 74 - Warning: <style> isn't allowed in <td> elements
line 461 column 9 - Info: <td> previously mentioned
line 461 column 1365 - Error: <z> is not recognized!
line 461 column 1365 - Warning: discarding unexpected <z>
line 461 column 1377 - Warning: discarding unexpected </z>
line 463 column 1409 - Error: <z> is not recognized!
Tidy found 359 warnings and 16 errors! Not all warnings/errors were shown.

The alt attribute should be used to give a short description
of an image; longer descriptions should be given with the
longdesc attribute which takes a URL linked to the description.
These measures are needed for people using non-graphical browsers.

For further advice on how to make your pages accessible
see http://www.w3.org/WAI/GL.
You are recommended to use CSS to specify the font and
properties such as its size and color. This will reduce
the size of HTML files and make them easier to maintain
compared with using <FONT> elements.

You are recommended to use CSS to control line wrapping.
Use "white-space: nowrap" to inhibit wrapping in place
of inserting <NOBR>...</NOBR> into the markup.

About HTML Tidy: https://github.com/htacg/tidy-html5
Bug reports and comments: https://github.com/htacg/tidy-html5/issues
Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/
Latest HTML specification: http://dev.w3.org/html5/spec-author-view/
Validate your HTML documents: http://validator.w3.org/nu/
Lobby your company to join the W3C: http://www.w3.org/Consortium

Do you speak a language other than English, or a different variant of
English? Consider helping us to localize HTML Tidy. For details please see
https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md