-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial import of working version 1.1.0
- Loading branch information
1 parent
a75aba6
commit ed36418
Showing
20 changed files
with
1,747 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,73 @@ | ||
# Prerequisites | ||
*.d | ||
# This file is used to ignore files which are generated | ||
# ---------------------------------------------------------------------------- | ||
|
||
# Compiled Object files | ||
*.slo | ||
*.lo | ||
*~ | ||
*.autosave | ||
*.a | ||
*.core | ||
*.moc | ||
*.o | ||
*.obj | ||
*.orig | ||
*.rej | ||
*.so | ||
*.so.* | ||
*_pch.h.cpp | ||
*_resource.rc | ||
*.qm | ||
.#* | ||
*.*# | ||
core | ||
!core/ | ||
tags | ||
.DS_Store | ||
.directory | ||
*.debug | ||
Makefile* | ||
*.prl | ||
*.app | ||
moc_*.cpp | ||
ui_*.h | ||
qrc_*.cpp | ||
Thumbs.db | ||
*.res | ||
*.rc | ||
/.qmake.cache | ||
/.qmake.stash | ||
|
||
# Precompiled Headers | ||
*.gch | ||
*.pch | ||
# qtcreator generated files | ||
*.pro.user* | ||
|
||
# Compiled Dynamic libraries | ||
*.so | ||
*.dylib | ||
*.dll | ||
# xemacs temporary files | ||
*.flc | ||
|
||
# Fortran module files | ||
*.mod | ||
*.smod | ||
# Vim temporary files | ||
.*.swp | ||
|
||
# Compiled Static libraries | ||
*.lai | ||
*.la | ||
*.a | ||
*.lib | ||
# Visual Studio generated files | ||
*.ib_pdb_index | ||
*.idb | ||
*.ilk | ||
*.pdb | ||
*.sln | ||
*.suo | ||
*.vcproj | ||
*vcproj.*.*.user | ||
*.ncb | ||
*.sdf | ||
*.opensdf | ||
*.vcxproj | ||
*vcxproj.* | ||
|
||
# Executables | ||
# MinGW generated files | ||
*.Debug | ||
*.Release | ||
|
||
# Python byte code | ||
*.pyc | ||
|
||
# Binaries | ||
# -------- | ||
*.dll | ||
*.exe | ||
*.out | ||
*.app | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
TEMPLATE = app | ||
CONFIG += console c++14 | ||
CONFIG -= app_bundle | ||
CONFIG -= qt | ||
|
||
############################################ | ||
## Library Source Dependencies: Boost, keeg | ||
## Boost: http://www.boost.org | ||
## keeg: https://github.com/namralkeeg/keeg | ||
############################################ | ||
|
||
INCLUDEPATH += $$(BOOST_ROOT) $$(KEEG_ROOT)/src src | ||
|
||
SOURCES += \ | ||
src/main.cpp \ | ||
src/afk/fileformats/pex/pexheader.cpp \ | ||
src/afk/fileformats/pex/pexbase.cpp \ | ||
src/afk/fileformats/pex/pexskyrim.cpp \ | ||
src/afk/fileformats/pex/pexskyrimse.cpp \ | ||
src/afk/fileformats/pex/pexfallout4.cpp \ | ||
src/afk/fileformats/pex/pexfactory.cpp \ | ||
src/afk/afkpexanon.cpp | ||
|
||
HEADERS += \ | ||
src/version.hpp \ | ||
src/afk/fileformats/pex/gameid.hpp \ | ||
src/afk/fileformats/pex/pexheader.hpp \ | ||
src/afk/fileformats/pex/pexbase.hpp \ | ||
src/afk/fileformats/pex/pexskyrim.hpp \ | ||
src/afk/fileformats/pex/pexskyrimse.hpp \ | ||
src/afk/fileformats/pex/pexfallout4.hpp \ | ||
src/afk/fileformats/pex/pexfactory.hpp \ | ||
src/afk/afkpexanon.hpp | ||
|
||
############################### | ||
## Version Info | ||
############################### | ||
|
||
win32:VERSION = 1.1.0 # major.minor.patch | ||
else:VERSION = 1.1.0 # major.minor.patch | ||
|
||
# Debug/Release options | ||
CONFIG(debug, debug|release) { | ||
# Debug Options | ||
win32-g++ { | ||
LIBS += "-L$$(BOOST_LIBRARYDIR_MINGW)" | ||
LIBS += -lboost_program_options-mgw53-mt-d-1_65_1 -lboost_filesystem-mgw53-mt-d-1_65_1 -lboost_system-mgw53-mt-d-1_65_1 | ||
} | ||
} else { | ||
# Release Options | ||
win32-g++ { | ||
LIBS += "-L$$(BOOST_LIBRARYDIR_MINGW)" | ||
LIBS += -lboost_program_options-mgw53-mt-1_65_1 -lboost_filesystem-mgw53-mt-1_65_1 -lboost_system-mgw53-mt-1_65_1 | ||
} | ||
} | ||
|
||
############################### | ||
## COMPILER SCOPES | ||
############################### | ||
|
||
*msvc* { | ||
LIBS += "-L$$(BOOST_LIBRARYDIR)" | ||
|
||
# So VCProj Filters do not flatten headers/source | ||
CONFIG -= flat | ||
|
||
# COMPILER FLAGS | ||
# Optimization flags | ||
QMAKE_CXXFLAGS_RELEASE -= /O2 | ||
QMAKE_CXXFLAGS_RELEASE *= /O2 /Ot /Ox /GL | ||
|
||
# Multithreaded compiling for Visual Studio | ||
QMAKE_CXXFLAGS += -MP | ||
|
||
# Linker flags | ||
QMAKE_LFLAGS_RELEASE += /LTCG | ||
} | ||
|
||
*-g++ { | ||
# COMPILER FLAGS | ||
|
||
# Optimization flags | ||
QMAKE_CXXFLAGS_DEBUG -= -O0 -g | ||
QMAKE_CXXFLAGS_DEBUG *= -Og -g3 | ||
QMAKE_CXXFLAGS_RELEASE -= -O2 | ||
QMAKE_CXXFLAGS_RELEASE *= -O3 -mfpmath=sse | ||
|
||
# Extension flags | ||
QMAKE_CXXFLAGS_RELEASE += -msse2 -msse | ||
|
||
# Linker flags | ||
QMAKE_LFLAGS_RELEASE += -static | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,32 @@ | ||
# AFKPexAnon | ||
Application that anonymize's Bethesda's compiled Papyrus script files (.pex). | ||
|
||
Copyright (c) 2017 Larry Lopez | ||
|
||
See LICENSE file for licensing information. | ||
|
||
Dependencies | ||
============ | ||
|
||
* Boost 1.65.1 http://www.boost.org/ | ||
* keeg 1.0.0 https://github.com/namralkeeg/keeg | ||
* A C++14 compiler. (for Windows you need at least Visual Studio 2015 or mingw 5.3) | ||
* Qt Creator (qmake) | ||
|
||
|
||
### Commandline Options | ||
``` | ||
Generic Options: | ||
-h [ --help ] Help Screen | ||
-c [ --config ] arg (=afkpexanon.cfg) Use configuration file. | ||
--version Show application version information. | ||
Config Options: | ||
-s [ --source ] arg (=.) Source Folder(s), defaults to current | ||
folder. | ||
-b [ --backup ] Enables the creation of backup Files. | ||
-m [ --mask ] arg (=*) Character to mask computer and user | ||
name. Defaults to * | ||
-r [ --recursive ] Recursively process all subfolders. | ||
--verbose Enables verbose output mode. | ||
``` |
Oops, something went wrong.