Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
49 user(s) are online (24 user(s) are browsing Forums)

Members: 1
Guests: 48

daveyw, more...

Support us!

Headlines

Report message:*
 

DevilutionX - Diablo 1

Subject: DevilutionX - Diablo 1
by NoCache on 2019/2/2 21:53:07

Hello friends!

Soooooooo....
Finaly I got to somewhere, I was able to successfully recompile Diablo 1 client, my first recompiled project YAHOOO!!!

Resized Image


However, I'm unable to read and parse the mpq file during start up as You can see on screenshot.
It uses 3rd party library StormLib, I tried to debug that there, it fails on following part:

// This function gets the right positions of the hash table and the block table.
static int VerifyMpqTablePositions(TMPQArchive haULONGLONG FileSize)
{
    
TMPQHeader pHeader ha->pHeader;
    
ULONGLONG ByteOffset;

    
// Check the begin of HET table
    
if(pHeader->HetTablePos64)
    {
        
ByteOffset ha->MpqPos pHeader->HetTablePos64;
        if(
ByteOffset FileSize)
        {
            
printf("HET table errorn");
            return 
ERROR_BAD_FORMAT;
            }
    }

It looks more like MPQ file problem than a bug to me.

Is anyone willing to give it a try in case my files are incorrect?
Any advices from developers how to deal with that?

Thanks


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project