Share

PiggViewer

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Map*.bin

You are viewing a single message from this topic. View all messages.

  1. 2006-03-17 12:22:32 UTC
    Hi
    A little bit of info about Ref entries:
    they're built from name, and a vector3 ( three floats). Patch follows.
    diff -u -w -b -i -r1.1.1.1 FileViewType.cpp
    --- FileViewType.cpp 17 Feb 2005 23:17:48 -0000 1.1.1.1
    +++ FileViewType.cpp 17 Mar 2006 10:16:44 -0000
    @@ -605,7 +605,6 @@
    switch(eThisSection)
    {
    case SECTION_LOD:
    - case SECTION_REF:
    case SECTION_ITEM:
    case SECTION_BODYPALETTE: // costume.bin
    case SECTION_SKINPALETTE: // costume.bin
    @@ -801,7 +800,10 @@
    strFinal += GetString(pData, nPos, dwLength) + strEOL1;
    strFinal += GetString(pData, nPos, dwLength);
    break;
    -
    + case SECTION_REF:
    + strFinal += GetString(pData, nPos, dwLength) + strEOL1;
    + strFinal += GetFloat(pData, nPos, dwLength) + ","+GetFloat(pData, nPos, dwLength) + ","+GetFloat(pData, nPos, dwLength);
    + break;
    case SECTION_DEF: // geobin/object_library/*
    strFinal += GetString(pData, nPos, dwLength) + strEOL1;
    strFinal += GetString(pData, nPos, dwLength) + strEOL1;
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.