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,575
Trophies
3
Age
24
XP
20,948
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
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: good night