Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by jcl. 04/20/24 08:30
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (7th_zorro, Aku_Aku, henrybane, flink, 1 invisible), 744 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
again with the BSP #377572
07/14/11 13:25
07/14/11 13:25
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
I still cannot figure out the BSP data stored in the compiled WMB file format. I could really do with a documentation on the structs stored in the file format.

I'll level with you, help me out here and I will upgrade to A8... deal?

DISCLAMER: This is not a bribe.

Re: again with the BSP [Re: sheefo] #377643
07/15/11 08:14
07/15/11 08:14
Joined: Jul 2000
Posts: 27,980
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,980
Frankfurt
I'm lazy, but bribable. I've put the BSP docs on my todo list for the next future.

Re: again with the BSP [Re: jcl] #377648
07/15/11 09:45
07/15/11 09:45
Joined: Feb 2011
Posts: 135
Myrkling Offline
Member
Myrkling  Offline
Member

Joined: Feb 2011
Posts: 135
I have a related question: To what extent is the information about the Gamestudio file formats in the Wiki still relevant? Some of them are already dealt with in the manual apparently.
I'm asking because I would like to know if it was better to keep the whole information in the wiki or just refer to the manual instead (where applicable).

Re: again with the BSP [Re: Myrkling] #377650
07/15/11 10:17
07/15/11 10:17
Joined: Jul 2000
Posts: 27,980
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,980
Frankfurt
The Wiki descriptions are posted by users, so their relevance is not guaranteed - like all information posted on the Wiki. Only the descriptions in the manual are kept up to date.

Re: again with the BSP [Re: jcl] #377700
07/15/11 17:56
07/15/11 17:56
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
Originally Posted By: jcl
I'm lazy, but bribable. I've put the BSP docs on my todo list for the next future.

Thanks! Looks like I'll be upgrading to A8 soon wink

Re: again with the BSP [Re: sheefo] #379659
08/05/11 19:53
08/05/11 19:53
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
I will be upgrading to A8 this weekend laugh
Sorry to be a pain, but Please, please, please could you help with with reading the BSP data from the WMP file.

These are the structures I need to know about:
Quote:

bsp_leafs
bsp_nodes
aabb_hulls
bsp_blocks


I have spent lots of time hacking it to find out the structure but I cannot make sense of some things. The code you gave me last time did not work since it contained pointers (which cannot be serialized) and did not match the size of the structures written to the file.

For example:
Code:
// Each leaf is 36 bytes
sizeof(BSP_LEAF) == 36;

// I THINK each node is 40 bytes
sizeof(BSP_NODE) == 40;

// Also each data in bsp_blocks is an unsigned integer
uint32_t bsp_blocks[header.bsp_blocks.length];

// NO IDEA ON aabb_hulls AT ALL!



Re: again with the BSP [Re: sheefo] #379789
08/08/11 09:55
08/08/11 09:55
Joined: Jul 2000
Posts: 27,980
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,980
Frankfurt
aabb_hulls is not used in A8, but the 3 other lists are documented now - I've uploaded it here:

http://www.conitec.net/beta/prog_mdlhmp.htm#bsp


Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1