Hacking [RELEASE] Kecleon Patch for Luma3DS

  • Thread starter Thread starter sixtails
  • Start date Start date
  • Views Views 56,818
  • Replies Replies 174
  • Likes Likes 58
When did you install a9lh? If it's too old, then it wont be able to boot from CTRNAND. Other then that, I can't see why boot from NAND doesn't work.
I can boot most of it from ctrnand, I'm, just trying to I guess find something like luma that I can set custom paths to. Well
If I could set custom paths to everything.... I know you're not the dev for well everything I get that. Sorry for changing this op topic..
 
by the way is the small sad problem fixed where when the config is on the nand that it cant load luma files from the SD?
 
Last edited by sixtails,
thanks. except for the luma chainloader which normally comes with start it seems to work.
 
thanks. except for the luma chainloader which normally comes with start it seems to work.
Well, so much for trying to fix it blind. I have a bit of time now, so I'll see if I can get it working tonight.

Also, if anyone's interested in testing before the next "stable" release, or interested in cleaning up the main post/tutorials, lemme know!
 
Last edited by sixtails,
  • Like
Reactions: laramie
thanks. except for the luma chainloader which normally comes with start it seems to work.

I found the problem, try the latest commit; I tested it a bit just now and it seems to work cleanly. Payloads should be prioritized to the SD card first, and CTRNAND second.
 
Nice work , hopefully a certain Pokémon YouTuber sees this. :^)

15803495_621930784657800_6114916420179460096_n.jpg
 
Just at work, this will be breif. Based on responses, I think people would appreciate an alternative to using emunand to hide their configuration.

I was thinking that I could add a feature to save and hide "states" (/Nintendo 3DS/, all other files on SD, theme, stickers, layout, activity log, anything else I've missed). I've thought of two algorithms that hide these reasonably well.

One problem is that people also want a method to selectively choose apps (in order to hide just there homebrew stuff). Getting the path based on title is not something I can easily do, afaik. What I could do is a 'differential' state save though. It's a bit complicated, but basically you'd save state without homebrew stuff, then differential save state with homebrew stuff. To get/hide homebrew you'd apply or save the differential save state.

Any thoughts or suggestions on this?
 
Last edited by sixtails,
  • Like
Reactions: Deleted-379826
Just at work, this will be breif. Based on responses, I think people would appreciate an alternative to using emunand to hide their configuration.

I was thinking that I could add a feature to save and hide "states" (/Nintendo 3DS/, all other files on SD, theme, stickers, layout, activity log, anything else I've missed). I've thought of two algorithms that hide these reasonably well.

One problem is that people also want a method to selectively choose apps (in order to hide just there homebrew stuff). Getting the path based on title is not something I can easily do, afaik. What I could do is a 'differential' state save though. It's a bit complicated, but basically you'd save state without homebrew stuff, then differential save state with homebrew stuff. To get/hide homebrew you'd apply or save the differential save state.

Any thoughts or suggestions on this?
Ah that actually sounds interesting go for it! I also think I may install this on some of my friend's 3ds. It'd probably be useful.
 
This is my main Luma right now so I don't know if this is a general thing or just specific to this release: is it normal that when you boot NDS mode, it launches the TWL from sysNAND even if you're on emuNAND? I did a test just now by giving my sys and emu different usernames and time and when I launch a NDS game from emuNAND, it's showing the date, time, and user that are set on sysNAND.
 
This is my main Luma right now so I don't know if this is a general thing or just specific to this release: is it normal that when you boot NDS mode, it launches the TWL from sysNAND even if you're on emuNAND? I did a test just now by giving my sys and emu different usernames and time and when I launch a NDS game from emuNAND, it's showing the date, time, and user that are set on sysNAND.

I don't *think* anything I've done to Luma3DS would cause that as a repercussion. I do suspect this is by design of Luma3DS; https://github.com/sixtails/Kecleon/blob/kecleon/source/main.c#L172-L173. Why? My guess is that their are hardware constraints in TWL mode that stops it from accessing the SD card, so patching EmuNAND TWL to redirect to SD would be difficult (maybe passing IO through arm9->Sd would do it? ... probably not worth).
 
Last edited by sixtails,
  • Like
Reactions: Quantumcat
Sorry, on my phone at work again, so this'll also be breifish... Right now, I think I'll try to stablise what I have now. I still need to fix locales to work from SD, and the OP can use improvement.

But here's my ideas for saving/restoring state:
Method 1: states are saved in '/Nintendo 3DS/<random.no>/<hash>/<parts>'. Bssically, we sort all files that satisfy this path condition. The concantination of these are a simple archive with the files. This archive is saved/restored with i-node manipulation for files on SD (to save on speed/IO/fragmentation).

Method 2: we store them in an encrypted archive, where we plausibly deny what's in the archive (again created with i-node manipulation, encrypted in place).

For either of these methods, you could always just switch sd's after saving a state for a completely clean SD card, but that doesn't help for pokemon players with digital copies of the game.

To make saving/loading less confusing, I'm thinking I can make a 'clean' save state, and a 'full' save state. The user will first be asked to make a 'full' save state. Then the user will be asked to remove all homebrew for a 'clean' save state. The clean state will have everything reset (activity log, etc), and will be maintained seperately. Saves for games and stuff will be available from either state. This should be easy enough for people to understand and set up, with the help of a guided interface.
 
Last edited by sixtails,
I wonder if i could make a modded microsd adapter that would let me flip a switch to change between the hacked one and the clean one...
 
Seems pretty interesting that such complexity and effort would be put into "hiding a CFW from judges/players". I guess you could also use this to cheat in the tournament's with this and combo of PKSM (of course, uninstalling PKSM after powering up your team).
 

Site & Scene News

Popular threads in this forum