The Sims 2 GMDC Importer/Exporter for Blender 2.80+
SCREENSHOTS
Downloaded 1,658 times
90 Thanks
32 Favourited
9,701 Views
Say Thanks!
Thanked!
This add-on is only compatible with newer versions of Blender, that is, 2.80+.
(Official Blender website: https://www.blender.org/.)
It supports rigging data, two UV layers, morphs, custom normals (only for the basic shape), and bounding geometry.
Installation
1. Run Blender and change area to Preferences (see screenshot).
2. Choose "Add-ons" and press "Install...".
4. Install by selecting the io_ts2_gmdc.zip file.
3. Finally, enable "Import-Export: TS2 GMDC Importer/Exporter". (For easier navigation you may filter the list of add-ons by selecting "Import-Export" from the drop down list.
Now you can import GMDC files.
Importing
The importer works in two modes, Geometry and Skeleton.
To view the options, press the top right toggle button in the file selection window (if not already shown).
Geometry mode is used to import meshes from GMDC files, i.e., new mesh objects are added to the scene.
In Skeleton mode the importer loads data from CRES file, creates an armature object, and assigns armature modifiers to mesh objects.
In general, importing skeleton is not necessary for mesh editing, but may be helpful.
Some options here:
1. Remove doubles, which is useful for removing seams.
2. Importing bounding geometry (the one used for selection in the game).
3. Replacing inverse transforms previously stored in scene properties. (They are needed for animated meshes.)
4. Building an armature from all bones found in transform tree.
Bones are imported as vertex groups and initially named as "bone#{bone_idx}", that is, bone index is written after the number sign. Although bone names can be changed, do not delete or modify bone indices! Otherwise, the exporter will most likely throw errors, since bone indices are extracted from vertex group names.
Morphs are imported as shape keys.
By default, since version 0.91, the importer assigns custom normals.
Inverse transforms from GMDC files are saved in scene properties. This data is used by the exporter and included into generated GMDC file.
Exporting
Select "Rigging data" for animated meshes.
Depending on the material, your mesh may require tangent vectors.
Morphs can be exported in two modes (with and without normal vector differences).
If you want to export bounding geometry, you must specify the name of the mesh object.
New experimental feature: Aligning normals.
This is used to align normals of vertices on the edge of connection (e.g., neck, scalp). However, in order for this to work, you should place the GMDC files with target geometry (e.g., faces) into the target folder in add-on directory. (See add-on info to know the directory, screenshot #2). Then, the target list will display all files from the target folder. (Restart Blender to get the list updated.)
Be careful with morphs (i.e., shape keys). Maximum 4 morphs (and 4 bones) per vertex allowed!
Additionally, the gmdc_tools module is designed as a standalone. It is compatible with both Python 2 and Python 3. So, if you are familiar with Python, you can do things like:
In general, this add-on is an adaptation of my importer/exporter for Blender 2.49b.
Feedback on technical issues would be highly appreciated.
GitHub: https://github.com/djalex88/io_ts2_gmdc
(Official Blender website: https://www.blender.org/.)
It supports rigging data, two UV layers, morphs, custom normals (only for the basic shape), and bounding geometry.
Installation
1. Run Blender and change area to Preferences (see screenshot).
2. Choose "Add-ons" and press "Install...".
4. Install by selecting the io_ts2_gmdc.zip file.
3. Finally, enable "Import-Export: TS2 GMDC Importer/Exporter". (For easier navigation you may filter the list of add-ons by selecting "Import-Export" from the drop down list.
Now you can import GMDC files.
Importing
The importer works in two modes, Geometry and Skeleton.
To view the options, press the top right toggle button in the file selection window (if not already shown).
Geometry mode is used to import meshes from GMDC files, i.e., new mesh objects are added to the scene.
In Skeleton mode the importer loads data from CRES file, creates an armature object, and assigns armature modifiers to mesh objects.
In general, importing skeleton is not necessary for mesh editing, but may be helpful.
Some options here:
1. Remove doubles, which is useful for removing seams.
2. Importing bounding geometry (the one used for selection in the game).
3. Replacing inverse transforms previously stored in scene properties. (They are needed for animated meshes.)
4. Building an armature from all bones found in transform tree.
Bones are imported as vertex groups and initially named as "bone#{bone_idx}", that is, bone index is written after the number sign. Although bone names can be changed, do not delete or modify bone indices! Otherwise, the exporter will most likely throw errors, since bone indices are extracted from vertex group names.
Morphs are imported as shape keys.
By default, since version 0.91, the importer assigns custom normals.
Inverse transforms from GMDC files are saved in scene properties. This data is used by the exporter and included into generated GMDC file.
Exporting
Select "Rigging data" for animated meshes.
Depending on the material, your mesh may require tangent vectors.
Morphs can be exported in two modes (with and without normal vector differences).
If you want to export bounding geometry, you must specify the name of the mesh object.
New experimental feature: Aligning normals.
This is used to align normals of vertices on the edge of connection (e.g., neck, scalp). However, in order for this to work, you should place the GMDC files with target geometry (e.g., faces) into the target folder in add-on directory. (See add-on info to know the directory, screenshot #2). Then, the target list will display all files from the target folder. (Restart Blender to get the list updated.)
Be careful with morphs (i.e., shape keys). Maximum 4 morphs (and 4 bones) per vertex allowed!
Additionally, the gmdc_tools module is designed as a standalone. It is compatible with both Python 2 and Python 3. So, if you are familiar with Python, you can do things like:
Code:
>>> from gmdc_tools import load_resource >>> res = load_resource('file.gmdc') >>> geometry = res.nodes[0].geometry >>> print(len(geometry.data_groups[0].vertices)) >>> 2368
In general, this add-on is an adaptation of my importer/exporter for Blender 2.49b.
Feedback on technical issues would be highly appreciated.
GitHub: https://github.com/djalex88/io_ts2_gmdc
Filename | Type | Size |
---|---|---|
io_ts2_gmdc.zip | zip | |
gmdc_import.py | py | 15376 |
__init__.py | py | 10221 |
__init__.py | py | 1576 |
_node.py | py | 8040 |
_resfile.py | py | 19832 |
_tree.py | py | 8789 |
_common.py | py | 3263 |
_gmdc.py | py | 22194 |
gmdc_export.py | py | 23402 |
MTS has all free content, all the time. Donate to help keep it running.
io_ts2_gmdc.zip
| v0.91.3
Download
Uploaded: 29th Sep 2022, 35.4 KB.
1,652 downloads.
|
||||||||
For a detailed look at individual files, see the Information tab. |
Install Instructions
Basic Download and Install Instructions:
1. Download: Click the download link to save the .rar or .zip file(s) to your computer.
2. Extract the zip, rar, or 7z file.
3. Place in Downloads Folder: Cut and paste the .package file(s) into your Downloads folder:
1. Download: Click the download link to save the .rar or .zip file(s) to your computer.
2. Extract the zip, rar, or 7z file.
3. Place in Downloads Folder: Cut and paste the .package file(s) into your Downloads folder:
- Origin (Ultimate Collection): Users\(Current User Account)\Documents\EA Games\The Sims™ 2 Ultimate Collection\Downloads\
- Non-Origin, Windows Vista/7/8/10: Users\(Current User Account)\Documents\EA Games\The Sims 2\Downloads\
- Non-Origin, Windows XP: Documents and Settings\(Current User Account)\My Documents\EA Games\The Sims 2\Downloads\
- Mac: Users\(Current User Account)\Documents\EA Games\The Sims 2\Downloads
- Mac x64: /Library/Containers/com.aspyr.sims2.appstore/Data/Library/Application Support/Aspyr/The Sims 2/Downloads
- For a full, complete guide to downloading complete with pictures and more information, see: Game Help: Downloading for Fracking Idiots.
- Custom content not showing up in the game? See: Game Help: Getting Custom Content to Show Up.
- If you don't have a Downloads folder, just make one. See instructions at: Game Help: No Downloads Folder.
Loading comments, please wait...
Author
Packs Needed
None, this is Sims 2 base game compatible!
Download Details
Uploaded: 19th May 2021 at 1:39 PM
Updated: 29th Sep 2022 at 11:10 PM
Updated: 29th Sep 2022 at 11:10 PM
Operating System:
– Windows
: Windows XP, Windows Vista, Windows 7, etc
– Linux
: Various flavours of Linux, may need Mono or Wine
– Mac OS X
: OS X, may need Mono
Utility Type:
– Meshing Tools
: Tools and utilities helpful to meshers.
Plugin Type:
– Blender
: Plugins for Blender
Tags
Other Download Recommendations:
-
Globals Pack (including Budget Transact) *UPDATED to v1.1*
by dickhurt updated 14th May 2009 at 12:28am
10 66.1k 67 -
[UPDATE] Sims 2 GMDC Import/Export for Blender 2.79
by SmugTomato updated 25th May 2018 at 11:49pm
65 49k 51
More downloads by DjAlex88:
See more
-
Array