Added building support for UE1 and UE2 games. #23
+73
−31
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch adds environment detecting for UE1/UE2 and UE3, and instigates the correct .exe file for each environment.
Known issues:
The options given after selecting are not working except for launching the game without a selected map.
For example given the commandline:
UT2004.exe 127.0.0.1?SpectatorOnly=0 -log -newwindow
Works as expected when doing it by hand, but when done by the plugin UT2004 thinks that the -log and -newwindow params are part of 127.0.0.1(or map's name). I don't know why, but maybe you know if Python or Sublime Text is doing something weird there.
Note: Does not support caching, debugging, and anything else really, but Syntax highlighting and building.
Warning: I have commented out some IMPORTANT? lines as they did not make any sense to me as to what they are and they were preventing me from adding support, so don't blindly apply this patch without fixing those line if you can :) (Marked by FIXME or TODO)