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.

Sonic Forces (PC) .model

Featured Replies

  • Author
  • Localization

DJ Normality, posted Thu Jun 24, 2021 2:23 am (64872)


Been trying to find a tool to batch these files. I was directed by a few on xentax about a couple programs all seems to not work. The one did convert the model but it was all messed up. Missing every other triangle it seems like. Any help ?
Image
Main tool
https://github.com/blueskythlikesclouds/SkythTools

2nd tool
https://github.com/Turk645/Hedgehog-Eng ... r-Importer

Samples
https://drive.google.com/file/d/1Qr3Plo ... sp=sharing
  • Author
  • Localization

grandshot, posted Thu Jun 24, 2021 5:04 pm (64892)


Access to your drive is denied. And would better just attach samples to post.
  • Author
  • Localization

DJ Normality, posted Thu Jun 24, 2021 5:41 pm (64893)


Should be able to download samples now.
  • Author
  • Localization

DKDave, posted Thu Jun 24, 2021 6:47 pm (64894)


Format looks to be reasonably straightforward - vertex stride is 0x34, faces are tri-strip 0xFFFF terminated.

This is the first mesh in chr_vector (vertices at 0xff70, faces at 0x110):

Image
  • Author
  • Localization

DJ Normality, posted Thu Jun 24, 2021 6:54 pm (64896)


Nice work DK you never fail to come through! Could this be made into a script for Noesis for batching ?
  • Author
  • Localization

DKDave, posted Thu Jun 24, 2021 7:17 pm (64897)


Yeah, should be possible. I'll do some tests, see what I can come up with :-)
  • Author
  • Localization

DKDave, posted Thu Jun 24, 2021 9:58 pm (64899)


Bit of progress. I can read the various model parts correctly, although UVs are sometimes a bit chaotic. Do you have some sample textures I can use to test?

Image
  • Author
  • Localization

DJ Normality, posted Thu Jun 24, 2021 11:13 pm (64900)


Tried to DM you the files but I cant do it here or on discord so here is the main one.
***edit***

If it goes against the rules im sorry I dont have any loose samples atm. Let me know when you got it i will edit this post.
  • Author
  • Localization

spiritovod, posted Thu Jun 24, 2021 11:41 pm (64901)


I wonder what's wrong with using common Sonic tools from libgens-sonicglvl package (specifically, modelfbx)? It should support skeleton and animations as well.
  • Author
  • Localization

DJ Normality, posted Fri Jun 25, 2021 12:37 am (64902)


Im trying to batch them I might of tried using that tool and it gave me these broken files. The 2nd program in the 1st post. I'm not sure if i seen this tool though. Thanks for sharing that spirit.
  • Author
  • Localization

spiritovod, posted Fri Jun 25, 2021 1:12 am (64903)


Second tool (import plugin) also works fine if you'll set "Use strips" option upon importing. I believe animation plugin works fine too.
  • Author
  • Localization

DJ Normality, posted Fri Jun 25, 2021 3:05 am (64904)


Is there a command line option to do that? I batched all the models with that tool in the MODELS folder and they are all like the 1st post.
  • Author
  • Localization

DKDave, posted Fri Jun 25, 2021 11:31 am (64905)


Just got back on PC and saw previous messages :-)

If you can't get any tools to work, let me know if you still want me to continue my Noesis script.
  • Author
  • Localization

spiritovod, posted Fri Jun 25, 2021 1:38 pm (64906)


@DJ Normality: I think for batch converting it will be faster to change default value of this option in the python script itself. Simply change it to True:
Code:
    import_strips: BoolProperty(
            name="Use Strips",
            description="Import mesh using strip notation",
            default=False,
            )
  • Author
  • Localization

DJ Normality, posted Fri Jun 25, 2021 6:15 pm (64907)


I didnt use python though it was a .exe and yes DK ill take the Noesis script if you still are working on it. Im not to good with python :cry: Thanks for the python edit spirit i just dont know how to alter/edit stuff like that to well.
  • Author
  • Localization

spiritovod, posted Fri Jun 25, 2021 6:29 pm (64909)


@DJ Normality: But the second tool you've linked are two import plugins for blender, which are python scripts. If you mean that you've used blender via CLI after adding that plugin to blender, you can simply edit it like suggested (change "default=False" to "default=True" in any text editor) and then install it again, this way it will override existing plugin.
Guest
This topic is now closed to further replies.

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.