This is a tool to help diffing multiple forks of the radiant editor and q3map2 compiler. It downloads multiple source trees, rename some stuff and apply an uncrustify
profile on them to reduce diff noise. Original trees take places in original
directory while translated trees take places in the translated
directory.
Source trees are fetched as repositories so it's easy to compare revisions. To save time, some git trees are fetched using svn though the GitHub svn bridge when the radiant stuff is just a part of an heavier repository.
You can import GtkRadiant and NetRadiant source trees this way:
./do --translate gtkradiant netradiant
This way you can compare them with your favorite diffing tool:
meld translated/gtkradiant translated/netradiant
Same between DarkRadiant and ETXRadiant:
./do --translate darkradiant etxreal
meld translated/darkradiant translated/etxreal
These are editor trees supported:
- AARadiant from Alien Arena (ECToo) - GtkRadiant fork
- DarkRadiant from The Dark Mod (CodeReader) - GtkRadiant fork
- ETXRadiant from ET-XreaL (XreaL) - DarkRadiant fork
- GtkRadiant from id Software (TTimo) - Q3Radiant fork
- JK2Radiant from Jedi Outcast (Raven) - QERadiant fork
- libradiant GtkRadiant as a dll by killtube - GtkRadiant fork
- NetRadiant from Xonotic - GtkRadiant fork
- NetRadiant Custom by Garux - NetRadiant fork
- ODRadiant from Overdose (Odblur) - GtkRadiant fork
- Q3Radiant from Quake III Arena (id Software)
- QioRadiant from Qio (Vodin) - Q3Radiant fork
- Radiant from Doom 3 (id Software)
- UFORadiant from UFO:AI - GtkRadiant fork with DarkRadiant additions
- VRradiant from Vecxis -NetRadiant fork
These are compiler trees supported (all Q3map2 forks, except Q3map of course):
- BloodMap from RazorWind (paulvortex)
- Daemonmap from Unvanquished
- ETXMap from ET-XreaL (XreaL)
- ODMap from Overdose (Odblur)
- Q3map from Quake III Arena (id Software)
- Q3map2 from GtkRadiant (TTimo)
- Q3map2 from J.A.C.K. (XaeroX)
- Q3map2 from NetRadiant (Xonotic)
- Q3map2 from NetRadiant Custom (Garux)
- Q3map2 from UrbanTerror (TTimo)
- Ufo2map from UFO:AI
- Map220 (J.A.C.K. changes from XaeroX ported by FreeSlave to GtkRadiant tree)
- map-compiler a q3map2 fork extracted from radiant tree (IsRyven) - NetRadiant fork
- Vmapc from Vecxis
- Xmap2 from XreaL (RaynorPat)
Usage: ./do [arg] [tree]
args:
-h, --help
print this help
-c, --clear
delete translated tree
-p, --purge
delete original and translated tree
-f, --fetch
fetch original tree
-u, --update
update original tree
-t, --translate
translate from original tree
and do some conversion to reduce diff noise
trees:
all
aaradiant
bloodmap
daemonmap
darkradiant
doom3
etxreal
gtkradiant
jack
jk2radiant
libradiant
map220
map-compiler
ncustom
netradiant
overdose
qio
quake3
ufoai
urbanterror
vecxis
xreal
You will need git
, svn
, rsync
, uncrustify
and sed
to process the common repositories, but also dd
, gzip
, tar
and bsdtar
(yes, both) for the cryptic q3map2 code extraction from J.A.C.K. installer.
No warranty is given, use this at your own risk.
Thomas Debesse dev@illwieckz.net
This script is distributed under the highly permissive and laconic ISC License.
The shipped uncrustify.cfg
file was imported from the GtkRadiant source tree and can be subject to another license (BSD or GPL).