- #BEN 10 ULTIMATE ALIEN COSMIC DESTRUCTION GAME HOW TO#
- #BEN 10 ULTIMATE ALIEN COSMIC DESTRUCTION GAME WINDOWS#
#BEN 10 ULTIMATE ALIEN COSMIC DESTRUCTION GAME WINDOWS#
I just use HxD and windows calculator in scientific mode, nothing specialĪwsome! With the images I easily understood your method however there always could be some problems for me like this: That offset in Hex2obj, worry about the precise step1 count last.
Then go to the hex side and put your cursor where you think that pattern starts and check Then you can look for face indices which look like a scrambled alphabet on the text side Play with endianess and float/short/halffloat until the point cloud makes sense Test for point cloud to see if it is vertex data Set the FVFsize in Hex2obj to the number of bytes you expanded the text column Set the text column width to reveal a vertical pattern to see where it startsįollow that pattern to where it starts and you have your offset to test for Material = NoeMaterial("mat%03i"%cnt, "")ĪceWell wrote:this post explains what i was talking about for patternsįind the pattern, i find it easier to see on the text side #rapi.rpgSetOption(noesis.RPGOPT_BIGENDIAN, 1)įileBuff = bs.data#todo: Size has to be reduced with each runīs.seek(22*16+4, NOESEEK_REL)# this offset may be different for other model files So rapi.rpgBindPositionBufferOfs() "relies" on bs. Rapi.rpgBindPosition BufferOfs(VBuff, noesis.RPGEODATA_FLOAT, FVFsize, 0). Rapi.rpgSetOption(noesis.RPGOPT_BIGENDIAN, 1) AFTER (This seems a little bit confusing to me since the script even works in case you place
#BEN 10 ULTIMATE ALIEN COSMIC DESTRUCTION GAME HOW TO#
Rapi.rpgCommit Triangles() must be "told" how to interpret the FBuff data by adding this line: setEndian(NOE_BIGENDIAN) is not sufficient.
Rapi.rpgCommitTriangles(FBuff, noesis.RPGEODATA_USHORT, fCnt, noesis.RPGEO_TRIANGLE, 1)ītw: most important line for the bigendian thingie: rapi.rpgSetOption(noesis.RPGOPT_BIGENDIAN, 1) Rapi.rpgBindUV1BufferOfs(VBuff, noesis.RPGEODATA_FLOAT, FVFsize, 36) Rapi.rpgBindPositionBufferOfs(VBuff, noesis.RPGEODATA_FLOAT, FVFsize, 0) Rapi.rpgSetOption(noesis.RPGOPT_BIGENDIAN, 1)Īddr1= fileBuff.find(b'\x00\x02\x01\x1B')īs.seek(22*16+4, NOESEEK_REL)# this offset maybe different for other model files If bs.readBytes(3).decode("ASCII") != NOEPY_HEADER: tHandlerLoadModel(handle, noepyLoadModel) Handle = noesis.register("GetBen10-UA-CDM",".xbx") Code: Select all from inc_noesis import *