Lord Yanaek
Emperor
- Joined
- Aug 15, 2003
- Messages
- 1,659
Try to go to http://civ6.gamepedia.com/Civilization_VI_Wiki and type blp in the search box, it worked for me. Address is correct so i can only guess gamepedia doesn't like direct links 

The link is fixed.
Now. Shall we make an archiver or wait until sdk release?
Yeah, be interesting to get into some of these. SkyBox, for instance.
Spoiler :![]()
Does this work and if so how do you use it?I've hit a bit of a wall, so I'm looking for people to help me out. I'm fairly confident I have much of it working, but I'm a bit stuck on what I'm supposed to do with the String:Global members. They should be 64 bit pointers (i.e. Longs), but they don't always decode to non-zero values, and when they do they seem to be crazy. Maybe I'm doing something wrong. Btw, this is spaghetti code, expect a major refactor if I can resolve this problem. Right now the way it works is you basically just instantiate the Java classes for a given struct with a properly positioned ByteBuffer (and sometimes, additional necessary information) and it returns an Java object describing that struct as it could parse out from the buffer. There's not a lot of comments, but feel free to ask me questions.
I'm mostly posting this really incomplete so I can get some other eyes on the pointer situation. I'd like some help if possible. All the struct classes have autogenerated toString() methods, which do NOT print out the value as an unisgned integer. That was a lot of additional work. If you want to check the actual value, convert the decimal to hex and see for yourself.
Thanks yall!
Here's the repo: https://github.com/sgarfinkel/blpdecoder
Any updates worth pushing will end up in a develop branch. Right now the only remote branch that's up there is master, though.
EDIT: There was a bug, I was missing a Long field 'qwUserData' in the PackageAllocation, but I'm still not getting any meaningful value for the sTypeName.
Does this work and if so how do you use it?
Well, was it? The mod tools don't seem to provide anything for BLPs
I answered this a couple of posts back. We don't need to uncook .blp files because we have the Development Assets.