Code Monkey home page Code Monkey logo

blender-mqo's Introduction

Blender Add-on: blender-mqo (Metasequoia File Importer/Exporter)

blender-mqo is an importer/exporter between Blender and Metasequoia via .mqo files.

To realize the long support of this add-on, your support is helpful. You can support the development of this add-on via GitHub Sponsors. See the contribution document for the detail of the support.

Download / Installation

Before installing blender-mqo add-on, check if the add-on version supports on the your Blender version.

All released blender-mqo add-on is available on Release Page.
If you want to try newest (unstable) version, you can download it from unstable version.

Installation process is a bit confusing.
See Document if you have any trouble to install this add-on.

Features

blender-mqo supports English only.
The features of this add-on are as follows.

  • Import .mqo File
    • Object (includes Mesh)
    • UV map
    • Materials
    • Mirror modifier
    • Vertex weights
  • Export .mqo File
    • Object (includes Mesh)
    • UV map
    • Materials
    • Modifiers (All modifiers are applied before exporting)
    • Vertex weights

Tutorials

See Document to know the details of this add-on.

Change Log

See CHANGELOG.md.

Bug report / Feature request / Discussions

If you want to report bug, request features or discuss about this add-on, see ISSUES.md.

If you want to have an interactive discussion, you can use blender-mqo channel on the Discord server.

Contribution

If you want to contribute to this project, see CONTRIBUTING.md.

Project Authors

Owner

@nutti

Indie Game/Application Developer.
Especially, I spend most time to improve Blender and Unreal Game Engine via providing the extensions.

Support via GitHub Sponsors

Contributors

blender-mqo's People

Contributors

finict avatar kant avatar nutti avatar sapper-trle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

blender-mqo's Issues

エクスポート/インポートボタンクリック時のエラー

System Information

  • OS: [Windows 10]
  • Blender version: [3.0.1]
  • Add-on version: [1.1]

Expected behavior
エクスポート/インポートのボタンを押そうとすると発生する問題です。

Description about the bug

  File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\blender_mqo\ops.py", line 874, in invoke
    self.objects_to_import.clear()
AttributeError: '_PropertyDeferred' object has no attribute 'clear'

location: <unknown location>:-1

宜しくお願いします。

exporter still same.

better exporter like Obj Select one Object and it exports the object same size same cords not blank same as orginal obj exporter file.
idk i have to many models to export to mqo format. but cant chose the models weigts cus to many models. :/ and materials. how should i export them ? when i cant select selected one to export ?

doesn't show up in blender 2.90

System Information

  • OS: [e.g. Windows]
  • Blender version: [e.g. 2.90.1]
  • Add-on version: [e.g. 5.2]
  • Metasequoia version: [e.g. 4.6.1]

Expected behavior
The behavior you expect about the feature you reported.
to be downloaded and able to be checked in the addon edit

Description about the bug
The description about the bug.
every time I try to install the Plugin, it says it has been loaded, but it never shows up in a blender, when trying to press the check button nor does the import choice

Screenshots/Files [Optional]
It is good to solve the bug if you attach the screenshots or .blend file.

Additional comments [Optional]
Pls, I want my Mqo model in blender..

Bone convertation

There's no realisation made for converting MQO model bones into blender bone format that attached to related vertex weights or any weight on them. It would be epic and priceful to code that into your already epic add-on for full compatibility and fully portable models with MQO file extension.
The thing is it's converting bones from MQO file to meshes in 2d pieces that have bone-reminding shapes. That's how it works for now.

Lots of hard work either, so if my feature request is hard/no need to accomplish, lemme know about that please!

With best regards and gratitude ;)

Invalid format importing .mqo files

System Information

  • OS: Windows 10
  • Blender version: 2.92, 2.83
  • Add-on version: 1.0, 1.2, newest
  • Metasequoia version: [e.g. 4.6.1]

Expected behavior
Can't import any .mqo created from FFXI models. I don't have Metasequoia right now but I know they were all valid .mqo that worked in Metasequoia.

Description about the bug
Tried multiple files, all result in errors like this:

