#!/usr/bin/python
import os


items = os.listdir("src/")
f = open("game.p8", "w")

header= open("src/headers.p8", 'r')
f.write(header.read())

header.close()


for item in items:
    if(item != "headers.p8" and item != "gfx.p8"):
        f.write("\n\n -- **************" + item + "****************\n\n")
        ff = open("src/" + item, "r")
        f.write(ff.read())
        ff.close()

f.write("\n\n -- **************" + "gfx.p8" + "****************\n\n")
footer= open("src/gfx.p8", 'r')
f.write(footer.read())
footer.close()
f.close()

e125cc777e76693749c823769a6798a77146569a
<mask token>

<mask token>
f.write(header.read())
header.close()
for item in items:
    if item != 'headers.p8' and item != 'gfx.p8':
        f.write('\n\n -- **************' + item + '****************\n\n')
        ff = open('src/' + item, 'r')
        f.write(ff.read())
        ff.close()
f.write("""

 -- **************""" + 'gfx.p8' + '****************\n\n')
<mask token>
f.write(footer.read())
footer.close()
f.close()

<mask token>
items = os.listdir('src/')
f = open('game.p8', 'w')
header = open('src/headers.p8', 'r')
f.write(header.read())
header.close()
for item in items:
    if item != 'headers.p8' and item != 'gfx.p8':
        f.write('\n\n -- **************' + item + '****************\n\n')
        ff = open('src/' + item, 'r')
        f.write(ff.read())
        ff.close()
f.write("""

 -- **************""" + 'gfx.p8' + '****************\n\n')
footer = open('src/gfx.p8', 'r')
f.write(footer.read())
footer.close()
f.close()

import os
items = os.listdir('src/')
f = open('game.p8', 'w')
header = open('src/headers.p8', 'r')
f.write(header.read())
header.close()
for item in items:
    if item != 'headers.p8' and item != 'gfx.p8':
        f.write('\n\n -- **************' + item + '****************\n\n')
        ff = open('src/' + item, 'r')
        f.write(ff.read())
        ff.close()
f.write("""

 -- **************""" + 'gfx.p8' + '****************\n\n')
footer = open('src/gfx.p8', 'r')
f.write(footer.read())
footer.close()
f.close()

#!/usr/bin/python
import os


items = os.listdir("src/")
f = open("game.p8", "w")

header= open("src/headers.p8", 'r')
f.write(header.read())

header.close()


for item in items:
    if(item != "headers.p8" and item != "gfx.p8"):
        f.write("\n\n -- **************" + item + "****************\n\n")
        ff = open("src/" + item, "r")
        f.write(ff.read())
        ff.close()

f.write("\n\n -- **************" + "gfx.p8" + "****************\n\n")
footer= open("src/gfx.p8", 'r')
f.write(footer.read())
footer.close()
f.close()
