Atmosphère implements cheat support

37918415.png

It's no secret that Atmosphère was eventually getting a cheat functionality: such a thing was already listed in the planned feature set for Stratosphère's debugging module and @SciresM started working on it shortly after releasing version 0.8.4 of his CFW. However, thanks to some recent commits, it's now possible to get a proper taste of said feature in action!

The new module (dmnt-cheat) can be used by creating a text file containing a list of cheats for a game that will be activated upon launching the game and, optionally, a companion homebrew app to individually toggle them on or off directly from the Switch itself. The module uses the same cheat format as SX OS, meaning you can use codes meant for the former in Atmosphère and vice-versa. A new variable has been added to microsd:/atmosphere/system_settings.ini to toggle on/off defaults when cheats are enabled:

; Controls whether dmnt cheats should be toggled on or off by
; default. 1 = toggled on by default, 0 = toggled off by default.
dmnt_cheats_enabled_by_default = u8!0x1

Adding your own cheats is very similiar to how it's done in SX OS. You need to create a text file in the following path containing your cheat definitions:

microsd:/atmosphere/titles/<title id>/cheats/<build id>.txt

Regarding homebrew code managers, EdiZon has been updated to support interfacing itself with dmnt-cheats, however there is no stable version out yet so you will have to compile it from source if you want to use this new feature. One you have it on your Switch, you can get into its "Edit RAM" menu to toggle your cheats when a game is running in the background. Just like EdiZon, there is no precompiled Atmosphère build containing this system module, meaning you will either have to compile it yourself from source (if so, remember to use sept-secondary.enc from the previous release to make it compatible with firmwares 7.0.0/7.0.1) or wait for the next release.

The feature has been deemed fully functional, however it should be still considered a WIP for the time being - your mileage may vary!

:arrow: Source: Atmosphère's GitHub Repo
:arrow:
Source: EdiZon's GitHub Repo
:arrow: GBAtemp Threads: Atmosphère / EdiZon
 
Last edited by RattletraPM,

jorgesd

Well-Known Member
Member
Joined
Dec 28, 2018
Messages
208
Trophies
0
Age
44
XP
521
Country
East Timor
simple: don't use cheats online

My friend got banned because he abused of a speed hack cheat in Mario Kart 8 Deluxe. (but only in this game)
yup that's what i mean. Why use cheats if you are gonna get banned almost immediately, so why give support to this tool? I think is just my point of view because using cheats offline is not worth either.
 
Last edited by jorgesd,

wicksand420

Well-Known Member
Member
Joined
Nov 13, 2016
Messages
2,787
Trophies
1
Age
39
XP
2,295
Country
United States
yup that's what i mean. Why use cheats if you are gonna get banned almost immediately, so why give support to this tool? xd
Not everyone uses cheats to be pricks online, offline cheating is what I use, and only when Iv'e beaten a game and just want to screw around.
 
  • Like
Reactions: jorgesd

bandithedoge

Well-Known Member
Member
Joined
Aug 23, 2018
Messages
239
Trophies
0
Website
bandithedoge.com
XP
881
Country
Poland
To everyone who wants XCI.

It WON'T happen, dammit. It exists in SXOS only because it uses Nintendo's copyrighted data (yes ladies and gentlemen, their only "original" feature is stolen straight from Ninty).

"But oh no, if we don't have XCI loading, we'll have to stay on SXOS!" No, you won't. Use zerotwoxci or n1dus to install XCI files just like a plain ass NSP.

"But hey, it's less convenient!" That's quite true, but if you have a fast microSD card, the process is faster. I don't know if any of these tools supports installing over USB, though.

"But loading XCI from SX is safer!" Who gives a shit? No, it's still not safe at all, because you're still going online with CFW which is extremely risky and generally dumb.
 

Spider_Man

Well-Known Member
Member
Joined
May 28, 2015
Messages
3,924
Trophies
0
Age
38
XP
5,165
Country
United States
There goes all my reasons to keep using sx os.
Youd ditch sx os that has it all built into its os, no need for additional tools to boot.

Fyi

It's a fucking retarded feature to force codes to be enabled by default.

This will cause problems for most games and your writing to an offset that hasnt even been compiled into the systems memory and will force close your game or the code wont even work.

Sx os at least allows you to toggle your codes on or off without having to use additional tools.

Let's see if anyone sits claiming ohh they copied off sx os like they do vice versa with no facts other than said feature sounds and looks the same.

Unless atmos is a fully functioning cheat tool that allows you to find pointers for dynamic addresses then it's a half arsed poor attempt.... forcing codes to be on by default pmsl.
 

SciresM

Developer
Developer
Joined
Mar 21, 2014
Messages
973
Trophies
3
Age
33
XP
8,294
Country
United States
It's a fucking retarded feature to force codes to be enabled by default.

This will cause problems for most games and your writing to an offset that hasnt even been compiled into the systems memory and will force close your game or the code wont even work.

Sx os at least allows you to toggle your codes on or off without having to use additional tools.

Unless atmos is a fully functioning cheat tool that allows you to find pointers for dynamic addresses then it's a half arsed poor attempt.... forcing codes to be on by default .

1. It's all user configurable, you can have it off by default if you want

2. SvcWriteMem will fail gracefully during init before pointers are setup. It's not gonna cause crashes.

3. Toggling without separate tool will come when ams.tma is ready, and note that I haven't even done a release with this yet

4. It will have functioning support for shit you mentioned in ams.tma.

--

Oh, and I fixed a bunch of bugs in my impl that SX OS has in theirs.

Example: turn on cheats in SX OS and go to the world select screen in Mario, you'll get *horrible* lag when changing worlds in their impl but not in mine.

Also, conditionals don't work at all in SX OS, I had to fix a bunch of dumb bugs:
https://github.com/Atmosphere-NX/At...ratosphere/dmnt/source/dmnt_cheat_vm.cpp#L378

You can actually crash the SX OS sysmodule because it reads OOB lol
 
Last edited by SciresM,

comput3rus3r

Well-Known Member
Member
Joined
Aug 20, 2016
Messages
3,580
Trophies
1
Age
123
XP
4,921
Country
United States
To everyone who wants XCI.

It WON'T happen, dammit. It exists in SXOS only because it uses Nintendo's copyrighted data (yes ladies and gentlemen, their only "original" feature is stolen straight from Ninty).

"But oh no, if we don't have XCI loading, we'll have to stay on SXOS!" No, you won't. Use zerotwoxci or n1dus to install XCI files just like a plain ass NSP.

"But hey, it's less convenient!" That's quite true, but if you have a fast microSD card, the process is faster. I don't know if any of these tools supports installing over USB, though.

"But loading XCI from SX is safer!" Who gives a shit? No, it's still not safe at all, because you're still going online with CFW which is extremely risky and generally dumb.
It's not about what's safer. sxos is able to load xci from hard drives. I want to see you install 4tb of games onto your sd card.
 
  • Like
Reactions: teamlocust and Toph

Purple_Heart

GBATemp´s weirdest Individual
Member
Joined
Oct 11, 2015
Messages
4,408
Trophies
1
Age
28
Location
Hamburg
XP
3,731
Country
Germany
so now i can update to 7.0.1 and ditch SXOS

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

i wanna compile latest commit of ams but which programm i need ..only have visual studio 2017.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: