News | Forum | People | FAQ | Links | Search | Register | Log in
Q1compile - GUI For Compiling Quake 1 Maps
Hi everyone,

I wrote my own little map compiling GUI with some features I've always had an itch for:

- Saving and loading different configurations so you can quickly change between different setups or mods.
- Automatically compiling the map when you save in the editor, so you can just Alt+Tab to the tool, hit Ctrl+R and launch the map. This is completely optional.
- Saving/loading of presets for ericw's tools. So you can quickly toggle things like -fast or -extra4, etc... It comes with some built-in presets as well.

The tool is open-source and is MIT licensed, so please feel free to contribute with issues, feature requests or code.

Source code:
https://github.com/glhrmfrts/q1compile/

Download link:
https://github.com/glhrmfrts/q1compile/releases/download/v0.3.1/q1compile-v0.3.1-win64.zip

I'll keep this thread updated for future releases.

Cheers!
V0.4 
Version 0.4 of q1compile is released:
https://github.com/glhrmfrts/q1compile/releases/download/v0.4/q1compile-v0.4-win64.zip

* Improved documentation.
* Added ability to enable/disable quake engine output.
* Changed location of user preferences to application directory. 
I Was Interested To See How... 
... you coded the UI. As I myself completed about 90% of a map compile UI.

I'm an OS hold out still using Win7 and... I ran into missing .dll errors. First was "D3Dcompiler_47.dll" then there was some "INPUT1" dll and followed up with some other dll with extremely long name.

For such a simple app, functionality wise not feature wise, no idea why it'd have so many OS dll dependencies?

Anyway, all I'm saying is that I was just kinda sad I didn't get to see it. Good luck with the project. 
@damage_inc 
Yeah, from this last release I learned that Win7 users are having problems to launch the app.

This GUI was born just as a weekend programming project really, so I just used what I was familiar with, which is the Dear ImGui framework (https://github.com/ocornut/imgui).

It's a framework mainly focused on Debug UIs for games, because of that it's drawing process is similar to a game rendering process, and it requires a graphics API to be available. I'm currently using DirectX 11 but fortunately the framework is API-agnostic and I'll see if I can move to an older API to solve these issues, so I hope to release a bugfix version for Win7 users very soon.

Thanks for the feedback, good luck with your project as well. 
Windows 7 Missing Dlls 
You just need to update your DirectX runtimes. 
Will Not Launch On Windows 10 
No error, just simply does not launch. 
 
have you considered using nana or libui? 
V0.4.1 
Okay I moved to DirectX 9 and tested it so it should work in Windows 7 now without problems: https://github.com/glhrmfrts/q1compile/releases/download/v0.4.1/q1compile-v0.4.1-win32.zip

The only requirement (besides DX 9) is the latest Visual C++ Redistributable (2015-2019) which you can get here: https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

@fw I'm sorry it didn't work, please try this last version and see if it helps, let me know if you encounter any further errors.

@misc_ftl Not really, as I said I just grabbed what I'm used to use and made this app really quickly mainly to scratch my own itch, plus I really like Dear ImGui's default look and feel. 
@gnemeth 
YEEP, it loads, and works, effortlessly now, gj. 
V0.5 
q1compile v0.5 is released!

- Automatically compile your map when saving in the editor.
- Recompile only what is actually needed, depending on what you changed in the map.
- More fixes and features in the release notes...

https://github.com/glhrmfrts/q1compile/releases/tag/v0.5 
V0.6 
Released an update version of my map compiling GUI, q1compile (v0.6): https://github.com/glhrmfrts/q1compile/releases/tag/v0.6

- Fixed a bug about wiping the source file in case of setting the Work Dir to where the map source file is.
- Fixed a bug about the map diff process (applying -onlyents automatically)
- More stuff in the changelog at github link or readme.

I also made a video tutorial to make it clearer how to use the tool: https://youtu.be/IAhoxXGLce8

Cheers! 
Hardcoded Bsp Light And Vis 
Seems weird that these tools are hardcoded to only accept certain filenames (such as qbsp, light and vis)... I think it'd be better if you could have different file names. Also if you had the ability to swap the compile order, namely vis and light, then you could also have compatibility with Q2. 
#11 
Good points, I didn't imagine people really used filenames other than the default ones that comes with ericw's tools, that should be easy to implement so I'll look into that.

As for changing the order, I had plans for that already, together with custom compilation steps/ability to call arbitrary console commands. So that'll probably be available in the next update as well.

Thanks for the suggestions! 
You must be logged in to post in this thread.
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.