Android application to manipulate sd image from the site
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
h0bby1 (2567) 480 posts |
aaaa |
h0bby1 (2567) 480 posts |
aaaa |
h0bby1 (2567) 480 posts |
aaaa |
h0bby1 (2567) 480 posts |
|
h0bby1 (2567) 480 posts |
aaaaa |
Ronald May (387) 407 posts |
This a command line tools i made quickly to test, it take one file as parameter, if the file ends with ,fca it will unsquash it, otherwise it will squash it to file.xx,fca. With !GCC I get
repeated for the other _s types Am I missing some library? Omni is not very reliable lol I’m pretty sure it deleted several time a file that i didn’t intent to delete when there was the two file with same name and different ,ext/filetype. Have you tried one of the free nfs clients and moonfish on RISC OS? |
h0bby1 (2567) 480 posts |
aaaa |
h0bby1 (2567) 480 posts |
aaaa |
h0bby1 (2567) 480 posts |
aaaaa |
h0bby1 (2567) 480 posts |
aaaa |
Mike Freestone (2564) 131 posts |
Directories stopped being limited to 77 entries of 10 letters each in 1998 when the ursula filecore was written and the directories can grow much bigger than 2k |
h0bby1 (2567) 480 posts |
aaaa |
Ronald May (387) 407 posts |
I updated the file to compile with gcc normally Thanks and it does compile and work to a degree. Cheers |
Jon Abbott (1421) 2641 posts |
You’re looking at the FileCore F Format directory structure, which has a limit of 77 and 2KB directory size. You need the FileCore F+ Format which was introduced with RISCOS 4 and supports a directory up to 4MB. Unfortunately I don’t believe it’s ever been documented, so you may have to pick it apart from the FileCore BigDirCode source code. |
h0bby1 (2567) 480 posts |
aaaa |
h0bby1 (2567) 480 posts |
aaaa |
h0bby1 (2567) 480 posts |
aaaaa |
Rick Murray (539) 13806 posts |
Awww, things like this make my head hurt. What’s with the two 01 markers? Yes, I can follow the code and the forward reference but really…!
;-) |
Rick Murray (539) 13806 posts |
Okay. I can’t give suggestions as I just use a 1GiB FAT USB key (simplest way for me) but I did transfer a bunch of stuff off my old RiscPC using !Samba – Windows XP just saw it as a share and while a little slow (10mbit network card), it was pretty much draggy-droppy. Maybe there’s a 32 bit version of this? |
h0bby1 (2567) 480 posts |
aaaaa |
Steffen Huber (91) 1949 posts |
Reliable ways to transfer big amounts of data over the network to a RISC OS client that I have tried: HTTP via NetSurf, FTP via FTPc, NFS via SunFish, SMB via LanMan98. |
h0bby1 (2567) 480 posts |
aaaa |
Ronald May (387) 407 posts |
If you know a better implementation that can be used on windows, linux and android to compress and decompress squash file, that is better than this one, i take :) I think the reason I’ve had little to do with squash over the years, is the bias that network and what other platforms have imposed on what we use. Microsoft have never lifted a finger to support RISC OS formats at any time. If squash is highly optimised for RISC OS, I think your project has some merit, and yes it is mainly important that it works on the target platform. I was asking what you were trying to do (poor choice of words) as you seemed to have moved on to directory structures from file compression, So does this mean squash supports compressing directories of files? I think bz2 also can do this, though it is always used with tar for some reason. |
h0bby1 (2567) 480 posts |
aaaa |
Ronald May (387) 407 posts |
Yes, tar /then/ compress is back to front if you want to access individual files. Just a thought though, that a tar file of squashed files may be more platform universal. Tar /does/ record the directory structure that you want doesn’t it? |
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15