Mathew_Wi
Guest
|
 |
« on: April 21, 2011, 05:54:07 PM » |
|
Just a simple GCT editor as the title says. I find this very useful if you do something wrong with your GCT and don't want to re-create it. You can just edit the code with this and save it. Requires .NET framework! Bugs: Will crash if you try to add text to the code. Download: http://www.mediafire.com/?165bm9ysufafdb9http://www.mediafire.com/?noo3b0uyg39k05n - v2.0 Changes: v2.0 Added a "Quick Save" button so you don't have to choose where to save it every time. Fixed a bug or two.
|
|
« Last Edit: April 30, 2011, 04:26:05 PM by Mathew_Wi »
|
Logged
|
|
|
|
-LeetGamer-
Elite PSP Coder
Newbie
Karma: 0
Posts: 14
|
 |
« Reply #1 on: April 21, 2011, 05:59:01 PM » |
|
Did you make this?
|
|
|
Logged
|
|
|
|
-LeetGamer-
Elite PSP Coder
Newbie
Karma: 0
Posts: 14
|
 |
« Reply #2 on: April 21, 2011, 07:55:12 PM » |
|
Yeah, why?
Just wondering, good job.
|
|
|
Logged
|
|
|
|
memorris
Hacker
Jr. Member
   
Karma: 52
Posts: 53
|
 |
« Reply #3 on: April 21, 2011, 09:09:53 PM » |
|
Nice one dude :-) +karma
|
|
|
Logged
|
|
|
|
dcx2
Computer Engineer
Moderator
Legendary Member
   
Karma: 165
Posts: 3468
|
 |
« Reply #4 on: June 02, 2011, 08:32:59 PM » |
|
I have a suggestion. Can you integrate Gecko Patch File (GPF) support?
I ask this because there's someone who is using my codes for ToS and he's hitting the code limit. Some of the codes (e.g. simple ASM edits, data table edits) can probably be put into a gpf, allowing him to add more codes.
If you could add support for turning 00/02/04/06 codes into a gpf, that would be awesome. People could then plug gpf-compatible codes into your app and make a gpf file, freeing up gct code lines.
Here's the description from the docs that come with Gecko OS describing the patch file.
---
In order to make a GPF (Gecko Patch File) you will need to use a hex editor. The file should be given named with the game ID and gpf extension and put in a patch folder, that is on the root of your SD card. Here's the patch file format as described by Nuke:
"[1 byte] - Number of patches (hex) [4 bytes] - Patch Destination (hex) [4 bytes] - Patch Size (hex) [Patch X] - Patch data size of Patch Size
example
02 - Number of Patches 91000000 - Destination Address 00000002 - Patch Size (this example 2 bytes) AABB - The Patch (size of Patch size) 91000004 - next 00000002 - next CCDD -
The format will be just a hex blob like this
029100000000000002AABB9100000200000002CCDD
and saved to folder 'patch' on the SD card, with the GameID being the filename with .gpf extension, so for red steel jap, the file name would be REDJ41.gpf placed in folder 'patch'."
|
|
|
Logged
|
|
|
|
Deathwolf
Hacker
Legendary Member
   
Karma: 62
Posts: 1795
|
 |
« Reply #5 on: June 02, 2011, 08:39:34 PM » |
|
Sorry maybe it's offtopic but is it possible to create a "gecko file loader" which loads any file data from SD card and replace it in the game? Just like the Dynamic SD loader and File Replacement for SSBB but it's a code. I know there is an app called "Riivolution" but I think this app is fail...
|
|
|
Logged
|
lolz
|
|
|
dcx2
Computer Engineer
Moderator
Legendary Member
   
Karma: 165
Posts: 3468
|
 |
« Reply #6 on: June 02, 2011, 08:51:52 PM » |
|
I doubt that is possible. Gecko OS isn't running when the game is loaded, so it can't redirect disc access. The Gecko Patch File is only used to patch the game's MEM1 or MEM2 just before Gecko OS turns control over to it. If you want to redirect disc access to a file on the SD/USB/Wifi, you have to use Riivolution. And lemme tell you, redirecting disc access over wifi is cool.  I was doing texture hacks to change a character's hair color, and I would replace the file with the hacked texture on my PC and I could observe the effects in the game without having to reboot it. I plan on making a Riivolution guide soon. It is very confusing at first. But once you get going, it's not so bad.
|
|
|
Logged
|
|
|
|
Deathwolf
Hacker
Legendary Member
   
Karma: 62
Posts: 1795
|
 |
