Compare commits

..

2 Commits

Author SHA1 Message Date
Alec Murphy e4195a1c05 Add README.md 2026-05-04 19:31:00 -04:00
Alec Murphy dfdccfcc85 Support RS_ATTR_COMPRESSED 2026-05-04 19:23:27 -04:00
2 changed files with 14 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
# isoc-py3
TempleOS RedSea FUSE implementation for Python 3
# Commands
`isoc-mount [--rw] <filename.ISO.C> <mount_point>` will mount an ISO.C image on `mount_point`
Specify `--rw` to commit writes to ISO.C file, otherwise discarded on unmount.
# Prerequisites
- FUSE
- fusepy
+1 -1
View File
@@ -190,7 +190,7 @@ def write_iso_c(self, iso_c_file):
# File # File
file.write(b"\x20") file.write(b"\x20")
if f["filename"][-2:] == ".Z": if f["filename"][-2:] == ".Z":
file.write(b"\x0c") file.write(b"\x04")
else: else:
file.write(b"\x08") file.write(b"\x08")
file.write(f["filename"].ljust(CDIR_FILENAME_LEN, "\0").encode("utf-8")) file.write(f["filename"].ljust(CDIR_FILENAME_LEN, "\0").encode("utf-8"))