This is great, thank you!
But btw... it wouldn't be possible to do it on AROS too?
Search found 381 matches
- Wed Apr 07, 2021 6:31 pm
- Forum: Hollywood bugs
- Topic: Multiple copies of linked plugins in the temporary directory
- Replies: 12
- Views: 6153
- Tue Mar 30, 2021 10:38 am
- Forum: Hollywood bugs
- Topic: Loadbrush Alphachannel = true (fails)
- Replies: 5
- Views: 162
Re: Loadbrush Alphachannel = true (fails)
You'll have to use LoadTransparency instead of LoadAlpha for palette based PNGs now, it was kind of a bug in HW8 regarding this
PPaint saves 8bit palette based PNGs and they don't have alpha channel.

- Sun Mar 28, 2021 1:09 pm
- Forum: Newbie questions
- Topic: Is it possible to delete a file via FTP?
- Replies: 21
- Views: 555
Re: Is it possible to delete a file via FTP?
The RawFTP command LIST could probably be used to fetch a directory file list but I notice that it needs a PORT or PASV command, so this could be just as complicated as the mentioned STORE command? Yes, getting directory listings require a data port, just like when transferring files. That's why yo...
- Sun Mar 28, 2021 12:53 pm
- Forum: Newbie questions
- Topic: Is it possible to delete a file via FTP?
- Replies: 21
- Views: 555
Re: Is it possible to delete a file via FTP?
curl/hurl gives you a filelisting if you download a directory just like a file, it doesn't have separate functions for it. The filelisting is basically like a text file, but the nasty part is that the FTP standard doesn't define anything about the listing format, it's basically meant to be read by a...
- Wed Mar 24, 2021 4:58 pm
- Forum: Newbie questions
- Topic: Set many variables at once
- Replies: 2
- Views: 152
Re: Set many variables at once
Just use tables: myvar = {} For Local i = 1 To 50 Local variablename$ = "variable_"..i myvar[variablename$] = False Next DebugPrint(myvar.variable_2) DebugPrint(myvar["variable_2"]) Or skip the string indices and use numbers: myvar = {} For Local i = 1 To 50 myvar[i] = False Next DebugPrint(myvar[2])
- Fri Feb 26, 2021 4:44 pm
- Forum: General plugin questions
- Topic: Memory consumption with XAD and CopyFile
- Replies: 1
- Views: 153
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: 154
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: 404
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: 315
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: 228
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...