Skip to content

Releases

Bad Apple!! ERB v1.0.1

Choose a tag to compare

@github-actions github-actions released this 02 Dec 21:30
3c8ed73

Bad Apple!! ERB v1.0.1 — リリースノート / Release notes

PyEmuera 3.1.0 へのランタイム更新。数値モデル、描画、再生方式、メニュー、PyPy は従来版と共通です。

Runtime update to PyEmuera 3.1.0. The numerical model, renderer, playback modes, menu and PyPy are unchanged.

Bad Apple!! ERB — 79×24-cell animation excerpt

本編8~20秒の抜粋、12秒ループ。79×24セルを等幅フォントで描画したプレビューです。

12-second loop from the 8–20 second excerpt, rendered from the 79×24 grayscale cells with a monospaced font.

日本語

収録内容

79桁×24行の Bad Apple!! 文字映像を、AA 付きメニューから2種類の方式で再生できます。メニュー、フレーム計算、表示処理、両再生方式は、1つの PLAYER.ERB に収録されています。

入力 選択 動作
1 時間同期 経過時間に対応するフレームを選び、処理が遅れたコマを省略する
2 全フレーム 全6,573コマを順番に計算して表示する
0 終了 プログラムを終了する

半角数字を入力して Enter で決定します。再生が終わるとメニューへ戻り、繰り返し再生や方式の切り替えができます。メニューの静止 AA は、大きなリボン、リンゴ、魔女帽子と箒をモチーフにしています。

両方式は共通の数値モデルと描画処理を使用します。時間同期は30 fps・**219.100秒(3分39.1秒)**の時間軸を基準に進み、最終フレームを表示します。終端をまたいだ計算・表示に必要な時間は、目標時間を超過することがあります。全フレームはコマを省略せず、処理性能に応じて再生時間が長くなります。

全編再生の計測(PyEmuera 3.1.0)

環境・処理系 再生方式 平均 fps 計算・表示コマ数 省略コマ数 映像区間
Windows 10 / ConPTY・PyPy 8.0.1 時間同期 29.4 — — —
Windows 10 / ConPTY・CPython 3.12.10 時間同期 5.9 — — —
Ubuntu 24.04 / PTY・PyPy 8.0.1 時間同期 29.92 6,555 18 219.100秒
Ubuntu 24.04 / PTY・PyPy 8.0.1 全フレーム 30.00 6,573 0 219.100秒
Debian 13.3 / PTY・CPython 3.13.5 時間同期 7.06 1,546 5,027 219.100秒
Debian 13.3 / PTY・PyPy 8.0.1 時間同期 27.81 6,093 480 219.100秒

80×25 の端末に79×24セルの映像を出力した計測例。Linux の全フレーム再生では、全コマを省略せずに原映像の時間内に再生した。Linux の時間同期で選んだ全6,555コマと、全フレームモードで計算した全6,573コマの端末出力は、連続する同一画面をまとめた照合でそれぞれ6,412画面、6,428画面が一致した。CPython 3.12.16 と PyPy 8.0.1 の論理セル照合でも、それぞれ全12,462,408セルが一致した。

Debian 13.3での追加計測は、AMD EPYC 9V74環境でCPUアフィニティを2コアずつ分離して同時に実行した。両処理系とも端末出力の照合に合格し、再生時間の超過は0 msだった。共有ホスト資源と処理系のバージョンが異なるため、Ubuntu・Windowsの値とは別の計測例として扱う。追加計測記録

Windows の値は PyEmuera 3.1.0 README、Ubuntu の値は 全編回帰検証(BA_REALTIME_AUDIT、BA_PLAY)による。平均 fps は映像区間の計算・表示コマ数を再生秒数で割った値。初期化・データ読み込み・メニューの操作時間は含めない。異なる環境での観測値であり、すべての環境で同じ速度になることを保証するものではない。

Windows の UTF-8 起動処理

BadAppleERB.cmd は console_utf8.py を通して起動し、コンソールの入出力と Python の標準ストリームを UTF-8 に設定します。日本語メニューの出力とコンソールのコードページをそろえ、起動前の入力・出力コードページをそれぞれ保存して、終了処理で復元します。BadAppleERB_CPython.cmd も同じ起動経路を使用します。

文字化けする場合は、同じ配布版の BadAppleERB.cmd と console_utf8.py を両方展開し、BadAppleERB.cmd から起動してください。文字が四角になる場合は、日本語の字形を持つフォントを使用してください。

配布ファイル

GitHub の Releases に、次のファイルを収録します。

ファイル 内容
BadAppleERB_79x24_v1.0.1_win64_PyPy.zip Windows x64実行用。PyPy 同梱
BadAppleERB_79x24_v1.0.1_linux64_PyPy.tar.gz Linux x86_64実行用。PyPy 同梱
BadAppleERB_79x24_v1.0.1_source.zip 生成用スクリプト、参照データ、実行用ファイルを含むソース一式
BadAppleERB_79x24_v1.0.1_verification.json 再構成・再生処理などの確認結果

