ShadowFlare's Realm
http://sfsrealm.hopto.org/cgi-bin/yabb2/YaBB.pl
ShadowFlare's Realm Forums >> Support >> Bug with SFmpqapi.dll ?
http://sfsrealm.hopto.org/cgi-bin/yabb2/YaBB.pl?num=1254258981

Message started by esby on Sep 29th, 2009, 10:16pm

Title: Bug with SFmpqapi.dll ?
Post by esby on Sep 29th, 2009, 10:16pm

I am trying to use the SFmpqapi.dll.
It's fine more or less; but:

SFileReadFile seems to read more bytes than the buffer can actually contain.

For some files; I am having it reading for exemple 8533 bytes, with a buffer size of 8192 and a limit specified of 4096...

Something is wrong here...

this happends when trying to load  "ReplaceableTextures\CommandButtons\BTNTrap.blp"
from the dota map v6.63b... ( www.getdota.com )




Title: Re: Bug with SFmpqapi.dll ?
Post by ShadowFlare on Sep 30th, 2009, 5:18am

If you haven't already, try using the version of SFmpq.dll that is included with the latest version of WinMPQ.  It was built from the latest source code version on 2009-08-24.  You could even build one from source if you really want to; it is available at http://sfsrealm.hopto.org/projects/gitweb.cgi

I suppose I should package up and upload a new build one of these days...

Title: Re: Bug with SFmpqapi.dll ?
Post by ShadowFlare on Oct 1st, 2009, 2:03am

You may want to re-download it if you downloaded it before I uploaded a fix just a moment ago.  If you are only using it for reading files, it probably won't matter, though.

Title: Re: Bug with SFmpqapi.dll ?
Post by esby on Oct 1st, 2009, 8:40am

I got the version that with WinMPQ

Title: Re: Bug with SFmpqapi.dll ?
Post by ShadowFlare on Oct 1st, 2009, 6:04pm

So is this a glitch with the current version then?

Title: Re: Bug with SFmpqapi.dll ?
Post by esby on Oct 1st, 2009, 6:16pm

That was a glitch with the standalone version that was on the server before i started this topic.
The version with winmpq fixed the issue.


ShadowFlare's Realm » Powered by YaBB 2.2.1!
YaBB © 2000-2008. All Rights Reserved.