xbox bsp editing
xbox bsp editing
Can you edit the points in the bsp section of the map file?
If you look at the xbox Blood gulch offsets 000D16D0 to 000DBFC0
You will see three numbers for each offset. These three numbers represent a three dimensional point in an x,y,z world.
If you take these point in some sort of mapping program you will see. That the make up the surface of Blood gulch's Ground
I took the point in inserted them into Auto desks Land Development desktop and then built a surface. I would like to edit these points and make hills bigger and shape valleys differently. As well as moving bases. Any ideas
[url]http://files.halomods.com/viewtopic.php?t=2775[/url
If you look at the xbox Blood gulch offsets 000D16D0 to 000DBFC0
You will see three numbers for each offset. These three numbers represent a three dimensional point in an x,y,z world.
If you take these point in some sort of mapping program you will see. That the make up the surface of Blood gulch's Ground
I took the point in inserted them into Auto desks Land Development desktop and then built a surface. I would like to edit these points and make hills bigger and shape valleys differently. As well as moving bases. Any ideas
[url]http://files.halomods.com/viewtopic.php?t=2775[/url
-
- Posts: 1
- Joined: Sat Apr 03, 2004 12:07 am
alrighty thencancertree wrote:if either of you read his post you would see he got them by hex editing the bsp and then mapped them out himself in a 3d modeling program. anyways, i am really interested in what happens with this so i hope you try to move around some points on your own and see what happens.
I was looking for a little help on this problem
Apparently the offsets range I listed earlier has everything in hex. I need to convert some of the data from hex points to float points does anyone know how to convert these all quickly. I came across a TXT file that had the bsp from blood gulch with the needed hex converted to floats.
Does anyone know how this file was created and what tool was used?
Apparently the offsets range I listed earlier has everything in hex. I need to convert some of the data from hex points to float points does anyone know how to convert these all quickly. I came across a TXT file that had the bsp from blood gulch with the needed hex converted to floats.
Does anyone know how this file was created and what tool was used?
2b7f2943 c77a1cc2 fd128842
9.07E-13 -64028.75 -1.22E+37
43297f2b c21c7ac7 428812fd
169.49675 -39.1199 68.037086
well I decid3ed to give this a go as it seems like it has a whole lot of potential. I looked at what Talin64 said about converting hex points to float points and decided to do a little research. I found a converter online that you have to input each hex value in by hand, so I dont think it would be very useful as it would take hours to do, and thats if youre quick about it. Ne ways, I input just the first line in, first, how it was normally and I got the blue values, all of which are extremelly high or low, but then i swapped them and reinput them (red values) and they seemed like pretty normal numbers. Hope this helps.
EDIT---
lol, almost forgot- http://www.helixtechnology.com/hexConverter/hex_js.asp
EDIT 2-----
Ok well I have spent quite a few hours working on this, acctually, about 4 hours, and gotten some progress, but not much, if somebody can point us to the file that has all the float converted points. Or someone can tell me how to convert hex to float i can make an attempt at a program to convert it. I have so far managed to send a huge bridge deformed thing halfway across the map, lol, wall to wall, looks like crap. Someone please respond, I dont know if you guys realize this, Talin64 has figuredout how to modify the BSP! this could lead to full out map editing, not the blocks that cause loss of frame rate and whatnot (although they where a great breakthrough XOrange) this is full out map editing. Please help.
9.07E-13 -64028.75 -1.22E+37
43297f2b c21c7ac7 428812fd
169.49675 -39.1199 68.037086
well I decid3ed to give this a go as it seems like it has a whole lot of potential. I looked at what Talin64 said about converting hex points to float points and decided to do a little research. I found a converter online that you have to input each hex value in by hand, so I dont think it would be very useful as it would take hours to do, and thats if youre quick about it. Ne ways, I input just the first line in, first, how it was normally and I got the blue values, all of which are extremelly high or low, but then i swapped them and reinput them (red values) and they seemed like pretty normal numbers. Hope this helps.
EDIT---
lol, almost forgot- http://www.helixtechnology.com/hexConverter/hex_js.asp
EDIT 2-----
Ok well I have spent quite a few hours working on this, acctually, about 4 hours, and gotten some progress, but not much, if somebody can point us to the file that has all the float converted points. Or someone can tell me how to convert hex to float i can make an attempt at a program to convert it. I have so far managed to send a huge bridge deformed thing halfway across the map, lol, wall to wall, looks like crap. Someone please respond, I dont know if you guys realize this, Talin64 has figuredout how to modify the BSP! this could lead to full out map editing, not the blocks that cause loss of frame rate and whatnot (although they where a great breakthrough XOrange) this is full out map editing. Please help.
Just a suggestion but:
Could you use spark edit to extract the mesh as a .obj file (which you can open in notepad and has all the co-ordinates listed - probably the txt file you found) then copy it and edit one copy. Then use a comparison program to find out exactly which points you changed and to what, convert the original points to hex, search for them (if the order in the .obj isnt the same as the order in the map) then convert the new co-ordinates to hex and replace the old ones. I hope thats clear enough, if its not say and Ill try to reword it.
Could you use spark edit to extract the mesh as a .obj file (which you can open in notepad and has all the co-ordinates listed - probably the txt file you found) then copy it and edit one copy. Then use a comparison program to find out exactly which points you changed and to what, convert the original points to hex, search for them (if the order in the .obj isnt the same as the order in the map) then convert the new co-ordinates to hex and replace the old ones. I hope thats clear enough, if its not say and Ill try to reword it.
www.i-h8.tk : Tell the world what you hate.
-
- Posts: 49
- Joined: Fri Sep 26, 2003 12:26 pm
convert hex to float
the way i did is was make a c++ app to do this much easier
http://users.pandora.be/-_X_-/HexToFloat.rar
if you want to do this manually
the way i did is was make a c++ app to do this much easier
http://users.pandora.be/-_X_-/HexToFloat.rar
if you want to do this manually
take the hex number (eg: 00 00 80 3F)
endian swap it (3F 80 00 00)
split up in bits
0011 1111 1000 0000 0000 0000 0000 0000
3-----F-----8-----0-----0-----0-----0-----0----
the first bit is the sign bit, 0 is positive number, 1 a negative one
you take the next 8 bits to get the uhm thing (0111 1111 = 127)
subtract 128 and we get -1
now to make the number, start with 1. and take the rest of the bits
1.00000...00 x 2^-1
-1 so move the dot 1 place to the left
0.10000...00 x 2 (binairy) so we get 1
-
- Posts: 49
- Joined: Fri Sep 26, 2003 12:26 pm
sorry forgot to tell itzero_cool wrote:icanttype, i tried that, but the points are different I think, and XW, again, youre my savior, I was goinr to write that myself but didnt know how to do the conversion, thanks!
EDIT---
Im sorry XW i guess im missin sumthin with youre program, how am I supposed to enter the hex?
if you have the hex 00 00 80 3F
then you type it in as 0x0000803F
gonna write an easier tool so you can type in many numbers
maybe if you want it can convert a whole file with hex lemme know what you want
Well I tried out the hill change on xbox it didn't work.
I went right through the hill. I could see the hill but I couldn't feel the hill.
Damn't. I am going to keep on trying to figure this out.
Anyone got any ideas?
Here are the offsets where I changed the Z axis
00009FA0: I believe the first one was the one that let me see it in sparkedit
000d1db0
This one is the same point but, I am not sure how it relates to the bsp
000d1db0 : 000000CD 25.696 -81.822 0.469 ............y...
I changed it to
25.696,-81.822,0.469
to
25.696,-81.822,7.000
Any help would be appreciated
thanks for all the help so far everyone
I went right through the hill. I could see the hill but I couldn't feel the hill.
Damn't. I am going to keep on trying to figure this out.
Anyone got any ideas?
Here are the offsets where I changed the Z axis
00009FA0: I believe the first one was the one that let me see it in sparkedit
000d1db0
This one is the same point but, I am not sure how it relates to the bsp
000d1db0 : 000000CD 25.696 -81.822 0.469 ............y...
I changed it to
25.696,-81.822,0.469
to
25.696,-81.822,7.000
Any help would be appreciated
thanks for all the help so far everyone