実行用パッケージは PyEmuera 3.1.0 と PyPy 8.0.1(Python 3.12.15) を使用します。PyPy の Python 3.12 実装は上流で beta と位置づけられています。通常の再生に元の MP4、FFmpeg、NumPy は不要です。

起動と表示条件

Windows は展開したフォルダーの BadAppleERB.cmd を起動します。Linux は展開先で次を実行します。

sh ./run.sh

リポジトリのソースから実行する場合は、Python 3.10以上を用意し、runtime 内で起動します。

cd runtime
python -B console_utf8.py PyEmuera.pyz .

必要に応じて python を python3 に置き換えてください。

  • 端末は 80桁×25行以上。本編は79桁×24行・256階調です。
  • 24ビットカラー、ANSI の画面制御、UTF-8、日本語対応の等幅フォントを使用します。
  • 音声はありません。初回のデータ読み込みとメニュー操作は、映像の再生時間に含まれません。
  • Windows x64版は Windows UCRT と Microsoft x64 Visual C++ ランタイム、Linux x86_64版は glibc 2.28以上を使用します。
  • 診断ログと再生記録を保存するため、書き込み可能な場所へ展開してください。

映像の一致対象は、元動画を固定条件で縮小した79×24セルの明度です。端末の字形、行間、文字セルの縦横比は表示環境に従います。

操作方法は README_ja.md、生成と再生の詳しい説明は HOW_IT_WORKS_ja.txt を参照してください。プロジェクトで作成したコードのライセンスは LICENSE、元映像・動画由来のデータ・同梱コンポーネントについては CREDITS.md に記載しています。

English

Included features

Bad Apple!! ERB plays a 79-column × 24-row character animation through a title menu with static ASCII artwork. One PLAYER.ERB contains the menu, frame calculation, presentation, and both playback modes.

Input Selection Behavior
1 Time-synchronized Selects the current frame from elapsed time and skips obsolete frames when processing is late.
2 All frames Calculates and displays all 6,573 frames in sequence.
0 Exit Closes the program.

Type a number and press Enter. Playback returns to the menu for another selection. The title artwork depicts a ribboned silhouette, an apple, and a witch hat and broom.

Both modes share the numerical model and renderer. Time-synchronized playback follows the 30 fps, 219.100-second timeline and displays the final frame. Calculation or presentation that crosses the end boundary can extend playback by the work required to finish. All-frame playback preserves every frame and can take longer when processing is slow.

Full-length playback measurements (PyEmuera 3.1.0)

Environment and interpreter Playback mode Mean fps Calculated/presented frames Skipped frames Movie duration
Windows 10 / ConPTY · PyPy 8.0.1 Time-synchronized 29.4 — — —
Windows 10 / ConPTY · CPython 3.12.10 Time-synchronized 5.9 — — —
Ubuntu 24.04 / PTY · PyPy 8.0.1 Time-synchronized 29.92 6,555 18 219.100 s
Ubuntu 24.04 / PTY · PyPy 8.0.1 All frames 30.00 6,573 0 219.100 s
Debian 13.3 / PTY · CPython 3.13.5 Time-synchronized 7.06 1,546 5,027 219.100 s
Debian 13.3 / PTY · PyPy 8.0.1 Time-synchronized 27.81 6,093 480 219.100 s

These observations use a 79 × 24-cell movie in an 80 × 25 terminal. In the Linux all-frame run, every source frame was calculated and presented within the original duration. After collapsing consecutive identical images, all 6,412 distinct presentations in the time-synchronized run and all 6,428 in the all-frame run matched the reference. The logical-cell verification with CPython 3.12.16 and PyPy 8.0.1 also matched all 12,462,408 cells for each interpreter.

The additional Debian 13.3 measurements ran concurrently on disjoint two-CPU affinity sets on an AMD EPYC 9V74 host. Both terminal-output comparisons passed with zero timeline overrun. Shared resources and interpreter versions differ from the other environments, so these results are reported separately. Additional measurement record.

Windows observations: PyEmuera 3.1.0 README. Ubuntu observations: full regression run (BA_REALTIME_AUDIT and BA_PLAY). Mean fps is the number of calculated/presented frames divided by the movie duration. Initialization, payload loading and menu interaction are excluded. These are observations from different environments, not a guaranteed speed or a controlled cross-platform comparison.

Windows UTF-8 startup

BadAppleERB.cmd starts the engine through console_utf8.py, which aligns console input, console output, and Python text streams with UTF-8. It preserves the original input and output code pages separately and restores changed pages during shutdown. BadAppleERB_CPython.cmd uses the same startup path.

