Page Index Toggle Pages: 1
Topic Tools
Normal Topic Bug with SFmpqapi.dll ? (Read 8377 times)
esby
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 23
Joined: May 10th, 2006
Bug with SFmpqapi.dll ?
Sep 29th, 2009 at 9:16pm
Post Tools
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 )



  
Back to top
 
IP Logged
 
ShadowFlare
Administrator/Lord of Nightmares
*****
Offline


The source of all chaos

Posts: 125
Location: The Sea of Chaos
Joined: May 11th, 2002
Re: Bug with SFmpqapi.dll ?
Reply #1 - Sep 30th, 2009 at 4:18am
Post Tools
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...
  

-ShadowFlare

"My mind is my power. My power is my mind.
When uncorrupted by other elements, my mind is my pure power."

"I am a darkness beyond blackest pitch, deeper than the deepest night.
I am the Sea of Chaos. The source of all chaos.
That is how you describe me...
I am... the Lord of Nightmares."
Back to top
WWW  
IP Logged
 
ShadowFlare
Administrator/Lord of Nightmares
*****
Offline


The source of all chaos

Posts: 125
Location: The Sea of Chaos
Joined: May 11th, 2002
Re: Bug with SFmpqapi.dll ?
Reply #2 - Oct 1st, 2009 at 1:03am
Post Tools
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.
  

-ShadowFlare

"My mind is my power. My power is my mind.
When uncorrupted by other elements, my mind is my pure power."

"I am a darkness beyond blackest pitch, deeper than the deepest night.
I am the Sea of Chaos. The source of all chaos.
That is how you describe me...
I am... the Lord of Nightmares."
Back to top
WWW  
IP Logged
 
esby
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 23
Joined: May 10th, 2006
Re: Bug with SFmpqapi.dll ?
Reply #3 - Oct 1st, 2009 at 7:40am
Post Tools
I got the version that with WinMPQ
  
Back to top
 
IP Logged
 
ShadowFlare
Administrator/Lord of Nightmares
*****
Offline


The source of all chaos

Posts: 125
Location: The Sea of Chaos
Joined: May 11th, 2002
Re: Bug with SFmpqapi.dll ?
Reply #4 - Oct 1st, 2009 at 5:04pm
Post Tools
So is this a glitch with the current version then?
  

-ShadowFlare

"My mind is my power. My power is my mind.
When uncorrupted by other elements, my mind is my pure power."

"I am a darkness beyond blackest pitch, deeper than the deepest night.
I am the Sea of Chaos. The source of all chaos.
That is how you describe me...
I am... the Lord of Nightmares."
Back to top
WWW  
IP Logged
 
esby
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 23
Joined: May 10th, 2006
Re: Bug with SFmpqapi.dll ?
Reply #5 - Oct 1st, 2009 at 5:16pm
Post Tools
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.

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools