Jump to content

cbox


Recommended Posts

Posted (edited)

yup. More user friendly now/can tell what each tag is, but we always could read them, just tag filenames were encrypted.

 

This is very improper as im just reading from a list of indent's i have mapped.

Edited by Xerax
Posted

Are those all named based on previous knowledge? Or what?

I added this to HaloMap.cs

 

if (File.Exists(@"C:\Users\Alexx ily Reed\Desktop\Modding\Halo Reach\Map Offset Bullshit\" + map.Index_Items[0].Map.Map_Header.internalName))
               {
                   string[] IdentFile = File.ReadAllLines(@"C:\Users\Alexx Reed\Desktop\Modding\Halo Reach\Map Offset Bullshit\" + map.Index_Items[0].Map.Map_Header.internalName);

                   for (int i = 0; i < fileNameOffsets.Length; i++)
                   {
                       bool has = false;
                       String Currentline = null;
                       foreach (string Currentlines in IdentFile)
                       {
                           if (Currentlines.StartsWith(map.Index_Items[i].Ident.ToString()))
                           {
                               has = true;
                               Currentline = Currentlines;
                           }
                       }

                       if (has == true) { map.Index_Items[i].Name = Currentline.Replace(map.Index_Items[i].Ident.ToString() + ",", ""); }
                       else { map.Index_Items[i].Name = Convert.ToString(map.Index_Items[i].Ident) + " - EncryptedTAG"; }

                       has = false;
                       Currentline = null;
                   }
               }

 

Then made a file and added this to it in the directory it checks

-1982065794,ai\ai_dialogue_globals
-511377393,levels\multi\forge_halo\forge_halo_design
-511836152,levels\multi\forge_halo\forge_halo
-512098299,globals\globals

 

So if the ident matched, it knows the proper name. It's a long and tedious process of mapping. But It's the only way at the moment.

Posted

What the **** do you mean "finally"? The damn game isn't even out yet.

 

Actualy it's been out for 2 weeks now :D The leaked version much? but this is the retail editor not the reviewers version.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...