If Japanese menu text is garbled, extract BadAppleERB.cmd and console_utf8.py together from the same package version and launch with BadAppleERB.cmd. Missing-glyph boxes require a font with Japanese glyphs.

Release assets

The GitHub release includes:

File Contents
BadAppleERB_79x24_v1.0.1_win64_PyPy.zip Windows x64 runtime with bundled PyPy.
BadAppleERB_79x24_v1.0.1_linux64_PyPy.tar.gz Linux x86_64 runtime with bundled PyPy.
BadAppleERB_79x24_v1.0.1_source.zip Build scripts, reference data, and runtime files.
BadAppleERB_79x24_v1.0.1_verification.json Reconstruction and playback verification results.

The runtime bundles use PyEmuera 3.1.0 and PyPy 8.0.1 with Python 3.12.15. Upstream identifies this Python 3.12 implementation as beta. Normal playback does not require the original MP4, FFmpeg, or NumPy.

Startup and display requirements

On Windows, run BadAppleERB.cmd from the extracted folder. On Linux, run:

sh ./run.sh

To run the repository with an installed Python 3.10 or later:

cd runtime
python -B console_utf8.py PyEmuera.pyz .

Use python3 instead of python where appropriate.

  • Use a terminal of at least 80 columns × 25 rows. The movie occupies 79 × 24 cells with 256 grayscale levels.
  • The terminal needs 24-bit color, cursor control, UTF-8 support, and a monospaced font with Japanese glyphs.
  • Playback has no audio. Initial data loading and menu time are outside the movie timeline.
  • The Windows x64 package uses Windows UCRT and the Microsoft x64 Visual C++ runtime. The Linux x86_64 package requires glibc 2.28 or later.
  • Extract to a writable location for diagnostic and playback logs.

The reconstruction target is the fixed 79 × 24 grayscale reference derived from the original video. Glyph shape, line spacing, and physical cell proportions depend on the terminal.

