Skip to content

illwieckz/compare-radiant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Radiant Compare

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.

Examples

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

Suported trees

These are editor trees supported:

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)

Help

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

Dependencies

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.

Warning

No warranty is given, use this at your own risk.

Author

Thomas Debesse dev@illwieckz.net

Copyright

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).

About

fetch and translate multiple source trees from radiant forks to compare them easily

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published