Finish cleaning
BIN
Plague.g3a
Before Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 15 KiB |
|
@ -1,28 +0,0 @@
|
|||
import fxconv
|
||||
|
||||
|
||||
def convert(input_name, output, params, target):
|
||||
if params["custom-type"] == "mutation-table":
|
||||
convert_mt(input_name, output, params, target)
|
||||
return 0
|
||||
elif params["custom-type"] == "mutation":
|
||||
convert_md(input_name, output, params, target)
|
||||
return 0
|
||||
else:
|
||||
return 1
|
||||
|
||||
|
||||
def convert_mt(input_name, output, params, target):
|
||||
with open(input_name, "r") as file:
|
||||
# Extract informations
|
||||
lines = file.read().splitlines()
|
||||
mutation_matrix = [i.split(" | ") for i in lines]
|
||||
|
||||
# Encode information into bytes
|
||||
data = bytes()
|
||||
for i in mutation_matrix:
|
||||
for j in i:
|
||||
data += fxconv.u32(int(j))
|
||||
|
||||
fxconv.elf(data, output, "_" + params["name"], **target)
|
||||
|
Before Width: | Height: | Size: 698 B |
BIN
assets/dna.png
Before Width: | Height: | Size: 808 B |
Before Width: | Height: | Size: 1.7 KiB |
|
@ -1,13 +0,0 @@
|
|||
*.png:
|
||||
type: bopti-image
|
||||
name_regex: (.*)\.png img_\1
|
||||
|
||||
plague.png:
|
||||
type: font
|
||||
name: font_plague
|
||||
charset: print
|
||||
grid.size: 5x5
|
||||
grid.padding: 1
|
||||
proportional: True
|
||||
|
||||
|
Before Width: | Height: | Size: 15 KiB |
|
@ -1,4 +0,0 @@
|
|||
1 | 0 | 0 | 0 | 15 | 0 | 0 | 0
|
||||
15 | 15 | 0 | 15 | 0 | 0 | 0 | 0
|
||||
0 | 0 | 0 | 0 | 15 | 0 | 0 | 0
|
||||
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0
|
|
@ -1,4 +0,0 @@
|
|||
1 | 0 | 0 | 0 | 15 | 0 | 0 | 0
|
||||
2 | 15 | 0 | 3 | 0 | 0 | 0 | 0
|
||||
0 | 0 | 0 | 0 | 15 | 0 | 0 | 0
|
||||
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0
|
|
@ -1,4 +0,0 @@
|
|||
1 | 0 | 0 | 0 | 6 | 0 | 0 | 0
|
||||
2 | 5 | 0 | 3 | 0 | 0 | 0 | 0
|
||||
0 | 0 | 0 | 0 | 4 | 0 | 0 | 0
|
||||
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0
|
|
@ -1,3 +0,0 @@
|
|||
*.txt:
|
||||
custom-type: mutation-table
|
||||
name_regex: (.*)\.txt mt_\1
|
|
@ -1,4 +0,0 @@
|
|||
1 | 15 | 15 | 15 | 3 | 0 | 0 | 0
|
||||
0 | 0 | 15 | 15 | 0 | 0 | 0 | 0
|
||||
0 | 0 | 15 | 0 | 15 | 0 | 0 | 0
|
||||
0 | 10 | 15 | 6 | 15 | 15 | 0 | 0
|
|
@ -1,4 +0,0 @@
|
|||
1 | 2 | 15 | 4 | 3 | 0 | 0 | 0
|
||||
0 | 0 | 15 | 15 | 0 | 0 | 0 | 0
|
||||
0 | 0 | 15 | 0 | 15 | 0 | 0 | 0
|
||||
0 | 10 | 7 | 6 | 9 | 15 | 0 | 0
|
|
@ -1,4 +0,0 @@
|
|||
1 | 2 | 5 | 4 | 3 | 0 | 0 | 0
|
||||
0 | 0 | 15 | 15 | 0 | 0 | 0 | 0
|
||||
0 | 0 | 8 | 0 | 15 | 0 | 0 | 0
|
||||
0 | 10 | 7 | 6 | 9 | 11 | 0 | 0
|
|
@ -1,4 +0,0 @@
|
|||
1 | 2 | 5 | 4 | 3 | 0 | 0 | 0
|
||||
0 | 0 | 14 | 13 | 0 | 0 | 0 | 0
|
||||
0 | 0 | 8 | 0 | 12 | 0 | 0 | 0
|
||||
0 | 10 | 7 | 6 | 9 | 11 | 0 | 0
|
|
@ -1,4 +0,0 @@
|
|||
1 | 15 | 15 | 0 | 15 | 5 | 0 | 0
|
||||
0 | 0 | 0 | 15 | 0 | 0 | 0 | 11
|
||||
9 | 15 | 0 | 0 | 0 | 0 | 0 | 15
|
||||
0 | 0 | 0 | 7 | 15 | 0 | 0 | 15
|
|
@ -1,4 +0,0 @@
|
|||
1 | 2 | 15 | 0 | 15 | 5 | 0 | 0
|
||||
0 | 0 | 0 | 15 | 0 | 0 | 0 | 11
|
||||
9 | 10 | 0 | 0 | 0 | 0 | 0 | 12
|
||||
0 | 0 | 0 | 7 | 8 | 0 | 0 | 15
|
|
@ -1,4 +0,0 @@
|
|||
1 | 2 | 3 | 0 | 6 | 5 | 0 | 0
|
||||
0 | 0 | 0 | 4 | 0 | 0 | 0 | 11
|
||||
9 | 10 | 0 | 0 | 0 | 0 | 0 | 12
|
||||
0 | 0 | 0 | 7 | 8 | 0 | 0 | 13
|
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 4.9 KiB |
BIN
assets/title.png
Before Width: | Height: | Size: 21 KiB |