Skip to content

Commit

Permalink
Version 2.0.1
Browse files Browse the repository at this point in the history
- Project structure
    - Moved to new SA3D Nuget packages
    - Now contains C# code
    - Now contains MKDocs documentation
    - Added build scripts
    - Updated to blender version 4.0.0

- Changes
    - BASIC models now support exporting triangle strips
    - Point filtering renamed to nearest
    - Added option for exporting levels as debug json files
    - Changed doc links to this repository, now that documentation resides here
    - Correct armature visuals setting up proper bone collections for blender 4.0.0

- Fixed issues
    - Migration operators not getting polled correctly
    - Viewport clipping in Landtable import not working
    - Texture list not finding textures throws error
    - Landentry Blockbit not working
    - Invalid importing of scaled weighted models
    - Exporting of posed models didn't keep mesh posed
    - Incorrect Material default values
        - Anisotropic filtering should be false
        - specular exponent should be 11
        - Double sided should be false
    - Flat shading not being imported or exported for BASIC models
    - CHUNK Weights should read as 16 bits instead of 8 bits
    - BASIC ngons not working
    - CHUNK Weights not rounding up to 255
    - Incorrect installations not warning users
    - Fixed various struct default setups
  • Loading branch information
Justin113D authored Nov 27, 2023
1 parent a09381b commit db6c6f3
Show file tree
Hide file tree
Showing 265 changed files with 8,822 additions and 2,416 deletions.
396 changes: 395 additions & 1 deletion .gitignore

Large diffs are not rendered by default.

674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

Binary file removed SAIOTemplates.blend
Binary file not shown.
45 changes: 10 additions & 35 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -1,47 +1,22 @@
"""Main entry point for the Sonic Adventure I/O blender addon"""

from .source import register as reg

bl_info = {
"name": "Sonic Adventure I/O",
"name": "Sonic Adventure I/O !! INCORRECTLY INSTALLED !!",
"author": "Justin113D, ItsEasyActually, X-Hax",
"description": "Import/Exporter for Sonic Adventure Model, Animation and other Formats.",
"version": (2, 0, 0),
"blender": (3, 6, 0),
"description": "INCORRECTLY INSTALLED THE ADDON! Make sure to download from the github repositories release section!",
"version": (0, 0, 0),
"blender": (4, 0, 0),
"location": "",
"warning": "",
"doc_url": "https://x-hax.github.io/SonicAdventureBlenderIODocs/",
"tracker_url": "https://github.com/X-Hax/SonicAdventureBlenderIO/issues/new",
"category": "Import-Export"
}


def register():
reg.register_classes(bl_info)


def unregister():
reg.unregister_classes()


# When refreshing the addon, reload all modules
if locals().get('LOADED'):
LOADED = False
from importlib import reload
from sys import modules

modules[__name__] = reload(modules[__name__])
to_reload = {}
for name, module in modules.items():
if name.startswith(f"{__package__}."):
to_reload[name] = module

for name, module in to_reload.items():
globals()[name] = reload(module)

del reload, modules
raise RuntimeError((
"\n\n!! Incorrectly installed the addon!!"

if __name__ == "__main__":
register()
"\n\nMake sure to download SAIO from the github repositories release section:"
"\nhttps://github.com/X-Hax/SonicAdventureBlenderIO/releases/"

LOADED = True
"\n\n\"You fucked up bud\""
"\n - ItsEasyActually"))
Loading

0 comments on commit db6c6f3

Please sign in to comment.