Welcome to Open Carnage

A resource for Halo Custom Edition and MCC modding, with unique means of rewarding content creation and support. Have a wander to see why we're worth the time! - EST. 2012

Modzy

Member
  • Content count

    159
  • Joined

  • Last visited

  • Raffle Tickets

    0

Reputation Activity

  1. Ryx liked a post in a topic by Modzy in .map documentation   
    Here are some somewhat trimmed source files I've written this year for the Halo cache file:
    #ifndef HDATA_H #define HDATA_H /* ** hdata.h ** Andrew Burnett 2014 (Modzy) ** Halo basic data types ** BloomEngine source */ #include <stdint.h> #include <cstdio> #include <string> using namespace std; struct blockPointer{ uint32_t blockCount; uint32_t pointer; char editorData[4]; //only used internally by Guerilla. } __attribute__ ((packed)) ; struct ident{ uint16_t id; uint16_t tagNumber; } __attribute__ ((packed)) ; struct reference{ uint32_t tagGroup; //Or 'first class' uint32_t namePointer; //Memory pointer to tag name/file path char referencePathLength[4]; //only used internally by Guerilla. ident id; } __attribute__ ((packed)) ; #endif #ifndef CACHE_H #define CACHE_H /* ** cache.h ** Andrew Burnett 2014 (Modzy) ** Halo cache file definitions ** BloomEngine source */ #include <stdint.h> #include <cstdio> #include <string> #include "hdata.h" using namespace std; const uint32_t RETAIL_MEMORY_ADDRESS = 0x40440000; const uint32_t HEADER_LENGTH = 0x800; struct cacheHeaderRetail { uint32_t head; //'daeh' uint32_t buildVersion; //5 = Xbox, 6 = demo, 7 = retail, 609 = CE uint32_t cacheLength; //Total file length char padding[4]; uint32_t tagArrayPointer; //The offset to the tag array header, within the file uint32_t tagDataLength; //Start of the tag array to the end of the map char padding1[8]; char mapName[0x20]; //internal map name char buildDate[0x20]; //The date tool built the cache uint32_t mapType; //0 = singleplayer, 1 = multiplayer, 2 = UI uint32_t crc32; //checksum char padding2[0x794]; uint32_t foot; //'toof' } __attribute__ ((packed)) ; struct tagArrayHeader { uint32_t arrayPointer; //Memory pointer to the start of the tag array elements ident scenarioID; //ID of the scenario tag uint32_t mapID; //Not exactly sure, calling 'mapID' for now uint32_t tagCount; //Number of tag array elements uint32_t verticeCount; //Number of vertices uint32_t verticePointer; //File pointer to the vertices uint32_t indiceCount; //Number of indices uint32_t indicePointer; //File pointer relative to the verticie pointer. uint32_t modelDataLength; //Total length of all model data uint32_t tag; //'sgat' } __attribute__ ((packed)) ; struct tagArrayElement { uint32_t tagGroup; //Or first class uint32_t netcodeClass; //Or second class uint32_t thirdClass; //Sounds about right ident id; //Unique identity uint32_t namePointer; //Memory pointer to the tag name/file path uint32_t tagBlockPointer; //Memory pointer to the actual tag data char padding[4]; uint32_t externalFlag; //0 = false; resourse within map, 1 = indexed; resource outside of map } __attribute__ ((packed)) ; #endif Hope that helps.
  2. WaeV liked a post in a topic by Modzy in Port Xbox Maps to CE   
    From what I remember, the Xbox maps are pretty similar except for using some special "compressed" tag classes for things like models.
    I think some shaders were different too, and likely the unicode strings are different (minor font differences).
     
    Shouldn't be hard to automate if anyone already has the Xbox model tag well researched. 
  3. IkaBula liked a post in a topic by Modzy in US air strike launched on Syrian airfield after horrific chemical attack   
    If you were a Syrian who wanted to fight for your country, who would you fight with?
    The people with the most organization and the most guns. Those groups tend to be extremists like ISIS. Your choice of fighting would be between one radical jihadist group or the other.
    Then the government, with foreign support, starts dropping bombs and nerve gas, attacks no rebel group can successfully fight against.
     
    These people have no power, of course they'll run.
  4. Tucker933 liked a post in a topic by Modzy in Leviathan   
    I had a similar project years ago called "Arkitect" (get it? The Ark and Architect combined? aha).
    It had mappings of smaller classes and could build new tags and output them in Eschaton format. The plan was to be able to create new tags and convert HEK tags to usable format. 
     
    I'll try to locate some of that work.
  5. Tucker933 liked a post in a topic by Modzy in Leviathan   
    I had a similar project years ago called "Arkitect" (get it? The Ark and Architect combined? aha).
    It had mappings of smaller classes and could build new tags and output them in Eschaton format. The plan was to be able to create new tags and convert HEK tags to usable format. 
     
    I'll try to locate some of that work.
  6. Kavawuvi liked a post in a topic by Modzy in I need an anti virus for a MacBookPro   
    OS X 10.5.8 is over 6 years old, update the computer first. Avast! is a great option with a large user base.
  7. Kavawuvi liked a post in a topic by Modzy in Cool Finds   
    Probably painted by a fan of the ring world books.
  8. NeX liked a post in a topic by Modzy in Pearl 2   
    Nice to see this app still in use. I still lurk the forums and check every other day or so, so I'm pretty contactable if needed.
    As for support, I still occasionally help out with certain hard conversions. However, I'd say the app itself is more or less unsupported (I no longer have RS software to compile it, however I do have a somewhat functional C++ version that is CLI).
  9. HAN-105 liked a post in a topic by Modzy in Pearl 2   
    Official Release

    Pearl 2 is a total conversion application used for porting mods from Halo Demo to Halo Full/MD, or for converting CE maps to Halo Full/MD.

    The following features apply:
    *Converts Demo maps to Full/MD
    *Converts CE maps to Full/MD
    *Built-in MD support
    *Converts protected maps
    *Automatic Updating

    Pearl is sticking to a simple UI:


    Built-in HaloMD support allows you to select mods or maps to convert, and automatically add them to your HaloMD mods folder, complete with MDRenamer built-in:




    CE Maps, even protected ones, convert:



    Notes:
     
    Windows Download: Pearl 2.zip
  10. Kavawuvi liked a post in a topic by Modzy in Halo Discoveries Log   
    If I recall the two 16-bits that make up an ID are:
     
    int16_t unique_Identity;
    int16_t tagNumber;
  11. Kavawuvi liked a post in a topic by Modzy in Halo Discoveries Log   
    If I recall the two 16-bits that make up an ID are:
     
    int16_t unique_Identity;
    int16_t tagNumber;
  12. WaeV liked a post in a topic by Modzy in RCON enabled for sidewinder map   
    I wonder if it's related to Sidewinder having screwed up tag paths. 
     

     
    As you can see, the path contains "scenery\\."
    In HEK, the slashes denote different directories. Having a malformed directory may have screwed something up when the cache file was built.
  13. Modzy liked a post in a topic by WaeV in Quickbeam   
  14. WaeV liked a post in a topic by Modzy in how do you pronounce "gif"?   
    Both pronunciations are considered correct. If you want to seem like you actually know English, pronounce it similar to gift.
  15. WaeV liked a post in a topic by Modzy in how do you pronounce "gif"?   
    Both pronunciations are considered correct. If you want to seem like you actually know English, pronounce it similar to gift.
  16. WaeV liked a post in a topic by Modzy in how do you pronounce "gif"?   
    Both pronunciations are considered correct. If you want to seem like you actually know English, pronounce it similar to gift.
  17. nickweb liked a post in a topic by Modzy in Open Carnage + iOS 8 = ?   
  18. NeX liked a post in a topic by Modzy in PHP Map Parser   
    ... Why?
  19. Modzy liked a post in a topic by Skeezix the Cat in You Can't Break Things Anymore   
    Condoms.  Line-X condoms.  For science.
  20. Modzy liked a post in a topic by Caesar in You Can't Break Things Anymore   
    Scientist nerf anything you like too much.
  21. Modzy liked a post in a topic by v3nture in Zeus   
  22. Modzy liked a post in a topic by Pfhunkie in Zeus   
  23. Sceny liked a post in a topic by Modzy in Earthquake California   
    From Facebook:
     
    New skate part courtesy of mother nature:

  24. Sceny liked a post in a topic by Modzy in Earthquake California   
    From Facebook:
     
    New skate part courtesy of mother nature:

  25. Sceny liked a post in a topic by Modzy in Earthquake California   
    From Facebook:
     
    New skate part courtesy of mother nature: