mirror of
https://github.com/luksamuk/engine-psx.git
synced 2025-04-28 21:38:02 +03:00
18 lines
322 B
Python
Executable file
18 lines
322 B
Python
Executable file
#!/bin/env python
|
|
|
|
import sys
|
|
from parsers import parse_map
|
|
from os.path import realpath
|
|
from pprint import pp
|
|
|
|
|
|
def main():
|
|
map_src = realpath(sys.argv[1])
|
|
obj_defs, obj_places = parse_map(map_src)
|
|
# pp(obj_places)
|
|
for key, d in obj_defs.items():
|
|
d.write()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|