Skip to content

Commit dbb6adb

Browse files
committed
update readme and metainfo [skip ci]
1 parent ae455cf commit dbb6adb

5 files changed

Lines changed: 38 additions & 22 deletions

File tree

.github/workflows/cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
2323
matrix:
2424
os: [ubuntu-latest, windows-latest]
25-
build_type: [Release]
25+
build_type: [RelWithDebInfo]
2626
c_compiler: [gcc, clang, cl]
2727
include:
2828
- os: windows-latest

README.md

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# UnCSO2
22

3-
![Alt text](./resources/uncso2.svg)
3+
[![GitHub License](https://img.shields.io/github/license/harmonytf/UnCSO2)](https://raw.githubusercontent.com/harmonytf/UnCSO2/master/COPYING)
4+
![Qt Version](https://img.shields.io/badge/Qt-6.10-2CDE85.svg)
5+
[![GitHub Release](https://img.shields.io/github/v/release/harmonytf/UnCSO2)](https://github.com/harmonytf/UnCSO2/releases/latest)
6+
[![AUR Version](https://img.shields.io/aur/version/uncso2-bin?logo=archlinux)](https://aur.archlinux.org/packages/uncso2-bin)
7+
[![Flathub Version](https://img.shields.io/flathub/v/tf.harmony.UnCSO2?logo=flathub)](https://flathub.org/apps/tf.harmony.UnCSO2)
8+
9+
![App icon](./tf.harmony.UnCSO2.svg)
410

511
A file data extractor for the video games Counter Strike: Online 2 and Titanfall Online, for Windows and GNU/Linux.
612

@@ -14,6 +20,8 @@ It uses [libuncso2](https://github.com/harmonytf/libuncso2) as the back-end libr
1420

1521
You may download the latest build of UnCSO2 here: [Releases](https://github.com/harmonytf/UnCSO2/releases/latest).
1622

23+
Linux version is also available on [FlatHub](https://flathub.org/apps/tf.harmony.UnCSO2).
24+
1725
## Features
1826

1927
Aside from extracting files from Counter-Strike: Online 2's and Titanfall Online's proprietary archive format, PKG, UnCSO2 can:
@@ -36,23 +44,23 @@ Those regions are: South Korea, China, Taiwan and Japan.
3644

3745
- [CMake](https://cmake.org/download/) (must be in PATH)
3846
- [Qt 6.10](https://www.qt.io/download)
39-
- A C++20 compile.
47+
- A C++20 compiler
4048

4149
#### With Visual Studio (new way)
4250

4351
Visual Studio nowadays has built-in integration for CMake projects.
4452

45-
1. File -> Open -> CMake... -> Select CMakeLists.txt
53+
1. File Open CMake... Select CMakeLists.txt
4654

47-
2. Build -> Build All
55+
2. Build Build All
4856

4957
You should have the extension Qt Visual Studio Tools installed. It will prompt you to import your Qt install path upon installation, select required Qt version as the default.
5058

51-
You can generate project files for Visual Studio 15 by running the follwing commands:
52-
5359
#### With Visual Studio (old way)
5460

55-
The old way is to generate project files.
61+
The old way is to generate project files (sln, vcxproj).
62+
63+
You can generate project files for Visual Studio by running the following commands:
5664

5765
```sh
5866
# Create and go to the build directory
@@ -77,10 +85,10 @@ mkdir build
7785
cd build
7886

7987
# Generate ninja files
80-
cmake -G "Ninja" `
81-
-DCMAKE_CXX_COMPILER="g++" `
82-
-DCMAKE_C_COMPILER="gcc" `
83-
-DCMAKE_BUILD_TYPE="Release" `
88+
cmake -G "Ninja" \
89+
-DCMAKE_CXX_COMPILER="g++" \
90+
-DCMAKE_C_COMPILER="gcc" \
91+
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
8492
../
8593

8694
# To build the project

tf.harmony.UnCSO2.desktop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Exec=uc2 %f
55
Icon=tf.harmony.UnCSO2
66
Comment=Extract Counter-Strike: Online 2 and Titanfall Online game files
77
Terminal=false
8-
Categories=Utility;
8+
Categories=Utility;Development;
99
Keywords=pkg;Harmony;TFO;
1010
X-AppImage-Version=2.0.0
1111

tf.harmony.UnCSO2.metainfo.xml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@
2424
</description>
2525
<categories>
2626
<category>Utility</category>
27+
<category>Development</category>
2728
</categories>
29+
<keywords>
30+
<keyword translate="no">Qt</keyword>
31+
</keywords>
2832
<url type="homepage">https://github.com/harmonytf/UnCSO2</url>
2933
<url type="bugtracker">https://github.com/harmonytf/UnCSO2/issues</url>
3034
<url type="vcs-browser">https://github.com/harmonytf/UnCSO2</url>
@@ -34,16 +38,20 @@
3438
</branding>
3539
<screenshots>
3640
<screenshot type="default">
37-
<image type="source">https://raw.githubusercontent.com/harmonytf/UnCSO2/master/screenshots/screenshot1.png</image>
41+
<image>https://raw.githubusercontent.com/harmonytf/UnCSO2/78c41bf47b82e2709b8df625e740bd4762d7ecf7/screenshots/screenshot1.png</image>
42+
<caption>Main app window, with Titanfall Online data index opened</caption>
3843
</screenshot>
3944
<screenshot>
40-
<image type="source">https://raw.githubusercontent.com/harmonytf/UnCSO2/master/screenshots/screenshot2.png</image>
45+
<image>https://raw.githubusercontent.com/harmonytf/UnCSO2/78c41bf47b82e2709b8df625e740bd4762d7ecf7/screenshots/screenshot2.png</image>
46+
<caption>Opening game data by providing the path to a directory of .pkg files</caption>
4147
</screenshot>
4248
<screenshot>
43-
<image type="source">https://raw.githubusercontent.com/harmonytf/UnCSO2/master/screenshots/screenshot3.png</image>
49+
<image>https://raw.githubusercontent.com/harmonytf/UnCSO2/78c41bf47b82e2709b8df625e740bd4762d7ecf7/screenshots/screenshot3.png</image>
50+
<caption>Index properties window, with information about the currently opened .pkg file</caption>
4451
</screenshot>
4552
<screenshot>
46-
<image type="source">https://raw.githubusercontent.com/harmonytf/UnCSO2/master/screenshots/screenshot4.png</image>
53+
<image>https://raw.githubusercontent.com/harmonytf/UnCSO2/78c41bf47b82e2709b8df625e740bd4762d7ecf7/screenshots/screenshot4.png</image>
54+
<caption>About window</caption>
4755
</screenshot>
4856
</screenshots>
4957
<releases>

tf.harmony.UnCSO2.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ modules:
1818
- /share/man
1919
- /share/cmake
2020
- /share/cryptopp
21-
- /include/cryptopp
21+
- /include
2222
- /bin/cryptest
23-
- /lib/libcryptopp.a
24-
- /lib/debug
23+
- /lib/debug/source
24+
- '*.a'
2525
sources:
2626
- type: dir
2727
path: .
@@ -33,5 +33,5 @@ modules:
3333
- install -Dm644 ${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
3434
- install -Dm644 ${FLATPAK_ID}.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
3535
#- install -Dm644 ${FLATPAK_ID}-mime.xml ${FLATPAK_DEST}/share/mime/packages/${FLATPAK_ID}-mime.xml
36-
- install -Dm755 ${FLATPAK_BUILDER_BUILDDIR}/uc2 ${FLATPAK_DEST}/bin/uc2
37-
- install -Dm755 -t ${FLATPAK_DEST}/lib/ ${FLATPAK_BUILDER_BUILDDIR}/libuncso2/libuncso2.so*
36+
- install -Dm755 uc2 ${FLATPAK_DEST}/bin/uc2
37+
- install -Dm755 libuncso2/libuncso2.so* -t ${FLATPAK_DEST}/lib/

0 commit comments

Comments
 (0)