#79 ✓resolved
FollowTheGourd

DAModder doesn't distinguish between a corrupted ZIP and an incompatible mod

Reported by FollowTheGourd | December 9th, 2009 @ 07:53 PM | in Beta 3

Create a zip file and then purposely corrupt it in a hex or text editor... do whatever basically, since it should have a checksum that won't match.

Instead, DAModder tells you that the file is non-compatible. For larger sized mods, it hasn't been uncommon for the downloaded file to be incomplete, so this would be useful in letting them know that it isn't the mod author's fault for the "incompatible" package.

Comments and changes to this ticket

  • John Vanderbeck

    John Vanderbeck December 9th, 2009 @ 08:43 PM

    • Tag set to modinstall, zip
    • Milestone set to Beta 3

    This one is going to take a bit more work to fix. I currently don't have any way to do an integrity check on the ZIP file.

  • FollowTheGourd

    FollowTheGourd December 9th, 2009 @ 09:27 PM

    Hm, SharpZipLib's CHM doc doesn't work for me (SharpZipLib_0855.chm), but the index says is has Adler32 and CRC32 classes. Would those be usable for you? ZIP files should already have the integrity info in them, it's just a matter of verifying it as far as I know.

    Under ICSharepCode.SharpZipLib.Checksums.

    Anyway, just curious and hoping that might be useful to point out.

  • John Vanderbeck

    John Vanderbeck December 9th, 2009 @ 09:34 PM

    Yeah the help file doesn't work. Everything i've done with it so far I managed to figure out by tearing apart the samples. I'll see what I can find.

  • FollowTheGourd

    FollowTheGourd December 9th, 2009 @ 09:56 PM

    I figured out how to get their CHM "to work".

    Decompile it with hh.exe (comes with Windows, don't need to go looking for it).

    hh.exe -decompile SharpZipLib_0855.chm.

    You'll get a bunch of useless file names, but just click any of them - the links in the page work and you can use it to go back to the namespaces.

  • FollowTheGourd

    FollowTheGourd December 9th, 2009 @ 09:57 PM

    Sorry, the forum munged by command-line example.

    hh.exe -decompile [output directory name] SharpZipLib_0855.chm

  • FollowTheGourd

    FollowTheGourd December 9th, 2009 @ 09:57 PM

    • pretend I clean up any and all typos from my posts... can't see an edit button...
  • John Vanderbeck

    John Vanderbeck December 30th, 2009 @ 02:16 PM

    • State changed from “new” to “resolved”

    I forgot to follow upon this ticket, but the new installation wizard introduced in 2.2.somethingorother, does a verification check on the downloaded archives. This ticket is resolved.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

DAModder is a full featured replacement for Bioware's DAUpdater program -- with more features!

People watching this ticket

Pages