16-bit 3D tables are not saving properly. See
http://www.romraider.com/forum/viewtopic.php?t=263 for more details.
Fix: Check save method in Table3D.
Notes:
Old:
Code:
for (int x = 0; x < yAxis.getDataSize(); x++) {
for (int y = 0; y < xAxis.getDataSize(); y++) {
byte[] output = RomAttributeParser.parseIntegerValue(data[y][x].getBinValue(), endian, storageType);
for (int z = 0; z < storageType; z++) {
binData[offset * storageType + storageAddress - ramOffset] = output[z];
offset++;
}
}
}
New:
Code:
for (int x = 0; x < yAxis.getDataSize(); x++) {
for (int y = 0; y < xAxis.getDataSize(); y++) {
byte[] output = RomAttributeParser.parseIntegerValue(data[y][x].getBinValue(), endian, storageType);
for (int z = 0; z < storageType; z++) {
binData[offset * storageType + z + storageAddress - ramOffset] = output[z];
}
offset++;
}
}