Hacking Portal 2 Offline check+flighmode patch (Atmosphere IPS)

mrdude

Developer
OP
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,238
For those that want to play Portal 2 with the online+flightmode checks skipped that are on v1.0.3 of the game, Here's an online/offline patch. I was having issues getting this to run without flighmode - even then it was a pain, hence the patch got made for Atmosphere. Enjoy!
 

Attachments

  • Portal2.zip
    598 bytes · Views: 38

mrdude

Developer
OP
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,238
https://github.com/masagrator/PortalNXSideLoader/releases/tag/1.4
Portal2-NoWeb-NXSideLoader.zip

This is doing the same thing, but also enables modding.
Nice, you wouldn't happen to know which bit of code/module is responsible in some games that when you try to play them the switch pops up with the message about needing to update the game? My switch is banned from online so I can't get updates unless I download them, currently the one I have for commando's 3 crashes instantly (v196608) and the other one I have (v65536) tells me I need to update. I am looking for a way to patch this check out. Have you done that for any games?
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,325
Trophies
3
XP
12,159
Country
Poland
Nice, you wouldn't happen to know which bit of code/module is responsible in some games that when you try to play them the switch pops up with the message about needing to update the game? My switch is banned from online so I can't get updates unless I download them, currently the one I have for commando's 3 crashes instantly (v196608) and the other one I have (v65536) tells me I need to update. I am looking for a way to patch this check out. Have you done that for any games?
There are 2 ways to do that:
  • by using HOS API to reset required game version. You can do that with DBI, Goldleaf, maybe something else too. Con of this solution is that it will still popup that you should update game, but with option to launch game anyway. In DBI
    • Browse Installed applications
    • Highlight game you want to reset and press +
    • Reset required version
  • Edit some file in NAND to remove information about that there is an update possible to download. I remember there was one tool designed for that, but don't remember name.
 

mrdude

Developer
OP
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,238
There are 2 ways to do that:
  • by using HOS API to reset required game version. You can do that with DBI, Goldleaf, maybe something else too. Con of this solution is that it will still popup that you should update game, but with option to launch game anyway. In DBI
    • Browse Installed applications
    • Highlight game you want to reset and press +
    • Reset required version
  • Edit some file in NAND to remove information about that there is an update possible to download. I remember there was one tool designed for that, but don't remember name.
Thanks, do you know which file gets edited by DBI so that it resets the version? Or What system file is responsible?
 

mrdude

Developer
OP
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,238
avm is used, this is what is used by Goldleaf. Don't ask me how this works

https://github.com/XorTroll/Goldlea...5a2ae/Goldleaf/source/hos/hos_Titles.cpp#L337
Nice, I think it has somehing to do with version list files - 8000000000000180 and 8000000000000045, if you get virgin ones it gets rid of the nag so I suspect that DBI is editing 8000000000000180 to set the game version to the update version you have installed. I am just spectulating though, I'll look into this further.

According to this: https://switchbrew.org/wiki/Flash_Filesystem
I guess that you must need to mount the System partiton and go to the save folder then those files get edited,

EDIT: Don't install from the net, it will bork you firmware - doh! Also you need dumps from the same version firmware you are on. I ended up wiping my emunand and then all my games worked as well as the update 3 for commandos so mabey my sd card had some corruption, all is good now though.
 
Last edited by mrdude,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Me and wifey was deciding on our next vacation, so I hung up a map on the wall, and give her a dart and said, wherever you hit, we will go. She threw the dart and it missed the map completely and fell into a trash can below on floor. So I said "ok Florida it is."
    +2
  • BakerMan @ BakerMan:
    @ZeroT21 ohhh a pot cake?
    +2
  • SylverReZ @ SylverReZ:
    Gimme some of dat
    +4
  • BakerMan @ BakerMan:
    oh yeah i don't use weed,in my baking or in general
  • BakerMan @ BakerMan:
    besides isn't it usually gummies or brownies?
  • AncientBoi @ AncientBoi:
    So, make a "New Trend"
  • BakerMan @ BakerMan:
    i just said i don't use weed
  • BigOnYa @ BigOnYa:
    You can add it in anything really, you can even make a butter/oil with it, then use that oil in anything
  • BakerMan @ BakerMan:
    besides i'm literally a minor and neurodivergent, so telling me to make a cake with cannabis is traumatizing me, ur cancelled buddy /s/srs
  • BakerMan @ BakerMan:
    (nah jk i'm just parodying those "i'm literally a minor and neurodivergent" mfs on twitter)
    +1
  • BigOnYa @ BigOnYa:
    Michigan has legal rec, so you only have few more years, is it 18 or 21 up there? 21 here in Ohio.
  • BakerMan @ BakerMan:
    prob 21, idk tho
    +1
  • ZeroT21 @ ZeroT21:
    Guess I'll go with plan B and make a Rum Vanilla flavored ice cream
    +1
  • BigOnYa @ BigOnYa:
    That sounds damn good.
  • AncientBoi @ AncientBoi:
    Nah. Tequila maybe
  • AncientBoi @ AncientBoi:
    That, or Old No. 7
  • BigOnYa @ BigOnYa:
    I'm ashamed to ask, but what is old no 7?
  • AncientBoi @ AncientBoi:
    Jack Daniels
    +2
  • BigOnYa @ BigOnYa:
    Oh yea, duh
    +1
  • BigOnYa @ BigOnYa:
    I still have some old no 7, bout to mix with some coke, and get "California Sober".
    +2
  • AncientBoi @ AncientBoi:
    lol, I finally got you to Enjoy a Coc Tail :tpi::rofl2::tpi:
    +2
  • BakerMan @ BakerMan:
    @ZeroT21 oh i bet some rum raisin ice cream is so good

    i don't drink, but some rum ice cream might be good
    +2
  • BigOnYa @ BigOnYa:
    Rum pecan ice cream is the bomb. Never had rum raisin, but bet be good. My homemade ice cream machine started rust inside so I pitched it, but gotta get a new one, miss making my own ice cream, esp with booze.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    But have you ever made ice cream on weed... Lol
    +2
    Psionic Roshambo @ Psionic Roshambo: But have you ever made ice cream on weed... Lol +2