ROM Hack [Release] Online Gateway To CTRPF Code Converter

DarkFlare69

Well-Known Member
OP
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,751
Country
United States
Updated to v1.0.5

-Added notes
-Improved help page to give more detailed information on how to use spoilers and notes
-Added titles to more popup text boxes


Notes can be created using *

Code:
+This is a spoiler
[Code1234]
D3000000 08000000
10000048 0000FFFF
D2000000 00000000
*This is a note for Code1234\nAnd if you want to use another line, you can use \n to create a new line.
-Exits the spoiler, you only need to type -
 
  • Like
Reactions: ninjistix

ninjistix

Well-Known Member
Member
Joined
Aug 8, 2016
Messages
340
Trophies
0
Age
36
XP
1,800
Country
United States
would it be possible to reverse the converted codes back to gateshark codes, lets say you found a old plugin source and want to port those codes to the newer lib?
 

DarkFlare69

Well-Known Member
OP
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,751
Country
United States
would it be possible to reverse the converted codes back to gateshark codes, lets say you found a old plugin source and want to port those codes to the newer lib?
Yes, but it's a feature I won't be adding due to C being a lot more flexible than the NDS codetypes. There's many ways to write a NTR code, and unless it's written in the exact format that the program likes, it won't be possible to convert by the program, since the NDS codetypes are so limited in terms of flexibility
 

KillianMG

New Member
Newbie
Joined
Feb 10, 2018
Messages
3
Trophies
0
Age
19
XP
42
Country
France
Hi ,

where put the codes after doing this :
void Plugin Oras(void)
{
new_spoiler("Unlimited");
new_entry("Max/Inf HP v1.4", InfHP_note, InfHP);
new_entry("Money 999998", InfMoney_note, Infmoney);
exit_spoiler();
}

-----------------------------------------------------------------------------------------


I made his but but I'm not sure that his walk
code :
void Plugin Oras(void)
{
new_spoiler("Unlimited");
new_entry("Max/Inf HP v1.4", InfHP_note, InfHP);
new_entry("Money 999998", InfMoney_note, Infmoney);
exit_spoiler();
}

void InfHP(void)
{
if (READU32(offset + 0x81FB58C) < 0x08200000)
{
if (READU32(offset + 0x81FB92C) < 0x08200000)
{
offset = READU32(offset + 0x81FB58C);
WRITEU16(offset + 0x000000E, 0x000003E7);
WRITEU16(offset + 0x0000010, 0x000003E7);
offset = 0x00000000;
offset = READU32(offset + 0x81FB92C);
WRITEU16(offset + 0x000000E, 0x000003E7);
WRITEU16(offset + 0x0000010, 0x000003E7);
offset = 0;
data = 0;
}
}
}

void Infmoney(void)
{
WRITEU32(offset + 0x8C71DC0, 0x000F423E);
}
 

DarkFlare69

Well-Known Member
OP
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,751
Country
United States
Hi ,

where put the codes after doing this :
void Plugin Oras(void)
{
new_spoiler("Unlimited");
new_entry("Max/Inf HP v1.4", InfHP_note, InfHP);
new_entry("Money 999998", InfMoney_note, Infmoney);
exit_spoiler();
}

-----------------------------------------------------------------------------------------


I made his but but I'm not sure that his walk
code :
void Plugin Oras(void)
{
new_spoiler("Unlimited");
new_entry("Max/Inf HP v1.4", InfHP_note, InfHP);
new_entry("Money 999998", InfMoney_note, Infmoney);
exit_spoiler();
}

void InfHP(void)
{
if (READU32(offset + 0x81FB58C) < 0x08200000)
{
if (READU32(offset + 0x81FB92C) < 0x08200000)
{
offset = READU32(offset + 0x81FB58C);
WRITEU16(offset + 0x000000E, 0x000003E7);
WRITEU16(offset + 0x0000010, 0x000003E7);
offset = 0x00000000;
offset = READU32(offset + 0x81FB92C);
WRITEU16(offset + 0x000000E, 0x000003E7);
WRITEU16(offset + 0x0000010, 0x000003E7);
offset = 0;
data = 0;
}
}
}

