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
  • BakerMan @ BakerMan:
    the legal drinking age here in the US is 21, as some of you may know, but i think either it should be 18 or the age you're an adult should be 21.
    +1
  • BakerMan @ BakerMan:
    and i know what you may be thinking, "why become an adult at 21? doesn't that mean that banging an 18 year old would be illegal?"
    first of all, being in a relationship with someone who's 18 is technically ok, as long as it started when they were 18, but the age gap is still weird depending on how old you are. besides, the age of consent differs between different states
    +1
  • BakerMan @ BakerMan:
    also my reasoning for adult age being 21 is because the reason that's the drinking (and now smoking) age is because it "gives them more time to think rationally and not drive drunk"
    so you should have that extra time to mature and think rationally before going to serve in the military or vote
    +1
  • BakerMan @ BakerMan:
    tl;dr the "adult" age and the legal drinking age (and voting age) here in the US should be the same
    +4
  • Psionic Roshambo @ Psionic Roshambo:
    It's all good no one pays attention to the law anyway lol
  • BigOnYa @ BigOnYa:
    What about making kids wait till 18 or 21 to drive? And yea is messed up, you can join army and die for your country at age 18, but you can't drink alcohol or smoke a cig til 21, is ridiculous
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    If someone is in the military they should be allowed to smoke and drink at 18.... Would help drive recruitment lol
    +3
  • BigOnYa @ BigOnYa:
    We all know they do and will anyways. I think laws prevented them only pushes them to illegally do it. Even tho if was legal, most prob wouldn't even bother. Not a big deal or risque if its legal, no fun.
    +2
  • ZeroT21 @ ZeroT21:
    That's why some kids don't mind having a rap sheet or two just so they never get drafted
    +2
  • BakerMan @ BakerMan:
    also, i think the voting age should match the adult and drinking ages too, because by the logic of giving them time to mature and think rationally so they don't drive drunk, then they should also have that time to mature and think rationally so they can think for themselves
    +2
  • BakerMan @ BakerMan:
    fucking hell i'm becoming a mini leo with the way i yap aren't i?
    +1
  • impeeza @ impeeza:
    I was unable to create the VM for the debloat windows, but found the video where I learned it:

    https://www.youtube.com/watch?v=mZm6mY3I7J4
    +2
  • BigOnYa @ BigOnYa:
    No you def no leo, and I like your insight. You are a smart Baked cookie.
  • K3Nv2 @ K3Nv2:
    Chicken drumsticks and sweet potato for dinner tonight turned out good
    +1
  • BakerMan @ BakerMan:
    "i promise not to get all political and/or philosophical"
    3 drinks later:
    "so yeah think for yourself and i think the government sucks"
    +1
  • K3Nv2 @ K3Nv2:
    Is @BigOnYa drunk again
  • BakerMan @ BakerMan:
    no, i was poking fun at myself
  • BigOnYa @ BigOnYa:
    Again? I have a IV feeding me so I never come down.
    +2
  • BakerMan @ BakerMan:
    because self deprecating humor is important, as long as it doesn't turn into self hate. because you can't really make fun of anyone if you can't even make fun of yourself
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Booze enemas are real lol
  • The Real Jdbye @ The Real Jdbye:
    that explains a lot
  • K3Nv2 @ K3Nv2:
    @BigOnYa, invented the first ever pill that gets you instantly hammered, now filling the streets of Miami
  • BigOnYa @ BigOnYa:
    That was what called a qaaulude, instant drunk, luckily they not around anymore.
    BigOnYa @ BigOnYa: That was what called a qaaulude, instant drunk, luckily they not around anymore.