GamesServ for Win32

This commit is contained in:
Fish 2008-03-10 08:29:41 +00:00
parent f1f81a1cae
commit 5d572336e6
7 changed files with 458 additions and 144 deletions

5
.gitattributes vendored
View file

@ -22,9 +22,12 @@
/hilo_help.c -text
/install-sh -text
/modconfig.h.in -text
/modconfigwin32.h -text
/pulse.xml -text
/russian.c -text
/russian_help.c -text
/ttt.c -text
/ttt_help.c -text
win32/GamesServ.qsp -text
win32/buildwin32snap.bat -text
win32/modconfigwin32.h -text
win32/neostatsversion.rc -text

View file

@ -2,9 +2,9 @@
<VisualStudioProject
ProjectType="Visual C++"
Version="8.00"
Name="gamesserv"
ProjectGUID="{706D3E2D-EE72-4759-9A8A-569DFF3CDD79}"
RootNamespace="gamesserv"
Name="GamesServ"
ProjectGUID="{D4947737-CFE5-4368-92AF-B79C0F55D09B}"
RootNamespace="GamesServ"
Keyword="Win32Proj"
>
<Platforms>
@ -41,8 +41,8 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\dev\include;..\dev\lib\adns;;..\dev\lib\curl;..\dev\lib\pcre"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;gamesserv_EXPORTS"
AdditionalIncludeDirectories="..\dev\include;..\dev\lib\curl;..\dev\lib\pcre"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;GamesServ_EXPORTS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="0"
@ -63,14 +63,15 @@
<Tool
Name="VCLinkerTool"
AdditionalDependencies="Ws2_32.lib neostats.lib pcred.lib"
OutputFile="../dev/modules/gamesservd.dll"
OutputFile="../dev/modules/GamesServd.dll"
LinkIncremental="2"
AdditionalLibraryDirectories="C:\cygwin\home\Mark\nsdev\dev\lib;..\dev\src\Debug"
AdditionalLibraryDirectories="..\\dev\lib;..\dev\src\Debug"
IgnoreDefaultLibraryNames="LIBC"
GenerateDebugInformation="true"
ProgramDatabaseFile="$(OutDir)/gamesserv.pdb"
ProgramDatabaseFile="$(OutDir)/GamesServ.pdb"
SubSystem="2"
ResourceOnlyDLL="false"
ImportLibrary="$(OutDir)/gamesserv.lib"
ImportLibrary="$(OutDir)/GamesServ.lib"
TargetMachine="1"
/>
<Tool
@ -123,8 +124,8 @@
/>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\dev\include;..\dev\lib\adns;;..\dev\lib\curl;..\dev\lib\pcre"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;gamesserv_EXPORTS"
AdditionalIncludeDirectories="&quot;%programfiles%\NeoStats\include&quot;;&quot;C:\Program Files\NeoStats\include&quot;;win32"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;GamesServ_EXPORTS;LIBRARY_MODE;YY_NO_UNISTD_H;TALKFILTERS_EXPORTS"
RuntimeLibrary="0"
UsePrecompiledHeader="0"
WarningLevel="3"
@ -142,15 +143,16 @@
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="neostats.lib"
OutputFile="../gamesserv.dll"
AdditionalDependencies="Ws2_32.lib neostats.lib pcre.lib"
OutputFile="GamesServ.dll"
LinkIncremental="1"
AdditionalLibraryDirectories="..\dev\src\Release"
AdditionalLibraryDirectories="&quot;C:\program Files\NeoStats\libs&quot;"
IgnoreDefaultLibraryNames="LIBC"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
ImportLibrary="$(OutDir)/gamesserv.lib"
ImportLibrary="$(OutDir)/GamesServ.lib"
TargetMachine="1"
/>
<Tool
@ -188,47 +190,19 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=".\bomb.c"
RelativePath=".\events.c"
>
</File>
<File
RelativePath=".\bomb_help.c"
RelativePath=".\play.c"
>
</File>
<File
RelativePath=".\common.c"
RelativePath=".\GamesServ.c"
>
</File>
<File
RelativePath=".\gamesserv.c"
>
</File>
<File
RelativePath=".\gamesserv_help.c"
>
</File>
<File
RelativePath=".\hilo.c"
>
</File>
<File
RelativePath=".\hilo_help.c"
>
</File>
<File
RelativePath=".\russian.c"
>
</File>
<File
RelativePath=".\russian_help.c"
>
</File>
<File
RelativePath=".\ttt.c"
>
</File>
<File
RelativePath=".\ttt_help.c"
RelativePath=".\GamesServ_help.c"
>
</File>
</Filter>
@ -238,11 +212,11 @@
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath=".\gamesserv.h"
RelativePath=".\win32\modconfigwin32.h"
>
</File>
<File
RelativePath=".\modconfigwin32.h"
RelativePath=".\GamesServ.h"
>
</File>
</Filter>
@ -251,23 +225,11 @@
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
<File
RelativePath=".\win32\neostatsversion.rc"
>
</File>
</Filter>
<File
RelativePath=".\ChangeLog"
>
</File>
<File
RelativePath=".\License"
>
</File>
<File
RelativePath=".\README.GamesServ"
>
</File>
<File
RelativePath=".\Relnotes"
>
</File>
</Files>
<Globals>
</Globals>

