Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to Xbox Chaos: Modding Evolved

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Sign in to follow this  
Followers 0
haloman30

Support
Can't Open Halo 4 Maps in Assembly?

16 posts in this topic


lg9Kn6a.png


 

 

This happens only with .map files, BLF's from H4 and all other maps from all other games work. How do I fix this? 

Share this post


Link to post
Share on other sites

Can you copy paste the entire exception, a lot of it was cut off.

 

Also, can I have more information like what maps have you tried.

Share this post


Link to post
Share on other sites

Okay, heres the full exception:

System.Collections.Generic.KeyNotFoundException: Unable to find a structure layout named "resource gestalt"
   at Blamite.Flexibility.StructureLayoutCollection.GetLayout(String name) in c:\Users\Dillon\Desktop\Assembly-injection\src\Blamite\Flexibility\StructureLayoutCollection.cs:line 46
   at Blamite.Blam.ThirdGen.Structures.ThirdGenResourceGestalt.LoadTag(IReader reader) in c:\Users\Dillon\Desktop\Assembly-injection\src\Blamite\Blam\ThirdGen\Structures\ThirdGenResourceGestalt.cs:line 116
   at Blamite.Blam.ThirdGen.Structures.ThirdGenResourceGestalt.Load(IReader reader, StringIDSource stringIDs) in c:\Users\Dillon\Desktop\Assembly-injection\src\Blamite\Blam\ThirdGen\Structures\ThirdGenResourceGestalt.cs:line 128
   at Blamite.Blam.ThirdGen.ThirdGenCacheFile.LoadResourceManager(IReader reader) in c:\Users\Dillon\Desktop\Assembly-injection\src\Blamite\Blam\ThirdGen\ThirdGenCacheFile.cs:line 311
   at Blamite.Blam.CacheFileLoader.LoadCacheFile(IReader reader, BuildInfoLoader infoLoader, BuildInformation& buildInfo) in c:\Users\Dillon\Desktop\Assembly-injection\src\Blamite\Blam\CacheFileLoader.cs:line 64
   at Assembly.Metro.Controls.PageTemplates.Games.HaloMap.InitalizeMap() in c:\Users\Dillon\Desktop\Assembly-injection\src\Assembly\Metro\Controls\PageTemplates\Games\HaloMap.xaml.cs:line 170
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
 
The maps ive tried so far are:
 
-ff92_valhalla
-zd_02_grind
-dlc_forge_island
-ca_forge_ravine
 
they all produce the same output.
 
This is Injection Assembly BTW
Edited by haloman30

Share this post


Link to post
Share on other sites

ill try that.

 

BTW tried using reg. assembly and it worked. so i put the plugins into Injection Assembly and it gave this:

 

System.ArgumentException: The entry layout must have a size associated with it.
   at Blamite.Blam.Util.ReflexiveReader.ReadReflexive(IReader reader, Int32 count, UInt32 address, StructureLayout entryLayout, FileSegmentGroup metaArea) in c:\Users\Dillon\Desktop\Assembly-injection\src\Blamite\Blam\Util\ReflexiveReader.cs:line 18
   at Blamite.Blam.ThirdGen.Structures.ThirdGenTagTable.Load(IReader reader) in c:\Users\Dillon\Desktop\Assembly-injection\src\Blamite\Blam\ThirdGen\Structures\ThirdGenTagTable.cs:line 151
   at Blamite.Blam.ThirdGen.ThirdGenCacheFile.LoadTags(IReader reader) in c:\Users\Dillon\Desktop\Assembly-injection\src\Blamite\Blam\ThirdGen\ThirdGenCacheFile.cs:line 220
   at Blamite.Blam.ThirdGen.ThirdGenCacheFile.Load(IReader reader, String buildString) in c:\Users\Dillon\Desktop\Assembly-injection\src\Blamite\Blam\ThirdGen\ThirdGenCacheFile.cs:line 199
   at Blamite.Blam.CacheFileLoader.LoadCacheFile(IReader reader, BuildInfoLoader infoLoader, BuildInformation& buildInfo) in c:\Users\Dillon\Desktop\Assembly-injection\src\Blamite\Blam\CacheFileLoader.cs:line 64
   at Assembly.Metro.Controls.PageTemplates.Games.HaloMap.InitalizeMap() in c:\Users\Dillon\Desktop\Assembly-injection\src\Assembly\Metro\Controls\PageTemplates\Games\HaloMap.xaml.cs:line 170
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

Share this post


Link to post
Share on other sites

I have no idea about that. That's really weird, because the injection build works for me. Let me try latest build myself.
 
EDIT: Doesn't work for me either on latest model_injection branch build. Looks like it's an issue with a file not being found for me.

 

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Alex\Desktop\tests\inject.obj'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Assembly.Helpers.Models.ObjImporter..ctor(String inPath)
   at Assembly.Metro.Controls.PageTemplates.Games.HaloMap.InitalizeMap()
   at Assembly.Metro.Controls.PageTemplates.Games.HaloMap.initalLoadBackgroundWorker_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
Edited by TakeruL

Share this post


Link to post
Share on other sites

"Injection Assembly" doesn't exist anymore. Use either the rawpage_tag_container branch or the master branch.

Share this post


Link to post
Share on other sites

"Injection Assembly" doesn't exist anymore. Use either the rawpage_tag_container branch or the master branch.

When will it be added to the autobuild list? I find it a pain to rebuild every week or so when a new revision is pushed.

Share this post


Link to post
Share on other sites

When will it be added to the autobuild list? I find it a pain to rebuild every week or so when a new revision is pushed.

Probably never, I'm moving that code directly into the atlas UI re-development branch. So when that is ready for public usage, then it'll be on the build server.

Share this post


Link to post
Share on other sites

Probably never, I'm moving that code directly into the atlas UI re-development branch. So when that is ready for public usage, then it'll be on the build server.

Alright, cool. 

Share this post


Link to post
Share on other sites

Issue fixed. Didn't find out about builds.xeraxic.com until today. Using Master Build. Thanks guys for the help.

 

EDIT:

 

Cant extract anything, spits me this:

 

System.NullReferenceException: Object reference not set to an instance of an object.
   at Assembly.Metro.Controls.PageTemplates.Games.HaloMap.contextExtract_Click(Object sender, RoutedEventArgs e)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
 
updated plugins too.
Edited by haloman30

Share this post


Link to post
Share on other sites

Cant extract anything, spits me this:

 

<snip>

What are you trying to extract? I believe this happens when the zone index of something you're extracting does not have a tag reference.

Share this post


Link to post
Share on other sites

What are you trying to extract? I believe this happens when the zone index of something you're extracting does not have a tag reference.

 

I'm trying to extract weapons, such as the xsr_proto and other unused weapons.

Share this post


Link to post
Share on other sites

I'm trying to extract weapons, such as the xsr_proto and other unused weapons.

Halo 4 injection/extraction isn't fully implemented.

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0