#1 File opening problems

closed-invalid
Kenton Varda
None
5
2000-03-23
2000-03-20
Eric Friesen
No

modplug-xmms supports zipped modules and extended module formats (xm, s3m, it, etc.) but it doesn't work with the zipped extended modules:

.xmz
.itz
.s3z

Modplug player opens these files like the .mdz modules but recognizes them as the formats they are. I tried to fix this by tinkering around with the ifplayable (so) function and making it return true on these extensions. But it hung up after it tried to load them when it gets to the section where it reads the module header information and it goes: if xmz do the xmz header load code, if it is s3m.. etc.

and then it does an else and assumes that it is a compressed module and not a compressed extended module.

I couldn't figure out the clean way to make this change so I hope you can help out

This shouldn't be too hard to fix, but is rather needed IMHO.

If you take a look at this, give me buzz on ICQ or email
-eric@friesen.org
UIN:2876570

Discussion

  • Kenton Varda
    Kenton Varda
    2000-03-23

    • assigned_to: nobody --> temporal
    • status: Error - status not found --> closed-invalid
     
  • Kenton Varda
    Kenton Varda
    2000-03-23

    For compressed mods, the file type is detected by content, so if you give all your files the extension .mdz, it will work fine.