ROM Hack [Release]Gateshark2NTR

Old-Skool

Well-Known Member
Member
Joined
Aug 8, 2016
Messages
234
Trophies
0
XP
926
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: 209
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
926
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,009
Trophies
2
Age
36
XP
4,571
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,661
Trophies
3
Age
29
XP
3,524
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:
    Nearly 4 hours without power :(
  • Veho @ Veho:
    SO POWERLESS
  • K3Nv2 @ K3Nv2:
    Tell Kanye I need power
  • DinohScene @ DinohScene:
    Better start running in your hamster wheel
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Meth addicts on a treadmill connected to a generator "Unlimited POWER!!!'
  • Veho @ Veho:
    Before or after a hit?
    +1
  • Veho @ Veho:
    Do you dangle a baggie in front of them, like a carrot?
    +1
  • The Real Jdbye @ The Real Jdbye:
    they're the same thing
    +1
  • The Real Jdbye @ The Real Jdbye:
    i like that idea
    +1
  • Veho @ Veho:
    What's the same thing?
    +1
  • The Real Jdbye @ The Real Jdbye:
    before or after a hit
    +1
  • Veho @ Veho:
    Nah, a hit gives them mad meth powers, but makes them more difficult to control.
    +1
  • Veho @ Veho:
    Before a hit they're like zombies, persistent but slow.
    +1
  • Veho @ Veho:
    It's a tradeoff.
    +1
  • The Real Jdbye @ The Real Jdbye:
    no i mean, before a hit is after the previous hit
    +1
  • The Real Jdbye @ The Real Jdbye:
    if you keep them well enough fed, it's the same thing
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    By the power of Florida Man, I have the power!!! *Lifts up meth pipe* Meth Man!!! lol
  • BakerMan @ BakerMan:
    Guys, I just learned my little brother is in the hospital because he had a seizure last night.
  • cearp @ cearp:
    Sorry to hear that BakerMan
    +2
  • BakerMan @ BakerMan:
    Just found out he's doing alright, doing a lot of complaining too, rightfully so. Who wouldn't complain after having a seizure and being hospitalized?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Glad he is OK and complaining is cool :)
    +1
  • K3Nv2 @ K3Nv2:
    Yeah been there had that no fun
    +1
  • K3Nv2 @ K3Nv2:
    They'll give him sleep studies eegs and possibly one week hospital stay
    K3Nv2 @ K3Nv2: They'll give him sleep studies eegs and possibly one week hospital stay