static void Main(string[] args) { string basedir = args.Length > 0 ? args[0] : "."; uint structsize = SizeOf <PGStarMatch>(); PGStarMatch.LoadNamedSystemsJson(Path.Combine(basedir, "edsystems-all-withcoords.json")); PGStarMatch.LoadEdsmSystemsJson(Path.Combine(basedir, "systemsWithCoordinates.json")); PGStarMatch.LoadEddbSystemsCsv(Path.Combine(basedir, "systems.csv")); Listener listener = new Listener(); listener.Run(); }