Moving thing around to prepare for distribution.
This commit is contained in:
parent
3bcd2b6173
commit
3f6007b7f5
5
ws_splashbuilder/__init__.py
Normal file
5
ws_splashbuilder/__init__.py
Normal file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from . import splashbuilder
|
||||
from . import cel2wst
|
||||
from . import map2wsm
|
||||
6
ws_splashbuilder/__main__.py
Normal file
6
ws_splashbuilder/__main__.py
Normal file
@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from . import splashbuilder
|
||||
|
||||
if __name__ == "__main__":
|
||||
splashbuilder.main()
|
||||
@ -1,7 +1,8 @@
|
||||
# GB CEL to WS Tile
|
||||
# Convert GB CEL to WS Tile
|
||||
import struct
|
||||
import argparse
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("-i", "--input", required=True, type=str, help="Input file")
|
||||
@ -21,6 +21,7 @@ WS Map is
|
||||
b8-b0 tile
|
||||
"""
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("-i", "--input", required=True, type=str, help="Input file")
|
||||
@ -344,6 +344,3 @@ def main():
|
||||
except Exception as e:
|
||||
print("Error: {e}".format(e=e))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Loading…
x
Reference in New Issue
Block a user