126
pulse.xml
View file

@ -1,63 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<project default-recipe="default">
<recipe name="Configure">
<post-processor name="checkbuild.pp">
<gcc.pp name="gcc.pp"/>
<make.pp name="make.pp"/>
</post-processor>
<executable name="ShutUp Configure" exe="touch" args="${base.dir}/.hush"> </executable>
<executable name="run configure" exe="${base.dir}/configure" args="--enable-debug --disable-ccdv --enable-autodebug"> </executable>
<make name="build">
<process processor="${checkbuild.pp}"/>
</make>
</recipe>
<recipe name="SnapShowCheck">
<post-processor name="checkbuild.pp">
<gcc.pp name="gcc.pp"/>
<make.pp name="make.pp"/>
</post-processor>
<executable name="ShutUp Configure" exe="touch" args="${base.dir}/.hush"> </executable>
<executable name="run configure" exe="${base.dir}/configure" args="--enable-debug --disable-ccdv --enable-autodebug --with-distversion=${build.revision}"> </executable>
<make name="Build">
<process processor="${checkbuild.pp}"/>
</make>
<command name="Dist">
<make name="dist" targets="dist"/>
<artifact name="SnapShot" file="GamesServ-*.tar.gz"/>
</command>
</recipe>
<recipe name="Win32-Build">
<post-processor name="checkbuild.pp">
<regex.pp name="compile.pp">
<pattern category="error" expression="\\.[chl]\\([0-9]+\\): error"/>
<pattern category="warning" expression="\\.[chl]\\([0-9]+\\): warning"/>
</regex.pp>
</post-processor>
<resource name="Win32" required="true" version="1"/>
<command name="Build-Core">
<executable name="MSBuild core" exe="${MSBuildPath}\MSBuild.exe" args="GamesServ.sln /p:Configuration=Release">
<environment name="VCBUILD_DEFAULT_OPTIONS" value="/u"/>
<process processor="${checkbuild.pp}"/>
</executable>
</command>
</recipe>
<recipe name="Win32-Snapshow">
<post-processor name="checkbuild.pp">
<regex.pp name="compile.pp">
<pattern category="error" expression="\\.[chl]\\([0-9]+\\): error"/>
<pattern category="warning" expression="\\.[chl]\\([0-9]+\\): warning"/>
</regex.pp>
</post-processor>
<resource name="Win32" required="true" version="1"/>
<command name="Build-Core">
<executable name="MSBuild core" exe="${MSBuildPath}\MSBuild.exe" args="GamesServ.sln /p:Configuration=Release">
<environment name="VCBUILD_DEFAULT_OPTIONS" value="/u"/>
<process processor="${checkbuild.pp}"/>
</executable>
</command>
<command name="MakeDist">
<executable name="MakeSnap" exe="${base.dir}\\tools\\buildwin32snap.bat" args="${build.revision}"/>
<artifact name="GamesServ Setup File" file="${base.dir}\\tools\\GamesServ-Setup-*.exe"/>
</command>
</recipe>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project default-recipe="default">
<recipe name="Configure">
<post-processor name="checkbuild.pp">
<gcc.pp name="gcc.pp"/>
<make.pp name="make.pp"/>
</post-processor>
<executable name="ShutUp Configure" exe="touch" args="${base.dir}/.hush"> </executable>
<executable name="run configure" exe="${base.dir}/configure" args="--enable-debug --disable-ccdv --enable-autodebug"> </executable>
<make name="build">
<process processor="${checkbuild.pp}"/>
</make>
</recipe>
<recipe name="SnapShowCheck">
<post-processor name="checkbuild.pp">
<gcc.pp name="gcc.pp"/>
<make.pp name="make.pp"/>
</post-processor>
<executable name="ShutUp Configure" exe="touch" args="${base.dir}/.hush"> </executable>
<executable name="run configure" exe="${base.dir}/configure" args="--enable-debug --disable-ccdv --enable-autodebug --with-distversion=${build.revision}"> </executable>
<make name="Build">
<process processor="${checkbuild.pp}"/>
</make>
<command name="Dist">
<make name="dist" targets="dist"/>
<artifact name="SnapShot" file="GamesServ-*.tar.gz"/>
</command>
</recipe>
<recipe name="Win32-Build">
<post-processor name="checkbuild.pp">
<regex.pp name="compile.pp">
<pattern category="error" expression="\\.[chl]\\([0-9]+\\): error"/>
<pattern category="warning" expression="\\.[chl]\\([0-9]+\\): warning"/>
</regex.pp>
</post-processor>
<resource name="Win32" required="true" version="1"/>
<command name="Build-Core">
<executable name="MSBuild core" exe="${MSBuildPath}\MSBuild.exe" args="GamesServ.sln /p:Configuration=Release">
<environment name="VCBUILD_DEFAULT_OPTIONS" value="/u"/>
<process processor="${checkbuild.pp}"/>
</executable>
</command>
</recipe>
<recipe name="Win32-Snapshow">
<post-processor name="checkbuild.pp">
<regex.pp name="compile.pp">
<pattern category="error" expression="\\.[chl]\\([0-9]+\\): error"/>
<pattern category="warning" expression="\\.[chl]\\([0-9]+\\): warning"/>
</regex.pp>
</post-processor>
<resource name="Win32" required="true" version="1"/>
<command name="Build-Core">
<executable name="MSBuild core" exe="${MSBuildPath}\MSBuild.exe" args="GamesServ.sln /p:Configuration=Release">
<environment name="VCBUILD_DEFAULT_OPTIONS" value="/u"/>
<process processor="${checkbuild.pp}"/>
</executable>
</command>
<command name="MakeDist">
<executable name="MakeSnap" exe="${base.dir}\\win32\\buildwin32snap.bat" args="${build.revision}"/>
<artifact name="GamesServ Setup File" file="${base.dir}\\win32\\GamesServ-Setup-*.exe"/>
</command>
</recipe>
</project>

