Commit Graph

168 Commits

Author SHA1 Message Date
Colton G. Rushton
22722f2108 Add .gitignore to msvc10 folder 2019-08-28 01:13:18 -03:00
Colton G. Rushton
afb102a8b6 Updated .gitgnore to latest GitHub template 2019-08-28 01:13:18 -03:00
kungfooman
b0d2b141e7 Add .gitignore for misc/msvc12 2018-12-14 10:00:58 +00:00
Zack Middleton
1b1d0c55f6 Fix Linux uninstaller redirecting stderr to stdout in preuninstall.sh
Last commit accidently made stderr redirect to stdout tty instead of
/dev/null.

Reported by @illwieckz.
2018-06-03 16:23:46 -05:00
Zack Middleton
466952b320 Fix Linux uninstaller requiring Bash
Linux loki-setup uninstaller is failing on distros that have /bin/sh
linked to Dash instead of Bash. Use standard shell method for
redirecting stdout and stderr instead of a Bash specific method.
2018-06-03 15:47:39 -05:00
Zack Middleton
8611eb421d Rename (already updated) opus-1.1.4 to opus-1.2.1 2018-03-16 13:29:19 -05:00
Zack Middleton
cb24c59567 Update opus from 1.1.4 to 1.2.1 2018-03-16 13:29:19 -05:00
Zack Middleton
ad10e6610c Changes to systemd q3a.service
Use an absolute path as required by systemd. Distro packages will need
to change it. (Reported by @andreyv and @zeroxfourc.)
Link to server documentation on the wiki instead of maintaining a subset
in the service file.
2018-02-04 07:51:17 -06:00
Zack Middleton
acce0e5452 Fix building msvc12 project
* Don't try to embed manifest (it causes build to fail because it's
  specified in win_resource.rc).
* Fix curl include path.
* Compile sys_autoupdater.c.
* Make quake3 debug link to msvcrtd.lib instead of msvcrt.lib to fix
  unresolved external symbol __imp___CrtDbgReportW.
* Fix q3_ui dll output directory.
* Fix opus path filter.
* Use UseOfMfc false and CharacterSet NotSet.
* Fix header paths and remove non-existent files.
2018-01-30 07:40:09 -06:00
Matt Palmer
14cb72f912 Improvements to the linux build script
In no particular order:

* Use `set -e`, because it prevents accidents, and means we can avoid
  lengthy &&-joined command chains.
* Override defaults by setting env vars; this means people don't have to
  edit the script to change things.
* Use an unpredictable and safely-created tmpdir for building; ain't nobody
  wants to cleanup from a tmpdir race condition attack.
* Test for the presence of `git` and `make` *before* asking questions, and
  only prompt the user about them if they're missing.  No need to bother
  people with unnecessary reading.
* Automatically clean up the build directory after use.
* Tidy up some indenting that had come asunder.
2017-11-21 23:07:54 -06:00
Zack Middleton
c2ce1c2f51 Make client for Windows x86_64 use OpenAL64.dll by default
ioquake3.x86_64.exe can't load x86 OpenAL32.dll. Using separate
library names allows shipping OpenAL for both architectures.

Though since the dll name is saved in the config file, using both
clients on the same computer will cause one client arch to always
try to load the wrong OpenAL dll and then fallback to the correct
default OpenAL dll. I guess it could be fixed by using separate
cvar names for s_alDriver.
2017-09-04 20:34:55 -05:00
Zack Middleton
00a5339b27 Update arch in misc/setup for ioq3 changing from i386 to x86 2017-08-07 05:52:13 -05:00
Zack Middleton
67dace6c20 Escape quotes for sv_dlURL in shell so it doesn't become "http:"
q3ded +set sv_dlURL "http://example.org"

The shell removes the quotes but makes the content be a single argument
for progam args. Quake 3 concatenates all the program args and splits
lines at + or newlines. Then Quake 3 parses them using a tokenizer
that skips unquoted C comments beginning with //. This results in
the cvar being set to "http:".

