Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

King of Colosseum 2 Model Format

Featured Replies

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.

koc2model.png

KOC2Models.zip

  • 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.)

KingOfCol2_1.png.07f423a2a2ea36c292a624fc72418fd0.png

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 by shak-otay

  • 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?

KOC2.PNG

 

fmt_king_of_colosseum2_koc2.py

Edited by roocker666
Updated script

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.