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:
    It's equivalent to a gt 560 which should be enough for ps3
  • K3Nv2 @ K3Nv2:
    I won't need to hack a 360 @BigOnYa :tpi:
  • ZeroT21 @ ZeroT21:
    well, if you get a gud enuf PSU, you could futureproof it incase you actually need the gpu down the line
  • K3Nv2 @ K3Nv2:
    I got a spare 650w some place
    +1
  • K3Nv2 @ K3Nv2:
    https://a.co/d/4aQazgy not bad for a $40 case
  • ZeroT21 @ ZeroT21:
    for me a 650w is base
    line
  • ZeroT21 @ ZeroT21:
    very gud case, but make sure you have the kinda PSU with very flexible cables
  • ZeroT21 @ ZeroT21:
    i know people with this exact case
  • K3Nv2 @ K3Nv2:
    Nah hog tie the cables
  • K3Nv2 @ K3Nv2:
    I'd like one with support for a couple 3.5" bays though
  • ZeroT21 @ ZeroT21:
    not that, some psu like those corsair rm series stock cables have very big knicks that make it impossible to fit in there
  • ZeroT21 @ ZeroT21:
    my friend had to order some custom cables for it
  • BigOnYa @ BigOnYa:
    Just buy another 650 watt power supply, and Raid them
  • ZeroT21 @ ZeroT21:
    well, it's not a showpiece, but it'll get the job done
  • K3Nv2 @ K3Nv2:
    Splice two 24 pins together
    +1
  • ZeroT21 @ ZeroT21:
    i bought mine with funtionality and cooling in mind for the most part, and fitting my crappy budget too ofc
  • K3Nv2 @ K3Nv2:
    We should all tell Xdqwerty when he gets old enough to build his own pc
  • ZeroT21 @ ZeroT21:
    i got 7 case fans in mine, replaced 4 when some broke cus they ran loud and wonky
  • ZeroT21 @ ZeroT21:
    so i bought spares even
  • K3Nv2 @ K3Nv2:
    9 in mine
  • K3Nv2 @ K3Nv2:
    Damn things ramp up when it decides to do even a little work
  • ZeroT21 @ ZeroT21:
    i could fit 9, 2 at bottom i skipped
  • K3Nv2 @ K3Nv2:
    Changed them to silent mode in bios helped a little
  • ZeroT21 @ ZeroT21:
    i dont want the fans blowing the gpu fans spinning
    ZeroT21 @ ZeroT21: i dont want the fans blowing the gpu fans spinning