Simplify Makefiles, update README
This commit is contained in:
parent
2f10cb1eef
commit
ca89beca1d
18
Makefile
18
Makefile
|
@ -1,22 +1,12 @@
|
|||
CXXFLAGS= -Os -fomit-frame-pointer
|
||||
override CXXFLAGS+= -Wall -fsigned-char
|
||||
|
||||
VVM_OBJS= \
|
||||
vvm.o
|
||||
UPGRADE_OBJS= \
|
||||
upgrade.o
|
||||
|
||||
default: all
|
||||
|
||||
all: vvm #upgrade
|
||||
all: vvm
|
||||
|
||||
clean:
|
||||
-$(RM) $(VVM_OBJS) $(UPGRADE_OBJS) vvm upgrade
|
||||
-$(RM) vvm
|
||||
|
||||
vvm: $(VVM_OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o vvm $(VVM_OBJS)
|
||||
upgrade: $(UPGRADE_OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o upgrade $(UPGRADE_OBJS)
|
||||
|
||||
%.o : %.cpp
|
||||
$(CXX) -o $@ -c $<
|
||||
vvm:
|
||||
$(CXX) $(CXXFLAGS) -o vvm vvm.cpp
|
||||
|
|
|
@ -2,18 +2,12 @@ CXXFLAGS= -Os -fomit-frame-pointer
|
|||
override CXXFLAGS+= -Wall -fsigned-char
|
||||
CXX=i686-w64-mingw32-g++
|
||||
|
||||
VVM_OBJS= \
|
||||
vvm.o
|
||||
|
||||
default: all
|
||||
|
||||
all: vvm
|
||||
all: vvm.exe
|
||||
|
||||
clean:
|
||||
-$(RM) $(VVM_OBJS) $(UPGRADE_OBJS) vvm
|
||||
-$(RM) vvm.exe
|
||||
|
||||
vvm: $(VVM_OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o vvm.exe $(VVM_OBJS) -static -static-libgcc -static-libstdc++
|
||||
|
||||
%.o : %.cpp
|
||||
$(CXX) -o $@ -c $<
|
||||
vvm.exe:
|
||||
$(CXX) $(CXXFLAGS) -o vvm.exe vvm.cpp -static -static-libgcc -static-libstdc++
|
||||
|
|
45
README.md
45
README.md
|
@ -1,21 +1,40 @@
|
|||
# vvmtool
|
||||
## Inter Quake Model & VVM Exporter
|
||||
|
||||
This is the exporter for our extended model format (**VVM**). It's based off IQM and to
|
||||
some extent is backwards compatible (this was done so that editors capable of
|
||||
displaying IQM files would *just work*, however it depends on how the loader is written.
|
||||
|
||||
These days, you can find an updated version of this tool inside the [FTE SRC](https://sourceforge.net/p/fteqw/code/HEAD/tree/), however
|
||||
it has grown to become much more than a model exporter and become less portable as a result.
|
||||
It can export both standard IQM files and our extended format for use in FTEQW.
|
||||
|
||||
For those reasons, we are preserving our version of the original, extended tool here.
|
||||
It exports plain .IQM files, as well as .VVM files.
|
||||
**These days, you can find an updated version of this tool inside the
|
||||
[FTE SRC](https://sourceforge.net/p/fteqw/code/HEAD/tree/), that has become
|
||||
much more than a model exporter and become less portable as a result.**
|
||||
|
||||
Extra resources, such as the pre-release files we shared on inside3d.com:
|
||||
*For those reasons, we are preserving our version of the original, extended tool here.*
|
||||
|
||||
* [vvm docs](vera-visions.com/dev/vvm-docs-1.zip)
|
||||
* [vvm example model sources](vera-visions.com/dev/vvm_example.zip)
|
||||
* [July 2017: old sources dated](vera-visions.com/dev/vvm-src-1.zip)
|
||||
* [July 2017: old win32 binary](vera-visions.com/dev/vvm-w32-1.zip)
|
||||
It will be updated if we make changes to our format, those will also be pushed upstream to FTE's tool.
|
||||
|
||||
# Features
|
||||
|
||||
Features that the original IQM exporter did not offer:
|
||||
|
||||
* Support for external configuration files for IQM generation (ala studiomdl)
|
||||
* Pre-processor for rotating single or all input files
|
||||
* Pre-processor for translating/repositioning single or all input files
|
||||
* Pre-processor for renaming bones inside a single or all input files
|
||||
* Pre-processor for material prefixes inside a single or all input files
|
||||
|
||||
Some features that our extended specification (VVM) has to offer:
|
||||
|
||||
* Support for hitmeshes for faster, content-aware collision detection
|
||||
* Automatic hitmesh generation
|
||||
* Submodels that allow showing/hiding specific groups of the model via the game-logic
|
||||
* Support for frame triggered events that can be read by the game-logic (model-events)
|
||||
* Level-of-detail range flag for references/sub-models
|
||||
* User-defined surface and contentflags per reference/sub-model
|
||||
|
||||
**NOTE: Using any of the VVM features is not supported in any engine other than FTEQW**
|
||||
|
||||
# History
|
||||
In 2016 when we had our first prototype of The Wastes, we started out using DPM for
|
||||
|
@ -49,6 +68,14 @@ Make sure you have a C++ compiler installed and issue:
|
|||
|
||||
Please read the `vvm.txt` file included in this repository for more information.
|
||||
|
||||
# Notes
|
||||
Extra resources, such as the pre-release files we shared on inside3d.com:
|
||||
|
||||
* [vvm docs](vera-visions.com/dev/vvm-docs-1.zip)
|
||||
* [vvm example model sources](vera-visions.com/dev/vvm_example.zip)
|
||||
* [July 2017: old sources dated](vera-visions.com/dev/vvm-src-1.zip)
|
||||
* [July 2017: old win32 binary](vera-visions.com/dev/vvm-w32-1.zip)
|
||||
|
||||
# LICENSE
|
||||
|
||||
Copyright (c) 2010-2016 Lee Salzman
|
||||
|
|
Loading…
Reference in New Issue