16 lines
324 B
Python
16 lines
324 B
Python
from os import path
|
|
|
|
from generate.generate import prefix
|
|
|
|
def as_obj_binary(path):
|
|
p0, _ = str(path).splitext()
|
|
p = p0.replace('.', '_').replace('/', '_')
|
|
return f"_binary_{p}"
|
|
|
|
def g(block_path):
|
|
path = prefix / block_path
|
|
obj_binary = as_obj_binary(path)
|
|
"forest.4bpp.cell.h"
|
|
|
|
def f(blocks_list):
|