Page 1 of 1
how do you load all of the map
Posted: Fri Dec 14, 2007 2:24 pm
by Plank755
I want to load the whole halo 2 map in to a text Editor i made, but it only loads the 'daeh' part any Help?
EDIT: Sorry IN C# Visual Studio 2008 (not-beta);
Posted: Fri Dec 14, 2007 2:31 pm
by Prey
So... You even going to tell us what language this is in?..
Posted: Sun Dec 16, 2007 7:46 am
by Plank755
C#
Posted: Sun Dec 16, 2007 8:59 am
by spikes122
i would like to know this too
Posted: Sun Dec 16, 2007 9:06 am
by Patrickh
Learn basic map file structure first. And go to the eschaton website, it has a lot of info on how to go about breaking everything down. idk about h2 though
edit:
http://forums.halomods.com/viewtopic.php?t=38615 try that
and it sounds like you're trying to load it with a filestream object, that only loads text, in this case, the first four bytes of the header (daeh = head)
What you want to use is a binary reader.
Posted: Mon Dec 17, 2007 12:13 pm
by Plank755
thanks a lot
EDIT: what do you mean "Eschaton Website"
Posted: Mon Dec 17, 2007 2:36 pm
by Altimit01
Most likely
here. It's for H1 though.
I highly suggest reading some of
this as well.
Posted: Mon Dec 24, 2007 1:18 pm
by Plank755
i tried that source thing but i keep getting an exception and i have absolutley no clue how to fix it
Posted: Mon Dec 24, 2007 2:57 pm
by Patrickh
Plank755 wrote:i tried that source thing but i keep getting an exception and i have absolutley no clue how to fix it
It's not source code, It's a rough idea of what you're supposed to do to read the map. Just read it and try to understand what it says, then convert it to C#