ihaveamac / ninfs

FUSE filesystem Python scripts for Nintendo console files
MIT License
438 stars 18 forks source link

Suggestion: add support for inputting seed directly #31

Closed mariomadproductions closed 3 years ago

mariomadproductions commented 5 years ago

as a hex number like ctrtool

ihaveamac commented 5 years ago

Maybe.

mariomadproductions commented 5 years ago

This is a bit off-topic, but is there a way to add a seed to a seeddb.bin without the use of a 3DS?

ihaveamac commented 5 years ago

The seeddb format is very simple, you can make your own tool for it. Numbers are little-endian.

offset           size

header:
   0x0            0x4   seed count
   0x4            0xC   padding
  0x10   (count*0x20)   entries

entry:
   0x0            0x8   title id
   0x8           0x10   seed
  0x18            0x8   padding
NWPlayer123 commented 4 years ago

+1 on adding this, would make my life easier when making mount scripts

ihaveamac commented 4 years ago

Added --seed in https://github.com/ihaveamac/ninfs/commit/43cdcc597fd3eaf06af090b2855252690d4eb295 Not usable in the gui yet.