1
RTR 0.5 Imperial Campaign / RTR Developer Walkthrough
« on: April 07, 2014, 07:48:42 PM »
This thread is for getting new developers integrated into our development cycle.
RTR Developer Walkthrough
Development Cycle (daily)
Creating an Installer package (Full or Test)
Debugging GameEngine.dll (Advanced)
This list will be updated with more information in the future. You can contact me on the aforementioned IRC webchat if you have any questions: https://kiwiirc.com/client/irc.freenode.net/rtr-dev
RTR Developer Walkthrough
- Log on to our IRC chat: https://kiwiirc.com/client/irc.freenode.net/rtr-dev
(Bookmark the link) - Contact ahowl11 on IRC and request for your SVN+Trac User/Pwd
- Download TortoiseSVN (64-bit if possible):
http://tortoisesvn.net/downloads.html - Create C:\Projects\RTRProject\ and SVN Checkout:
URL of Repository: https://rtr-project.googlecode.com/svn/trunk/
Checkout directory: C:\Projects\RTRProject\ - User/Pass is your google code account:
Link: https://code.google.com/hosting/settings - How to use SVN:
What is SVN: http://betterexplained.com/articles/a-visual-guide-to-version-control/ - Install a clean copy of RTW to:
C:\Games\RTRGame\ (like this: C:\Games\RTRGame\RomeTW-BI.exe) - Launch C:\Projects\RTRProject\CreateSymLink.bat
SVN [RTR] modfolder is now symlinked to C:\Games\RTRGame\[RTR] - Launch C:\Games\RTRGame\RTR\RTRLauncher.exe
You can now start testing and developing!
Development Cycle (daily)
- Log on to our IRC chat: https://kiwiirc.com/client/irc.freenode.net/rtr-dev
- SVN Update the RTR Repository
- Make changes, test, discuss on IRC
- SVN Commit when finished
Creating an Installer package (Full or Test)
- Download latest Nullsoft Scriptable Install System
- Create a shortcut of makensisw.exe into C:\Projects\RTRProject\
- Drag and drop RTRInstaller-Full.nsi or RTRInstaller-Test.nsi ontop of the shortcut
- The installer package will be compiled. Full package compression can take around 10-15 minutes.
Debugging GameEngine.dll (Advanced)
- Any version of Visual Studio 2013 is required
- Ensure you have compiled RTRLauncher.sln and the following files exist:
RTR\GameEngine.dll - Debuggable external GameEngine.dll
RTR\GameEngine.pdb - Debug database for the debugger - Start C:\Games\RTRGame\RTR\RTRLauncher.exe
- Tick the checkbox "Attach VS JIT"
A new instance of VS 2013 debugger is launched and attached to process
The debugger starts with an internal breakpoint - so click Continue
RTR\GameEngine.dll is injected
If any of the steps fail, the launcher reverts to an internal GameEngine packed resource instead and the Launcher will continue without debugging enabled.
This list will be updated with more information in the future. You can contact me on the aforementioned IRC webchat if you have any questions: https://kiwiirc.com/client/irc.freenode.net/rtr-dev