Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tx00100xt committed Mar 1, 2024
1 parent a89ab13 commit bff4928
Show file tree
Hide file tree
Showing 20 changed files with 686 additions and 127 deletions.
4 changes: 2 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
serioussam (1.10.6e-+dfsg-1) stable; urgency=medium
serioussam (1.10.6d+dfsg-1) unstable; urgency=low

* Initial release
* Initial release. Closes: #1065096

-- Alexander Pavlov <[email protected]> Wed, 28 Feb 2024 20:33:46 +0300
16 changes: 7 additions & 9 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,19 @@ Source: serioussam
Section: contrib/games
Priority: optional
Maintainer: Alexander Pavlov <[email protected]>
Build-Depends: debhelper-compat (= 13), cmake, flex, bison, nasm, libsdl2-dev, libvorbis-dev, zlib1g-dev, imagemagick
Standards-Version: 4.6.0
Homepage: https://github.com/tx00100xt/SeriousSamClassic
Vcs-Browser: https://salsa.debian.org/debian/serioussam
Vcs-Git: https://salsa.debian.org/debian/serioussam.git
Build-Depends: debhelper-compat (= 13), cmake, flex, bison, nasm, libsdl2-dev, libvorbis-dev, zlib1g-dev, imagemagick
Homepage: https://tx00100xt.github.io
Vcs-Browser: https://salsa.debian.org/tx00100xt/serioussam
Vcs-Git: https://salsa.debian.org/tx00100xt/serioussam.git
Rules-Requires-Root: no
Standards-Version: 4.6.2

Package: serioussam
Architecture: any
Conflicts: serioussam-vk
Depends: ${shlibs:Depends}, ${misc:Depends}, libc6 (>= 2.28), libsdl2-2.0-0 (>= 2.0.6), libstdc++6 (>= 5), zlib1g (>= 1:1.1.4), libvorbisfile3
Depends: ${shlibs:Depends}, ${misc:Depends}, libsdl2-2.0-0 (>= 2.0.6), libstdc++6 (>= 5), zlib1g (>= 1:1.1.4), libvorbisfile3
Description: Linux port of Serious Sam Classic
Open source game engine version developed by Croteam
for Serious Sam Classic (Windows, Linux, FreeBSD, OpenBSD, NetBSD, Raspberry Pi OS, macOS)
Open source game engine version developed by Croteam
for Serious Sam Classic (Windows, Linux, BSD family, Raspberry Pi OS, macOS)
.
This package alone isn't of any use; it only contains the game engine,
you will need a copy of the original game for this package to be useful.
183 changes: 93 additions & 90 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -1,106 +1,109 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: SeriousSamClassic
Upstream-Contact: https://github.com/tx00100xt/SeriousSamClassic/issues
Upstream-Name: serioussam
Upstream-Contact: https://github.com/tx00100xt/SeriousSamClassic/issues/
Alexander Pavlov <[email protected]>
Source: https://github.com/tx00100xt/SeriousSamClassic
Files-Excluded:
appimage
flatpak
Images
man
templates
SamTFE/Bin
SamTFE/Controls
SamTFE/Data
SamTFE/Demos
SamTFE/Help
SamTFE/Levels
SamTFE/Players
SamTFE/Scripts
SamTFE/Sources/***/*.ini
SamTFE/Sources/Engine/zlib
SamTFE/Sources/EngineGui
SamTFE/Sources/External
SamTFE/Sources/GameGUIMP
SamTFE/Sources/LWSkaExporter
SamTFE/Sources/Modeler
SamTFE/Sources/RCon
SamTFE/Sources/SeriousSam/SeriousSam.aps
SamTFE/Sources/SeriousSam/Splash.bmp
SamTFE/Sources/SeriousSam/SplashMask.bmp
SamTFE/Sources/SeriousSkaStudio
SamTFE/Sources/WorldEditor
SamTFE/Temp
SamTFE/Tools.Win32
SamTFE/VirtualTrees
SamTFE/SE1_10b.gro
SamTFE/serioussam.desktop
SamTFE/serioussam.png
SamTSE/Bin
SamTSE/Controls
SamTSE/Data
SamTSE/Demos
SamTSE/Help
SamTSE/Levels
SamTSE/Players
SamTSE/Scripts
SamTSE/Sources/***/*.ini
SamTSE/Sources/Engine/zlib
SamTSE/Sources/EngineGui
SamTSE/Sources/External
SamTSE/Sources/GameGUIMP
SamTSE/Sources/LWSkaExporter
SamTSE/Sources/Modeler
SamTSE/Sources/RCon
SamTSE/Sources/SeriousSam/SeriousSam.aps
SamTSE/Sources/SeriousSam/Splash.bmp
SamTSE/Sources/SeriousSam/SplashMask.bmp
SamTSE/Sources/SeriousSkaStudio
SamTSE/Sources/WorldEditor
SamTSE/Temp
SamTSE/Tools.Win32
SamTSE/VirtualTrees
SamTSE/SE1_10b.gro
SamTSE/serioussamse.desktop
SamTSE/serioussamse.png