void Infmoney(void)
{
WRITEU32(offset + 0x8C71DC0, 0x000F423E);
}
Sorry, I don't understand what you're saying. The codes will be generated inside of cheats.c and the menu inside of create_menu.c. You can build using build.bat or by clicking build.
 

David13

Well-Known Member
Member
Joined
May 23, 2017
Messages
129
Trophies
0
Age
33
XP
358
Country
France
[QUOTE = "KillianMG, article: 7829084, membre: 441988"] merci [/ QUOTE]
There is a problem with your plg
 

KillianMG

New Member
Newbie
Joined
Feb 10, 2018
Messages
3
Trophies
0
Age
19
XP
42
Country
France
oui vous avez répondu à ma question, David 13 non j'utilise le code de la passerelle

--------------------- MERGED ---------------------------

yes you answered my question, no problem in my Plg
 
  • Like
Reactions: DarkFlare69

Garcia111907o

Active Member
Newcomer
Joined
Dec 20, 2017
Messages
28
Trophies
0
Age
39
XP
131
Country
United States
Thanks for putting something like this out there. Do you have or know of a good guide out there for finding/creating gateshark cheats for games?

What I'm trying to do is create NTR plugins for VC Injections of some retro games. I'm having the damnedest time figuring out how to find/create the gateshark codes that I can then convert to an NTR plugin.

Thx
 

Garcia111907o

Active Member
Newcomer
Joined
Dec 20, 2017
Messages
28
Trophies
0
Age
39
XP
131
Country
United States
Thanks for putting something like this out there. Do you have or know of a good guide out there for finding/creating gateshark cheats for games?

What I'm trying to do is create NTR plugins for VC Injections of some retro games. I'm having the damnedest time figuring out how to find/create the gateshark codes that I can then convert to an NTR plugin.

Thx
 

DarkFlare69

Well-Known Member
OP
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,751
Country
United States
Thanks for putting something like this out there. Do you have or know of a good guide out there for finding/creating gateshark cheats for games?

What I'm trying to do is create NTR plugins for VC Injections of some retro games. I'm having the damnedest time figuring out how to find/create the gateshark codes that I can then convert to an NTR plugin.

Thx
Do you have a Gateway? If so, I can help
 

David13

Well-Known Member
Member
Joined
May 23, 2017
Messages
129
Trophies
0
Age
33
XP
358
Country
France
Do you have a Gateway? If so, I can help
Hi darkFlare, I want to create a code with a loop but I do not know how to do it. Can you help me thanks :)

--------------------- MERGED ---------------------------

Hi darkFlare, I want to create a code with a loop but I do not know how to do it. Can you help me thanks :)
I know the code is C0000000 but I do not know how to write it in cheat.c
Thank you

--------------------- MERGED ---------------------------

Should I use "while" ? ^^
 

DarkFlare69

Well-Known Member
OP
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,751
Country
United States
Hi darkFlare, I want to create a code with a loop but I do not know how to do it. Can you help me thanks :)

--------------------- MERGED ---------------------------


I know the code is C0000000 but I do not know how to write it in cheat.c
Thank you

--------------------- MERGED ---------------------------

Should I use "while" ? ^^
While is used when there's an indefinite amount of iterations. In this case, you should use a for loop.

Code:
for (int i = 0; i < 10; i++)
{
    WRITEU32(0x12345678 + (i * 4), 0xFFFFFFFF);
}

This initializes an integer called "i" with the value 0. The middle part, i < 10, tells it to stay in the loop unless this condition is false. The last part, i++, tells it to add 1 to i after every iteration. So pretty much it will loop through this code 10 times before exiting.
 
Last edited by DarkFlare69,

David13

Well-Known Member
Member
Joined
May 23, 2017
Messages
129
Trophies
0
Age
33
XP
358
Country
France
--------------------- MERGED ---------------------------

Oh yes, I forgot :)
You know how other hackers do to find these codes because personally I can not have access to these hexadecimals. Thank you
1519388965-top-0035.png


--------------------- MERGED ---------------------------

THANK YOU :)
 
Last edited by BORTZ,

DarkFlare69

