ROM Hack [Release]Gateshark2NTR

Old-Skool

Well-Known Member
Member
Joined
Aug 8, 2016
Messages
234
Trophies
0
XP
925
Country
United States
i keep getting this error


'arm-none-eabi-gcc' is not recognized as an internal or external command,
operable program or batch file.
 

Soulsilve2010

Well-Known Member
Member
Joined
Sep 3, 2016
Messages
397
Trophies
0
Location
United States,Indiana
XP
917
Country
United States
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: 208
Last edited by Soulsilve2010,

emerlad

Member
Newcomer
Joined
Jan 26, 2017
Messages
6
Trophies
0
Age
31
XP
63
Country
United States
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?
 

Sonansune

Well-Known Member
Member
Joined
Jul 2, 2015
Messages
3,734
Trophies
1
XP
2,142
Country
Canada
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,

Old-Skool

Well-Known Member
Member
Joined
Aug 8, 2016
Messages
234
Trophies
0
XP
925
Country
United States
i keep getting an error saying error no such file or directory cant open users\name\desktop\gateshark2\template\cheats.h.
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,008
Trophies
2
Age
36
XP
4,570
Country
United States
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

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,656
Trophies
3
Age
29
XP
3,489
Country
France
@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

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Look at you holding tiny things