Python: Traceback (most recent call last):
File "C:\Users\kheper\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\blender_mqo\ops.py", line 690, in execute
self.import_prefix if self.add_import_prefix else "")
File "C:\Users\kheper\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\blender_mqo\ops.py", line 330, in import_mqo_file
mqo_file.load(filepath)
File "C:\Users\kheper\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\blender_mqo\utils\mqo_file.py", line 1833, in load
self._objects.append(self._parse_object(line))
File "C:\Users\kheper\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\blender_mqo\utils\mqo_file.py", line 1736, in _parse_object
obj.add_faces(self._parse_face(line))
File "C:\Users\kheper\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\blender_mqo\utils\mqo_file.py", line 1566, in _parse_face
raise RuntimeError("Invalid format. (line:{})".format(first_line))
RuntimeError: Invalid format. (line:b'face -1 {')

location: :-1

Screenshots/Files [Optional]
Want to attach an affected .mqo but the file type isn't supported here.

Additional comments [Optional]
Tried in 1.0 and 1.2, same problem.

Thank you very much for your work on this add-on.

Python: Traceback

tiamat.zip
Python: Traceback (most recent call last):
File "C:\Users\zphyn\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\blender_mqo\ops.py", line 861, in execute
import_mqo_file(self.properties.filepath,
File "C:\Users\zphyn\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\blender_mqo\ops.py", line 374, in import_mqo_file
mqo_file.load(filepath)
File "C:\Users\zphyn\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\blender_mqo\utils\mqo_file.py", line 1936, in load
self._objects.append(self._parse_object(line))
File "C:\Users\zphyn\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\blender_mqo\utils\mqo_file.py", line 1840, in _parse_object
obj.add_faces(self._parse_face(line))
File "C:\Users\zphyn\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\blender_mqo\utils\mqo_file.py", line 1624, in _parse_face
raise RuntimeError("Invalid format. (line:{})".format(first_line))
RuntimeError: Invalid format. (line:b'face 1865{')

location: :-1

Win環境にてアップデートに失敗する

System Information

  • OS: Windows10
  • Blender version: 3.1.2
  • Add-on version: 1.2.0

Description about the bug
Windows環境にてBlender内からアップデートするとディレクトリが見つからない旨のエラーが出て成功しない
FileNotFoundError: [WinError 3] 指定されたパスが見つかりません

Additional comments [Optional]
Windowsではパスの区切り文字が\であるため

config.addon_directory = config.current_addon_path[:config.current_addon_path.rfind("/")]

のrfindで-1が返ってしまい正しいディレクトリが登録されない

後ほどプルリクエストを発行します

Import/export of vertex weights

Description about the feature

It would be great if this add-on could import vertex weights set in Metasequoia into Blender vertex groups and vice versa.

Are you willing to contribute about this feature. (Yes/No)

I am willing to donate money to this issue/assist if pointed in the right direction.

Screenshots

weights metaseq

Blender3.4以降でエラーが発生

System Information

OS: [Windows 10]
Blender version: [3.5]
Add-on version: [1.2]

Expected behavior
Blender3.4以降でインポートを行うと以下のエラーが発生いたします。

Description about the bug

Python: Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\blender_mqo\ops.py", line 861, in execute
import_mqo_file(self.properties.filepath,
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\blender_mqo\ops.py", line 380, in import_mqo_file
materials_imported = import_materials(mqo_file, filepath,
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\blender_mqo\ops.py", line 117, in import_materials
materials_imported.append(import_material(mqo_mtrl, filepath,))
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\blender_mqo\ops.py", line 106, in import_material
return import_material_v280(mqo_mtrl, filepath)
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\blender_mqo\ops.py", line 53, in import_material_v280
output_node = new_mtrl.node_tree.nodes["Material Output"]
KeyError: 'bpy_prop_collection[key]: key "Material Output" not found'

対処方法をご教示ください。

Crashing when exporting certain MQO files

System Information

  • OS: Windows 10 Education x86_64 (build: 19041.685)
  • Blender version: 2.91
  • Add-on version: latest version of the master branch (commit ae79211)
  • Metasequoia version: 4.75a

Description about the bug

Upon exporting certain Metaseq projects prepared for RuneScape NPCs, Blender crashes immediately. Unlike in issue #4, this one at least does import properly.

Additional comments

Example MQO file: https://yadi.sk/d/xSiqWp7RK_4K1w

Crash log: https://gist.github.com/54/b8d6c11dd39979d4572f6a0e8eb53dc2

Also, happy new year 😉

Error when clicking on Import MQO

System Information

  • OS: Windows 10
  • Blender version: 2.93
  • Add-on version: Don't know what it's is
  • Metasequoia version: 1.1.0

Expected behavior
I want know how i can solved this problem or if i can't solve myself, if you can't make a update about this error

Description about the bug
When i clicking on Imoport MQO files, he says me i was a error in the line 874

Screenshots/Files [Optional]
Here is a screen of the error : https://imgur.com/QvfmfI8

Imported UVs incorrect

Blender has UV origin at bottom left whereas Metasequoia has UV origin at top left.
V co-ordinates need to be transformed, i.e. to 1-V.

Error

System Information

  • OS: [e.g. Windows]
  • Blender version: [2.91]
  • Add-on version: [1.0.0]

Python: Traceback (most recent call last):
File "C:\Users\Barkin\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\blender_mqo\ops.py", line 690, in execute
self.import_prefix if self.add_import_prefix else "")
File "C:\Users\Barkin\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\blender_mqo\ops.py", line 339, in import_mqo_file
materials_imported)
File "C:\Users\Barkin\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\blender_mqo\ops.py", line 322, in import_objects
objects_imported.append(import_object(mqo_obj, materials))
File "C:\Users\Barkin\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\blender_mqo\ops.py", line 170, in import_object
bm_face = bm.faces.new(face_verts)
ValueError: faces.new(...): found the same (BMVert) used multiple times

location: :-1

Could you help me about this?

Crashing when importing certain MQO files

System Information

  • OS: Windows 10 Education x86_64 (build: 19041.685)
  • Blender version: 2.91
  • Add-on version: latest version of the master branch (commit ae79211)
  • Metasequoia version: 4.75a

Description about the bug

Upon importing certain Metaseq projects prepared for RuneScape NPCs, Blender crashes immediately.

Additional comments

Example MQO file: https://yadi.sk/d/GFHotf_UqS3wSg

Crash log: https://gist.github.com/54/3ddab317ada8dcdbe9b5a6af6add397d

Also, happy new year 😉

Texture Issue

System Information

  • OS: [Windows 10]
  • Blender version: [4.1]
  • Add-on version: [1.3]
  • Metasequoia version: [4.8.7b.]

Texture issue

First I imported the add-on to Blender and after I imported the model, and after I texturized it, it shows some non-coloured parts.

blob

Please help me for fixing this issue.

正しくインポートされない

mqoをblenderに入れてみたかったので、導入してみたのですが、材質が反映されなかったり、インポート時にエラー文が大量に出ます。
image
どのようにすればよいでしょうか。
image

exporting system is so bad while exporting :G

exporting system is so bad i have to find in over 2000 model pieces while exporting :G was thinking to use it but naah gonna skip that gotta weight in metaQ then :G improvements should be selected and and postion as it is orginal postion like obj file but in metaQ so it should export same postion same size wuith materials am unnable to find
image in here nohting :I fels bad ! :G and model postion in metaQ is -90 or 90 :G jeez
image

and the normals are worst to :G sad might get Select Obj file and export as obj file should be as mqo file with weights on it thts littlry waste of the script due the bad exporting system srry! :D

The addon does not show up in blender

System Information

  • OS: [Windows 10]
  • Blender version: [3.6.15]
  • Add-on version: [1.4]

Description about the bug

Hi, I have installed this addon but this addon is not showing as installed in blender. I tried different ways to download the addon but none of them worked. Maybe the problem is that I have blender version 3.6.15. But I noticed a previous bug that was on your github. He has a newer version downloaded there than mine, so I think the problem is not related to this. I hope you can help me.

Screenshots/Files [Optional]

image

Additional comments [Optional]

I really need this working addon to convert .mqo to .obj files. Blurred addons, these are my addons that I downloaded before

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.