setup guide for etlegacy development with CLion #2561
mittermichal
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just managed to setup etlegacy in CLion on MacBook, but it was a bit challenging and I would like to create some guide/tips on how to do it. Also it can be discussed here how it could be improved. I don't know where to place such info. Put it directly in readme or create separate md and reference it from readme?
I came up with these steps:
cd etlegacy
git submodule init && git submodule update
- clone bundled libraries-DFEATURE_AUTOUPDATE=OFF
- disables update prompt on start-DINSTALL_WOLFADMIN=OFF
- disable unless you want to work with wolfadmin-DINSTALL_GEOIP=OFF
- IP geolocation is generally not needed for development-DCMAKE_OSX_ARCHITECTURES=arm64
or-DCMAKE_OSX_ARCHITECTURES=x86_64
for Intel processorBuild directory
tobuild
+set fs_homepath CUSTOM_HOMEPATH
I have chosen/Users/xmitter/Library/Application Support/etlegacy-dev
ui_disableOssFilter 1
in client console. This is only needed to see the locally built server in server browser. Not needed if you are on win_x86 or linux_x86. Another option is to doecho "macos_aarch64" > CUSTOM_HOMEPATH/platforms.manifest
for macOS arm64. Other platforms are in q_oss.h > oss_str[]mkdir -p build/etmain && ( ls build/etmain/pak0.pk3 || ln -s <ABSOLUTE_PATH_TO_ET_INSTALLATION>/etmain/pak0.pk3
) - will create symbolic link to reuse already installed pak0.pk3 from your existing ET installation. On macOS:/Applications/ETLegacy build/etmain/pak0.pk3
etlded
configuration if you want to run dedicated serveretl
configuration. ET:Legacy client should start and with profile creation form.setxkbmap -option grab:break_actions;xdotool key XF86Ungrab
in terminal after a breakpoint is hit to free up mouse cursorOn windows it could be different. @Helldembez have set this up there before.
I'm not sure about step 10. maybe there some nicer way.
Beta Was this translation helpful? Give feedback.
All reactions