Well-Known Member
OP
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,751
Country
United States
[QUOTE = "DarkFlare69, poste: 7847579, membre: 357590"] While est utilisé quand il y a une quantité indéfinie d'itérations. Dans ce cas, vous devez utiliser une boucle for.

Code:
pour (int i = 0; i <10; i ++)
{
    WRITEU32 (0x12345678 + (i * 4), 0xFFFFFFFF);
}

Ceci initialise un entier appelé "i" avec la valeur 0. La partie du milieu, i <10, lui dit de rester dans la boucle sauf si cette condition est fausse. La dernière partie, i ++, lui dit d'ajouter 1 à i après chaque itération. Donc, à peu près, il va parcourir ce code 10 fois avant de quitter. [/ QUOTE]

Ok, Thank you :)

--------------------- MERGED ---------------------------

Oh yes, I forgot :)
You know how other hackers do to find these codes because personally I can not have access to these hexadecimals. Thank you
1519388965-top-0035.png


--------------------- MERGED ---------------------------

THANK YOU :)
I've only used CTRPF a couple times, so I'm not sure how you would get access to that memregion. Try making a ram dump and viewing that area in a hex editor.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Only Xbox I don't have is the OG, and One X model specifically, I regret giving my chipped OG model to one of my kids years ago, after later hearing he sold it to pawn shop, damn kids!
    +2
  • SylverReZ @ SylverReZ:
    @BigOnYa, You shouldn't raise Fortnite gamers.
    +1
  • BigOnYa @ BigOnYa:
    They have they own kids now that will pay them back for all the things they did to me, that's how it works, Karma.
    +2
  • K3Nv2 @ K3Nv2:
    Tell their kids about pawn shops
    +2
  • K3Nv2 @ K3Nv2:
    Lol I still got mw2 open beta on this ps4
  • BigOnYa @ BigOnYa:
    I just recently picked up a n64 from a garage sell, and looking to mod it and add a HDMI port to it. https://www.ebay.com/itm/3548173115...044&customid=4f3038da73b61afddf7e5e90f4153856
  • BigOnYa @ BigOnYa:
    I'd like to find a power strip and HDMI selector built in 1 unit, so I can select which game system I want, and will switch to that hdmi, and power on that plug/power supply only, so don't have all game systems powered all the time, but can't find anything like. May just have to make something myself.
  • BigOnYa @ BigOnYa:
    Maybe start a kick starter page and sell them, yea right. Big N would prob C&D me, not anything Big N related, but just because that's what they do nowdays. Then come out with they own in a year or so.
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Nice. Which operating system are you installing?
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, windows 10 and some linux distro like linux mint
  • Xdqwerty @ Xdqwerty:
    dualbooth
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Yeah, I'd recommend having another OS just in-case you want to play games.
  • SylverReZ @ SylverReZ:
    At least Linux doesn't contain spyware than what Windows has.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, cuz of lag?
  • SylverReZ @ SylverReZ:
    @Xdqwerty, No. Whenever you use the internet on Windows, Microsoft collects personal data and installs bloatware that isn't necessarily needed, such as Edge.
  • SylverReZ @ SylverReZ:
    Speaking of which
  • Xdqwerty @ Xdqwerty:
    @SylverReZ,
    I recall @impeeza mentioned some trick about not having bloatware when installing windows where you set up your country to "world" or smh like that
    +1
  • SylverReZ @ SylverReZ:
    Yes, you can debloat the operating system, but in some cases for me it just reinstalls them.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ,
    I also recall my brother downloded a "non bloated" version of windows 11 on his pc
    +1
  • BigOnYa @ BigOnYa:
    "Why debloat? Why not embrace and enjoy my bloat?" - Gates
    +2
  • impeeza @ impeeza:
    @Xdqwerty yes, when you are installing Windows on the first steps you are asked for your current location, you MUST to select «international» so no bloatware is installed, because the bloatware is location based. if this night I have some time I will setup a VM and take screenshots.
    +1
  • BigOnYa @ BigOnYa:
    @gates "Disliked" your answer.
    BigOnYa @ BigOnYa: @gates "Disliked" your answer.