Escape the quotes so they are passed to the program and the tokenizer
knows not to skip C comments.

    q3ded +set sv_dlURL \"http://example.org\"
2017-07-20 23:24:52 -05:00
Zack Middleton
ef8ad54421 Rename (already updated) opus-1.1 to opus-1.1.4 2017-05-23 11:47:27 -05:00
Zack Middleton
853110d5d4 Update opus from 1.1 to 1.1.4
Define FLOAT_APPROX in Makefile and misc/msvc12/quake3.vcxproj.
2017-05-23 11:47:26 -05:00
Zack Middleton
1c1e1f61f1 Allow overriding platform in NSIS installer
MSYS2 and some mingw builds use mingw64 instead of mingw32. If you run
`make installer` from the top-level, PLATFORM should be set correctly
when building the installer.
2016-11-01 17:53:25 -05:00
Zachary J. Slater
f47aaa2a61 Minor URL change. 2016-08-07 23:53:38 -10:00
Zack Middleton
e0b2256043 Include SDL2 dll from repository in NSIS installer
Before it required manually copying SDL 1.2 dll into misc/nsis/ which the
engine no longer uses.
2016-05-27 00:44:13 -05:00
Zack Middleton
80357ff1f2 Remove incorrect documentation from q3a.service
rate, snaps, and cl_maxpackets cvars only affect client.
2016-04-04 12:19:17 -05:00
SmileTheory
275317fefb OpenGL2: Direct state access, part 1: Texture binds 2016-01-18 04:46:01 -08:00
SmileTheory
3089df0398 Add msvc12 project files. 2016-01-15 02:54:34 -08:00
Zachary J. Slater
e0b58abf53 Don't quote me. 2015-09-24 11:26:10 -07:00
Zachary J. Slater
45162a395f Fixed the os x path and now both scripts will take arguments 2015-09-24 11:21:18 -07:00
Zachary J. Slater
c138659de1 A mac dedicated server script 2015-09-24 11:00:08 -07:00
Zack Middleton
1c628c0fe5 Update headers in VS (10 and 11) projects
So VS doesn't always want to rebuild.

