teufelchen1 / fatx-on-a-snake Goto Github PK
View Code? Open in Web Editor NEWSmall python util to checkout a FATX partition
License: GNU General Public License v3.0
Small python util to checkout a FATX partition
License: GNU General Public License v3.0
ATM a lot of errors are handled like in Golang:
ret, err = func()
which should be replaced with python raise Exception
Its not really clear how DirectoryEntryLists get terminated. For one its done by a 0xFF
entry thats for sure but given empty XMU images, 0x00
might also be a valid termination.
Currently I use some asserts which don't make a lot of sense as they might fail by simply using the tool with bad parameters - if they fail, they don't provide a proper error message.
Currently only the blocks.py
is automated tested. Thats good but not enough.
Atm only files that fit in one cluster(32*512Bytes, 16kb on typical FATX) can be viewed or dumped.
When exporting and re-importing a FATX filesystem, some metadata from the superblock will be lost.
On XMUs this contains the nickname of the device.
Such data should be exportable, and re-importable.
Somewhat related to this issue, additional options should potentially be investigated, like preserving accurate flags for each file entry, or even FAT allocations (offsets of files), list of broken sectors etc., ... (could be realized by exporting a python script which uses the FATX-on-a-snake API to re-add all the file contents again - so it would be a human readable script with one-line per file); however, this issue is primarily about the superblock.
Currently only standard size partitions are confirmed to work. However, its possible that it will also work with larger partitions, this has to be confirmed
@JayFoxRox suggested to use virtual file interfaces via IO Interface
Hello! ๐
I'm constantly annoyed by the amateur print()
debugging and logging. One should make use of the logging
module and implement good logging of events, warnings, debug, info and more.
Since python-fuse is a thing, it would be cool to utilise it one day!
I'd like to see CLI options for -sector-size
and -cluster-size
(or, when parameterized differently: -sectors-per-cluster
).
This is important for supporting XMUs and Chihiro DIMM boards.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.