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

Ivan Avdeev ccff8ab185 load glCompressedTexImage2D on Windows, fix #48 před 6 roky
src ccff8ab185 load glCompressedTexImage2D on Windows, fix #48 před 6 roky
.gitignore 3a3fe26805 make it compile on windows před 6 roky
.gitmodules 18cfc45ce0 move sources into ./src/ před 7 roky
.travis.yml 1f0dc92644 add travis.yml před 6 roky
COPYING.WTFPL 57387726fe Create COPYING.WTFPL před 11 roky
Makefile 7e2b7f6992 implement naive (half-broken) ETC1 compression for RPi, fix #2 před 6 roky
OpenSource.sln 3a3fe26805 make it compile on windows před 6 roky
OpenSource.vcxproj 9d2ada4a31 fix windows build před 6 roky
OpenSource.vcxproj.filters 9d2ada4a31 fix windows build před 6 roky
README.md 0ac60e0bf5 Update README.md před 6 roky
TODO aad29b1b37 add collections as a precursor for asset loading před 7 roky
common.props 3a3fe26805 make it compile on windows před 6 roky
hl2.cfg 2e3ff4e987 fix map positions, fix #23 před 6 roky
hl2eps.cfg a79838be3d add z_far param to config před 6 roky
portal2.cfg 1723b59778 add portal2 config před 6 roky
run-ep1.sh c9290fdd10 add scripts to run some games on *nix před 6 roky
run-ep2.sh c9290fdd10 add scripts to run some games on *nix před 6 roky
run-hl1.sh c9290fdd10 add scripts to run some games on *nix před 6 roky
run-portal.sh c9290fdd10 add scripts to run some games on *nix před 6 roky

README.md

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.