Skip to content

Instantly share code, notes, and snippets.

@Swyter
Last active August 17, 2019 00:19
Show Gist options
  • Save Swyter/15763f0ef932848315902d9e703c4951 to your computer and use it in GitHub Desktop.
Save Swyter/15763f0ef932848315902d9e703c4951 to your computer and use it in GitHub Desktop.
Authoring Tools Starting Guide on Steam Community - Backup
First things first, download the free DLC with the required tools and data from your Steam client.
(Ensure that you own the game first and that you have it installed, you will need around 7.2 GB of total free space, even the actual download size is much more manageable; at ~1.9 GB)
Keep in mind that the DLC doesn't get installed by default due to its size, you will have to click on the "[i]Install[/i]" checkbox in the DLC section of your Steam client, right under achievements. Like this:
[previewimg=11489374;sizeOriginal,floatLeft;sphinx-authoringtools-download.PNG][/previewimg]
The Steam client should immediately start to download, it may take a while.
Once downloaded and conveniently installed in your PC you can find them in your "Tools" folder, right under the base directory of the game.
The easiest way to open it is to right-click on the Sphinx entry of your Library, select "[i]Properties[/i]"...
[previewimg=11489416;sizeOriginal;sphinx-authoringtools-properties.png][/previewimg]
...switch to the "[i]Local files[/i]" tab and then click on the "[i]Browse local files[/i]" button. The precious "Tools" folder should be there.
[previewimg=11489415;sizeOriginal;sphinx-authoringtools-browse.png][/previewimg]
EngineX and its tools need a virtual [b][i]X:[/i][/b] drive that points to the Tools folder. In addition, we also need to add a virtual [b][i]S:[/i][/b] drive to emulate the internal Eurocom server that stored the common project files for Sphinx.
In the end it's just a matter of running a batch script once that will do it for you. We have prepared a handy one called [b][i]Mount Both Virtual Drives Permanently.bat[/i][/b]; just double-click, run it as administrator and it should ask you to reboot. Once you are back you should see two new virtual hard disks. To unmount them just run the script again and reboot. Easy peasy!
[previewicon=11494141;sizeOriginal,inline;sphinx-authoringtools-mountscript.png][/previewicon]
If you prefer something a bit less permanent you can double-click on the "[b][i]Mount Virtual S Drive.bat[/i][/b]" and "[b][i]Mount Virtual X Drive.bat[/i][/b]" scripts instead. These virtual drives will be gone the next time you reboot, and (of course) you don't need to reboot to get the drives to appear if you choose this second method.
[previewicon=11493885;sizeOriginal,inline;sphinx-authoringtools-virtualdrives.png][/previewicon]
[b]Note[/b]: The [b][i]X:[/i][/b] drive now points to the [i]Tools[/i] folder, while the [b][i]S:[/i][/b] drive points to the [i]Tools/ServerX[/i] folder. Ensure that you don't have any real partitions using those drive letters.
You can find EuroLand under the [i]EngineX/utils[/i] folder. It is the all-in-one editor used to open the source asset files (or [i]*.ELF[/i]) that you can find under [i]Sphinx/Grafix[/i]. These EngineX containers store most of the actual data in the game; maps, 3D models, textures, character animations and beyond.
[previewicon=11494578;sizeOriginal,inline;sphinx-authoringtools-eurolandexe.png][/previewicon]
You will actually see two executable files: [i]EuroLand.exe[/i] and [i]EuroLandRedux.exe[/i], these are two different versions of the same editor, but for the sake of simplicity you'd usually prefer to use the latest one; EuroLand [i]Redux[/i].
Let's start with something familiar. Go to "[i]Sphinx/Grafix/Maps/Uruk_sphinx/retouch[/i]", you'll find a "[i]_ur_intr.elf[/i]" file, the one that stores the map with the initial Sphinx level in Uruk. Drag and drop it in the EuroLand window, a tree view should appear after a few seconds.
You can see that the "[i]Entities[/i]" tree is the one with the most entries, those are the static 3D models used as scene props in the map. There is also a "[i]Textures[/i]" tree with the images used by those models, and several other ones. But right now we are mainly interested in the map itself.
[previewicon=11494432;sizeOriginal,inline;sphinx-authoringtools-treeviewmap.png][/previewicon]
Scroll down until you find the "[i]Maps[/i]" section and double-click on "[i]LAND1[/i]" to open it, the other maps are crossed out because they won't be included when you export the .ELF into a baked and optimized, game-compatible .EDB file.
[previewicon=11494431;sizeOriginal,inline;sphinx-authoringtools-mapview.png][/previewicon]
Maximize the map window to make things bigger, here are some quick tips to move the camera around:
[list]
[*] You can zoom in and out with the scroll wheel.
[*] [i]Pan the camera[/i] by pressing the middle mouse button/scroll wheel while moving the mouse.
[*] You can [i]rotate the camera[/i] around by pressing the [i]left mouse button[/i] while holding the [i]Alt[/i] key.
[*] If you ever get lost you can press the [i]A[/i] key to display the entire map at once.
[*] You can always view and rebind all the available hotkeys by going to [i]View > Hot Keys...[/i] in the menu bar.
[/list]
Feel free to explore Uruk for a while until you gain a bit of experience. We can start selecting things after that.
[previewicon=11495070;sizeOriginal,inline;sphinx-authoringtools-mapview-underbar.png][/previewicon]
Take a look at this menu bar below the 3D view, it is extremely important. By default you can see that "[i]Entity[/i]" is enabled, if you left-click on the terrain it will select chunks of it, rendering its wired polygons in red. You can deselect by right-clicking in an empty-gray part of the level, just like that.
Now let's click on "[i]Sound[/i]", you can see that the other modes get untoggled. In this mode we won't be able to click on the terrain itself, but we can now select those yellow sound sources in exchange. Try it, you will see that this time around selecting a sound will entail clicking precisely on the cross that marks its center, that's too bad.
Luckily for us EuroLand comes with a second selecting mode; lasso. If you drag the mouse while holding the right mouse button you will see how you can make circular selections around objects.
In fact, the previous deselection method is just using the lasso tool in an empty area. How convenient! Try selecting and deselecting multiple sound sources using the lasso tool.
[i]{Thingie in progress...}[/i]
Official setup guide for the free DLC that contains the original Eurocom toolset.
This small guide will show you how to configure the environment to use the original suite of tools that Eurocom made in 2003 to develop Sphinx. Allowing you to open and edit the original assets as well as creating your own content from scratch.
Keep in mind that the while the game itself is now cross-platform, most of the original development happened in Windows and used Microsoft tech like Win32 and MFC, so Linux and macOS modders may want to use something like [url=https://www.winehq.org/]Wine[/url] to run the tools. Which, while not ideal, should work perfectly fine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment