Hello There, Guest! Login Register

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Housing Progress:
Ok, I managed to get the house spawned into the world. I've not yet solved the POB problem, but everything else is... well... close to ok anyway :-)

So as you can see from the screenie, I'm seeing all the way through the house, no interrior is seen. but you can see through them. :-) it's a start. This is using the non-windowed POB file for the same small house so that's how I got it zoned in.

I'm missing some textures I think, or something. I thought I got them all but it might be part of using the wrong POB, not sure. either way back at it.

but progress!!!


it was a pixel shader causing the problem, so no more outside texture oddities. I still don't have the correct interrior yet but I'll work on that this weekend if time permits. gotta go to bed and take more cold medicine for the time being. - Duff

Well I've reversed all the verts, I think I did it correctly but who knows. no way to tell really. I took the whole vert byte chunk (48 bytes total for each IDTLFORM), broke it out into 12 bytes (4 bytes per each x, y, & z, long or float shouldn't matter), took the 4 rows of 12 bytes and reversed the order, then pluged it back into the hex code. Including the PRTSFORM, there are 11 0000VERT chunks that I reversed. I changed the nodes to match the old style numbering, and no dice.

I also found some verts in the LOD file, so I reversed them as well and no dice. Client won't zone in. Guess I should give up and try something different tomorrow. Does anyone know if you can load the POB file with the OLD style LOD file? Or vice versa? sure would be nice if I could narrow down what file I'm having issues with. For all I know there's another file down the chain that's borked... Fun fun fun! - Duff

Ok, found a much easier way to make this work. I'll delete all this junk and add a new guide when I have time to write it but for now it's like this:
1) you need to edit the LOD files. some buildings have more than one.
2) That's pretty much it. the rest is just making sure that all the necessary files are included for the client to use. Most are intuitive, some are not. I'll list them in my write up.


Attached Files Thumbnail(s)
ok, one thing I didn't do was to reverse the verts in the CMSHFORM in the cells area. But that brings up another question, what does the INDX mean? I've tried to logically think it through but for the PRTS's they don't seem to increment and they're identical on 9 of the 11 present.

I ask because there's a huge index that goes with the 0000VERT on the CMSHFORM and does that need to be reversed as well?


end results.
[Image: 2156b479.gif]
Yeah, at this point it's just a matter of inexperience. I've isolated the issue solely to the POB file as near as I can tell. I can get the structure working fine with the OLD 14.1 POB file modified to use all the newer LOD's, Msh's, apt's, etc... so I know those files are working ok, and the inside LOOKS right, but the portals are not there so you don't get the desired effect.

Which tells me it's something with the portals since the cells and CMSHFORMS appear to be very close if not identical. The only real difference I'm seeing is an extra leading byte in each of the PRTL0004 entries, and that the 2d portals are being loaded as VERT & INDX instead just a flat PRTL data node.

Still working the problem, and may be focusing on exactly the wrong thing, but that's how you learn. Next step is to take the old POB, and add new portals to it and see if it can be modified to work. IF so then I might find a way to back engineer the old files.

Here's the big problem for me. I could care less about the windowed houses. I really want to get my bunker back, and maybe see some of the other structures that were added after I left the game. But there's no old POB file for the bunker to compare with so I'd be flying blind trying to make my own POB from scratch. so I HAVE to figure out how to convert the NEW POB's to work...

Sorry for the ramble but it's helping get my thoughts in order.

When you realise what the issue is and how easy it is to fix you're going to probably hate yourself.
[Image: 2156b479.gif]
Maybe, but here's what I've done, and here's my results so far. (starting from scratch)

Rename 0004DATA to 0003DATA
Rename all the PRTL0005's to PRTL0004's.

I changed all the 0000verts in the first section to just PRTL's added the 04 00 00 00 long to the beginning and reversed the order of the x,y,z points for each entry other than the first. The first PRTSPRTL I had to take the first entry (3 longs) and move it to the last, but otherwise it's not in reverse order according to my observations (you still have to add the 04 00 00 00 long to the beginning). Then I deleted all the forms & left over indx files.

Then I went through each of the each PRTL0004 data nodes and removed the leading byte as the old file didn't have it.

Finally I had to replace the door strings with the old house door strings as I was getting a funky flower as the door object LOL... I haven't tracked that down yet...


At this point I have a working house mostly. The interrior is working fine other than the hue_door being something other than a door (fixed by using door_s01). The windows look out onto the world and it's neat. The doors are working, collision seems to be fine, textures appear to be fine.
However, now the exterior doesn't have clear windows anymore, they're back to the old style textures...

At this point I'm done with the small naboo house and windows. If Uli's trick is simpler then I'd be way interested in hearing it, But since I can now convert the POB to have working interriors, I'm not concerned with windows or working exteriors. The bunker house, nor any of the other non-windowed structures from the end game dont' need that anyway. :-)

So next project is the bunker. I think I can do it now. wish me luck!

The door stuff is contained in datatables/appearance/door_style.iff

and here is a tre explorer screenshot of a fixed POB file:
[Image: 2156b479.gif]
:-) I'll let you know how the musty house goes after I finish a different sort of hack job in my wood shop. Damn employeer moved me into an office where the desk is built into the wall opposite the door, hence my back's to the door and I can't STAND that... So I'm improvising a solution out of 3/4" oak ply (the good stuff). Looks great with one coat of stain, but need to apply another to darken it up a bit. Back to the shop, I'll let you know about the musty thing tomorrow hopefully. I'll have time between poly-coats.

meh, the musty bunker is a bust. I got it working, but the collision files aren't working and I just fall through the floor before I get to the elevator, then client crash. so while my POB edits appear to be sucessfull, i'm now left with trying to figure out why I fall through the floor when I enter the cell.

What's odd is that the bunker uses the ply_all_house_lg_s03_fp1_*.flr files. Every other house I've looked into bringing into the world has it's own named .flr files. Maybe the TOC I'm using doesn't have the musty bunker flr files, or maybe it always used these generic file names... *shrug* either way i'm not certain I have the energy and desire to actually solve this one.

I'll let you know if I do decide to tackle it. I'll also try to update my proceedure above so others can use this POB edit method to get their houses in game.

I'd like to help, but I have zero experience with any of this stuff.

I think some of my NGE .tre files are corrupt, too, can't pull out some files/see others. Bunker being one of them.

Forum Jump:

Browsing: 1 Guest(s)