Finish cleaning

This commit is contained in:
Shadow15510 2021-06-29 16:47:45 +02:00
parent 9c835445bb
commit f27f2d2e01
25 changed files with 0 additions and 84 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

View File

@ -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)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 698 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 808 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,3 +0,0 @@
*.txt:
custom-type: mutation-table
name_regex: (.*)\.txt mt_\1

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB