Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
Master update 2
Browse files Browse the repository at this point in the history
LLVM Reformatting
Moved to CMake project.
Added support for global framed animations.
Fixed some crash exceptions.
Rearranged tab order for dialogs.
Added key shortcuts for dialogs.
Added support for 2020.
  • Loading branch information
PredatorCZ committed Dec 8, 2019
1 parent 5fee90b commit 363d6a7
Show file tree
Hide file tree
Showing 16 changed files with 1,452 additions and 1,874 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
*.out
*.app
*.vs/
ObjDump/*
build/*
[bB]in/*
*.aps
*.bat
project.h
*.7z
19 changes: 19 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(Windows) Spustit",
"type": "cppvsdbg",
"request": "launch",
"program": "C:/Program Files/Autodesk/3ds Max 2017/3dsmax.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false
}
]
}
2 changes: 1 addition & 1 deletion 3rd_party/xenolib
40 changes: 40 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
cmake_minimum_required(VERSION 3.3)

project(XenoMax VERSION 1.2)

set(TARGETEX_LOCATION 3rd_party/XenoLib/3rd_party/PreCore/cmake)
include(${TARGETEX_LOCATION}/3dsmax.cmake)

set (XenoLibLibraryPath ../XenoLib_${CMAKE_GENERATOR_PLATFORM}_${CHAR_TYPE})

add_subdirectory(3rd_party/XenoLib ${XenoLibLibraryPath})

build_target(
TYPE SHARED
SOURCES
src/DllEntry.cpp
src/XenoImp.cpp
src/XenoImport.cpp
src/XenoImp.rc
src/XenoMax.def
${MAX_EX_DIR}/win/About.rc
LINKS
gdiplus bmm core Morpher XenoLib flt mesh maxutil maxscrpt paramblk2 geom
DEFINITIONS
${MaxDefinitions}
INCLUDES
${MaxSDK}/include
3rd_party/XenoLib/include
3rd_party/XenoLib/3rd_party/PreCore
LINK_DIRS
${MaxSDKLibrariesPath}
AUTHOR "Lukas Cone"
DESCR "Xenoblade Engine 3DS Max Plugin"
NAME "XenoMax"
START_YEAR 2017
PROPERTIES
SUFFIX .dlu
${MaxProperties}
)

build_morpher()
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
# XenoMax

XenoMax is an importer for 3ds max for formats used by Xenoblade Engine.\
Builded with VS2015.\
Supported 3ds max versions: **2012 - 2019**\
Supported 3ds max versions: **2012 - 2020**\
Tested on 3ds max versions: **2017**

## Building
### Editing .vcxproj
All essential configurations are within **PropertyGroup Label="MAXConfigurations"** field.
- **MaxSDK**: changes path where is your MAX SDK installation.
If your MAX SDK installation is somewhere else than default path stated in this field, you can edit it here.
- **MaxDebugConfiguration**: changes 3ds max version and platform, so all necessary files are copied into plugin directory, this will enable post-build event. You must have set ***Working Directory*** under ***Debugging*** in ***Project Properties*** to location, where 3ds max is installed (where 3dsmax.exe is).

Head to the [Building a 3ds max CMake projects](https://github.com/PredatorCZ/PreCore/wiki/Building-a-3ds-max-CMake-projects) wiki page.

## Installation

### [Latest Release](https://github.com/PredatorCZ/XenoMax/releases/)

Move corresponding .dlu located in correct version folder into ***%3ds max installation directory%/plugins***. \
Versions must match!\
Additionally plugin will require **Visual C++ Redistributable for Visual Studio 2015** to be installed in order to work.

## License

This plugin is available under GPL v3 license. (See LICENSE.md)

This plugin uses following libraries:
Expand Down
143 changes: 0 additions & 143 deletions XenoMax.sln

This file was deleted.

Loading

0 comments on commit 363d6a7

Please sign in to comment.