Search found 376 matches
- Fri Feb 26, 2021 4:44 pm
- Forum: General plugin questions
- Topic: Memory consumption with XAD and CopyFile
- Replies: 1
- Views: 56
Memory consumption with XAD and CopyFile
When extracting with the XAD plugin and the CopyFile function, it seems to cache the whole file in RAM before actually writing it to the destination filesystem. This doesn't seem to happen with the same conditions with the Zip plugin (although it has its own issues). You run out of memory very quick...
- Fri Feb 26, 2021 4:05 pm
- Forum: General plugin questions
- Topic: CopyFile with Zip is horribly slow
- Replies: 1
- Views: 55
CopyFile with Zip is horribly slow
When I try to extract bigger files with the Zip plugin and CopyFile, extracting gets slower and slower when the extracted file is bigger. The furter it advances, the slower it gets... the first 10 megabytes may get quickly enough that you don't notice it, but then it just slows down and finally craw...
- Fri Feb 26, 2021 3:39 pm
- Forum: General plugin questions
- Topic: File attributes lost with Zip and CopyFile
- Replies: 1
- Views: 103
File attributes lost with Zip and CopyFile
If you unpack files with the Zip plugin and the CopyFile() function, the unpacked files don't have ANY protection bits set (list shows it like --------). So the files aren't readable, deletable, writable, or executable. Tested on MorphOS. @REQUIRE "zip", {InstallAdapter = True} CopyFile("ram:test.zi...
- Wed Feb 03, 2021 3:26 pm
- Forum: General plugin questions
- Topic: XAD plugin and RAR archives
- Replies: 2
- Views: 216
XAD plugin and RAR archives
xad.hwp seems to fail to open any RAR archives on MorphOS with the 3rd party XAD client , even when the same archives can be opened with XADUnFile, XADopus, and Ambient. When trying with xad.hwp it doesn't seem to recognize the archive and a hit appears in the MorphOS debug log. Reproduce it, for ex...
- Wed Feb 03, 2021 2:37 pm
- Forum: General plugin questions
- Topic: Filename character encoding with the zip plugin
- Replies: 2
- Views: 131
Filename character encoding with the zip plugin
When you create archives with zip.hwp (zip.AddFile/NewName, for instance), it seems to accept only filenames in UTF-8 encoding, for example, when using umlauts. This is problematic, because Amiga/MorphOS programs can't show them correctly and you get typical UTF-8 garbage when listing or unpacking f...
- Sun Jan 31, 2021 1:30 pm
- Forum: General plugin questions
- Topic: XAD and tar.gz archives
- Replies: 1
- Views: 280
XAD and tar.gz archives
I've been wondering why I get a filename inside a gzip archive as "unnamed.dat" with Hollywood's XAD plugin. Other programs show the name as the archive name, even XAD's own commandline tools. The XAD plugin seems to be only one showing this "unnamed.dat". I hunted it down now, and it seems that if ...
- Tue Jan 26, 2021 5:24 pm
- Forum: General plugin questions
- Topic: Directory dates when copying with XAD
- Replies: 2
- Views: 213
Directory dates when copying with XAD
If I unpack an archive with XAD and CopyFile(), all directories inside the archive will get an arbitrary date on them (04-Nov-02 10:30:00). Even if I define a non-existent path as the destination directory, the newly created dir gets this wrong date. They should get the current date or if real direc...
- Mon Jan 25, 2021 7:35 pm
- Forum: General programming
- Topic: Can I use EXISTS using jokers?
- Replies: 3
- Views: 297
Re: Can I use EXISTS using jokers?
I'm not sure if wildcards are practical with an Exists function... don't you still want to know exact files? But anyway, here's my take :) ; An "Exists" function which works with (MatchPattern) wildcards, and is case insensitive. Function p_Exists(f$) Local d$ = PathPart(f$) f$ = LowerStr(FilePart(f...
- Mon Jan 18, 2021 4:59 pm
- Forum: General programming
- Topic: MUIRoyale - Problem with % sign in TextItem Content
- Replies: 3
- Views: 232
Re: MUIRoyale - Problem with % sign in TextItem Content
This works for me on MorphOS. On which system you're testing it?
- Tue Jan 05, 2021 4:02 pm
- Forum: Newbie questions
- Topic: How to program a fast graphics filter operation
- Replies: 6
- Views: 556
Re: How to program a fast graphics filter operation
How about putting the plotting between DisableLineHook() and EnableLineHook()? It should improve performance in this kind of situations at least. Didn't think better yet, but just a quick suggestion 