311
win32/GamesServ.qsp Normal file
View file

@ -0,0 +1,311 @@
[General]
FileVersion=1.1
FileType=QSetupIniFile
ComposerVersion=8.5.0.4
OperatingSystem=WinXP 5.1 2600 (Service Pack 2)
ProcessorNameString=Intel(R) Xeon(TM) CPU 2.40GHz
ComputerRAM=1534 MB
ProjectDrive=WIN (2.74 GB Free)
DateTime=10-MAR-2008 16:20:42
OutputType=EXE
Language=ENGLISH
License=PRO
[Project]
ProjectName=GamesServ
ProjectDirectory=win32
NonSFXDirectory=
MediaFileName=win32\GamesServ-Setup
CopyMediaToFName=
ProgramDescriptiveName=GamesServ for NeoStats
ProgramVersion=3.0.4.0
CompanyName=NeoStats
ProgVerLiveUpdate=1
RegisterAsApp=0
LanguageFlag=1
LanguageNames=|
UseNonSFXDir=0
ClrNonSFXDir=0
BuildNonSFXTree=0
CompressNonSFXFiles=0
ForceCopyNonSFXFiles=0
CompressionLevel=0
SetupWillExpire=0
ExpireByDate=0
ExpireByDays=1
ExpireDate=2008-03-07
ExpireDays=90
SpanCDs=0
SpanCDsSize=650
DebugWindow=0
DebugOnThisPC=1
DebugOnEveryPC=0
[Language]
[LanguageShortcut]
[LanguageCustomDLG]
[Display]
AddSetupBackground=1
SetupBackground3D=0
TopLabel=1
TopLabelVer=0
TopLabel2=0
BottomLabel=0
TopLabelText="GamesServ for NeoStats"
TopLabel2Text=""
BottomLabelText="Copyright © 2008"
BackgroundDesign=Windmill (Right)
TopBackgroundColor=16758613
BottomBackgroundColor=11613445
AddBottomColor=1
DlgBmp3DFrame=1
DialogStyle=Modern
AddDialogBitmap=0
DialogBitmapFileName=
AddBackgroundBitmap=0
BackgroundBitmapFileName=
BackgroundBitmapLocation=|Top/Left|0|0|
AddBackgroundWave=0
BgBmpTransparent=0
BackgroundWaveFileName=
BackgroundWaveLocation=|Center|300|0|
BackgroundWaveLoop=1
BackgroundWaveDelay=0
AddBackgroundWaveSlider=1
BackgroundWaveSliderType=Fixed
TopLabelSide=Left
TopLabel2Side=Left
BottomLabelSide=Left
DialogLocation=|Center|0|0|
TopLabelFont=|Tahoma|32|16777215|1|0|1|0|
TopLabel2Font=|Tahoma|16|16777215|1|0|1|0|
BottomLabelFont=|Tahoma|10|16777215|1|0|1|0|
CompanyUrl=
[TargetExe]
TargetDirectory=<ProgramFilesDir>NeoStats
CommonDirectory=<ProgramFilesDir>NeoStats\modules
AuxDirectory=<FontDir>
TargetExeName=<Common Folder>\GamesServ.dll
[Dialogs]
SelectedDialogs=*Welcome,*License,*Readme,User Information,Setup Type,Custom,*Destination,Associate,Shortcuts,*Confirm Setup,*Copy Files,*Complete
LicenseTextFile=COPYING
ReadmeTextFile=RELNOTES.win32.txt
ReadmeTextFile2=
UseNotepad=0
SpaceReqOnDriveCheckBox=0
SpaceReqOnDrive=
RequestUserName=1
RequestCompanyName=1
RequestSerialNumberAlso=0
MandatoryUserName=1
MandatoryCompanyName=1
MandatorySerialNumber=1
FromPcUserName=0
FromPcCompanyName=0
RequestSerialCheckDLL=0
SerialCheckDll=
RequestPredefinedSerial=0
CaseSensitiveSerial=0
RequestTokenizedSerial=0
CDSetup=0
ShowCompactSetupAlso=1
ForcePartialSetup=0
ShowProgBar2=1
SilentSetup=0
EnableCancelButton=1
HiddenSetup=0
ProposeReadme=0
ProposeLaunch=0
ProposeRestart=0
ProposeReadmeChecked=0
ProposeLaunchChecked=0
ForceRestart=0
ShowCloseRecommendation=1
ShowAdwareDisclaimer=0
ShowCopyrightWarning=1
[Shortcuts]
AddMainShortCut=0
ForceRemoveShortcutFolder=0
ProgramLinkFolder=GamesServ for NeoStats
ProgramLinkName=GamesServ
ProgramLinkParam=
ProgramLinkWorkDir=
ProgramLinkRun=Normal Window
ProgramLinkIconFile=
ProgramLinkIconNum=0
StartMenuLinkName=GamesServ for NeoStats
DesktopLinkName=GamesServ for NeoStats
SendToLinkName=GamesServ for NeoStats
StartUpLinkName=GamesServ for NeoStats
QuickLaunchLinkName=GamesServ for NeoStats
StartMenuCheckBox=0
DesktopCheckBox=0
SendToCheckBox=0
StartUpCheckBox=0
QuickLaunchCheckBox=0
StartMenuChecked=1
DesktopChecked=1
SendToChecked=1
StartUpChecked=1
QuickLaunchChecked=1
SetAllUsers=0
SelectedByEndUser=0
AddUninstallShortcut=1
UnInstallSubFolder=0
UnInstallSubFolderText=
[Billboard]
AddBillboard=0
Item-000=|1|0|0|1|0|Center|0|0|8388608|16711680|Verdana|14|16777215|1|0|360|360|0|1|0|1|
[SplitSetup]
SplitSetup=0
ForceDownload=1
DownloadURL_SPLIT=http://
ConfirmSplitDownload=0
[AutoUpdate]
AutoUpdate=0
CheckAUSetupEnd=0
RunAutoUpdate=1
AddAutoUpdateShortcut=1
AutoUpdateLog=0
AutoUpdateSubFolder=0
AutoUpdateSubFolderText=
ReqConfirmDownload=0
ReqConfirmInstall=0
ShutDownMethod=Don't Shut Down
BackgroundUpdate=0
RestartProcess=0
InformFinish=0
UpdateProjectFName=
DownloadURL_UPDATE=http:
NameOfUpdateFile=
RunningProcess=
VersionOriginal=1
ValidVersions=
VersionNew=1
ReAskDays=0
AutoUpdateProbeSpin=1
AutoUpdateProbeText=Only at Agent Start
SelectInformFile=1
DownloadUrlInform=1
DownloadURL_INFORM=http://
NameOfInformFile=
UpdateSetupPageIndex=0
AutoInformW=360
AutoInformH=360
[Switches]
OperatingSystems=All,95,98,ME,NT,2000,XP,2003,Vista
OverwriteFlag=1
CreateLogFile=0
ConfirmExtract=0
ShowActivityBar=1
TestAdminRights=1
TestAdminRightsUnInstall=1
SetAllowFullAccess=1
TestDotNetFramework=0
InstallDotNetFx=0
InstallDotNetFxText=
InstallDotNetFxUrl=0
InstallDotNetFxUrlText=http://
DotNetFrameworkReqVer=1.0,1.1,2.0
TestExeBeforeInstall=0
TestExeBeforeUnInstall=1
AutorunCreateInfFile=0
AutorunTest=0
AutorunStartApp=0
AddAppToRunOnce=0
AddAppToRun=0
IfPreviousInstallationFound=1
PreviousInstallationOp=UnInstall before Setup start
UnInstallPreviousMode=Silent
CreateUnInstall=0
ScrambleUnInstallData=0
SilentUnInstall=0
HiddenUnInstall=0
HideErrMsgUnInstall=0
HideLogBtnUnInstall=0
AddRemoveProgramsUnInstall=1
AddChangeButtonUnInstall=0
UnInstallExeStampSwitch=0
UnInstallExeStamp=
UnInstallExeDirSwitch=0
UnInstallExeDir=
[UnInstall]
UnInstallDisplayName=GamesServ for NeoStats
UnInstallDisplayIcon=
UnInstallDisplayIconNum=
UnInstallHelpLink=
UnInstallInfoAboutURL=
[Registry]
[IniFile]
[Environment]
[Association]
OpenWith=0
OpenWithName=
OpenWithMenuText=Open with
OpenWithExtensions=
[VerInfo]
CopyFromExe=0
DefineManually=0
Item-001=|Comments||
Item-002=|CompanyName||
Item-003=|FileDescription||
Item-004=|FileVersion||
Item-005=|InternalName||
Item-006=|LegalCopyright||
Item-007=|LegalTrademarks||
Item-008=|OriginalFilename||
Item-009=|ProductName||
Item-010=|ProductVersion||
CopyIconFromTargetExe=0
CopyIconFromOtherApp=0
OtherIconAppFileName=
Spin1=0
Spin2=0
[Execute]
ExecuteDllCheckBox=0
ExecutionDllFileName=
Exec-000=*||CheckNeoStats|Setup Start|10|Conditional|0|1|Application Found||0|0|0|File Found||0|0|0|File Found||1|Display Message||1|Exit||0|Display Message||0|Display Message||0|Display Message||0|Display Message||1|
Arg-000-1=neostats.exe
Arg-000-2==
Arg-000-6==
Arg-000-10==
Arg-000-13=NeoStats must be installed to install GamesServ
Exec-001=*||CheckingRunning|Setup Start|10|While Loop|0|0|Application is Running||0|0|0|File Found||0|0|0|File Found||1|Display Message||0|Display Message||0|Display Message||0|Display Message||0|Display Message||0|Display Message||1|
Arg-001-1=neostats.exe
Arg-001-2==
Arg-001-6==
Arg-001-10==
Arg-001-13=You must shutdown NeoStats before installing GamesServ
[MSI]
Version=1
AddMergeModule=0
Msm2MsiData=|MSM2MSI_GamesServ-Setup.exe.msi|1|1|1|0|
[GroupNames]
Group-000=Modules
[Group-000]
TypicalCompactData=15
Description=Modules
SizeInKB=0
Item-000=Fol*<Common Folder>
Item-001=Fil*GamesServ.dll

