This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Python 3 code that will read, decompress, and then recompress the UE4 game | |
# save file that Astroneer uses. | |
# | |
# Though I wrote this for tinkering with Astroneer games saves, it's probably | |
# generic to the Unreal Engine 4 compressed saved game format. | |
import zlib | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"queries": [ | |
{ | |
"name": "Find all Domain Admins", | |
"queryList": [ | |
{ | |
"final": true, | |
"query": | |
"MATCH (n:Group) WHERE n.objectsid =~ {name} WITH n MATCH p=(n)<-[r:MemberOf*1..]-(m) RETURN p", | |
"props": { |