Skip to content

Commit d2fd0f0

Browse files
committed
Version 1.4
Add bsp lump decompression and convertion to CSS Added an option to replace toolsshadowblock.vmt with a transparent material Added generated Qt project (currently uncompilable)
1 parent 9ffc308 commit d2fd0f0

18 files changed

Lines changed: 2637 additions & 26 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Extracts the encrypted content of Counter Strike Online 2's pkg files.
33

44
## Download
5-
You may get a build of UnCSO2 [in here](https://github.com/Ochii/UnCSO2/releases).
5+
You may get a build of UnCSO2 [in here](https://github.com/Ochii/UnCSO2/releases/latest).
66

77
## How to use
88
After running the executable, go to File > Open Folder and choose Counter Strike Online 2's data directory, the program will load the packed files entries afterwards.

src/UnCSO2.pri

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# ----------------------------------------------------
2+
# This file is generated by the Qt Visual Studio Tools.
3+
# ------------------------------------------------------
4+
5+
# This is a reminder that you are using a generated .pro file.
6+
# Remove it when you are finished editing this file.
7+
message("You are running qmake on a generated .pro file. This may not work!")
8+
9+
10+
HEADERS += ./cso2bsp.h \
11+
./cso2vtf.h \
12+
./lzmaDecoder.h \
13+
./version.h \
14+
./pkgindex.h \
15+
./decryption.h \
16+
./pkgfilesystem.h \
17+
./Rijndael.h \
18+
./stdafx.h \
19+
./vc17_filesystem.h \
20+
./uncso2app.h \
21+
./qt/pkgfilesystemnode.h \
22+
./qt/mainwindow.h \
23+
./qt/aboutdialog.h \
24+
./qt/pkgfilesystemmodel.h
25+
SOURCES += ./cso2bsp.cpp \
26+
./cso2vtf.cpp \
27+
./lzmaDecoder.cpp \
28+
./uncso2app.cpp \
29+
./pkgfilesystem.cpp \
30+
./pkgindex.cpp \
31+
./decryption.cpp \
32+
./main.cpp \
33+
./Rijndael.cpp \
34+
./version.cpp \
35+
./qt/aboutdialog.cpp \
36+
./qt/mainwindow.cpp \
37+
./qt/pkgfilesystemnode.cpp \
38+
./qt/pkgfilesystemmodel.cpp
39+
FORMS += ./qt/mainwindow.ui \
40+
./qt/aboutdialog.ui
41+
RESOURCES += UnCSO2.qrc

src/UnCSO2.pro

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# ----------------------------------------------------
2+
# This file is generated by the Qt Visual Studio Tools.
3+
# ------------------------------------------------------
4+
5+
TEMPLATE = app
6+
TARGET = UnCSO2
7+
DESTDIR = ../bin/Windows-x64/Debug
8+
QT += core widgets gui winextras
9+
CONFIG += debug
10+
DEFINES += _UNICODE WIN64 QT_DLL QT_WIDGETS_LIB WIN32_LEAN_AND_MEAN VC_EXTRALEAN CRYPTOPP_ENABLE_NAMESPACE_WEAK=1
11+
INCLUDEPATH += ./qt/GeneratedFiles \
12+
. \
13+
./qt/GeneratedFiles/Debug
14+
LIBS += -lcryptlib
15+
PRECOMPILED_HEADER = stdafx.h
16+
DEPENDPATH += .
17+
MOC_DIR += ./qt/GeneratedFiles/debug
18+
OBJECTS_DIR += debug
19+
UI_DIR += ./qt/GeneratedFiles
20+
RCC_DIR += ./qt/GeneratedFiles
21+
include(UnCSO2.pri)

src/UnCSO2.qrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
<RCC>
2-
<qresource prefix="CSO2Tools">
3-
</qresource>
2+
<qresource prefix="/CSO2Tools"/>
43
</RCC>

src/UnCSO2.vcxproj

Lines changed: 16 additions & 11 deletions
Large diffs are not rendered by default.

src/UnCSO2.vcxproj.filters

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@
102102
<ClCompile Include="cso2vtf.cpp">
103103
<Filter>Source Files</Filter>
104104
</ClCompile>
105+
<ClCompile Include="cso2bsp.cpp">
106+
<Filter>Source Files</Filter>
107+
</ClCompile>
105108
</ItemGroup>
106109
<ItemGroup>
107110
<CustomBuild Include="qt\mainwindow.ui">
@@ -163,5 +166,11 @@
163166
<ClInclude Include="cso2vtf.h">
164167
<Filter>Header Files</Filter>
165168
</ClInclude>
169+
<ClInclude Include="cso2bsp.h">
170+
<Filter>Header Files</Filter>
171+
</ClInclude>
172+
<ClInclude Include="cso2zip_uncompressed.h">
173+
<Filter>Header Files</Filter>
174+
</ClInclude>
166175
</ItemGroup>
167176
</Project>

0 commit comments

Comments
 (0)