Reported by @shearer12345.
2015-08-19 13:50:39 -05:00
Zack Middleton
b5e9e1357a Make msvc10/11 x86_64 copy SDL264.dll 2015-08-18 20:03:59 -05:00
shearer12345
d64a75f3cb add post-build event for msvc10/11 to copy SDL2.dll to build folder 2015-08-18 20:02:13 -05:00
shearer12345
1d83dcca3e Update msvc10/11 for SDL2
update AdditionalIncludeDirectories to use SDL2
update AdditionalDependencies to use SDL2
add AdditionalLibraryDirectory to SDL2 libs
set sub-system as console
2015-08-18 19:51:27 -05:00
shearer12345
40e9a31470 Make msvc10/11 use UseOfMfc false and CharacterSet "NotSet" 2015-08-18 19:51:18 -05:00
Zack Middleton
24c7563478 Copy msvc11 build changes to msvc10 2015-08-18 19:27:29 -05:00
Zack Middleton
d021150e04 Fix mscv11 libcurl include path 2015-08-18 19:27:27 -05:00
Zack Middleton
beddd710d2 Fix msvc11 x86_64 runtime 2015-08-18 19:27:26 -05:00
Zack Middleton
af30a0e70a Update msvc10 renderer filenames (copied from msvc11) 2015-08-18 19:27:25 -05:00
Zack Middleton
eaaaf62a16 Remove MSVC user configuation files 2015-08-18 19:27:22 -05:00
Zack Middleton
e79af0d1a0 Fix server_compile.sh to exit after completed
Also, convert '\n's to real new lines because the literal '\n's were
printed.
2015-07-06 21:25:06 -05:00
Zachary J. Slater
2758eebbcc server_compile.sh & start_server.sh for Linux ioq3 sysadmins
If your distribution doesn’t include such niceties, these could help a
newbie get started with a compiled build of ioquake3 for servers and a
short script to get started.
2015-07-06 17:14:34 -07:00
Zachary J. Slater
bb64bd7be0 Moved the systemd to /misc/linux 2014-08-27 18:10:27 -07:00
Pan7
16b48b50dd -ffast-math for msvc 2014-07-20 05:22:20 -05:00
Roberto Estrada
adc1b2cbd1 Switched runtime library to Multithreaded DLL to fix build on VS2012. 2014-05-07 10:37:42 +02:00
kungfooman
40985b53d6 Add misc/msvc12/ to support Microsoft Visual Studio 2012 Express Edition 2014-04-01 17:30:57 +02:00
SmileTheory
4c9d39ae6e Fix some file paths for msvc 2008 2013-12-09 17:15:29 -08:00
jeremiah sypult
260233d4ec bug 5986 - Configure jenkins to spit out mac .app
https://bugzilla.icculus.org/show_bug.cgi?id=5986
Created make-macosx-app.sh to handle manually creating an app bundle from other scripts.
Updated make-macosx.sh to create bundle with make-macosx-app.sh (TODO: make-macosx-ub.sh support).
Updated Makefile to create bundle with make-macosx-app.sh and zip up the resulting ioquake3.app if ARCHIVE is defined.
2013-07-18 00:11:10 -05:00
jeremiah sypult
9c2ce77d98 Added "all game" and "all ioquake3" schemes to Xcode workspace so that they build properly. 2013-07-17 15:54:53 -05:00
jeremiah sypult
90dcf34eee Fix the speex Xcode project since it was missing its header search path. 2013-07-17 14:59:58 -05:00
jeremiah sypult
0f9eca6546 Initial Xcode workspace & project support (4.6.3).
Updated .gitignore and ioquake3fe Xcode project.
Added Retina-enabled QUAKE III logo icon files.
Details in misc/xcode/xcode-readme.txt
2013-07-13 01:06:26 -05:00
SmileTheory
369956eb63 Fix compilation in VS2008. 2013-03-14 21:36:44 -07:00
Tim Angus
f6fb9eb602 renderer -> renderergl1, rend2 -> renderergl2 2013-02-15 23:46:37 +00:00
SmileTheory
af77b93597 #5818 - Modular renderer and Rend2 support for MSVC. 2013-01-07 20:30:49 -08:00
Zack Middleton
8424865879 Have NSIS uninstaller delete rend2. 2012-12-09 01:05:25 +00:00
Zack Middleton
2e99ae093e - Include OpenGL1 and Rend2 renderers in Loki Setup Installer. 2012-12-09 01:01:13 +00:00
Zack Middleton
a1270177c1 Include Rend2 renderer in NSIS installer. 2012-12-09 00:53:52 +00:00
Zack Middleton
f6e076c4a1 Update standalone code in Catch the Chicken NSIS installer. 2012-11-24 06:00:29 +00:00
Zack Middleton
f3e7012bdb REFACTOR [a vs an]
From /dev/humancontroller.
2012-06-18 16:31:16 +00:00
Ludwig Nussel
6c8a9af300 fix mingw64 installer 2012-02-07 09:29:13 +00:00
Ludwig Nussel
1a736dd725 put the g where the g belongs 2011-08-30 11:57:00 +00:00
Zack Middleton
b3c9d55f50 Include extra dlls in NSIS installer if needed (renderer, curl, speex, zlib, jpeg). 2011-08-29 15:17:47 +00:00
Zack Middleton
dd9230de04 Somewhat fixed NSIS installer for win64, probably still installs with x86 programs. 2011-08-26 15:21:03 +00:00
Zack Middleton
6d97d5c628 Don't include libcurl-4.dll or zlib1.dll in NSIS installer, they don't seem to be used. 2011-08-26 15:15:56 +00:00
Thilo Schulz
63c2b017d6 Remove executable property from these files 2011-08-02 20:26:46 +00:00
Thilo Schulz
77d764c457 Patch and description by ensiform (#5043):
This patch moves cg_particles.c out of cg_marks.c to the actual file that was
already there but not used.  By default WOLF_PARTICLES definition is commented
out if someone wants to use the old cg_particles.c changes.  cg_particles.c has
been added to the makefile and msvc projects.
2011-06-16 21:58:46 +00:00
Thilo Schulz
a5035841d2 Project files for Microsoft Visual Studio 10. Has x86 and x64 build configurations (#2681) 2011-06-15 03:36:11 +00:00
Thilo Schulz
7a4ce592a4 - Adapt MSVC project files to new libjpeg, fix by Guillaume Bougard and cyrri
- add tr_model_iqm.c to MSVC project, by cyrri
2011-06-06 21:15:42 +00:00
Thilo Schulz
b003422d92 - Fix lokisetup makefile problems
- Bump version number to 1.36
2011-05-15 14:49:38 +00:00
Zachary Slater
19320515c9 Bug 4566: Slackbuild update for 64bit. 2010-10-19 06:40:49 +00:00
Ludwig Nussel
edb7cd9840 uninstall zlib1.dll, disable description panel (bug 4779) 2010-10-12 06:27:27 +00:00
Ludwig Nussel
112287088e rename x86_64 -> x64 for Windows 2010-03-19 08:59:22 +00:00
Ludwig Nussel
65212bbeb2 package zlib1.dll in nsis installer 2010-03-19 08:59:20 +00:00
Thilo Schulz
118fbdf741 - Tested and updated MSVC project file to really make it work with new zlib
- Removed unnecessary zconf.in.h
- Fixed include dirs for several MSVC targets
2009-10-19 16:16:52 +00:00
Thilo Schulz
4b1b4c76d6 Last revision (1681) was described incorrectly. It uses parts of Amanieu's patch to add the most recent version of zlib to ioquake3.
This commit now adds zlib c-file dependencies to the MSVC project file, not tested yet, thought.
2009-10-19 14:32:06 +00:00
Tim Angus
7afb92be27 * Remove the SDL patch as it has since been incorporated into SDL svn 2009-10-18 00:02:24 +00:00
Ryan C. Gordon
70dad387da Updated Solaris packaging, per Vincent Cojot.
Fixes Bugzilla #4058.
2009-09-15 01:48:58 +00:00
Ludwig Nussel
372c2ea521 openal32.dll is actually spelled OpenAL32.dll now 2009-05-25 15:14:53 +00:00
Julian Priestley
6e79cfbae2 * Update MSVC project files for latest revision 2009-05-11 21:48:54 +00:00
Zachary Slater
9390750a8a ReadMe for OS X 1.36 2009-05-06 00:16:05 +00:00
Ludwig Nussel
011285c232 some more solaris files 2009-05-04 07:10:42 +00:00
Ludwig Nussel
732c405e15 Solaris fixes (#4048) 2009-05-03 18:49:55 +00:00
Zachary Slater
697c2e42a5 adding the OS X folder icon, use
http://web.me.com/zweigand/zweisoft/Software/Entries/2009/1/12_IconDroplet_1.2.html
to make this into a custom folder icon for ioquake3.
2009-04-23 07:39:37 +00:00
Ludwig Nussel
5948b41af4 sample NSIS description file for a ioquake3 mod installer 2009-04-18 19:01:24 +00:00
Ludwig Nussel
9d5141decc nsis data file installer 2009-04-18 17:50:07 +00:00
Ludwig Nussel
06b6037ff0 nsis: registering unistaller in shell context works too 2009-04-18 17:03:29 +00:00
Ludwig Nussel
9af3237829 nsis: support proper multi user installation 2009-04-12 12:31:00 +00:00
Ludwig Nussel
c5df8251d9 nsis installer icon finally 2009-04-12 07:57:25 +00:00
Zachary Slater
7c0cfe2d2f Generated a quick n dirty png of the tango icon. 2009-04-09 19:40:02 +00:00
Six
ba6fb02319 Make the frontend check both the current bundle as well as the default install location
0110
2009-03-22 00:24:40 +00:00
Six
673e7543c1 needed
0110
2009-03-22 00:07:08 +00:00
Zachary Slater
d753f7f97f oops, checked in a precompiled header for the frontend. 2009-03-21 23:01:30 +00:00
Zachary Slater
d8080d3646 first copy of the front-end from Ben Wilber. Thanks Ben! 2009-03-21 22:55:40 +00:00
Ludwig Nussel
53d23a3df2 fix msvc build (#3857, #3771) 2009-02-10 07:56:56 +00:00
Ludwig Nussel
4de00b3d02 add support for ppc64 in installer 2008-11-12 13:40:05 +00:00
Tim Angus
b6b19caadd * The latest round of SDL tweaks 2008-09-01 21:22:41 +00:00
Tim Angus
b7799e644a * Update SDL patch (again) 2008-08-31 10:41:30 +00:00
Tim Angus
d982941849 * Update SDL patch 2008-08-31 10:04:28 +00:00
Tim Angus
a0ba5b4e38 * Update SDL patch as per SDL bugs #611 and #618 2008-08-30 19:26:41 +00:00
Tim Angus
60eb261185 * Add SDL bug fix patch to misc/ directory
* Add commentary of said patch to README
2008-08-09 15:19:59 +00:00
Ludwig Nussel
d3cf82b2ee nsis: uninstall openal32.dll as well 2008-07-16 07:15:01 +00:00
Zachary Slater
e073c70fd6 Quake 3 Tango-Style icon, suitable for scaling low. Thanks to jayschwa@gmail.com for
this version.
2008-07-06 02:23:06 +00:00
Tim Angus
2c0861c1ce * (bug 3610) Server sending unnecessary newline with SV_ConSay_F (Tyler Schwend
<TylerSchwend@gmail.com>)
* (bug 3623) COMMAND is mapped to the ALT key (Matthias <Kapffer@macbay.de>)
* (bug 3665) Typo error in FS_FOpenFileByMode function (TsT <tst2006@gmail.com>)
* (bug 3669) Some files left out of Solaris Packages (Vincent Cojot
  <vincent@cojot.name>)
* (bug 3680) server quit messages (Ben Millwood)
* (bug 3682) Maps with >1024 models cause a segfault (misantropia
  <bnoordhuis@gmail.com>)
* (bug 3683) R_FindShader(): negative lightmap indexes cause stray pointers
  (misantropia <bnoordhuis@gmail.com>)
* (bug 3688) q3asm potential segfault fix and other changes (TsT
  <tst2006@gmail.com>)
* (bug 3695) Not allowing to write file with lib extention (.dll/.so/...) (TsT
  <tst2006@gmail.com>)
* (bug 3696) make-macosx-ub.sh outdated by revision 1340; test for Tiger not
   working (Matthias <Kapffer@macbay.de>)
* (bug 3698) #error reported as warning in q3cpp (and no #warning support)
  (Ben Millwood)
* (bug 3703) restoring the valued pre-SDL window behaviour (/dev/humancontroller
  <devhc97@gmail.com>)
2008-07-05 23:50:38 +00:00
Ludwig Nussel
51978317d8 remove trailing whitespace 2008-06-25 07:59:57 +00:00
Ludwig Nussel
1312060d55 nsis: add openal-soft 2008-06-25 07:59:53 +00:00
Ludwig Nussel
2e803017c4 add voip-readme.txt to installers 2008-06-25 07:59:50 +00:00