View | Details | Raw Unified | Return to bug 125910 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-50 / +99 lines)
Lines 6-70 Link Here
6
#
6
#
7
7
8
PORTNAME=	ssamtse
8
PORTNAME=	ssamtse
9
PORTVERSION=	b1
9
PORTVERSION=	1.07b1
10
PORTREVISION=	2
10
CATEGORIES=	games linux
11
CATEGORIES=	games
11
MASTER_SITES=	http://liflg.0wnitsch.de/files/final/
12
MASTER_SITES=	# must fetch manually
12
PKGNAMEPREFIX=	linux-
13
DISTFILES=	${PORTNAME}-${PORTVERSION:S|b|beta|}.sh.bin
13
DISTFILES=	${PORTNAME:S|ssam|serious.sam.|}_${PORTVERSION:S|b|beta|}-english-2.run
14
EXTRACT_ONLY=
15
14
16
MAINTAINER=	ports@logvinov.com
15
MAINTAINER=	ports@logvinov.com
17
COMMENT=	Serious Sam - The Second Encounter
16
COMMENT=	Serious Sam: The Second Encounter for Linux
17
18
RUN_DEPENDS=	${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12
19
20
OPTIONS=	VORBIS	"Ogg playing support"	on
18
21
19
NO_BUILD=	yes
20
USE_BZIP2=	yes
21
USE_LINUX=	yes
22
USE_LINUX=	yes
22
USE_XLIB=	yes
23
USE_XLIB=	yes
23
USE_GL=		yes
24
NO_BUILD=	yes
24
USE_LDCONFIG=	yes
25
NO_PACKAGE=	Distribution is 352MB; set FORCE_PACKAGE if you really want\
25
NO_PACKAGE=	yes	# distfiles must be downloaded manually, wierd legal issues etc etc etc.
26
		to build this package
26
27
RESTRICTED=	Redistribution is limited, see license
27
SSAMDIR=	${PREFIX}/ssam
28
PORTDOCS=	README.liflg ShellSymbols.txt changes.txt Notes_1_04.txt
28
SERIOUS_MHZ?=	1000
29
SUB_FILES=	pkg-message
29
PKGMESSAGE=	${WRKDIR}/pkgmsg
30
30
31
.include <bsd.port.pre.mk>
31
ONLY_FOR_ARCHS=	i386
32
32
33
.if defined(WITH_VORBIS)
33
pre-fetch:
34
RUN_DEPENDS+=	${LINUXBASE}/usr/lib/libvorbis.so.0:${PORTSDIR}/audio/linux-libvorbis
34
	@if test ! -e "${DISTDIR}/${DISTFILES}"; then \
35
PLIST_SUB+=	VORBIS=""
35
		${ECHO_MSG} "Warning: you should fetch distfiles for this port"; \
36
.else
36
		${ECHO_MSG} "manually! Google for 'serious sam linux', and get"; \
37
PLIST_SUB+=	VORBIS="@comment "
37
		${ECHO_MSG} "following files into distdir:"; \
38
		${ECHO_MSG} "	${DISTFILES}"; \
39
		${ECHO_MSG} "I'll enable auto-fetch, when licensing issues"; \
40
		${ECHO_MSG} "become clear"; \
41
		${FALSE}; \
42
	fi
43
44
post-extract:
45
.if !exists("${WRKDIR}/ssam/")
46
	@${ECHO} n | ${SH} ${DISTDIR}/${DISTFILES} --keep --nox11 --confirm \
47
		--target ${WRKDIR}/ssam
48
	@${ECHO_MSG} ""
49
.endif
38
.endif
50
	@${MKDIR} ${WRKSRC}
39
51
	@${TAR} -C ${WRKSRC} -xzf ${WRKDIR}/ssam/setupstuff.tar.gz
40
# Gold Edition
41
.if exists(${CDROM_MOUNT}/Install/SEGold_DM.gro)
42
PLIST_SUB+=	GOLD=""
43
.else
44
PLIST_SUB+=	GOLD="@comment "
45
.endif
46
47
do-extract:
48
	@${MKDIR} ${WRKSRC}/Data
49
	@cd ${WRKSRC} && ${SED} -e '1,/exit $$res/d' ${_DISTDIR}/${DISTFILES} |\
50
		${GUNZIP_CMD} -q | ${TAR} xf -
51
	@${TAR} jx -C ${WRKSRC}/Data -f ${WRKSRC}/bins.tar.bz2
52
52
53
post-patch:
53
post-patch:
54
	@${REINPLACE_CMD} -e 's|%SSAMTSE_DATA_PATH%|${SSAMDIR}/Bin|g' \
54
	@${REINPLACE_CMD} -e "s|^\(GAMEDIR=\).*|\1\"${DATADIR}\"|" \
55
		-e 's|%SERIOUS_MHZ%|${SERIOUS_MHZ}|g' \
55
		-e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/${PORTNAME}
56
		${WRKSRC}/bin/ssamtse
57
	@${SED} 's|%SSAMDIR%|${SSAMDIR}|g' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
58
56
59
do-install:
57
do-install:
60
# XXX: this is missing "${BRANDELF} -t Linux <executables>"
58
.if !defined(CDROM_MOUNT)
61
	@${MKDIR} ${SSAMDIR}
59
	@${ECHO_CMD} "${PKGNAME} requires CDROM_MOUNT set to mount point of CD"
62
	@${TAR} --bzip2 -C ${SSAMDIR} -xf \
60
	@${FALSE}
63
		${WRKDIR}/ssam/bins.tar.bz2
61
.endif
64
	@${LN} -sf ${SSAMDIR}/Bin/libogg.so ${SSAMDIR}/Bin/libogg.so.0
62
.if !exists(${CDROM_MOUNT}/Install/Mods/SecondEncounterTbn.tex)
65
	@${LN} -sf ${SSAMDIR}/Bin/libGameMP.so ${SSAMDIR}/Bin/libGame.so
63
	@${ECHO_CMD} "${PKGNAME} requires a retail Second Encounter disc"
66
	@${LN} -sf ${SSAMDIR}/Bin/libEntitiesMP.so ${SSAMDIR}/Bin/libEntities.so
64
	@${FALSE}
67
	@${INSTALL_SCRIPT} ${WRKSRC}/bin/ssamtse ${PREFIX}/bin/ssamtse
65
.endif
66
	@${MKDIR} ${DATADIR}/Mods
67
.for gro in "" _Extra _ExtraTools _Levels _Music
68
	${INSTALL_DATA} "${CDROM_MOUNT}/Install/SE1_00${gro}.gro" ${DATADIR}/SE1_00${gro}.gro
69
.endfor
70
	${INSTALL_DATA} "${CDROM_MOUNT}/Install/Mods/SecondEncounterTbn.tex" ${DATADIR}/Mods/SecondEncounterTbn.tex
71
.for dir in Controls Data Scripts VirtualTrees Worlds Demos
72
	@cd ${CDROM_MOUNT}/Install && \
73
		${FIND} ${dir} -type d -exec \
74
			${MKDIR} "${DATADIR}/{}" \; && \
75
		${FIND} ${dir} -type f -exec \
76
			${INSTALL_DATA} "${CDROM_MOUNT}/Install/{}" "${DATADIR}/{}" \;
77
.endfor
78
	@${MKDIR} ${DATADIR}/Help
79
.for i in ${PORTDOCS:NREADME.liflg}
80
	${INSTALL_DATA} "${CDROM_MOUNT}/Install/Help/${i}" ${DATADIR}/Help/${i}
81
.endfor
82
.for dir in Data/Var Levels
83
	@cd ${WRKSRC} && \
84
		${FIND} ${dir} -type d -exec \
85
			${MKDIR} "${DATADIR}/{}" \; && \
86
		${FIND} ${dir} -type f -exec \
87
			${INSTALL_DATA} "${WRKSRC}/{}" "${DATADIR}/{}" \;
88
.endfor
89
	@${MKDIR} ${DATADIR}/Bin
90
	@cd ${WRKSRC}/Data && \
91
		${FIND} Bin -type f -exec \
92
			${INSTALL_PROGRAM} "${WRKSRC}/Data/{}" "${DATADIR}/{}" \;
93
	${BRANDELF} -t Linux ${DATADIR}/Bin/ssam_*
94
	${INSTALL_DATA} ${WRKSRC}/ModExt.txt ${DATADIR}
95
	${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
96
.if defined(WITH_VORBIS)
97
	${LN} -fs ${LINUXBASE}/usr/lib/libvorbisfile.so.3 ${DATADIR}/Bin/libvorbisfile.so
98
.endif
99
	@${FIND} -E ${DATADIR} -type f \
100
		-iregex ".*\.(ctl|txt|lst|ini|cfg|des|reg)" \
101
		! -iregex ".*ModExt.txt" \
102
		-exec ${SH} -c "${SED} "s/`printf '\r'`//" '{}' \
103
		>${WRKDIR}/tmp.txt; ${MV} ${WRKDIR}/tmp.txt '{}'" \;
104
	@${ECHO} SERIOUS_MHZ=2000 > ${PREFIX}/etc/${PORTNAME}.conf.sample
105
.if !exists(${PREFIX}/etc/${PORTNAME}.conf)
106
	${INSTALL_DATA} ${PREFIX}/etc/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}.conf
107
.endif
108
.if !defined(NOPORTDOCS)
109
	@${MKDIR} ${DOCSDIR}
110
	${INSTALL_DATA} -p ${WRKSRC}/README.liflg ${DOCSDIR}
111
.for i in ${PORTDOCS:NREADME.liflg}
112
	${LN} -sf ${DATADIR}/Help/${i} ${DOCSDIR}/${i}
113
.endfor
114
.endif
115
116
post-install:
68
	@${CAT} ${PKGMESSAGE}
117
	@${CAT} ${PKGMESSAGE}
69
118
70
.include <bsd.port.mk>
119
.include <bsd.port.post.mk>
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (ssamtse-beta1.sh.bin) = 38ba5a60f9f7132a25f92f8aa40c1ba0
1
MD5 (serious.sam.tse_1.07beta1-english-2.run) = fc8a19d81c61e12d181254c593408587
2
SHA256 (ssamtse-beta1.sh.bin) = 4be124430c5d013842b97287623e0aed83d2003eeb619abbcb286bc95e036304
2
SHA256 (serious.sam.tse_1.07beta1-english-2.run) = fbc5c69196f03ca433b08f3debdd37751254a0b59f7cbcce63147a5dda5c48f7
3
SIZE (ssamtse-beta1.sh.bin) = 7952607
3
SIZE (serious.sam.tse_1.07beta1-english-2.run) = 10681201
(-)pkg-descr (-7 / +18 lines)
Lines 1-8 Link Here
1
Sam is back in the all new Second Episode of his
1
Serious Sam: Second Encounter introduces three worlds where cyberpunk
2
battles with his arch-enemy Mental! After finding
2
once again meets fantasy fiction, and features frantic action in
3
the Sirian spacecraft in ancient Egypt, Sam
3
12 massive single player levels. The Second Encounter includes three
4
"Serious" Stonr hijacked it and headed for Mental
4
new episodes based in beautifully detailed ancient civilizations: South America,
5
himself!
5
Babylon, and The Medieval Age. With fourteen total weapons at his disposal,
6
three brand new, Sam is more serious than ever. He battles against hordes of
7
old enemies and seven adversarial species in an effort to reach the Mental
8
once and for all.
6
9
7
Warning: You still need original game data files
10
Having successfully defeated the Mental forces in ancient Egypt,
8
to play.
11
Sam "Serious" Stone seizes an abandoned spacecraft. On course in his crusade
12
to finally assassinate the great evil Mental, our hero's spaceship suddenly
13
tumbles into the South American Mountains - Sam seems destined to stay on Earth.
14
He must fight the tougher, now more experienced members of Mental's destructive
15
forces and find a new way to reach the notorious Mental himself.
16
17
You need an original game CD to use this port.
18
19
WWW: http://www.croteam.com/
(-)pkg-message (-11 lines)
Removed Link Here
1
Serious Sam - The Second Encounter linux binaries are now
2
installed. But it's up to you to copy SSam data files
3
to %SSAMDIR%.
4
5
Also, you need to edit ssamtse executable (this is a shell
6
script) to set correct CPU frequency in SERIOUS_MHZ variable.
7
This variable can also be passed to make at port build time.
8
9
I hope, this will be fixed someday...
10
(especially if someone mails me file list
11
of original game CD)
(-)pkg-plist (-19 / +211 lines)
Lines 1-20 Link Here
1
@unexec if cmp -s %D/etc/ssamtse.conf %D/etc/ssamtse.conf.sample; then rm -f %D/etc/ssamtse.conf; fi
1
bin/ssamtse
2
bin/ssamtse
2
ssam/Bin/libEntitiesMP.so
3
etc/ssamtse.conf.sample
3
ssam/Bin/libamp11lib.so
4
@exec [ -f %B/ssamtse.conf ] || cp %B/%f %B/ssamtse.conf
4
ssam/Bin/libvorbis.so
5
%%DATADIR%%/ModExt.txt
5
ssam/Bin/ssam_lnx.dynamic
6
%%DATADIR%%/SE1_00.gro
6
ssam/Bin/libGameMP.so
7
%%DATADIR%%/SE1_00_Extra.gro
7
ssam/Bin/libvorbisfile.so
8
%%DATADIR%%/SE1_00_ExtraTools.gro
8
ssam/Bin/ssam_lnxded
9
%%DATADIR%%/SE1_00_Levels.gro
9
ssam/Bin/libShaders.so
10
%%DATADIR%%/SE1_00_Music.gro
10
ssam/Bin/libogg.so
11
%%DATADIR%%/Bin/libEntitiesMP.so
11
ssam/Bin/ssam_lnx
12
%%DATADIR%%/Bin/libGameMP.so
12
ssam/Bin/ssam_lnxded.dynamic
13
%%DATADIR%%/Bin/libShaders.so
13
@exec ln -sf %D/ssam/Bin/libogg.so %D/ssam/Bin/libogg.so.0
14
%%DATADIR%%/Bin/libamp11lib.so
14
@exec ln -sf %D/ssam/Bin/libGameMP.so %D/ssam/Bin/libGame.so
15
%%VORBIS%%%%DATADIR%%/Bin/libvorbisfile.so
15
@exec ln -sf %D/ssam/Bin/libEntitiesMP.so %D/ssam/Bin/libEntities.so
16
%%DATADIR%%/Bin/ssam_lnx
16
@unexec rm %D/ssam/Bin/libogg.so.0 2>&1 >/dev/null || true
17
%%DATADIR%%/Bin/ssam_lnx.dynamic
17
@unexec rm %D/ssam/Bin/libGame.so 2>&1 >/dev/null || true
18
%%DATADIR%%/Bin/ssam_lnxded
18
@unexec rm %D/ssam/Bin/libEntities.so 2>&1 >/dev/null || true
19
%%DATADIR%%/Bin/ssam_lnxded.dynamic
19
@dirrm ssam/Bin
20
%%DATADIR%%/Controls/00-Default.ctl
20
@dirrm ssam
21
%%DATADIR%%/Controls/01-Keyboard.ctl
22
%%DATADIR%%/Controls/02-PantherXL.ctl
23
%%DATADIR%%/Controls/03-Wingman Extreme.ctl
24
%%DATADIR%%/Controls/04-Wingman GamePad.ctl
25
%%DATADIR%%/Controls/05-2nd Mouse.ctl
26
%%DATADIR%%/Controls/10-DEN.ctl
27
%%DATADIR%%/Controls/System/Common.ctl
28
%%DATADIR%%/Data/Default.ifr
29
%%DATADIR%%/Data/Defaults/WorldEditor.reg
30
%%DATADIR%%/Data/IFeel.txt
31
%%DATADIR%%/Data/Logitech.ifr
32
%%DATADIR%%/Data/SED_TipOfTheDay.txt
33
%%DATADIR%%/Data/Var/DefaultPlayer.var
34
%%DATADIR%%/Data/Var/ModName.var
35
%%DATADIR%%/Data/Var/Sam_Version.var
36
%%DATADIR%%/Demos/Default.ini
37
%%DATADIR%%/Demos/auto-demo0001.dem
38
%%DATADIR%%/Demos/auto-demo0001.ini
39
%%DATADIR%%/Demos/auto-demo0001Tbn.tex
40
%%DATADIR%%/Demos/auto-demo0002.dem
41
%%DATADIR%%/Demos/auto-demo0002.ini
42
%%DATADIR%%/Demos/auto-demo0002Tbn.tex
43
%%DATADIR%%/Demos/auto-demo0003.dem
44
%%DATADIR%%/Demos/auto-demo0003.ini
45
%%DATADIR%%/Demos/auto-demo0003Tbn.tex
46
%%DATADIR%%/Demos/auto-demoMP0001.dem
47
%%DATADIR%%/Demos/auto-demoMP0001.ini
48
%%DATADIR%%/Demos/auto-demoMP0001Tbn.tex
49
%%DATADIR%%/Demos/auto-demoMP0002.dem
50
%%DATADIR%%/Demos/auto-demoMP0002.ini
51
%%DATADIR%%/Demos/auto-demoMP0002Tbn.tex
52
%%DATADIR%%/Help/ShellSymbols.txt
53
%%DATADIR%%/Help/changes.txt
54
%%DATADIR%%/Help/Notes_1_04.txt
55
%%DATADIR%%/Levels/TechTest.tbn
56
%%DATADIR%%/Levels/TechTest.wld
57
%%DATADIR%%/Levels/TechTestTbn.tex
58
%%DATADIR%%/Mods/SecondEncounterTbn.tex
59
%%DATADIR%%/Scripts/Addons/Default.ini
60
%%DATADIR%%/Scripts/Addons/Extreme.ini
61
%%DATADIR%%/Scripts/Addons/SFX-AutoAdjust.ini
62
%%DATADIR%%/Scripts/Addons/SSam_Voodoo2.ini
63
%%DATADIR%%/Scripts/Addons/SafeMode.ini
64
%%DATADIR%%/Scripts/Commands/kick.ini
65
%%DATADIR%%/Scripts/Commands/list.ini
66
%%DATADIR%%/Scripts/Commands/rkick.ini
67
%%DATADIR%%/Scripts/Commands/rlist.ini
68
%%DATADIR%%/Scripts/CustomOptions/GFX-AdvancedRendering.cfg
69
%%DATADIR%%/Scripts/CustomOptions/NET-PredictionOptions.cfg
70
%%DATADIR%%/Scripts/Dedicated/DefaultCoop/1_begin.ini
71
%%DATADIR%%/Scripts/Dedicated/DefaultCoop/1_end.ini
72
%%DATADIR%%/Scripts/Dedicated/DefaultCoop/init.ini
73
%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/1_begin.ini
74
%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/1_end.ini
75
%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/2_begin.ini
76
%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/2_end.ini
77
%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/3_begin.ini
78
%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/3_end.ini
79
%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/4_begin.ini
80
%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/4_end.ini
81
%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/5_begin.ini
82
%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/5_end.ini
83
%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/6_begin.ini
84
%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/6_end.ini
85
%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/7_begin.ini
86
%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/7_end.ini
87
%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/8_begin.ini
88
%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/8_end.ini
89
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/9_begin.ini
90
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/9_end.ini
91
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/10_begin.ini
92
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/10_end.ini
93
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/11_begin.ini
94
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/11_end.ini
95
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/12_begin.ini
96
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/12_end.ini
97
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/13_begin.ini
98
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/13_end.ini
99
%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/init.ini
100
%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/1_begin.ini
101
%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/1_end.ini
102
%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/2_begin.ini
103
%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/2_end.ini
104
%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/3_begin.ini
105
%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/3_end.ini
106
%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/4_begin.ini
107
%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/4_end.ini
108
%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/5_begin.ini
109
%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/5_end.ini
110
%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/6_begin.ini
111
%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/6_end.ini
112
%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/7_begin.ini
113
%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/7_end.ini
114
%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/8_begin.ini
115
%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/8_end.ini
116
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/9_begin.ini
117
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/9_end.ini
118
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/10_begin.ini
119
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/10_end.ini
120
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/11_begin.ini
121
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/11_end.ini
122
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/12_begin.ini
123
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/12_end.ini
124
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/13_begin.ini
125
%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/13_end.ini
126
%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/init.ini
127
%%DATADIR%%/Scripts/Dedicated_startup.ini
128
%%DATADIR%%/Scripts/GLSettings/3Dfx-V1.ini
129
%%DATADIR%%/Scripts/GLSettings/3Dfx-V2.ini
130
%%DATADIR%%/Scripts/GLSettings/3Dfx-V3.ini
131
%%DATADIR%%/Scripts/GLSettings/3Dfx-V5.ini
132
%%DATADIR%%/Scripts/GLSettings/ATI-Maxx.ini
133
%%DATADIR%%/Scripts/GLSettings/ATI-R128.ini
134
%%DATADIR%%/Scripts/GLSettings/ATI-RPRO.ini
135
%%DATADIR%%/Scripts/GLSettings/ATI-Radeon.ini
136
%%DATADIR%%/Scripts/GLSettings/Default.ini
137
%%DATADIR%%/Scripts/GLSettings/GLSettings.lst
138
%%DATADIR%%/Scripts/GLSettings/I-i740.ini
139
%%DATADIR%%/Scripts/GLSettings/I-i752.ini
140
%%DATADIR%%/Scripts/GLSettings/Initial.ini
141
%%DATADIR%%/Scripts/GLSettings/MGA-G200.ini
142
%%DATADIR%%/Scripts/GLSettings/MGA-G400.ini
143
%%DATADIR%%/Scripts/GLSettings/NV-GF.ini
144
%%DATADIR%%/Scripts/GLSettings/NV-TNT.ini
145
%%DATADIR%%/Scripts/GLSettings/PVR-Kyro.ini
146
%%DATADIR%%/Scripts/GLSettings/RAM.ini
147
%%DATADIR%%/Scripts/GLSettings/S3-S2K.ini
148
%%DATADIR%%/Scripts/GLSettings/S3-S4.ini
149
%%DATADIR%%/Scripts/Game_startup.ini
150
%%DATADIR%%/Scripts/NetSettings/56-normal.ini
151
%%DATADIR%%/Scripts/NetSettings/56k-quality.ini
152
%%DATADIR%%/Scripts/NetSettings/DSLCable.ini
153
%%DATADIR%%/Scripts/NetSettings/ISDN.ini
154
%%DATADIR%%/Scripts/NetSettings/LAN.ini
155
%%DATADIR%%/Scripts/NetSettings/OldModem.ini
156
%%DATADIR%%/Scripts/PersistentSymbols.ini
157
%%DATADIR%%/Scripts/WorldEditorKeys/F2.ini
158
%%DATADIR%%/Scripts/WorldEditorKeys/F3.ini
159
%%DATADIR%%/Scripts/WorldEditorKeys/F4.ini
160
%%DATADIR%%/Scripts/WorldEditorKeys/MiddleMouse.ini
161
%%DATADIR%%/Scripts/WorldEditorKeys/Shift_F2.ini
162
%%DATADIR%%/Scripts/WorldEditorKeys/Shift_F3.ini
163
%%DATADIR%%/Scripts/WorldEditorKeys/Shift_F4.ini
164
%%DATADIR%%/Scripts/WorldEditorKeys/vssver.scc
165
%%DATADIR%%/Scripts/menu/ApplyShadowmaps.ini
166
%%DATADIR%%/Scripts/menu/ApplyTextures.ini
167
%%DATADIR%%/Scripts/menu/ApplyVideo.ini
168
%%DATADIR%%/Scripts/menu/GameOptions.cfg
169
%%DATADIR%%/Scripts/menu/RenderingOptions.cfg
170
%%DATADIR%%/Scripts/menu/SPOptions.cfg
171
%%DATADIR%%/VirtualTrees/BasicVirtualTree.vrt
172
%%DATADIR%%/Worlds/TemplatesSE/MiscBabylon.tbn
173
%%DATADIR%%/Worlds/TemplatesSE/MiscBabylon.wld
174
%%DATADIR%%/Worlds/TemplatesSE/MiscGothic.tbn
175
%%DATADIR%%/Worlds/TemplatesSE/MiscGothic.wld
176
%%DATADIR%%/Worlds/TemplatesSE/MiscSouthAmerica.tbn
177
%%DATADIR%%/Worlds/TemplatesSE/MiscSouthAmerica.wld
178
%%DATADIR%%/Worlds/TemplatesSE/Statues.tbn
179
%%DATADIR%%/Worlds/TemplatesSE/Statues.wld
180
%%DATADIR%%/Worlds/TemplatesSE/StatuesBabylon.tbn
181
%%DATADIR%%/Worlds/TemplatesSE/StatuesBabylon.wld
182
%%DATADIR%%/Worlds/TemplatesSE/StatuesGothic.tbn
183
%%DATADIR%%/Worlds/TemplatesSE/StatuesGothic.wld
184
%%DATADIR%%/Worlds/TemplatesSE/StatuesSouthAmerica.tbn
185
%%DATADIR%%/Worlds/TemplatesSE/StatuesSouthAmerica.wld
186
@dirrmtry %%DATADIR%%/Bin
187
@dirrmtry %%DATADIR%%/Controls/System
188
@dirrmtry %%DATADIR%%/Controls
189
@dirrmtry %%DATADIR%%/Data/Defaults
190
@dirrmtry %%DATADIR%%/Data/Var
191
@dirrmtry %%DATADIR%%/Data
192
@dirrmtry %%DATADIR%%/Demos
193
@dirrmtry %%DATADIR%%/Help
194
@dirrmtry %%DATADIR%%/Levels/LevelsMP
195
@dirrmtry %%DATADIR%%/Levels
196
@dirrmtry %%DATADIR%%/Mods
197
@dirrmtry %%DATADIR%%/Scripts/Addons
198
@dirrmtry %%DATADIR%%/Scripts/Commands
199
@dirrmtry %%DATADIR%%/Scripts/CustomOptions
200
@dirrmtry %%DATADIR%%/Scripts/Dedicated/DefaultCoop
201
@dirrmtry %%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE
202
@dirrmtry %%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE
203
@dirrmtry %%DATADIR%%/Scripts/Dedicated
204
@dirrmtry %%DATADIR%%/Scripts/GLSettings
205
@dirrmtry %%DATADIR%%/Scripts/menu
206
@dirrmtry %%DATADIR%%/Scripts/NetSettings
207
@dirrmtry %%DATADIR%%/Scripts/WorldEditorKeys
208
@dirrmtry %%DATADIR%%/Scripts
209
@dirrmtry %%DATADIR%%/VirtualTrees
210
@dirrmtry %%DATADIR%%/Worlds/TemplatesSE
211
@dirrmtry %%DATADIR%%/Worlds
212
@dirrmtry %%DATADIR%%
(-)files/patch-bin_ssamtse (-21 lines)
Removed Link Here
1
--- bin/ssamtse.orig	Fri Mar 14 07:07:05 2003
2
+++ bin/ssamtse	Tue Nov 25 09:14:55 2003
3
@@ -3,6 +3,8 @@
4
 # Serious Sam: The Second Encounter startup script
5
 #
6
 
7
+SSAMTSE_DATA_PATH=/usr/local/ssam/Bin
8
+
9
 # Function to find the real directory a program resides in.
10
 # Feb. 17, 2000 - Sam Lantinga, Loki Entertainment Software
11
 FindPath()
12
@@ -41,6 +43,9 @@
13
 
14
 LD_LIBRARY_PATH=.:${SSAMTSE_DATA_PATH}:${LD_LIBRARY_PATH}
15
 export LD_LIBRARY_PATH
16
+
17
+export __GL_SINGLE_THREADED=yes
18
+export SERIOUS_MHZ=%SERIOUS_MHZ%
19
 
20
 # Let's boogie!
21
 if [ -x "${SSAMTSE_DATA_PATH}/ssam_lnx" ]
(-)files/patch-ssamtse (+27 lines)
Added Link Here
1
--- bin/ssamtse.orig	2008-05-18 23:51:30.000000000 +1000
2
+++ bin/ssamtse	2008-05-18 23:58:42.000000000 +1000
3
@@ -1,4 +1,4 @@
4
-#!/bin/bash
5
+#!/bin/sh
6
 ###############################################################################
7
 #
8
 ## LIFLG Startup Script
9
@@ -49,6 +49,18 @@
10
 ###############################################################################
11
 ## DO NOT EDIT BELOW THIS LINE
12
 ###############################################################################
13
+
14
+# config file
15
+if [ -r %%PREFIX%%/etc/ssamtse.conf ]; then
16
+    . %%PREFIX%%/etc/ssamtse.conf
17
+fi    
18
+if [ -n "${SERIOUS_MHZ}" ]; then
19
+	export SERIOUS_MHZ
20
+else
21
+	echo "Can't get CPU speed. Please set SERIOUS_MHZ variable in %%PREFIX%%/etc/ssamtse.conf"
22
+	exit 1
23
+fi
24
+
25
 export LANG="POSIX"
26
 
27
 test -n "${SDL_AUDIODRIVER}" && export SDL_AUDIODRIVER
(-)files/pkg-message.in (+8 lines)
Added Link Here
1
2
You need to edit %%PREFIX%%/etc/ssamtse.conf
3
to set correct CPU frequency in SERIOUS_MHZ variable.
4
5
Run the game using:
6
7
# ssamtse
8

Return to bug 125910