Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: wghost/UPKUtils
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7.2
Choose a base ref
...
head repository: wghost/UPKUtils
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 11 commits
  • 43 files changed
  • 4 contributors

Commits on Apr 7, 2015

  1. Copy the full SHA
    1743aab View commit details

Commits on Apr 8, 2015

  1. LF Normalization

    wghost committed Apr 8, 2015
    Copy the full SHA
    f4a7149 View commit details

Commits on Feb 24, 2020

  1. texture modding support

    New tools for texture modding + support for Batman games.
    wghost committed Feb 24, 2020
    Copy the full SHA
    cc1396a View commit details

Commits on Mar 2, 2020

  1. UE3 packages format (XCOM)

    wghost authored Mar 2, 2020
    Copy the full SHA
    9fef93d View commit details

Commits on Apr 6, 2020

  1. meson: Add basic meson build support

    [Why]
    Apparently the CMake support is outdated and if one just wanna build
    the project, it inconvenient to install CodeBlocks first.
    
    [How]
    Add a very basic meson build file and update the documentation
    accordingly.
    
    Signed-off-by: Soeren Grunewald <[email protected]>
    soerengrunewald committed Apr 6, 2020
    Copy the full SHA
    d4f0472 View commit details

Commits on Apr 7, 2020

  1. meson: Drop unused and unnecessary lines

    [Why]
    Although defined the list of headers is never used and also the
    include path is not needed.
    
    Signed-off-by: Soeren Grunewald <[email protected]>
    soerengrunewald committed Apr 7, 2020
    Copy the full SHA
    9f47827 View commit details

Commits on Jun 11, 2020

  1. Merge pull request #8 from soerengrunewald/feature/add-meson-build-su…

    …pport
    
    meson: Add basic meson build support
    wghost authored Jun 11, 2020
    Copy the full SHA
    fa9b240 View commit details

Commits on Jun 20, 2020

  1. Copy the full SHA
    3f6d63e View commit details
  2. Merge pull request #10 from EvilMax/cmake-update

    Updated CMake build automation andd instructions
    wghost authored Jun 20, 2020
    Copy the full SHA
    970114e View commit details

Commits on Nov 4, 2022

  1. Batman: Arkham City support

    Textures export/import for Batman: Arkham City.
    wghost committed Nov 4, 2022
    Copy the full SHA
    828bde4 View commit details
  2. Copy the full SHA
    9b2fd07 View commit details
Showing with 13,009 additions and 8,894 deletions.
  1. +17 −0 .gitattributes
  2. +50 −0 CMakeLists.txt
  3. +177 −177 CompareUPK.cpp
  4. +259 −0 CustomTFC.cpp
  5. +56 −0 CustomTFC.h
  6. +105 −202 DecompressLZO.cpp
  7. +94 −94 DeserializeAll.cpp
  8. +293 −0 ExportTexturesToDDS.cpp
  9. +53 −53 ExtractNameLists.cpp
  10. +44 −0 FileUtils.h
  11. +56 −56 FindObjectByOffset.cpp
  12. +59 −59 FindObjectEntry.cpp
  13. +1 −1 HexToPseudoCode.cpp
  14. +1,021 −0 ImportTexturesFromDDS.cpp
  15. +359 −0 LzoUtils.cpp
  16. +13 −0 LzoUtils.h
  17. +389 −389 ModParser.cpp
  18. +69 −69 ModParser.h
  19. +2,253 −2,252 ModScript.cpp
  20. +152 −152 ModScript.h
  21. +83 −81 MoveExpandFunction.cpp
  22. +109 −0 ParseTfc.cpp
  23. +84 −84 PatchUPK.cpp
  24. +44 −6 README.md
  25. +1 −1 UENativeTablesReader.cpp
  26. +824 −0 UFlags.cpp
  27. +250 −210 UFlags.h
  28. +1,723 −913 UObject.cpp
  29. +673 −479 UObject.h
  30. +266 −242 UObjectFactory.cpp
  31. +17 −17 UObjectFactory.h
  32. +680 −1,377 UPKInfo.cpp
  33. +230 −239 UPKInfo.h
  34. +176 −5 UPKUtils.cbp
  35. +1,080 −878 UPKUtils.cpp
  36. +78 −63 UPKUtils.h
  37. +206 −0 dds.cpp
  38. +90 −0 dds.h
  39. +141 −141 doc/PatchUPK_Mod_Example.txt
  40. +485 −485 doc/PatchUPK_Readme.txt
  41. +169 −169 doc/UPKUtils_Readme.txt
  42. BIN doc/UPK_Format.pdf
  43. +80 −0 meson.build
