I think that I know why the a30_a&b levels wont work:
I think that I know why the a30_a&b levels wont work:
I think that it has to do with the sky or the ocean
-
- Posts: 17
- Joined: Tue Mar 30, 2004 4:13 pm
- Contact:
- MasterNeoChief
- Posts: 2431
- Joined: Tue Dec 23, 2003 9:34 am
- Location: The Netherlands
![]() |
no, it isn't. the reason you can't do anything other than _a BSPs is quite simple... read on.
the header of every map file is exactly 800 (hex) bytes long, so the first bsp of an sp level or the only bsp of an mp level always start at 0x800.
the scnr file is the file looked at first because it says where the bsps of a level are.
HMT forgets to correct (a slight mistake by Mono) this info when it corrects info in the scnr file (it does this when you extract an individual bsp, remember how it asks for the scnr.meta file?), so if you're doing an _a bsp, you should be fine because it already says to look at location 0x800, but if not, it would still say something like 0xE47890, which the bsp doesn't exist at, thus giving you the "seek failed" problem.
the way to correct this is quite simple. open up carousel extract\levels\test\carousel\carousel.scnr.meta (or whichever map you're doing) in a hex editor, and look down to the bottom of the file. there in the text body, you should see "psbs" (and sometimes with another letter, like "psbse"). go to the beginning of that, and then count back 16 bytes (a byte is two letters or numbers in the hex area, or one symbol in the text area) from that. now just for fun, open up the sp map in HMT, and select extract individual bsp again. then look at the next 4 bytes in the hex editor, and write that down, reverse endianing it. that number should be the same thing as the offset to the bsp you extracted in HMT, which you can see in the "extract individual bsp" window. funny, huh? to fix the problem, just look at those 4 bytes again in the hex editor, and replace them with 0008 0000 (which is 00000800, or 800, reverse endianed), and follow the rest of the tut perfectly. it should work just fine (but sometimes it has a problem or two, if the level's bitmaps are replaced with something else, just redo it, it shouldn't take that long again)! congratz! you now have a working non_a bsp!!!
the header of every map file is exactly 800 (hex) bytes long, so the first bsp of an sp level or the only bsp of an mp level always start at 0x800.
the scnr file is the file looked at first because it says where the bsps of a level are.
HMT forgets to correct (a slight mistake by Mono) this info when it corrects info in the scnr file (it does this when you extract an individual bsp, remember how it asks for the scnr.meta file?), so if you're doing an _a bsp, you should be fine because it already says to look at location 0x800, but if not, it would still say something like 0xE47890, which the bsp doesn't exist at, thus giving you the "seek failed" problem.
the way to correct this is quite simple. open up carousel extract\levels\test\carousel\carousel.scnr.meta (or whichever map you're doing) in a hex editor, and look down to the bottom of the file. there in the text body, you should see "psbs" (and sometimes with another letter, like "psbse"). go to the beginning of that, and then count back 16 bytes (a byte is two letters or numbers in the hex area, or one symbol in the text area) from that. now just for fun, open up the sp map in HMT, and select extract individual bsp again. then look at the next 4 bytes in the hex editor, and write that down, reverse endianing it. that number should be the same thing as the offset to the bsp you extracted in HMT, which you can see in the "extract individual bsp" window. funny, huh? to fix the problem, just look at those 4 bytes again in the hex editor, and replace them with 0008 0000 (which is 00000800, or 800, reverse endianed), and follow the rest of the tut perfectly. it should work just fine (but sometimes it has a problem or two, if the level's bitmaps are replaced with something else, just redo it, it shouldn't take that long again)! congratz! you now have a working non_a bsp!!!
This post printed on 100% recycled electrons.
- {G}H0g-Jump4h
- Posts: 811
- Joined: Sat Nov 01, 2003 4:51 pm
- Location: At the bottom of Delta Halo's lake
- Contact:
![]() |
- MasterNeoChief
- Posts: 2431
- Joined: Tue Dec 23, 2003 9:34 am
- Location: The Netherlands
![]() |
- Burnination
- Posts: 185
- Joined: Fri Oct 31, 2003 1:55 pm
- {G}H0g-Jump4h
- Posts: 811
- Joined: Sat Nov 01, 2003 4:51 pm
- Location: At the bottom of Delta Halo's lake
- Contact:
![]() |