ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.55k stars 594 forks source link

Release Hammer's source code #3740

Open SamVanheer opened 4 months ago

SamVanheer commented 4 months ago

Release the source code for Hammer, the Half-Life 1 level editor. The last released version for this engine was 3.5 beta in April 2003, more than 20 years ago.

Most level designers nowadays use JACK, a closed source program with a paid version. A recent update broke compatibility with the last free version making it impossible to open JMF files saved using the paid version: https://steamcommunity.com/app/496450/discussions/0/4036980006268371571/

While the free version may receive updates to add support this illustrates a continuing problem with HL1 level design: there is no freely available level editor that works properly and has all of Hammer's features.

Hammer itself has had problems running on newer systems: AMD drivers have had problems for a long time and since it uses immediate mode OpenGL it has problems running well when loading very large maps. It also has bugs and non-functional user interface elements.

There are open source level editors but none that provide full support for Half-Life 1 and the only one in active development (Trenchbroom) is mainly a Quake level editor.

Providing the source code would allow an update to be developed to provide a direct replacement for Hammer that is open source and under the control of the community that uses it.

Some other things this would allow:

TarekLP commented 4 months ago

This Would be really Cool if it was happeinng, but I believe TrenchBroom is supposed to be a replacement for it, since that is also Open Source

SamVanheer commented 4 months ago

Trenchbroom is not a replacement for Hammer. It uses a different workflow and does not implement all of Hammer's features. It's also mainly a Quake level editor, Half-Life support is largely provided by contributors, not maintainers.

I've made a proof-of-concept for a Qt-based UI: https://github.com/SamVanheer/Chisel-proof-of-concept

This is a mockup that shows what a modernized UI could look like. With Hammer's source code in hand we could overhaul the program to work well on modern versions of Windows as well as Linux and deal with graphics performance and compatibility issues.

On top of that new features can be added as needed without having to rely on closed source projects or hoping contributions to level editors meant for other game engines are merged in.

Aynekko commented 3 months ago

A recent update broke compatibility with the last free version making it impossible to open JMF files saved using the paid version:

Free version of Jack was updated, it's now up to date with the paid one.

SamVanheer commented 3 months ago

That's great! Still doesn't change anything though.

Aynekko commented 3 months ago

That's great! Still doesn't change anything though.

Well yes, it's not like I disagree, the hammer code would be neat, because Jack's owner doesn't agree to implement all things suggested and it's closed-source... Just corrected the fact in your original post.

karakakarkarkar commented 2 months ago

Hammertime editor (https://github.com/Duude92/hammertime/tree/development) is not fully replacement for Hammer 3.5 beta (and Jackhammer paid clone of hammer 3.5)?

karakakarkarkar commented 1 month ago

@SamVanheer leaked hl2 sources not contained fully worldcraft (valve hammer editor) source code?