- Joined
- Feb 13, 2016
- Messages
- 6
- Reaction score
- 0
I've stumbled into the same(?) problem, that the header file contains some data blob after the block entry array.
I've done some decompiling and it seems like they are serializing something in there
In one of the last lines they write a boolean (((DataOutputStream)localObject4).writeBoolean) wether or not the blob data is present. So you might try to add a 0 instead of 1 after it...
If there is any interest i can dig deeper into it; for now i'll do a few experiments before continuing...
I've done some decompiling and it seems like they are serializing something in there
Code:
Object localObject1 = new DataOutputStream(new BufferedOutputStream(new FileOutputStream(this.jdField_a_of_type_JavaIoFile)));
Object localObject4 = localObject1;Object localObject3 = paramSegmentController;Object localObject2 = this;((DataOutputStream)localObject4).writeInt(1);((DataOutputStream)localObject4).writeInt(apX.a(localObject3.getClass()).ordinal());Vector3i localVector3i1 = new Vector3i(((SegmentController)localObject3).getBoundingBox().jdField_a_of_type_JavaxVecmathVector3f);Vector3i localVector3i2 = new Vector3i(((SegmentController)localObject3).getBoundingBox().jdField_b_of_type_JavaxVecmathVector3f);((DataOutputStream)localObject4).writeFloat(localVector3i1.jdField_a_of_type_Int);((DataOutputStream)localObject4).writeFloat(localVector3i1.b);((DataOutputStream)localObject4).writeFloat(localVector3i1.c);((DataOutputStream)localObject4).writeFloat(localVector3i2.jdField_a_of_type_Int);((DataOutputStream)localObject4).writeFloat(localVector3i2.b);((DataOutputStream)localObject4).writeFloat(localVector3i2.c);((SegmentController)localObject3).getElementClassCountMap().a((DataOutputStream)localObject4);
if (((localObject3 instanceof Td)) && ((localObject3 = ((Td)localObject3).a()).getStatisticsManager() != null)) {
try
{
((apS)localObject2).jdField_a_of_type_OrgSchemaGameCommonControllerElementsEntityIndexScore = ((ManagerContainer)localObject3).getStatisticsManager().calculateIndex();
}
catch (Exception localException)
{
localException;
}
}
((DataOutputStream)localObject4).writeBoolean(((apS)localObject2).jdField_a_of_type_OrgSchemaGameCommonControllerElementsEntityIndexScore != null);
if (((apS)localObject2).jdField_a_of_type_OrgSchemaGameCommonControllerElementsEntityIndexScore != null) {
((apS)localObject2).jdField_a_of_type_OrgSchemaGameCommonControllerElementsEntityIndexScore.serialize((DataOutputStream)localObject4, true);
}
In one of the last lines they write a boolean (((DataOutputStream)localObject4).writeBoolean) wether or not the blob data is present. So you might try to add a 0 instead of 1 after it...
If there is any interest i can dig deeper into it; for now i'll do a few experiments before continuing...