MagosX.com
August 16, 2017, 07:59:17 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: The only true wisdom is in knowing you know nothing!
 
  Home   Forum   Files Programs Help Search Login Register  
Pages: 1 2 [3]
  Print  
Author Topic: MpqLib  (Read 68912 times)
Magos
Godlike
Administrator
Jr. Member
*****
Offline Offline

Posts: 98



View Profile WWW
« Reply #30 on: September 30, 2010, 09:31:10 AM »

This is not a program (executable) that you can run. It's a library used when programming in dot net, like C#.
Logged

vercas
Newbie
*
Offline Offline

Posts: 15


The last living Asgard...


View Profile
C#
« Reply #31 on: October 02, 2010, 05:43:52 AM »

Is it okay if I attempt to convert the source code to C#? I am in serious need of fixing a retarded bug (that I cannot trace) in the constructor of CArchive too, and I must also aid in making this library by-the-standards, because I am using it.
Logged

Lol.
Magos
Godlike
Administrator
Jr. Member
*****
Offline Offline

Posts: 98



View Profile WWW
« Reply #32 on: October 03, 2010, 03:54:40 AM »

That's ok, if you keep the GPL intact.
Logged

vercas
Newbie
*
Offline Offline

Posts: 15


The last living Asgard...


View Profile
« Reply #33 on: October 14, 2010, 12:13:12 PM »

Cool... But now that I look at it... It's kinda hard because I am not really used to C++ header files stuff... >_<

BTW, If I attempt to convert it to .NET 4, I get 6 errors C1010.
Quote
Error    2    error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "StdAfx.h"' to your source?    C:\Users\Alexandru\Documents\Visual Studio 2010\Projects\MpqLib\MpqLib\Mpq\Archive.cpp    525    1    MpqLib

Any idea? O___O
________________________

Anyway... After successfully (i think) tracking down the error, I've come up to a point where "StormLib.h" cannot be found.
________________________

Or can you just re-compile the DLL for .NET 4? Cheesy
« Last Edit: October 14, 2010, 12:30:06 PM by vercas » Logged

Lol.
Magos
Godlike
Administrator
Jr. Member
*****
Offline Offline

Posts: 98



View Profile WWW
« Reply #34 on: October 15, 2010, 10:16:04 AM »

You need to add a reference path to where stormlib.h is (visual studio can't find it).
Logged

vercas
Newbie
*
Offline Offline

Posts: 15


The last living Asgard...


View Profile
« Reply #35 on: October 25, 2010, 12:50:37 PM »

Oh, cool! Cheesy

Edit: Same errors. Sad (Lost the source where I fixed the errors... And I forgot how to fix 'em.)

Edit2: Seriously, please recompile the project for .NET 4.0. Sad

Edit3: http://www.zezula.net/en/mpq/stormlib/sfilesethashtablesize.html
Now you can change hashtable size.
I think you should add a feature to double the size when the hashtable is full. (Just like a List!)

Edit4: I beg you!
« Last Edit: October 25, 2010, 01:10:58 PM by vercas » Logged

Lol.
vercas
Newbie
*
Offline Offline

Posts: 15


The last living Asgard...


View Profile
« Reply #36 on: October 31, 2010, 03:56:08 AM »

A nice feature would be write-able CFileStream's! Cheesy

Edit: Cannot rename "file" to "File"?
« Last Edit: October 31, 2010, 04:54:45 AM by vercas » Logged

Lol.
Magos
Godlike
Administrator
Jr. Member
*****
Offline Offline

Posts: 98



View Profile WWW
« Reply #37 on: October 31, 2010, 04:37:05 PM »

I sadly do not have the time for further development on this project currently.
The source is available though if anyone is interested in developing it.
Logged

vercas
Newbie
*
Offline Offline

Posts: 15


The last living Asgard...


View Profile
« Reply #38 on: November 03, 2010, 08:18:55 AM »

If it was in C#... Sad
Logged

Lol.
vercas
Newbie
*
Offline Offline

Posts: 15


The last living Asgard...


View Profile
« Reply #39 on: November 11, 2010, 09:14:03 AM »

I beg you to recompile it for 4.0! I really to be able to target 4.0, because another important (not open source) library I need is for 4.0 only!
Moreover, it's the latest version!
Logged

Lol.
vercas
Newbie
*
Offline Offline

Posts: 15


The last living Asgard...


View Profile
« Reply #40 on: November 26, 2010, 12:58:56 PM »

Please!
Logged

Lol.
Magos
Godlike
Administrator
Jr. Member
*****
Offline Offline

Posts: 98



View Profile WWW
« Reply #41 on: November 27, 2010, 03:33:27 AM »

Ok, I made an attempt (pretty untested).
Make sure you put the target of your project to "x86" instead of "any cpu", or it won't work on 64-bit systems.
Logged

vercas
Newbie
*
Offline Offline

Posts: 15


The last living Asgard...


View Profile
« Reply #42 on: December 11, 2010, 09:38:03 AM »

Ok, thanks!
I will test this right after I get my computer back from my uncle... My BIOS got virused, but, happily, I have managed to back up my projects on another HDD right before that! Cheesy
Logged

Lol.
vercas
Newbie
*
Offline Offline

Posts: 15


The last living Asgard...


View Profile
« Reply #43 on: December 17, 2010, 11:25:40 AM »

So far so good!
Logged

Lol.
Pages: 1 2 [3]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.104 seconds with 22 queries.