4
win32/buildwin32snap.bat Normal file
View file

@ -0,0 +1,4 @@
@echo off
IF EXIST win32\GamesServ-Setup*.exe del win32\GamesServ-Setup*.exe
"C:\Program Files\Pantaray\QSetup\Composer.exe" win32\GamesServ.qsp /Compile /Exit
move win32\GamesServ-Setup.exe win32\GamesServ-Setup-3-0-a4-%1.exe

View file

@ -1,15 +1,20 @@
/* modconfig.h. Generated by configure. */
/* define this to enable debug code for this module */
/* #undef DEBUG */
/* Version number of package */
#define MODULE_VERSION "3.0.a3-dev"
/* Major Version */
#define MODULE_MAJOR "3"
/* Minor Version */
#define MODULE_MINOR "0"
/* Revision */
#define MODULE_REV "a3-dev"
/* modconfig.h. Generated by configure. */
/* define this to enable debug code for this module */
/* #undef DEBUG */
/* Version number of package */
#define MODULE_VERSION "3.0.a4"
/* Major Version */
#define MODULE_MAJOR "3"
/* Minor Version */
#define MODULE_MINOR "0"
/* Revision */
#define MODULE_REV "a4"
/* "Full Version" */
#define MOD_VERSION "3.0.a4"
#define MOD_WIN32VER "3,0,a4,0"
#define MOD_WIN32VERN 3,0,0

29
win32/neostatsversion.rc Normal file
View file

@ -0,0 +1,29 @@
#include "modconfigwin32.h"
1 VERSIONINFO
FILEVERSION MOD_WIN32VERN
PRODUCTVERSION MOD_WIN32VERN
FILEFLAGSMASK 0x3fL
FILEFLAGS 0x1L
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040704e4"
BEGIN
VALUE "CompanyName", "NeoStats"
VALUE "Copyright (C) 2008", "Copyright (c) 1999-2008 Justin Hammond, Mark Hetherington, Jeff Lang"
VALUE "FileDescription", "NeoStats IRC Services"
VALUE "FileVersion", MOD_WIN32VER
VALUE "InternalName", "gamesserv.dll"
VALUE "OriginalFilename", "gamesserv.dll"
VALUE "ProductName", "GamesServ for win32"
VALUE "ProductVersion", MOD_WIN32VER
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x407, 1252
END
END