Jump to content

  •  

  • iBotModz CBox


    DEEhunter

    Member Since 19 Jun 2008
    Offline Last Active Apr 16 2011 11:46 PM
    ****-

    Topics I've Started

    User Content Library

    04 September 2010 - 10:53 PM

    This C# library will allow you to load any halo reach user content file into a neat object to access its data. It will only read, and not write. From the looks of things, Bungie has made a lot of consideration into user exploitation. The Tag object stores an array of nested tags that can be accessed like so:
    Tag[0]
    To return the tag in the first index.
    Or the much nicer:
    Tag["chdr"]
    Which would return the tag named "chdr".

    A tag object contains 3 feilds.
    Name, a 4 character ASCII string which contains the tag name
    Size, an Int32 which stores the size of the entire tag(Including the name and size bytes)
    Data, a byte array containing the tag's information.

    The Data field can be accessed via byte array or BinaryReader.

    Tag files can be initialized either directly from a STFS file(using DJ SkunkieButt's X360 Library), or from an already extracted file, and even directly from a stream.
    Here is an example of me loading a Tag from a STFS(con) file.
    Derp = new Tag();
                    Derp.LoadFromSTFS(openFileDialog1.FileName);

    Included in the download is the Library its self, along with the source of an application that shows how to use it properly.


    I only ask that you give credit to me and DJ SkunkieButt for its use, and maybe add some of your tag research to the modhalo wiki.
    Have fun.

    Posted Image

    Download

    LOOK AT THIS MENG!

    25 December 2009 - 07:39 AM

    I GOT A NEW TABLET SO I MADE THIS!
    Posted Image
    Posted Image