ROM Hack Taking requests to port Gateshark to NTR plugins

Status
Not open for further replies.

justync7

Well-Known Member
OP
Member
Joined
Mar 23, 2013
Messages
203
Trophies
0
Age
33
XP
350
Country
United States
Super Mario 3D Land Lower Item: http://www.fort42.com/gateshark/game39/977/

(USA)

Also would you be willing to create a guide or link to a guide that allows you to convert these? That would be SUPER Helpful! And thank you so MUCH!!
Working on that plugin now.

I could create a guide on how to convert them, but it would be fairly complex and require decent programming knowledge. And besides, I am a horrible guide creator.

EDIT: It seems this code is quite complex, it may take longer than usual but I will get it done.
 
Last edited by justync7,
  • Like
Reactions: Deleted User

Nanquitas

Well-Known Member
Member
Joined
Sep 29, 2015
Messages
2,345
Trophies
0
Age
30
Location
South of France :)
XP
3,336
Country
France
Code:
void    lower_slot_item(void)
{
    u32        address;
    u32        key;
   
    address = 0x16197A30;
    key = getKey();
    if(key == BUTTON_DR + BUTTON_SE)
        WRITEU8(address, 1);
    if(key == BUTTON_DL + BUTTON_SE)
        WRITEU8(address, 2);
    if(key == BUTTON_DUP + BUTTON_SE)
        WRITEU8(address, 3);
    if(key == BUTTON_DL + BUTTON_SE)
        WRITEU8(address, 4);
    if(key == BUTTON_R + BUTTON_SE)
        WRITEU8(address, 5);
    if(key == BUTTON_L + BUTTON_SE)
        WRITEU8(address, 6);   
}

This is how I would have done it. ;)

I like your initiative ! Keep up the good job! :)
If you need help do not hesitate.

@Asia81: By looking into the sources of plugin and comparing to the Gateshark codes, you should be able to understand how to convert them and apply the same pattern for all the others codes. :)
 

justync7

Well-Known Member
OP
Member
Joined
Mar 23, 2013
Messages
203
Trophies
0
Age
33
XP
350
Country
United States
Code:
void    lower_slot_item(void)
{
    u32        address;
    u32        key;
  
    address = 0x16197A30;
    key = getKey();
    if(key == BUTTON_DR + BUTTON_SE)
        WRITEU8(address, 1);
    if(key == BUTTON_DL + BUTTON_SE)
        WRITEU8(address, 2);
    if(key == BUTTON_DUP + BUTTON_SE)
        WRITEU8(address, 3);
    if(key == BUTTON_DL + BUTTON_SE)
        WRITEU8(address, 4);
    if(key == BUTTON_R + BUTTON_SE)
        WRITEU8(address, 5);
    if(key == BUTTON_L + BUTTON_SE)
        WRITEU8(address, 6);  
}

This is how I would have done it. ;)

I like your initiative ! Keep up the good job! :)
If you need help do not hesitate.

@Asia81: By looking into the sources of plugin and comparing to the Gateshark codes, you should be able to understand how to convert them and apply the same pattern for all the others codes. :)
That is exactly how I went about it, aside from I used a switch instead of if statements.
 
D

Deleted User

Guest
Working on that plugin now.

I could create a guide on how to convert them, but it would be fairly complex and require decent programming knowledge. And besides, I am a horrible guide creator.

EDIT: It seems this code is quite complex, it may take longer than usual but I will get it done.
Thanks! Also the guide doesn't have to be spectacular- just the jist

Edit- actually looking at the code- wow, that looks pretty tough!
 

justync7

Well-Known Member
OP
Member
Joined
Mar 23, 2013
Messages
203
Trophies
0
Age
33
XP
350
Country
United States
Thanks! Also the guide doesn't have to be spectacular- just the jist
I have added the plugin to the OP.
I will be working on the guide soon, although I am hesitant to make it as me and multiple other people have debated making an NTR plugin which can read Gateshark cheats directly from a file on the SD with full compatibility. Hopefully this will happen, and I might make it a home plugin, meaning it would make it work online.
 

Nanquitas

Well-Known Member
Member
Joined
Sep 29, 2015
Messages
2,345
Trophies
0
Age
30
Location
South of France :)
XP
3,336
Country
France
That is exactly how I went about it, aside from I used a switch instead of if statements.
Yeah it's the same. ;)
It's just that I personally don't like the switch statement.

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

You can do game plugin which are working online (all my plugins are). ;)
 
D

Deleted User

Guest
I have added the plugin to the OP.
I will be working on the guide soon, although I am hesitant to make it as me and multiple other people have debated making an NTR plugin which can read Gateshark cheats directly from a file on the SD with full compatibility. Hopefully this will happen, and I might make it a home plugin, meaning it would make it work online.
Awesome! Thanks so much!
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: Yea is pretty good