« Reply #7 on: June 02, 2011, 08:59:14 PM » |
|
Yes texture hacking is funny thats right xD but maybe you know the so called "File Patch code" from Phantom Wings is only NTSC-U. Sure Riivo. is usefull but many gamers are using USB Loaders and still have the original disc (like me). The problem is, that this code is "impossible" to port to PAL. I'm hanging on it since month and still don't work.... Whatever nobody can port this code so an app or something like this would be nice : / Have you ever tried to port this code? I'm not sure but I think you're NTSC.
|
|
« Last Edit: June 02, 2011, 09:01:10 PM by Deathwolf »
|
Logged
|
lolz
|
|
|
Deathwolf
Hacker
Legendary Member
   
Karma: 62
Posts: 1795
|
 |
« Reply #8 on: June 02, 2011, 10:31:31 PM » |
|
are you able to port with 2 dumps? I'm not sure if you could do that.
|
|
|
Logged
|
lolz
|
|
|
dcx2
Computer Engineer
Moderator
Legendary Member
   
Karma: 165
Posts: 3468
|
 |
« Reply #9 on: June 02, 2011, 10:33:42 PM » |
|
It's possible (open two different instances of Gecko.NET and load a dump into each one), but for a code of such complexity as the File Patch code, I wouldn't dare try porting it without the source and notes that the original hacker used.
|
|
|
Logged
|
|
|
|
Deathwolf
Hacker
Legendary Member
   
Karma: 62
Posts: 1795
|
 |
« Reply #10 on: June 02, 2011, 10:54:41 PM » |
|
hmm ok because there are LOTS of branches which you have to port. There is only one who ported this code to NTSC-J but it was not so hard as porting it to PAL. So should I better stop porting this code?
|
|
« Last Edit: June 02, 2011, 10:59:32 PM by Deathwolf »
|
Logged
|
lolz
|
|
|
dcx2
Computer Engineer
Moderator
Legendary Member
   
Karma: 165
Posts: 3468
|
 |
« Reply #11 on: June 03, 2011, 01:11:45 AM » |
|
Here's an example code for Tales of Symphonia. It is a simple ASM write, replacing one instruction (a rlwinm.) with another (cmpwi).
Open All Areas [dcx2] 0403BA80 2C08FFFF
This would become the following binary hex string (I put spaces between each part)
01 8003BA80 00000004 2C08FFFF
1 Patch. Address 8003BA80 (I think you can assume the ba will always be 80000000). Patch size is 4 bytes - one whole ASM instruction. The patched bytes are 2C08FFFF, or "cmpwi r8,-1"
I tested this patch file and it works. I can do another one using an 06 write to the encounter table.
EDIT:
In that even that you could use a recommendation, the hex editing application that I use is XVI hex editor. It is a decent freeware hex editor. That's how I made and viewed that gpf file.
|
|
« Last Edit: June 03, 2011, 01:17:44 AM by dcx2 »
|
Logged
|
|
|
|
dcx2
Computer Engineer
Moderator
Legendary Member
   
Karma: 165
Posts: 3468
|
 |
« Reply #12 on: June 03, 2011, 02:03:46 PM » |
|
Like I said, just assume ba = 80000000 always. That covers 99% of the codes, and the remaining 1% can hack it with a hex editor. Also, if you support just 00, 02, 04, and 06 code types, that should cover 99% of the cases where this would be used, too. If you need help, just ask. I know a thing or two about .NET programming.  I would do it myself, but you already have an app going that reads GCT, and I think this would be a great feature for it and would get you some more traffic.
|
|
|
Logged
|
|
|
|
dcx2
Computer Engineer
Moderator
Legendary Member
   
Karma: 165
Posts: 3468
|
 |
« Reply #13 on: June 14, 2011, 01:34:57 AM » |
|
FYI
You can make your GCT editor resizeable by using the anchor property of the textbox and attaching it to all four sides.
When you open a GCT and then remove codes and save over it, the leftover bits from the old codes are still there and the file won't get smaller. This can be really bad if your GCT at one point had too many codes, because it will still have too many.
You should end the codes with FFFFFFFF FFFFFFFF
Kudos for correct usage of the ... on the buttons.
|
|
|
Logged
|
|
|
|
Foxx
|
 |
« Reply #14 on: March 27, 2014, 08:17:25 AM » |
|
It has been a long time since this old skool wii hacker has been around. Is there another download link for this GCT Creator? If not, do you need it hosted?
|
|
|
Logged
|
|
|
|
|