ROM Hack [Release]Gateshark2NTR

  • Thread starter Thread starter Nanquitas
  • Start date Start date
  • Views Views 209,417
  • Replies Replies 550
  • Likes Likes 45
i keep getting this error


'arm-none-eabi-gcc' is not recognized as an internal or external command,
operable program or batch file.
 
I get this error when trying to convert a gateway cheat txt file.Then the program crashes.What do I do?

Edit:Another one I tested worked fine.

Edit 2:There was 1 line that was incomplete so i deleted that cheat and now it worked.
 

Attachments

  • help.png
    help.png
    3.7 KB · Views: 235
Last edited by Soulsilve2010,
I'm having trouble getting a cheat to convert that uses an E type block.

Specifically the lines are

Code:
E00102A0 00000018
CBFFBFFE FFFFBF2F
F97FFFFF FFDFFFDB
FFDFFFBF 7BDFBFBF
D0000000 00000000

The E type specifies 00000018 which should be 24 bytes or 3 lines right? That's what is provided so I can't figure out whats wrong?

It works sometimes if I change the code to write something else besides what I want (like 24 bytes of all 00s), but not other times (like 24 bytes of all FF).

Code:
[This works]
E00102A0 00000018
00000000 00000000
00000000 00000000
00000000 00000000
D0000000 00000000

[This doesn't work]
E00102A0 00000018
FFFFFFFE FFFFFFFF
FFFFFFFF FFFFFFFF
FFFFFFFF FFFFFFFF
D0000000 00000000

So if I had to guess you have some error in your converter or parser for E types with certain characters?
 
I'm having trouble getting a cheat to convert that uses an E type block.

Specifically the lines are

Code:
E00102A0 00000018
CBFFBFFE FFFFBF2F
F97FFFFF FFDFFFDB
FFDFFFBF 7BDFBFBF
D0000000 00000000

The E type specifies 00000018 which should be 24 bytes or 3 lines right? That's what is provided so I can't figure out whats wrong?

It works sometimes if I change the code to write something else besides what I want (like 24 bytes of all 00s), but not other times (like 24 bytes of all FF).

Code:
[This works]
E00102A0 00000018
00000000 00000000
00000000 00000000
00000000 00000000
D0000000 00000000

[This doesn't work]
E00102A0 00000018
FFFFFFFE FFFFFFFF
FFFFFFFF FFFFFFFF
FFFFFFFF FFFFFFFF
D0000000 00000000

So if I had to guess you have some error in your converter or parser for E types with certain characters?
maybe it does not convert e type.

try change to multiple continuous offset writing
 
Last edited by Sonansune,
i keep getting an error saying error no such file or directory cant open users\name\desktop\gateshark2\template\cheats.h.
 
maybe it does not convert e type.

try change to multiple continuous offset writing

Yes it does, but might be a problem with the converter.

I'll take a look.

Narrowed it down for you. This input file:
Code:
[This crashes]
E0000000 00000008
F0000000 00000000
D0000000 00000000
Will generate this code:
Code:
void    this_crashes_3c81a(u32 index)
{
    u32    data;
    u32    offset;

    data = 0;
    offset = 0;
    new_log(1, "Execute: This crashes");
    u32    address0 = 0x00000000;
    static const u8    buffer0[] = { 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0,};

    memcpy((void *)(address0 + offset), buffer0, 0x00000008);
    memcpy((void *)0x0, (void *)offset, 0x);
}
In fact, any E code whose first byte on a new line starts with F seems to cause this. So here's another that will crash:
Code:
[This crashes]
E0000000 00000010
00000000 00000000
F7000000 00000000
D0000000 00000000
So I'm not sure how the script parses these bytes but it seems to not handle it well if the first value of a line is F.
 
  • Like
Reactions: Sonansune
@Nanquitas
I noticed some bugs/crashs.
Game is Dragon Quest 8 EUR.

This code:
[(L+X) Alchemy Recipe Book Complete]
D3000000 00000000
DD000000 00000600
B05CF3C4 00000000
B00000BC 00000000
B0000000 00000000
E00102A0 00000018
CBFFBFFE FFFFBF2F
F97FFFFF FFDFFFDB
FFDFFFBF 7BDFBFBF
000102B8 BDFFF7F0
100102BC 000003FB
D2000000 00000000
Make the program crash ->
170129095025834983.png


This code too
[(L+X) Collected Item List Complete]
D3000000 00000000
DD000000 00000600
B05CF3C4 00000000
B00000BC 00000000
B0000000 00000000
E00011B8 00000038
FFFFFFFE FFFFFFFF
FFFFFFFF FFFFFFFF
FFFFFFFF FFFFFFFF
FFFFFFFF FFFFFFFF
FFFFFFFF FFFFFFFF
FFFFFFFF FFFFFFFF
FFFFFFFF 00003FFF
D2000000 00000000
170129095025624045.png
 

Site & Scene News

Popular threads in this forum