March 8Mar 8 Hi, I'm trying to convert the attached models from King of Colosseum 2 to a OBJ file. They are 2 head models, but I am unable to get them to appear correctly. If anyone can help out, that would be great. KOC2Models.zip
March 8Mar 8 Supporter 3 hours ago, skstylez said: Hi, I'm trying to convert the attached models from King of Colosseum 2 to a OBJ file. They are 2 head models, What is a "2 head" model? Quote but I am unable to get them to appear correctly. What is the problem exactly? (Guess you simply need to collect the pieces.) edit: search for 400E301204 (binary). Add 15 to the found addresses to get the start address of vertex blocks. (For file 3364 there's 67 findings, so you need code to collect all the blocks.) If you know 'C' a bit my Make_obj project could be a base to do so.) Edited March 8Mar 8 by shak-otay
March 11Mar 11 Supporter The generic PS2 script for Noesis works, lol. I just edited a few things here and there. I am reading vertices count(vnum) from the VIF tag but you need to divide that by 3. Real vnum is above but the byte search don't work with bytes around real vnum. So I just searched for bytes 30 12 04 00 00. Maybe it works with bytes 80 03 6C 01 but I am not sure if all submeshes have those bytes. I see that 30 12 04 00 00 appears in all submeshes so that is better. I scaled uvs too with rapi.rpgSetUVScaleBias((8.0, 8.0, 8.0), None) but I don't know if that is correct. If uvs are too big, just comment that line like this: #rapi.rpgSetUVScaleBias((8.0, 8.0, 8.0), None) or you can try other values too: 1.0, 1.0, 1.0 or 2.0, 2.0, 2.0 maybe 3.0, 3.0, 3.0 etc.. Here is a screenshot and the plugin for Noesis. Just put the script in Noesis/plugins/python/ and rename your file .bin to .koc2 because bin is very generic. And click on red icon on bottom("toggle face cull" or press F4) on Noesis. Buffer format is 24 bytes: 3 shorts vertices, 1 short strips flag, 3 shorts normals, 1 short flag2?, 2 shorts uvs, 2 shorts 2 more flags? fmt_king_of_colosseum2_koc2.py Edited March 11Mar 11 by roocker666 Updated script
Create an account or sign in to comment