lewa-j / Unity-Source-Tools

Plugin to import resources from the Source engine in Unity3D.
GNU General Public License v2.0
109 stars 22 forks source link

Loader can now determine if a model is DX7, DX8 or DX9 #33

Closed Fronkln closed 5 years ago

Fronkln commented 5 years ago

Because of this the model load wont be stopped while loading older models I also have implemented a quick logger to test what parts of v37 models can be loaded Addittional code needs to be written to read older models.

Currently gives a Unable to read beyond the end of the stream error at line 601 on SourceStudioMDL (Loading Model SkinFamilies)

I can give a v37 and v48 version of the same model if requested.

Check #32

Fronkln commented 5 years ago

Making a quick adjustment, dont commit

Fronkln commented 5 years ago

It is now safe to commit these changes

Fronkln commented 5 years ago

working on the changes u wanted

Fronkln commented 5 years ago

i'm rewriting most of the code so stay tuned for that

Fronkln commented 5 years ago

Take a look at the new code, i started it frm the beginning since the old one would have a few issues with handling old models

Fronkln commented 5 years ago

i also made 100% sure to apply CTRL+K, CTRL+F identation on Visual Studio this time

Fronkln commented 5 years ago

unless something else pops up this is done

lewa-j commented 5 years ago

You still haven't fixed the tabs.

Fronkln commented 5 years ago

i'll put this on hold for now, dont really wanna bother i have tripled checked the indentation yet GitHub's being stubborn about it, will make a pull request again later