17 changes: 17 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
50 changes: 50 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
PROJECT(UpkUtils LANGUAGES C CXX)
CMAKE_MINIMUM_REQUIRED(VERSION 3.12)
IF(COMMAND cmake_policy)
CMAKE_POLICY(SET CMP0003 NEW)
CMAKE_POLICY(SET CMP0043 NEW)
ENDIF(COMMAND cmake_policy)

set(CMAKE_CXX_STANDARD 11)
SET(CMAKE_BUILD_TYPE Release)
SET(CMAKE_CXX_FLAGS_RELEASE "-Wall -fexceptions -O2")

ADD_LIBRARY(UpkCommons ModParser.cpp ModScript.cpp UObject.cpp UObjectFactory.cpp UPKInfo.cpp UPKUtils.cpp minilzo.c LzoUtils.cpp UToken.cpp UTokenFactory.cpp UFlags.cpp CustomTFC.cpp)

ADD_EXECUTABLE(CompareUPK CompareUPK.cpp)
ADD_EXECUTABLE(ExtractNameLists ExtractNameLists.cpp)
ADD_EXECUTABLE(FindObjectByOffset FindObjectByOffset.cpp)
ADD_EXECUTABLE(FindObjectEntry FindObjectEntry.cpp)
ADD_EXECUTABLE(MoveExpandFunction MoveExpandFunction.cpp)
ADD_EXECUTABLE(PatchUPK PatchUPK.cpp)
ADD_EXECUTABLE(HexToPseudoCode HexToPseudoCode.cpp)
ADD_EXECUTABLE(UENativeTablesReader UENativeTablesReader.cpp)

TARGET_LINK_LIBRARIES(CompareUPK UpkCommons)
TARGET_LINK_LIBRARIES(ExtractNameLists UpkCommons)
TARGET_LINK_LIBRARIES(FindObjectByOffset UpkCommons)
TARGET_LINK_LIBRARIES(FindObjectEntry UpkCommons)
TARGET_LINK_LIBRARIES(MoveExpandFunction UpkCommons)
TARGET_LINK_LIBRARIES(PatchUPK UpkCommons)
TARGET_LINK_LIBRARIES(HexToPseudoCode UpkCommons)

IF(wxWidgets_USE_MONOLITHIC)
SET(wxWidgets_USE_LIBS mono)
ELSE(wxWidgets_USE_MONOLITHIC)
SET(wxWidgets_USE_LIBS base)
ENDIF(wxWidgets_USE_MONOLITHIC)

FIND_PACKAGE(wxWidgets)
IF(wxWidgets_FOUND)
INCLUDE(${wxWidgets_USE_FILE})
ADD_EXECUTABLE(DeserializeAll DeserializeAll.cpp)
ADD_EXECUTABLE(DecompressLZO DecompressLZO.cpp)
ADD_EXECUTABLE(ExportTexturesToDDS ExportTexturesToDDS.cpp dds.cpp)
ADD_EXECUTABLE(ImportTexturesFromDDS ImportTexturesFromDDS.cpp dds.cpp)
TARGET_LINK_LIBRARIES(DeserializeAll UpkCommons ${wxWidgets_LIBRARIES})
TARGET_LINK_LIBRARIES(DecompressLZO UpkCommons ${wxWidgets_LIBRARIES})
TARGET_LINK_LIBRARIES(ExportTexturesToDDS UpkCommons ${wxWidgets_LIBRARIES})
TARGET_LINK_LIBRARIES(ImportTexturesFromDDS UpkCommons ${wxWidgets_LIBRARIES})
ELSE(wxWidgets_FOUND)
MESSAGE("wxWidgets not found!")
ENDIF(wxWidgets_FOUND)
Loading