Homebrew [WIP] twlnf, DSi NAND File ... thing ... testers with hardmod wanted

JimmyZ

Sarcastic Troll
OP
Member
Joined
Apr 2, 2009
Messages
681
Trophies
0
XP
762
Country
Zimbabwe
I recommend that everyone avoid using twlnf for the time being, it has a bug where it improperly saves changes to the filesystem, making any console that makes changes to its nand with twln be incompatible with the unlaunch installer
I've no idea what's causing this, I didn't write any FAT handling code, I simply called fatMount from libnds:
https://github.com/Jimmy-Z/twlnf/blob/master/arm9/source/nand.c#L250
I provided an encryption/decryption layer:
https://github.com/Jimmy-Z/twlnf/blob/master/arm9/source/nandio.c
If the dec layer is buggy, it won't mount in the first place, if the enc layer is buggy, it will mess up your nand if you did any write operations.

I'm not pointing fingers at anybody.

update: I've add a bigger warning.
 
Last edited by JimmyZ,

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,649
Trophies
3
Age
24
XP
21,121
Country
United States
I've no idea what's causing this, I didn't write any FAT handling code, I simply called fatMount from libnds:
https://github.com/Jimmy-Z/twlnf/blob/master/arm9/source/nand.c#L250
I provided an encryption/decryption layer:
https://github.com/Jimmy-Z/twlnf/blob/master/arm9/source/nandio.c
If the dec layer is buggy, it won't mount in the first place, if the enc layer is buggy, it will mess up your nand if you did any write operations.

I'm not pointing fingers at anybody.

update: I've add a bigger warning.
The problem is, only one of the FAT copies is being written, instead of both of them.
This causes Unlaunch to show the FAT mismatch error.
 

JimmyZ

Sarcastic Troll
OP
Member
Joined
Apr 2, 2009
Messages
681
Trophies
0
XP
762
Country
Zimbabwe
The problem is, only one of the FAT copies is being written, instead of both of them.
This causes Unlaunch to show the FAT mismatch error.
Like what I said, I didn't touch the FAT handling code, so I'm not able to fix this.

Update: is this tool still considered somehow useful in anyway? I've been away for a bit and apparently there's a lot to catch up with like unlaunch and stuff, so I'm not sure if it's worthwhile to invest time into this.

And I'm not sure if I should start a poll.
 
Last edited by JimmyZ,
  • Like
Reactions: Valery0p

SCOTT0852

shiny rubber creature
Member
Joined
Jan 20, 2018
Messages
1,140
Trophies
0
Location
The Moon
XP
1,133
Country
United States
is this tool still considered somehow useful in anyway?
Nope. The whole FAT table thing caused us to avoid it in the first place, and with HiyaCFW the whole nand is on the SD card anyways so we don't need nand access other than what the unlaunch installer & fwtool (for dumping) give us.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    You mean he did dad's loaded
  • ZeroT21 @ ZeroT21:
    papa eminem approved
  • K3Nv2 @ K3Nv2:
    Grampainem
  • ZeroT21 @ ZeroT21:
    bored of HD2 lately
  • ZeroT21 @ ZeroT21:
    too burned out
  • ZeroT21 @ ZeroT21:
    from gameplay and drama
  • K3Nv2 @ K3Nv2:
    I keep hunting for apps and forget half of them are already widgets on my home screen
  • ZeroT21 @ ZeroT21:
    almost everything gets shuved as some taskbar process
  • BigOnYa @ BigOnYa:
    What is HD2?
  • ZeroT21 @ ZeroT21:
    Helldivers 2
    +1
  • ZeroT21 @ ZeroT21:
    the game has as much bugs ingame as well as in RL
  • K3Nv2 @ K3Nv2:
    That games so mixed I hear people praise or say they love it
  • ZeroT21 @ ZeroT21:
    it's both, they love it and hate it just as much
  • K3Nv2 @ K3Nv2:
    Like we get mixed reviews but that games globally mixed like mj
  • ZeroT21 @ ZeroT21:
    love the gameplay, hate the buggy mess it's also in, much drama and controversy also related due to sony being sony
  • ZeroT21 @ ZeroT21:
    the mixed reviews is due to review bombing, because a chunk of regions are excluded/banned from buying it now
  • ZeroT21 @ ZeroT21:
    so the players are review bombing as response to sony doubling down on their so-called policy
  • BakerMan @ BakerMan:
    maybe the real bugs were the glitches they didn't patch along the way
  • ZeroT21 @ ZeroT21:
    there are instability issues regarding certain hardware setups, but it's a small part
  • ZeroT21 @ ZeroT21:
    game's now what, 3 months out the door
  • ZeroT21 @ ZeroT21:
    live service game for 40 bucks that sold 12 mil copies
  • K3Nv2 @ K3Nv2:
    Ever notice how games that sell millions get hated the worst
  • K3Nv2 @ K3Nv2:
    Cod and sports games are good examples but people still buy the shit
  • ZeroT21 @ ZeroT21:
    it happens quit often if not all the time
    ZeroT21 @ ZeroT21: it happens quit often if not all the time