I started on this tool: https://unrealarchive.org/unrealscript/
I know there are tools like UnCodeX which do more-or-less the same and perhaps more extensively, but I also like to make new tools that keep things moving with recent technologies, , since those tools got us through the last 20 years, we also need things that will get us through the next 20.
Anyway, it's JavaScript heavy single-page-app style stuff, so you need JS enabled.
Some of the features are:
- support for browsing multiple games/versions sources
- type aware variable/member linking. eg: a local variable defined as
local PlayerPawn player;
with code laterplayer.PlayerReplicationInfo.HasFlag
means that clicking onHasFlag
can take you to the variable (or function) definition inPlayerReplicationInfo
based on correct type referencing - lots of other inter-linking niceties not based on regex assumptions
- choose a custom style!
- download the source package directly!
As usual it's MIT licenced, and the code is here: https://github.com/unreal-archive/unrealscript-browser
I need to do some work on a README to explain how it works, since it's also mostly designed to work offline so you can build it yourself without web hosting needed.
As part of the source there's also a fairly comprehensive ANTLR4 UnrealScript grammar definition, so if anyone wants to do more advanced stuff with UnrealScript code parsing in the future, feel free to use that.
I have a request though: Does anyone have an archive of the following, which they can send to me:
- Unreal 226 Final scripts
- Unreal 227 (latest) scripts