diff --git a/butano/include/bn_documentation.h b/butano/include/bn_documentation.h index e2c33ab45..a3f3aa583 100644 --- a/butano/include/bn_documentation.h +++ b/butano/include/bn_documentation.h @@ -1264,6 +1264,7 @@ * * * bn::sprite_ptr::put_below, bn::regular_bg_ptr::put_below and bn::affine_bg_ptr::put_below added. * * H-Blank effects IWRAM usage reduced. + * * butano-graphics-tool.py errors reporting improved. * * * @section changelog_5_1_0 5.1.0 diff --git a/butano/tools/butano-graphics-tool.py b/butano/tools/butano-graphics-tool.py index 75f9de66a..4e5cf226d 100755 --- a/butano/tools/butano-graphics-tool.py +++ b/butano/tools/butano-graphics-tool.py @@ -1046,7 +1046,7 @@ def process(graphics_folder_paths, build_folder_path): pool.close() total_size = 0 - process_exc = None + process_excs = [] for process_result in process_results: if len(process_result) == 3: @@ -1055,13 +1055,15 @@ def process(graphics_folder_paths, build_folder_path): print(' ' + str(process_result[0]) + ' item header written in ' + str(process_result[1]) + ' (graphics size: ' + str(file_size) + ' bytes)') else: - process_exc = process_result + process_excs.append(process_result) sys.stdout.flush() - if process_exc is not None: - sys.stderr.write(str(process_exc[0]) + ' processing failed!\n') - raise process_exc[1] + if len(process_excs) > 0: + for process_exc in process_excs: + sys.stderr.write(str(process_exc[0]) + ' error: ' + str(process_exc[1]) + '\n') + + exit(-1) print(' ' + 'Processed graphics size: ' + str(total_size) + ' bytes') diff --git a/docs/changelog.html b/docs/changelog.html index eec208a5e..5963a5c5d 100644 --- a/docs/changelog.html +++ b/docs/changelog.html @@ -73,7 +73,7 @@

Contents

  • 0.1.0
  • -

    5.2.0 (next release)

    5.1.0

    5.0.0

    4.4.0

    4.3.0

    4.2.0

    4.1.0

    4.0.0

    3.3.0

    3.2.1

    bn::optional build fix.

    3.2.0

    bn::optional is now constexpr.

    3.1.0

    3.0.0

    Thanks to the awesome gba-link-connection, multiplayer support has been implemented! See bn::link and the link example for more.

    2.0.0

    1.0.0

    0.4.0

    0.3.0

    0.2.0

    0.1.0

    First release.

    +

    5.2.0 (next release)

    5.1.0

    5.0.0

    4.4.0

    4.3.0

    4.2.0

    4.1.0

    4.0.0

    3.3.0

    3.2.1

    bn::optional build fix.

    3.2.0

    bn::optional is now constexpr.

    3.1.0

    3.0.0

    Thanks to the awesome gba-link-connection, multiplayer support has been implemented! See bn::link and the link example for more.

    2.0.0

    1.0.0

    0.4.0

    0.3.0

    0.2.0

    0.1.0

    First release.