Long file name support in Sofarun folders??

Por VegaVegas

Resident (57)

Imagen del VegaVegas

17-01-2021, 13:53

This is probably the feature I anticipate the most. I know Sofarun already supports long file names in ZIP files for some reason which is huge. However I hate the idea of waiting 60% more time for unzipping files for no reason and I don't have any reason to ZIP anything. Well... if Sofarun already supports long file names in ZIP folders then why not in regular folders?? This functionality should be, like, reversed. I imagine there should be some option to switch "long file names support" in regular menu. After that all long file names are displayed full screen just like you browse files in ZIP file. I think you get the idea. I hate browsing through 100s of files named DA8492~1.ROM or rely on DI.COM software, all of that is extremely inconvenient and I got tired of that. There should be an update for that so we can browse files conveniently like in 2021, not 1985 and this is probably all I need from MSX scene. After all MSX is a computer. Please give your opinions. Thanks in advance

Login sesión o register para postear comentarios

Por Pencioner

Scribe (1327)

Imagen del Pencioner

17-01-2021, 15:47

VegaVegas wrote:

Well... if Sofarun already supports long file names in ZIP folders then why not in regular folders??

Maybe because it is much easier to read from ZIP file which has well defined straightforward format than read from filesystem sectors directly on low level because neither DOS2 nor Nextor has long file names native support?

Por Louthrax

Prophet (2397)

Imagen del Louthrax

17-01-2021, 15:22

Like Pencioner said.

Maybe this will be supported from Nextor one day (I'll then make the change in SofaRun), but waiting for that I don't think I will implement "partition / raw sector / long file name description" scanning inside SofaRun.

Also, unzipping is done only once from SofaRun, until you clear the cache / temporary files (but you probably already noticed).

Por VegaVegas

Resident (57)

Imagen del VegaVegas

17-01-2021, 15:43

Ah, unzipping file still works one at a time but after that yes the load is instant. Is there any option to unzip all?? This would work for short term

Por Grauw

Ascended (9568)

Imagen del Grauw

17-01-2021, 15:49

If you want to increase the unzip speed, you can zip them with the “store” option (no compression).

Por Louthrax

Prophet (2397)

Imagen del Louthrax

17-01-2021, 21:45

Sorry, I did not read your whole post first till the end, but I just did.

VegaVegas wrote:

There should be an update for that so we can browse files conveniently like in 2021, not 1985

Yeah, good point, but you realize that real MSX still have only a few hunded KBs memory and clocked at 3.5Mhz ? Can you really compare that to modern PC with gigs of memory and GHz of CPU frequency ? There's an 1/1000 ratio here ! Check other Z80 or 6510 based 8 bits machines to see if they have long file names support or even ZIP file support (maybe this has evolved, I'm curious about that, but thanks to Grauw, this was an MSX-exclusive feature for a while). As an alternative, you can buy yourself a turboR, unzipping files will be quite faster. Newer FPGA-based MSX like OCM or MiSTer are also running faster, and emulators are also a good option, but... these all are not the real thing Smile

I did some timings with SofaRun on a standard MSX 1 machine:

  • Unzipping a 32KB ROM (like Knightmare) takes 6s.
  • Unzipping a 128KB MegaROM (like Gradius II) takes 24s.

And as we discussed, that's only on the first load. Of course, concatenated disk images with 6 disks will take a while, but that's still "acceptable" I think.

VegaVegas wrote:

and this is probably all I need from MSX scene. After all MSX is a computer.

Sure, and this is a computer too!

Ah, stopping sarcasm here, sorry for that! But well, things are not so easy with all the 80's era machines constraints. Things will continue to improve, I'm pretty sure we'll have long file names support in Nextor one day, but it's always a challenge, and can take a while to become reality.

VegaVegas wrote:

Ah, unzipping file still works one at a time but after that yes the load is instant. Is there any option to unzip all?? This would work for short term

Sadly no. There's an option to automatically launch all entries in a ZIP file (kind of a jukebox mode), which wil uncompress them, but this only works for entries that exit automatically, like images or music files. ROM or DSK images do not exit after beeing launched, so that will not work.

Por Manuel

Ascended (17460)

Imagen del Manuel

17-01-2021, 23:32

Even for long term it would work without unzipping all. SR will just unzip once what you use and then you can use it with long file names from the ZIP file. And if the files are merely stored, as Grauw said, it's quite quick. Of course it will take a lot of disk space, but still. (Also for the unzipped version in the SR TEMP folder.)

Por ducasp

Champion (398)

Imagen del ducasp

18-01-2021, 01:06

VegaVegas wrote:

There should be an update for that so we can browse files conveniently like in 2021, not 1985 and this is probably all I need from MSX scene. After all MSX is a computer. Please give your opinions. Thanks in advance

This might not be your intention, but this sentence sounds lame, to say the least... Whenever your demand anything, think about what kind of contribution you are giving and if you have knowledge enough to determine that this is as trivial as you make sound like... If not your intention, sorry for being harsh, but be more careful with your words. All we from the MSX scene need for all the job we do mostly for free and out of desire people enjoy the system as much as we do is respect. Wink

Por Louthrax

Prophet (2397)

Imagen del Louthrax

18-01-2021, 05:51

Louthrax wrote:

Check other Z80 or 6510 based 8 bits machines to see if they have long file names support or even ZIP file support (maybe this has evolved, I'm curious about that, but thanks to Grauw, this was an MSX-exclusive feature for a while).

Correcting myself here: the first unzipping tool offically working for Z80 was TuNzIp from The New Image, and was released in 2005.