change branding to ericw-tools
This commit is contained in:
parent
7a7d3b843c
commit
b85d627c8f
|
|
@ -25,5 +25,5 @@ deploy:
|
||||||
- "build-osx/*.zip"
|
- "build-osx/*.zip"
|
||||||
- "build/*.zip"
|
- "build/*.zip"
|
||||||
on:
|
on:
|
||||||
repo: ericwa/tyrutils-ericw
|
repo: ericwa/ericw-tools
|
||||||
tags: true
|
tags: true
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required (VERSION 2.8)
|
cmake_minimum_required (VERSION 2.8)
|
||||||
project (tyrutils)
|
project (ericw-tools)
|
||||||
|
|
||||||
# Grab the git describe output and store it in GIT_DESCRIBE
|
# Grab the git describe output and store it in GIT_DESCRIBE
|
||||||
# Thanks to http://xit0.org/2013/04/cmake-use-git-branch-and-commit-details-in-project/
|
# Thanks to http://xit0.org/2013/04/cmake-use-git-branch-and-commit-details-in-project/
|
||||||
|
|
@ -108,7 +108,7 @@ else ()
|
||||||
set(CMAKE_C_STANDARD 99)
|
set(CMAKE_C_STANDARD 99)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
add_definitions(-DTYRUTILS_VERSION=${GIT_DESCRIBE})
|
add_definitions(-DERICWTOOLS_VERSION=${GIT_DESCRIBE})
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
add_definitions("/DWIN32")
|
add_definitions("/DWIN32")
|
||||||
|
|
@ -140,6 +140,6 @@ install(FILES changelog.txt DESTINATION bin)
|
||||||
#CPack configuration
|
#CPack configuration
|
||||||
|
|
||||||
set(CPACK_GENERATOR ZIP)
|
set(CPACK_GENERATOR ZIP)
|
||||||
set(CPACK_PACKAGE_NAME tyrutils)
|
set(CPACK_PACKAGE_NAME ericw-tools)
|
||||||
set(CPACK_PACKAGE_VERSION ${GIT_DESCRIBE})
|
set(CPACK_PACKAGE_VERSION ${GIT_DESCRIBE})
|
||||||
include(CPack)
|
include(CPack)
|
||||||
|
|
|
||||||
26
README.md
26
README.md
|
|
@ -1,5 +1,5 @@
|
||||||
## tyrutils-ericw
|
## ericw-tools
|
||||||
- Website: http://ericwa.github.io/tyrutils-ericw
|
- Website: http://ericwa.github.io/ericw-tools
|
||||||
- Maintainer: Eric Wasylishen (AKA ericw)
|
- Maintainer: Eric Wasylishen (AKA ericw)
|
||||||
- Email: ewasylishen@gmail.com
|
- Email: ewasylishen@gmail.com
|
||||||
|
|
||||||
|
|
@ -9,12 +9,12 @@
|
||||||
- Author: Kevin Shanahan (AKA Tyrann)
|
- Author: Kevin Shanahan (AKA Tyrann)
|
||||||
- Email: tyrann@disenchant.net
|
- Email: tyrann@disenchant.net
|
||||||
|
|
||||||
[](https://travis-ci.org/ericwa/tyrutils-ericw)
|
[](https://travis-ci.org/ericwa/ericw-tools)
|
||||||
[](https://ci.appveyor.com/project/EricWasylishen/tyrutils-ericw)
|
[](https://ci.appveyor.com/project/EricWasylishen/ericw-tools)
|
||||||
|
|
||||||
## About
|
## About
|
||||||
|
|
||||||
tyrutils-ericw is a branch of Tyrann's quake 1 tools, focused on
|
ericw-tools is a branch of Tyrann's quake 1 tools, focused on
|
||||||
adding lighting features, mostly borrowed from q3map2. There are a few
|
adding lighting features, mostly borrowed from q3map2. There are a few
|
||||||
bugfixes for qbsp as well. Original readme follows:
|
bugfixes for qbsp as well. Original readme follows:
|
||||||
|
|
||||||
|
|
@ -36,7 +36,7 @@ Included utilities:
|
||||||
|
|
||||||
See the doc/ directory for more detailed descriptions of the various
|
See the doc/ directory for more detailed descriptions of the various
|
||||||
tools capabilities. See changelog.txt for a brief overview of recent
|
tools capabilities. See changelog.txt for a brief overview of recent
|
||||||
changes or https://github.com/ericwa/tyrutils-ericw for the full changelog and
|
changes or https://github.com/ericwa/ericw-tools for the full changelog and
|
||||||
source code.
|
source code.
|
||||||
|
|
||||||
## Compiling
|
## Compiling
|
||||||
|
|
@ -55,8 +55,8 @@ Tested on:
|
||||||
```
|
```
|
||||||
sudo apt-get install git cmake build-essential groff
|
sudo apt-get install git cmake build-essential groff
|
||||||
|
|
||||||
git clone https://github.com/ericwa/tyrutils-ericw
|
git clone https://github.com/ericwa/ericw-tools
|
||||||
cd tyrutils-ericw
|
cd ericw-tools
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
@ -70,11 +70,11 @@ make -j8 VERBOSE=1
|
||||||
|
|
||||||
Executables will be located in:
|
Executables will be located in:
|
||||||
|
|
||||||
- `tyrutils-ericw/build/qbsp/qbsp`
|
- `ericw-tools/build/qbsp/qbsp`
|
||||||
- `tyrutils-ericw/build/vis/vis`
|
- `ericw-tools/build/vis/vis`
|
||||||
- `tyrutils-ericw/build/light/light`
|
- `ericw-tools/build/light/light`
|
||||||
- `tyrutils-ericw/build/bspinfo/bspinfo`
|
- `ericw-tools/build/bspinfo/bspinfo`
|
||||||
- `tyrutils-ericw/build/bsputil/bsputil`
|
- `ericw-tools/build/bsputil/bsputil`
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,9 @@ build_script:
|
||||||
$cmakePlatform = "win32"
|
$cmakePlatform = "win32"
|
||||||
}
|
}
|
||||||
|
|
||||||
msbuild /target:testlight /p:Configuration=Release /p:Platform=$cmakePlatform /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" tyrutils.sln
|
msbuild /target:testlight /p:Configuration=Release /p:Platform=$cmakePlatform /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" ericw-tools.sln
|
||||||
|
|
||||||
msbuild /target:testqbsp /p:Configuration=Release /p:Platform=$cmakePlatform /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" tyrutils.sln
|
msbuild /target:testqbsp /p:Configuration=Release /p:Platform=$cmakePlatform /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" ericw-tools.sln
|
||||||
|
|
||||||
msbuild /p:Configuration=Release /p:Platform=$cmakePlatform /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" PACKAGE.vcxproj
|
msbuild /p:Configuration=Release /p:Platform=$cmakePlatform /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" PACKAGE.vcxproj
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ main(int argc, char **argv)
|
||||||
char source[1024];
|
char source[1024];
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
printf("---- bspinfo / TyrUtils " stringify(TYRUTILS_VERSION) " ----\n");
|
printf("---- bspinfo / ericw-tools " stringify(ERICWTOOLS_VERSION) " ----\n");
|
||||||
if (argc == 1) {
|
if (argc == 1) {
|
||||||
printf("usage: bspinfo bspfile [bspfiles]\n");
|
printf("usage: bspinfo bspfile [bspfiles]\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
|
||||||
|
|
@ -455,7 +455,7 @@ main(int argc, char **argv)
|
||||||
FILE *f;
|
FILE *f;
|
||||||
int i, err;
|
int i, err;
|
||||||
|
|
||||||
printf("---- bsputil / TyrUtils " stringify(TYRUTILS_VERSION) " ----\n");
|
printf("---- bsputil / ericw-tools " stringify(ERICWTOOLS_VERSION) " ----\n");
|
||||||
if (argc == 1) {
|
if (argc == 1) {
|
||||||
printf("usage: bsputil [--extract-entities] [--extract-textures] [--convert bsp29|bsp2|bsp2rmq|q2bsp] [--check] [--modelinfo]"
|
printf("usage: bsputil [--extract-entities] [--extract-textures] [--convert bsp29|bsp2|bsp2rmq|q2bsp] [--check] [--modelinfo]"
|
||||||
"[--check] bspfile\n");
|
"[--check] bspfile\n");
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,6 @@ cpack
|
||||||
|
|
||||||
# check rpath
|
# check rpath
|
||||||
readelf -d ./light/light
|
readelf -d ./light/light
|
||||||
unzip -X tyrutils-*.zip
|
unzip -X ericw-tools-*.zip
|
||||||
readelf -d ./tyrutils-*/bin/light
|
readelf -d ./ericw-tools-*/bin/light
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -899,7 +899,7 @@ light_main(int argc, const char **argv)
|
||||||
const char *lmscaleoverride = NULL;
|
const char *lmscaleoverride = NULL;
|
||||||
|
|
||||||
init_log("light.log");
|
init_log("light.log");
|
||||||
logprint("---- light / TyrUtils " stringify(TYRUTILS_VERSION) " ----\n");
|
logprint("---- light / ericw-tools " stringify(ERICWTOOLS_VERSION) " ----\n");
|
||||||
|
|
||||||
LowerProcessPriority();
|
LowerProcessPriority();
|
||||||
numthreads = GetDefaultThreads();
|
numthreads = GetDefaultThreads();
|
||||||
|
|
|
||||||
|
|
@ -922,7 +922,7 @@ GetLightValueWithAngle(const globalconfig_t &cfg, const light_t *entity, const v
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Light behind sample point? Zero contribution, period.
|
/* Light behind sample point? Zero contribution, period.
|
||||||
see: https://github.com/ericwa/tyrutils-ericw/issues/181 */
|
see: https://github.com/ericwa/ericw-tools/issues/181 */
|
||||||
if (angle < 0) {
|
if (angle < 0) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
@ -2544,7 +2544,7 @@ BoxBlurImage(const std::vector<qvec4f> &input, int w, int h, int radius)
|
||||||
// 2017-09-16: this is a hack, but clamping the
|
// 2017-09-16: this is a hack, but clamping the
|
||||||
// x/y instead of discarding the samples outside of the
|
// x/y instead of discarding the samples outside of the
|
||||||
// kernel looks better in some cases:
|
// kernel looks better in some cases:
|
||||||
// https://github.com/ericwa/tyrutils-ericw/issues/171
|
// https://github.com/ericwa/ericw-tools/issues/171
|
||||||
#if 0
|
#if 0
|
||||||
if (x1 < 0 || x1 >= w)
|
if (x1 < 0 || x1 >= w)
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ http://disenchant.net
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.SH REPORTING BUGS
|
.SH REPORTING BUGS
|
||||||
Please post bug reports at https://github.com/ericwa/tyrutils-ericw/issues.
|
Please post bug reports at https://github.com/ericwa/ericw-tools/issues.
|
||||||
.br
|
.br
|
||||||
Improvements to the documentation are welcome and encouraged.
|
Improvements to the documentation are welcome and encouraged.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ http://disenchant.net
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.SH REPORTING BUGS
|
.SH REPORTING BUGS
|
||||||
Please post bug reports at https://github.com/ericwa/tyrutils-ericw/issues.
|
Please post bug reports at https://github.com/ericwa/ericw-tools/issues.
|
||||||
.br
|
.br
|
||||||
Improvements to the documentation are welcome and encouraged.
|
Improvements to the documentation are welcome and encouraged.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -437,7 +437,7 @@ Based on source provided by id Software
|
||||||
http://disenchant.net
|
http://disenchant.net
|
||||||
|
|
||||||
.SH "REPORTING BUGS"
|
.SH "REPORTING BUGS"
|
||||||
Please post bug reports at https://github.com/ericwa/tyrutils-ericw/issues.
|
Please post bug reports at https://github.com/ericwa/ericw-tools/issues.
|
||||||
.br
|
.br
|
||||||
Improvements to the documentation are welcome and encouraged.
|
Improvements to the documentation are welcome and encouraged.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -245,7 +245,7 @@ Generates an LMSHIFT bspx lump for use by a light util. Note that both scaled an
|
||||||
Set to 1 to save mirrored inside faces for bmodels, so when the player view is inside the bmodel, they will still see the faces. (e.g. for func_water, or func_illusionary)
|
Set to 1 to save mirrored inside faces for bmodels, so when the player view is inside the bmodel, they will still see the faces. (e.g. for func_water, or func_illusionary)
|
||||||
|
|
||||||
.SH MAP COMPATIBILITY
|
.SH MAP COMPATIBILITY
|
||||||
In addition to standard Quake 1 .map files, TyrUtils QBSP is compatible with:
|
In addition to standard Quake 1 .map files, ericw-tools QBSP is compatible with:
|
||||||
|
|
||||||
.IP \(bu
|
.IP \(bu
|
||||||
Floating point brush coordinates and texture alignments
|
Floating point brush coordinates and texture alignments
|
||||||
|
|
@ -267,7 +267,7 @@ Based on source provided by id Software and Greg Lewis
|
||||||
http://disenchant.net
|
http://disenchant.net
|
||||||
|
|
||||||
.SH "REPORTING BUGS"
|
.SH "REPORTING BUGS"
|
||||||
Please post bug reports at https://github.com/ericwa/tyrutils-ericw/issues.
|
Please post bug reports at https://github.com/ericwa/ericw-tools/issues.
|
||||||
.br
|
.br
|
||||||
Improvements to the documentation are welcome and encouraged.
|
Improvements to the documentation are welcome and encouraged.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,7 +276,7 @@ ClipInside(const face_t *clipface, bool precedence,
|
||||||
next = face->next;
|
next = face->next;
|
||||||
|
|
||||||
/* HACK: Check for on-plane but not the same planenum
|
/* HACK: Check for on-plane but not the same planenum
|
||||||
( https://github.com/ericwa/tyrutils-ericw/issues/174 )
|
( https://github.com/ericwa/ericw-tools/issues/174 )
|
||||||
*/
|
*/
|
||||||
bool spurious_onplane = false;
|
bool spurious_onplane = false;
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -111,7 +111,7 @@ ParseToken(parser_t *p, int flags)
|
||||||
case 'r':
|
case 'r':
|
||||||
case 't':
|
case 't':
|
||||||
case '\\':
|
case '\\':
|
||||||
case 'b': // tyrutils-ericw extension, parsed by light, used to toggle bold text
|
case 'b': // ericw-tools extension, parsed by light, used to toggle bold text
|
||||||
//regular two-char escapes
|
//regular two-char escapes
|
||||||
*token_p++ = *p->pos++;
|
*token_p++ = *p->pos++;
|
||||||
if (token_p > &p->token[MAXTOKEN - 1])
|
if (token_p > &p->token[MAXTOKEN - 1])
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
#include <qbsp/wad.hh>
|
#include <qbsp/wad.hh>
|
||||||
|
|
||||||
static const char *IntroString =
|
static const char *IntroString =
|
||||||
"---- qbsp / TyrUtils " stringify(TYRUTILS_VERSION) " ----\n";
|
"---- qbsp / ericw-tools " stringify(ERICWTOOLS_VERSION) " ----\n";
|
||||||
|
|
||||||
// command line flags
|
// command line flags
|
||||||
options_t options;
|
options_t options;
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@ SubdivideFace(face_t *f, face_t **prevptr)
|
||||||
v = VectorLength(plane.normal);
|
v = VectorLength(plane.normal);
|
||||||
VectorNormalize(plane.normal);
|
VectorNormalize(plane.normal);
|
||||||
|
|
||||||
// ericw -- reverted this, was causing https://github.com/ericwa/tyrutils-ericw/issues/160
|
// ericw -- reverted this, was causing https://github.com/ericwa/ericw-tools/issues/160
|
||||||
// if (subdiv > extent/2) /* if we're near a boundary, just split the difference, this should balance the load slightly */
|
// if (subdiv > extent/2) /* if we're near a boundary, just split the difference, this should balance the load slightly */
|
||||||
// plane.dist = (mins + subdiv/2) / v;
|
// plane.dist = (mins + subdiv/2) / v;
|
||||||
// else
|
// else
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ GetTexvecs(const char *map, const char *texname)
|
||||||
return mapface->get_texvecs();
|
return mapface->get_texvecs();
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://github.com/ericwa/tyrutils-ericw/issues/158
|
// https://github.com/ericwa/ericw-tools/issues/158
|
||||||
TEST(qbsp, testTextureIssue) {
|
TEST(qbsp, testTextureIssue) {
|
||||||
const char *bufActual = R"(
|
const char *bufActual = R"(
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1217,7 +1217,7 @@ main(int argc, char **argv)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
init_log("vis.log");
|
init_log("vis.log");
|
||||||
logprint("---- vis / TyrUtils " stringify(TYRUTILS_VERSION) " ----\n");
|
logprint("---- vis / ericw-tools " stringify(ERICWTOOLS_VERSION) " ----\n");
|
||||||
|
|
||||||
LowerProcessPriority();
|
LowerProcessPriority();
|
||||||
numthreads = GetDefaultThreads();
|
numthreads = GetDefaultThreads();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue