Hacking Gateway 3DS Cheat Search Assistance

vinnyboiler

Active Member
Newcomer
Joined
Jul 4, 2011
Messages
31
Trophies
0
XP
234
Country
Hello,

I've been messing around with the Gateway cheat support and so far so good. I have a few questions related to it though which I can't seem to find answers for. Firstly I cant seem to find the timer variable in Smash Bros, I'm trying to freeze Smash Run's timer so it's not stuck as 5 minutes.

The timer shows up as 5:00.00 with minutes, seconds and milliseconds. I've tried searching anything that I could think of that might be related from hoping that the minutes, seconds and milliseconds might be their own variable to thinking that it might all be stored in seconds and searching for 16 bit on the menu.

Secondly, what's the difference between a unsigned and a signed search?

Hopefully I am making sense, if you don't understand just say what you are having troubles understanding and I'll try to clarify.
 
  • Like
Reactions: artur3004

Slade.AU

Well-Known Member
Member
Joined
May 23, 2006
Messages
259
Trophies
0
Location
Yes
Website
127.0.0.1
XP
497
Country
Australia
Point 1: The value may not be stored as an integer, but a floating point number. If the value is stored as a Float, then doing an Int search isn't going to help you. On top of that, the value may well be stored as a whole number representing the minutes, seconds and fractions of a second. It may well be stored as 'ticks' (1000th's of a second). The best way to possibly find this location is to do ram dumps and take screen shots (use your mobile phone) and use Cheat Engine to search for the various value types (Float, Double, Integer). There's still no guarantee you'll find the value.

Point 2: Signed Integers are both positive and negative values (so a signed 8bit search goes of -255 to +255), where as unsigned Integers are positive only (therefore a signed 16bit search is from 0 - 65,535).

I hope that helps.
 

artur3004

Well-Known Member
Member
Joined
Mar 31, 2015
Messages
486
Trophies
0
Age
26
XP
294
Country
Gambia, The
gateways's in game cheat menu only support system applications and .3ds/.3dz. what about eshop games?
 

vinnyboiler

Active Member
Newcomer
Joined
Jul 4, 2011
Messages
31
Trophies
0
XP
234
Country
Point 1: The value may not be stored as an integer, but a floating point number. If the value is stored as a Float, then doing an Int search isn't going to help you. On top of that, the value may well be stored as a whole number representing the minutes, seconds and fractions of a second. It may well be stored as 'ticks' (1000th's of a second). The best way to possibly find this location is to do ram dumps and take screen shots (use your mobile phone) and use Cheat Engine to search for the various value types (Float, Double, Integer). There's still no guarantee you'll find the value.

Point 2: Signed Integers are both positive and negative values (so a signed 8bit search goes of -255 to +255), where as unsigned Integers are positive only (therefore a signed 16bit search is from 0 - 65,535).

I hope that helps.

Thanks, I tried what you suggested but I'm not having any luck. It looks like these sort of cheats will just have to be out of my reach for now. Do you happen to know anyone that might be up to taking suggestions for searching for cheats?
 

Slade.AU

Well-Known Member
Member
Joined
May 23, 2006
Messages
259
Trophies
0
Location
Yes
Website
127.0.0.1
XP
497
Country
Australia
Thanks, I tried what you suggested but I'm not having any luck. It looks like these sort of cheats will just have to be out of my reach for now. Do you happen to know anyone that might be up to taking suggestions for searching for cheats?

If you're going to do the ram dump, then I believe that Gateway does't dump the whole ram (which is somewhat frustrating). And a trick to help: When searching for values using Cheat Engine, do a range search. So if you're looking for 4:30.28 (4 minutes, 30.28 seconds), then search between 4:29 and 4:31. You may need to convert that to seconds (ie 269 and 271), then repeat the search with subsequent ram dumps. In these weird instances, I usually do around 10 ram dumps.

Also of note, the memory location may well not be static for time, that is, it moves around in memory. This might move every level you load, every time you load the game, or in some rightfully painful times, it might move every few seconds. If that's the case, you've got no hope.

One last thing, even if you do find the memory location, if the value is stored as something other than an integer, you may not be able to write an integer value to it using Gateway and have it work.

I'd love to see Gateway expand the search parameters to include Float, Double and ranged searches.

Which Smash Bros game ? I can spend a few minutes looking at it, but can't promise anything.
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,507
Trophies
0
XP
7,308
Country
Tuvalu
Point 1: The value may not be stored as an integer, but a floating point number. If the value is stored as a Float, then doing an Int search isn't going to help you. On top of that, the value may well be stored as a whole number representing the minutes, seconds and fractions of a second. It may well be stored as 'ticks' (1000th's of a second). The best way to possibly find this location is to do ram dumps and take screen shots (use your mobile phone) and use Cheat Engine to search for the various value types (Float, Double, Integer). There's still no guarantee you'll find the value.

Point 2: Signed Integers are both positive and negative values (so a signed 8bit search goes of -255 to +255), where as unsigned Integers are positive only (therefore a signed 16bit search is from 0 - 65,535).