Files-Excluded: appimage
flatpak
Images
man
templates
SamTFE/Bin
SamTFE/Controls
SamTFE/Data
SamTFE/Demos
SamTFE/Help
SamTFE/Levels
SamTFE/Players
SamTFE/Scripts
SamTFE/Sources/***/*.ini
SamTFE/Sources/Engine/zlib
SamTFE/Sources/EngineGui
SamTFE/Sources/External
SamTFE/Sources/GameGUIMP
SamTFE/Sources/LWSkaExporter
SamTFE/Sources/Modeler
SamTFE/Sources/RCon
SamTFE/Sources/SeriousSam/SeriousSam.aps
SamTFE/Sources/SeriousSam/Splash.bmp
SamTFE/Sources/SeriousSam/SplashMask.bmp
SamTFE/Sources/SeriousSkaStudio
SamTFE/Sources/WorldEditor
SamTFE/Temp
SamTFE/Tools.Win32
SamTFE/VirtualTrees
SamTFE/Sources/libvorbis
SamTFE/Sources/libogg
SamTFE/Sources/SamTFE.sln
SamTFE/Mods/SeriousSamTbn.tex
SamTFE/Mods/XPLUSTbn.tex
SamTSE/Bin
SamTSE/Controls
SamTSE/Data
SamTSE/Demos
SamTSE/Help
SamTSE/Levels
SamTSE/Players
SamTSE/Scripts
SamTSE/Sources/***/*.ini
SamTSE/Sources/Engine/zlib
SamTSE/Sources/EngineGui
SamTSE/Sources/External
SamTSE/Sources/GameGUIMP
SamTSE/Sources/LWSkaExporter
SamTSE/Sources/Modeler
SamTSE/Sources/RCon
SamTSE/Sources/SeriousSam/SeriousSam.aps
SamTSE/Sources/SeriousSam/Splash.bmp
SamTSE/Sources/SeriousSam/SplashMask.bmp
SamTSE/Sources/SeriousSkaStudio
SamTSE/Sources/WorldEditor
SamTSE/Temp
SamTSE/Tools.Win32
SamTSE/VirtualTrees
SamTSE/Sources/libvorbis
SamTSE/Sources/libogg
SamTSE/Sources/SamTSE.sln
SamTSE/Mods/SecondEncounterTbn.tex
SamTSE/Mods/XPLUSTbn.tex
Disclaimer:
This package is in the contrib archive area, which is not part of Debian.
The engine itself is free software, but it is only useful when combined
with proprietary game data.
This package is in the contrib archive area, which is not part of Debian.
The engine itself is free software, but it is only useful when combined
with proprietary game data.

Files: *
Copyright:
© 2002-2012 Croteam
© 2012-2016 Ryan C. Gordon
© 2021-2024 Alexander Pavlov
License: GPL-2
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
Copyright: 2002-2012 Croteam
2012-2016 Ryan C. Gordon
2021-2024 Alexander Pavlov <[email protected]>
License: GPL-2.0
This program is free software; you can redistribute it and/or
modify it under the terms of version 2 of the GNU General Public
License as published by the Free Software Foundation.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
.
On Debian systems, the complete text of the GNU General Public License
version 2 can be found in '/usr/share/common-licenses/GPL-2'.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.

