Skip to content

Commit 7ba31f6

Browse files
author
Popax21
committed
Officially remove Windows support
1 parent 48e2cf5 commit 7ba31f6

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,14 @@ generic patches, without the need for any map-specific support scripts, as well
77
as by only making the minimum number of changes required for the maps to be
88
playable.
99

10-
Currently, the plugin only works on Linux, however Windows support is planned to
11-
be added eventually.
10+
Currently, the plugin only works on Linux. Windows support is theoretically
11+
possible (the plugin foundation code does contain initial untested Windows
12+
support code), however as the Windows release of Portal 2 was compiled with an
13+
entirely different compiler (MSVC vs GCC), all patches would have to be adjusted
14+
to work on Windows. If you want to help out by doing this yourself, please let
15+
me know - I will gladly assist you throughout the process, and merge your work
16+
once you finish. To get started, see `plugin/src/anchors.cpp` and the offsets /
17+
orig-sequences in the actual patches.
1218

1319
Patches include:
1420
- removing the player cap from all multiplayer game session

plugin/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ SDKSTATLIB := tier1.a mathlib.a tier2.a
1515
SDKSTATLIB := $(addprefix $(SDK)/mp/src/lib/public/linux32/, $(SDKSTATLIB))
1616

1717
ifeq ($(OS), Windows_NT)
18-
# Don't tell it that this is GCC on Windows, otherwise the platform will complain
19-
# Fake being MSVC instead
20-
OSFLAGS := -DWIN32 -D_WIN32 -D_MSC_VER -D_MSC_FULL_VER=180030723 -Isystem compat_inc
18+
$(error Windows is not yet supported - you can use this Makefile as a baseline for creating an MSVC .vcxproj (please PR it if you do!))
2119
else
2220
OSFLAGS := -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -DCOMPILER_GCC
2321
endif

plugin/compat_inc/intrin.h

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)