I hope that helps.
wrong advice about signed and unsigned...
signed shows whether positive or negative... yes, but 8bit signed can't be +255 or -255... only up to 128, 127 i forget
 
Last edited by cearp,

Zidapi

Well-Known Member
Member
Joined
Dec 1, 2002
Messages
3,092
Trophies
0
Age
39
Website
Visit site
XP
2,481
Country
@Slade.AU I'm going to quote both of your posts here over in the official GateShark thread.

I want to try and keep informative posts like yours in one place, so that people like myself who are trying to learn more about code creation have a single place to learn and discuss techniques.

Do you happen to know anyone that might be up to taking suggestions for searching for cheats?
You should post in the official GateShark thread, there's plenty of helpful people there that can help with code creation and testing.
 

vinnyboiler

Active Member
Newcomer
Joined
Jul 4, 2011
Messages
31
Trophies
0
XP
234
Country
@Slade.AU I'm going to quote both of your posts here over in the official GateShark thread.

I want to try and keep informative posts like yours in one place, so that people like myself who are trying to learn more about code creation have a single place to learn and discuss techniques.


You should post in the official GateShark thread, there's plenty of helpful people there that can help with code creation and testing.
Oh my apologies, I didn't notice the GateShark thread , I'll make sure to post any future queries there.
 

Slade.AU

Well-Known Member
Member
Joined
May 23, 2006
Messages
259
Trophies
0
Location
Yes
Website
127.0.0.1
XP
497
Country
Australia
One last thing (I always forget this), just because the screen timer is going down, don't assume that the actual timer is doing the same. I've seen a lot of games where you see 5...4...3...2...1..., but in the background the game is going 1...2...3...4...5...

Edit: I've had a good look, and I'm not able to find it. Part of the problem is that the ram dump memory locations don't correspond to the ram locations that are available in the Hex Editor.

I have 115 Locations, most of which are not likely viable, but a half a dozen or so that could have some bearing, but no way of testing them out.
 
Last edited by Slade.AU,
  • Like
Reactions: cearp

Site & Scene News

General chit-chat
Help Users
  • KimKong @ KimKong:
    Start is "ENTER"
    +1
  • KimKong @ KimKong:
    B is "Z"
    A is "X"
    +1
  • KimKong @ KimKong:
    Thanks for the props @Costello
  • kenenthk @ kenenthk:
    I think theirs a section in the forum for gba home few games could share it their
  • kenenthk @ kenenthk:
    Homebrew*
  • kenenthk @ kenenthk:
    Oh looks like you have already
  • KimKong @ KimKong:
    Yup! Now that I think about - I'm n
    ot sure if it's in the right section tho...?
  • kenenthk @ kenenthk:
    Eh they'll just tell you or move it no biggie
    +1
  • banjo2 @ banjo2:
    @CPG SO true
  • Costello @ Costello:
    @kenenthk : there are no longer blue mods. They're all global mods now :)
  • kenenthk @ kenenthk:
    Can't always know where to park
  • kenenthk @ kenenthk:
    @ Costello thinking of adding a new generation I noticed most are green
  • Xzi @ Xzi:
    Well-executed concept in your game, @KimKong . Music's pretty great too!
    +1
  • KimKong @ KimKong:
    @Xzi Thanks for the feedback! I'm planing to make alot more music for each of the levels, so it don't get so repetitive! And working on some graphical upgrade ideas!
    +1
  • kenenthk @ kenenthk:
    Do you use 8bit equipment for the music and FL studio
  • RichardTheKing @ RichardTheKing:
    I did notice one particularly bad bit of text formatting (and minor typo): in the UFO fight, when trying to shoot at the bottom, it says "Looks like the UFO have some kinda shield" - "has" is better. Also, the very next text box has "L et's try shooting the top instead!" with a line break in the word "Let's".
    +1
  • RichardTheKing @ RichardTheKing:
    Oh, and I have no idea how to get past this gap - it's too close to the roof. https://imgur.com/A2mYGPy
    +1
  • KimKong @ KimKong:
    @kenenthk I used OpenMPT to make all the music. My brother will be helping out with some more tunes in the future!
  • KimKong @ KimKong:
    @RichardTheKing Thank you so much for pointing out that dialog bug!! I never noticed it while finishing up these new boss fights..

    And that gap on that level should be close enough to jump if you run? I might have to lower that platform a bit maybe?
    +1
  • KimKong @ KimKong:
    Thanks so much for the feedback!! You are awesome!!
  • DrunkenMonk @ DrunkenMonk:
    RIP GBA section 2021 :cry:
  • Darth Meteos @ Darth Meteos:
    Has the GBA section been removed? :O
  • KimKong @ KimKong:
    Wait WHAT???
  • Undwiz @ Undwiz:
    I'll be banned after this My Wife passed away 3 months ago , We have 3 kids. Living in a Motel right now . I make enough for a place but need a deposit.... Please help share the word. paypal.me/jdcass82 Sorry , I'll take the Ban if need be , just trying to get a home and out this Motel ... Need to get My Kids out of this place.
    Undwiz @ Undwiz: I'll be banned after this My Wife passed away 3 months ago , We have 3 kids. Living in a Motel...