Hacking Filesystem access via PegaSwitch?

krion64

Well-Known Member
OP
Newcomer
Joined
Oct 6, 2007
Messages
49
Trophies
1
XP
674
Country
United States
Is it possible to access the Switch's file system via PegaSwitch command line or would a file browsing program have to be written first? I ask because the place where saves are stored on the Switch is documented but I don't know how to read from it or write to it. Anybody have any ideas?
 

SocraticBliss

Well-Known Member
Member
Joined
Jun 3, 2017
Messages
130
Trophies
0
Age
35
XP
263
Country
United States
I take it I asked a stupid question. Regardless that is no reason to be rude.

Good on you dude, agreed 100%

Take a look at the some of the example javascript files, you will have to get used to/understand return based programming, but the SetRtc example is a good start as it is documented pretty well.

I was looking at the dumpArchives.js Friday and tried creating a modified version of it in order to pull the applets, but unfortunately it isn't as simple as changing the title ID's :)

The Title ID's for applets are in the 1000's, which throws an error if you incorporate titles that are NOT 8XX based...

I also tried doing something like IDirectory.DirList(), but that isn't a valid command it seems... maybe I am calling it wrong, how do you use the methods in those files? Anybody have any ideas? I tried looking into other scripts but they don't have any good indications.
 
Last edited by SocraticBliss,

RednaxelaNnamtra

Well-Known Member
Member
Joined
Dec 8, 2011
Messages
1,147
Trophies
1
XP
2,887
Country
Germany
If I understod it correctly it should be possible to access many files using smhax.
I tried getting a handle for the service which manages the fs permissions(fsp-pr) and use it to give the browser applet full file system access, but after sending the command, one part of the system always seams be crashing.
I think it didn't work because of wrong params, but I'm not completely sure.
 
  • Like
Reactions: peteruk

SocraticBliss

Well-Known Member
Member
Joined
Jun 3, 2017
Messages
130
Trophies
0
Age
35
XP
263
Country
United States
If I understod it correctly it should be possible to access many files using smhax.
I tried getting a handle for the service which manages the fs permissions(fsp-pr) and use it to give the browser applet full file system access, but after sending the command, one part of the system always seams be crashing.
I think it didn't work because of wrong params, but I'm not completely sure.

That's a good point, I haven't tried using any other service besides the fsp-srv, maybe I could try messing with the permissions for those system applets... I tried to list the directories but I don't think I have the correct command syntax, do you (or anyone else) know how to use the IFile/IFileSystem/IDirectory methods?

Especially the GetDir method...
 

yahoo

G͝B͢A͜t͞em҉p̡ R̨e͢g̷ul̨aŗ
Member
Joined
Aug 4, 2014
Messages
345
Trophies
0
XP
512
Country
United States
The ReSwitched team that built pegaswitch have privately accessed the file system and can transfer saves from one console to another. This ability is not public yet, as it relies on more exploits beyond sm:h that they don't want Nintendo to be aware of yet.
 
  • Like
Reactions: lordelan
D

Deleted User

Guest
That's a good point, I haven't tried using any other service besides the fsp-srv, maybe I could try messing with the permissions for those system applets... I tried to list the directories but I don't think I have the correct command syntax, do you (or anyone else) know how to use the IFile/IFileSystem/IDirectory methods?

Especially the GetDir method...
A prefix of "I" before any object or class denotes that it's an interface, which means you have to create a class that defines its implementation yourself (or wait until an implementation is available)
 
Last edited by ,
  • Like
Reactions: SocraticBliss

SocraticBliss

Well-Known Member
Member
Joined
Jun 3, 2017
Messages
130
Trophies
0
Age
35
XP
263
Country
United States
A prefix of "I" before any object or class denotes that it's an interface, which means you have to create a class that defines its implementation yourself (or wait until an implementation is available)

Thanks for that, I didn't want to make any assumptions about the implementation, this makes a lot more sense now.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Veho @ Veho:
    "And what do you do for a living?" "I fondle giant danglies."
    +1
  • Veho @ Veho:
    "Big white milkers. Absolutely stonking great big knockers."
    +2
  • Veho @ Veho:
    "Wash, oil and fondle. All day
    long."
    +2
  • K3N1 @ K3N1:
    Fondle your dong preserve your dong
  • ZeroT21 @ ZeroT21:
    chop it off
  • FAST6191 @ FAST6191:
    I thought it was fondle your dong, preserve your prostate but hey
    +1
  • K3N1 @ K3N1:
    We have doctors for prostate health
  • FAST6191 @ FAST6191:
    They will assess it and medicate as necessary but in all cases it is better to take action before it becomes a problem and to stave things off from becoming a problem in the first place
  • FAST6191 @ FAST6191:
    and if it is something as trivial as a fondle every month or so then it is not like they are asking you to eat right and exercise
  • K3N1 @ K3N1:
    Always get your doctor to poke your butthole at age 50 :teach:
  • ZeroT21 @ ZeroT21:
    sounds like a bad 10 dollar rimjob
  • K3N1 @ K3N1:
    Most doctor visits are a couple hundred
  • ZeroT21 @ ZeroT21:
    that still does not guarantee a 100% cure
  • K3N1 @ K3N1:
    Not many cures for a bad dong either
  • ZeroT21 @ ZeroT21:
    Guess my pops is to blame for that
  • FAST6191 @ FAST6191:
    ur mum presumably slept with him or failed to check if this was a turkey baster job, and there is also combinatory genetics at play
    +1
  • FAST6191 @ FAST6191:
    as far as doctor visits I live somewhere that has them for free
  • K3N1 @ K3N1:
    Sweet ps2 SSD upgrade went smooth
  • Sonic Angel Knight @ Sonic Angel Knight:
    :blink: I woke up at night time
  • sombrerosonic @ sombrerosonic:
    i got home
  • K3N1 @ K3N1:
    I did nothing
    Alex_is_Free @ Alex_is_Free: 🤔