Files: debian/*
Copyright: 2024 Alexander Pavlov <[email protected]>
License: WTFPL
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright: 2023-2024 Alexander Pavlov <[email protected]>
License: GPL-2.0+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
.
0. You just DO WHAT THE FUCK YOU WANT TO.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
2 changes: 1 addition & 1 deletion debian/io.github.tx00100xt.serioussam.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<id>io.github.tx00100xt.serioussam</id>
<name>serioussam</name>
<summary>Open source first person shooter</summary>
<metadata_license>CC0-1.0</metadata_license>
<metadata_license>GPL-2.0+</metadata_license>
<project_license>GPL-2.0</project_license>

<developer_name>Alexander Pavlov</developer_name>
Expand Down
9 changes: 8 additions & 1 deletion debian/manpages
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
debian/serioussam.1
debian/serioussam.6
debian/serioussamse.6
debian/serioussam-ded.6
debian/serioussamse-ded.6
debian/serioussam-mkfont.6
debian/serioussamse-mkfont.6
debian/serioussam-texconv.6
debian/serioussamse-texconv.6
18 changes: 10 additions & 8 deletions debian/patches/0002-CMakeLists.txt.patch
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Forwarded: not-needed
message(STATUS "Build for Gentoo with '-rpath=/var/tmp/portage'")
else()
- set(RPATH_SETTINGS "-rpath,$ORIGIN")
+ set(RPATH_SETTINGS "-rpath=/usr/lib/games")
+ message(STATUS "Build for Debian with '-rpath=/usr/lib/games'")
+ set(RPATH_SETTINGS "-rpath=/usr/lib/games/${INTERNAL_NAME}")
+ message(STATUS "Build for Debian with '-rpath=/usr/lib/games/${INTERNAL_NAME}'")
endif()
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "OpenBSD" OR CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
Expand Down Expand Up @@ -70,7 +70,7 @@ Forwarded: not-needed
endif()
endif()
endif()
@@ -1551,7 +1524,7 @@
@@ -1551,25 +1524,25 @@
endif()
else()
install(TARGETS SeriousSam${MP} ${SHADERSLIB} ${GAMEMPLIB} ${ENTITIESMPLIB}
Expand All @@ -79,7 +79,8 @@ Forwarded: not-needed
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/${INTERNAL_NAME}"
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
install(TARGETS ${ENGINELIB}
@@ -1559,17 +1532,17 @@
- LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
+ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/${INTERNAL_NAME}"
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
if(BUILD_DEDICATED_SERVER)
install(TARGETS DedicatedServer${MP}
Expand Down Expand Up @@ -141,8 +142,8 @@ Forwarded: not-needed
message(STATUS "Build for Gentoo with '-rpath=/var/tmp/portage'")
else()
- set(RPATH_SETTINGS "-rpath,$ORIGIN")
+ set(RPATH_SETTINGS "-rpath=/usr/lib/games")
+ message(STATUS "Build for Debian with '-rpath=/usr/lib/games'")
+ set(RPATH_SETTINGS "-rpath=/usr/lib/games/${INTERNAL_NAME}")
+ message(STATUS "Build for Debian with '-rpath=/usr/lib/games/${INTERNAL_NAME}'")
endif()
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "OpenBSD" OR CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
Expand Down Expand Up @@ -204,7 +205,7 @@ Forwarded: not-needed
endif()
endif()
endif()
@@ -1551,7 +1524,7 @@
@@ -1551,25 +1524,25 @@
endif()
else()
install(TARGETS SeriousSam${MP} ${SHADERSLIB} ${GAMEMPLIB} ${ENTITIESMPLIB}
Expand All @@ -213,7 +214,8 @@ Forwarded: not-needed
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/${INTERNAL_NAME}"
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
install(TARGETS ${ENGINELIB}
@@ -1559,17 +1532,17 @@
- LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
+ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/${INTERNAL_NAME}"
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
if(BUILD_DEDICATED_SERVER)
install(TARGETS DedicatedServer${MP}
Expand Down
4 changes: 0 additions & 4 deletions debian/postinst

This file was deleted.

4 changes: 0 additions & 4 deletions debian/postrm

This file was deleted.

30 changes: 30 additions & 0 deletions debian/serioussam-ded.6
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
.\" Manpage for serioussam-ded
.\" Contact -- Alexander Pavlov <[email protected]> to correct errors or typos.
.TH man 6 "02 2024" "1.0" "serioussam-ded man page"
.SH NAME
serioussam-ded \- Dedicated server for Serious Sam Classic TFE
.PP
.SH DESCRIPTION
.PP
.BR serioussam-ded
is dedicated server for the game Serious Sam Classic TFE. The server starts with settings from the
Scripts/Dedicated/<Server Folder> directory. Where <Server Folder> is a directory containing scripts with server settings.
Learn more about server variable settings in Help/ShellSymbols.txt
.PP
.SH SYNOPSIS
Open terminal and put command:
.TP
\fBserioussam-ded DefaultCoop\fR
\-\ For start Serious Sam Classic The First Encounter coop dedicated server.
.TP
\fBserioussamse-ded DefaultCoop\fR
\-\ For start Serious Sam Classic The Second Encounter coop dedicated server.
.TP
.SS COMMAND LINE OPTIONS
.nf
\fBserioussam(se)-ded\fR <Server Folder> [+game modname]
.fi
.SH BUGS
There is no multiplayer compatibility between Windows and *nix systems.
.SH AUTHOR
Alexander Pavlov <[email protected]>
33 changes: 33 additions & 0 deletions debian/serioussam-mkfont.6
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
.\" Manpage for serioussam-mkfont
.\" Contact -- Alexander Pavlov <[email protected]> to correct errors or typos.
.TH man 6 "02 2024" "1.0" "serioussam-mkfont man page"
.SH NAME
serioussam-mkfont \- Font tables maker for the game Serious Sam Classic TFE
.PP
.SH DESCRIPTION
.PP
.BR serioussam-mkfont
is utility for creating fonts for the game Serious Sam Classic TFE. With this utility you can create your own
fonts for the game. For example, this is how localization fonts were created for different languages.
The placement of the input files must be in the game data directory.
.PP
.SH SYNOPSIS
USAGE: serioussam-mkfont <texture_file> <char_width> <char_height> <char_order_file> [-A]
.PP
texture_file: FULL PATH to texture file that represents font
.PP
char_width: maximum width (in pixels) of single character
.PP
char_height: maximum height (in pixels) of single character
.PP
char_order_file: full path to ASCII file that shows
graphical order of character in font texture
.PP
-A: do not include alpha channel when determining character width
.PP
NOTES: - out file will have the name as texture file, but ".fnt" extension
- texture file must begin with character that will be a replacement for
each character that hasn't got definition in this texture file
.PP
.SH AUTHOR
Alexander Pavlov <[email protected]>
Loading

0 comments on commit bff4928

Please sign in to comment.