from https://github.com/ArnCarveris/OpenSource.
fixed by ZRY.

ZRY 2254ea8f93 Add some config file. 2022-01-16 03:30. 2 年之前
src e6d2ba6b41 ZRY's fix. 2022-01-16 03:24. 2 年之前
.gitignore 3a3fe26805 make it compile on windows 6 年之前
.gitmodules 18cfc45ce0 move sources into ./src/ 7 年之前
.travis.yml 1f0dc92644 add travis.yml 6 年之前
COPYING.WTFPL 57387726fe Create COPYING.WTFPL 11 年之前
Makefile 7e2b7f6992 implement naive (half-broken) ETC1 compression for RPi, fix #2 6 年之前
OpenSource.sln 3a3fe26805 make it compile on windows 6 年之前
OpenSource.vcxproj e6d2ba6b41 ZRY's fix. 2022-01-16 03:24. 2 年之前
OpenSource.vcxproj.filters e6d2ba6b41 ZRY's fix. 2022-01-16 03:24. 2 年之前
README.md bb3e5cf863 add AppVeyor badge to show Windows build status 6 年之前
TODO aad29b1b37 add collections as a precursor for asset loading 7 年之前
bms.cfg 2254ea8f93 Add some config file. 2022-01-16 03:30. 2 年之前
common.props 3a3fe26805 make it compile on windows 6 年之前
hl2.cfg 2e3ff4e987 fix map positions, fix #23 6 年之前
hl2eps.cfg a79838be3d add z_far param to config 6 年之前
portal.cfg 2254ea8f93 Add some config file. 2022-01-16 03:30. 2 年之前
portal2.cfg 2254ea8f93 Add some config file. 2022-01-16 03:30. 2 年之前
portal2.origin.cfg 2254ea8f93 Add some config file. 2022-01-16 03:30. 2 年之前
print.c e6d2ba6b41 ZRY's fix. 2022-01-16 03:24. 2 年之前
run-ep1.sh c9290fdd10 add scripts to run some games on *nix 6 年之前
run-ep2.sh c9290fdd10 add scripts to run some games on *nix 6 年之前
run-hl1.sh c9290fdd10 add scripts to run some games on *nix 6 年之前
run-portal.sh c9290fdd10 add scripts to run some games on *nix 6 年之前

README.md

Build Status Build status

OpenSource

A utility for loading and rendering many Source VBSP maps together as a single giant mesh. It can be used to see how big the game world is, just for amusement.

Current status

It is not production quality and is not ready for any unprofessional and unsupervised use. It still has a lot of visual and other glitches. See issues. However, it should be generally stable. It does run on Raspberry Pi. The entire Half-Life 2 fits into < 512MiB video memory and renders ~1.5 million triangles at about 10fps.

If you wish, you could check out the old branch for the 5 years old version that was used for Half-Life 1 merging.

What works

  • It builds and runs on Windows, Linux/X11 and Raspberry Pi (bare vc libs, w/o X11); No macOS support yet, stay tuned.
  • VBSP format version 19 and 20, most of the maps from these games:
    • Half-Life: Source
    • Half-Life 2
    • Half-Life 2: Episode One
    • Half-Life 2: Episode Two
    • Portal
    • Portal 2. Well, somewhat. Its levels are not positioned correctly, requiring a lot of manual config patching, which is not done.
  • Basic support for the following map features:
    • Face geometry
    • Displacements
    • Base[0] textures
    • DXT1/3/5 textures
    • Reading VPK2 files
    • Reading materials from pakfile lumps
    • Packing textures with ETC1 on Raspberry Pi (packer is very naive and probably broken)

Streaming (OH HOLD)

Development was done almost entirely live.

Stream links:

You can also check out previous streams recordings and stuff planned for next streams.