See README_en.md for usage and troubleshooting, and [HOW_IT_WORKS_en.txt](https://github.com/Meistertech-JP/BadAppleERB/blob/v1.0...

Read more

Bad Apple!! ERB v1.0.0

Choose a tag to compare

@Meistertech-JP Meistertech-JP released this 26 Nov 02:56

Bad Apple!! ERB — リリースノート / Release notes

Bad Apple!! ERB — 79×24-cell animation excerpt

本編8~20秒の抜粋、12秒ループ。79×24セルを等幅フォントで描画したプレビューです。

12-second loop from the 8–20 second excerpt, rendered from the 79×24 grayscale cells with a monospaced font.

日本語

収録内容

79桁×24行の Bad Apple!! 文字映像を、AA 付きメニューから2種類の方式で再生できます。メニュー、フレーム計算、表示処理、両再生方式は、1つの PLAYER.ERB に収録されています。

入力 選択 動作
1 時間同期 経過時間に対応するフレームを選び、処理が遅れたコマを省略する
2 全フレーム 全6,573コマを順番に計算して表示する
0 終了 プログラムを終了する

半角数字を入力して Enter で決定します。再生が終わるとメニューへ戻り、繰り返し再生や方式の切り替えができます。メニューの静止 AA は、大きなリボン、リンゴ、魔女帽子と箒をモチーフにしています。

両方式は共通の数値モデルと描画処理を使用します。時間同期は30 fps・219.100秒(3分39.1秒)の時間軸を基準に進み、最終フレームを表示します。終端をまたいだ計算・表示に必要な時間は、目標時間を超過することがあります。全フレームはコマを省略せず、処理性能に応じて再生時間が長くなります。

Windows の UTF-8 起動処理

BadAppleERB.cmd は console_utf8.py を通して起動し、コンソールの入出力と Python の標準ストリームを UTF-8 に設定します。日本語メニューの出力とコンソールのコードページをそろえ、起動前の入力・出力コードページをそれぞれ保存して、終了処理で復元します。BadAppleERB_CPython.cmd も同じ起動経路を使用します。

文字化けする場合は、同じ配布版の BadAppleERB.cmd と console_utf8.py を両方展開し、BadAppleERB.cmd から起動してください。文字が四角になる場合は、日本語の字形を持つフォントを使用してください。

配布ファイル

GitHub の Releases に、次のファイルを収録します。

ファイル 内容
BadAppleERB_79x24_menu_win64_PyPy.zip Windows x64実行用。PyPy 同梱
BadAppleERB_79x24_menu_linux64_PyPy.tar.gz Linux x86_64実行用。PyPy 同梱
BadAppleERB_79x24_menu_source.zip 生成用スクリプト、参照データ、実行用ファイルを含むソース一式
BadAppleERB_79x24_menu_verification.json 再構成・再生処理などの確認結果

実行用パッケージは PyEmuera 3.0.0 と PyPy 8.0.1(Python 3.12.15) を使用します。PyPy の Python 3.12 実装は上流で beta と位置づけられています。通常の再生に元の MP4、FFmpeg、NumPy は不要です。

起動と表示条件

Windows は展開したフォルダーの BadAppleERB.cmd を起動します。Linux は展開先で次を実行します。

sh ./run.sh

リポジトリのソースから実行する場合は、Python 3.10以上を用意し、runtime 内で起動します。

cd runtime
python -B console_utf8.py PyEmuera.pyz .

必要に応じて python を python3 に置き換えてください。

  • 端末は 80桁×25行以上。本編は79桁×24行・256階調です。
  • 24ビットカラー、ANSI の画面制御、UTF-8、日本語対応の等幅フォントを使用します。
  • 音声はありません。初回のデータ読み込みとメニュー操作は、映像の再生時間に含まれません。
  • Windows x64版は Windows UCRT と Microsoft x64 Visual C++ ランタイム、Linux x86_64版は glibc 2.28以上を使用します。
  • 診断ログと再生記録を保存するため、書き込み可能な場所へ展開してください。

映像の一致対象は、元動画を固定条件で縮小した79×24セルの明度です。端末の字形、行間、文字セルの縦横比は表示環境に従います。

操作方法は README_ja.md、生成と再生の詳しい説明は HOW_IT_WORKS_ja.txt を参照してください。プロジェクトで作成したコードのライセンスは LICENSE、元映像・動画由来のデータ・同梱コンポーネントについては CREDITS.md に記載しています。

English

Included features

Bad Apple!! ERB plays a 79-column × 24-row character animation through a title menu with static ASCII artwork. One PLAYER.ERB contains the menu, frame calculation, presentation, and both playback modes.

Input Selection Behavior
1 Time-synchronized Selects the current frame from elapsed time and skips obsolete frames when processing is late.
2 All frames Calculates and displays all 6,573 frames in sequence.
0 Exit Closes the program.

Type a number and press Enter. Playback returns to the menu for another selection. The title artwork depicts a ribboned silhouette, an apple, and a witch hat and broom.

Both modes share the numerical model and renderer. Time-synchronized playback follows the 30 fps, 219.100-second timeline and displays the final frame. Calculation or presentation that crosses the end boundary can extend playback by the work required to finish. All-frame playback preserves every frame and can take longer when processing is slow.

Windows UTF-8 startup

BadAppleERB.cmd starts the engine through console_utf8.py, which aligns console input, console output, and Python text streams with UTF-8. It preserves the original input and output code pages separately and restores changed pages during shutdown. BadAppleERB_CPython.cmd uses the same startup path.

If Japanese menu text is garbled, extract BadAppleERB.cmd and console_utf8.py together from the same package version and launch with BadAppleERB.cmd. Missing-glyph boxes require a font with Japanese glyphs.

Release assets

The GitHub release includes:

File Contents
BadAppleERB_79x24_menu_win64_PyPy.zip Windows x64 runtime with bundled PyPy.
BadAppleERB_79x24_menu_linux64_PyPy.tar.gz Linux x86_64 runtime with bundled PyPy.
BadAppleERB_79x24_menu_source.zip Build scripts, reference data, and runtime files.
BadAppleERB_79x24_menu_verification.json Reconstruction and playback verification results.

The runtime bundles use PyEmuera 3.0.0 and PyPy 8.0.1 with Python 3.12.15. Upstream identifies this Python 3.12 implementation as beta. Normal playback does not require the original MP4, FFmpeg, or NumPy.

Startup and display requirements

On Windows, run BadAppleERB.cmd from the extracted folder. On Linux, run:

sh ./run.sh

To run the repository with an installed Python 3.10 or later:

cd runtime
python -B console_utf8.py PyEmuera.pyz .

Use python3 instead of python where appropriate.

  • Use a terminal of at least 80 columns × 25 rows. The movie occupies 79 × 24 cells with 256 grayscale levels.
  • The terminal needs 24-bit color, cursor control, UTF-8 support, and a monospaced font with Japanese glyphs.
  • Playback has no audio. Initial data loading and menu time are outside the movie timeline.
  • The Windows x64 package uses Windows UCRT and the Microsoft x64 Visual C++ runtime. The Linux x86_64 package requires glibc 2.28 or later.
  • Extract to a writable location for diagnostic and playback logs.

The reconstruction target is the fixed 79 × 24 grayscale reference derived from the original video. Glyph shape, line spacing, and physical cell proportions depend on the terminal.

See README_en.md for usage and troubleshooting, and HOW_IT_WORKS_en.txt for the numerical model and playback scheduling. LICENSE covers project-authored code. CREDITS.md describes the original video, video-derived data, and upstream components.