utils: add script for inserting custom image into package3

This commit is contained in:
Michael Scire
2021-09-06 16:21:55 -07:00
committed by SciresM
parent 960161741d
commit 5e64460bb9
4 changed files with 45 additions and 1 deletions

View File

@@ -164,7 +164,7 @@ def main(argc, argv):
mesosphere = read_file(os.path.join(ams_dir, 'mesosphere/mesosphere%s.bin' % target))
all_kips = get_kips(ams_dir)
tsec_keygen = read_file(os.path.join(ams_dir, 'fusee/program/tsec_keygen/tsec_keygen.bin'))
splash_bin = read_file(os.path.join(ams_dir, 'fusee/program/splash_screen/splash_screen.bin'))
splash_bin = read_file(os.path.join(ams_dir, 'img/splash.bin'))
assert len(splash_bin) == 0x3C0000
with open(os.path.join(ams_dir, 'fusee/package3%s' % target), 'wb') as f:
# Write header

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 MiB