I put a flag in this game, but I can't see it! Can you find it for me?
The player is given a small "game" which when opened, displays a window containing some basic artwork and a colored box in the UI layer. Underneath that box is the flag, however, the flag cannot be viewed because it's being covered.
Upload all of the zip files inside distrib
. The flag is in flag.txt
. The different platform versions are suffixed in the file names.
- You must have the following
- Microsoft Visual Studio with the Desktop Development in C++ module
- Clone this repository recursive (
--recurse-submodules
and--depth=1
). This is because the game engine that this challenge uses is quite large so I didn't want to copy all 300MB of its source code into this repo. - To change the flag, paste the string into
flag.h
. It will be obfuscated during compilation via a library that I found, seeobfuscate.h
for details. To keep the current flag, skip this step. - Open a Developer Powershell and
cd
to thechallenge
directory. (It must be a Developer Powershell) - Run
config.bat
- Run
build.bat
- Go to
build/release/
and putCTFGame.exe
andCTFGame.rvedata
in a zip file- Both of these files are required for it to work.
CTFGame.rvedata
contains all of the game's assets (shaders, textures, models, etc).
- Both of these files are required for it to work.
- Upload that zip file to the server for players to download