OSASK

OSASK/tek5

  • ここでは、tek5の圧縮に関するいろいろな実験を行っております。

あっきぃ製アプリtek5化

ソフト名(stk5)tek5(eprm:z1)tek5(eopt,eprm:@)tek5比較
bocd256125352527-8
bonno775753749-4
cvtg166616351628-7
gaku496485479-6
icondec131212851280-5
kurohige902873870-3
LuckyNum434424421-3
mtorz292(tek0)287283-4
uro2mOSA567561554-7
keymouse582548574(バージョンアップのため)+26
合計95879386933947(含keymouse:21^^;;)

おりくん作「覆面ライダー」シリーズ第1話を徹底圧縮

  • 圧縮前のファイルサイズ
    001.hel   288,012 Bytes

1. eprm編

  1. まず、z1とz2で比べて小さいほうを選ぶ
    eprm:z1   out:ori001A.hel     25,491 Bytes
    eprm:z2   out:ori001B.hel     25,411 Bytes   ←z1と比べて小さいからこれ
  2. 次に、z2と組み合わせて小さくなるものを選ぶ。
    eprm:z2d1 out:ori001C.hel     25,406 Bytes
    eprm:z2d2 out:ori001D.hel     25,405 Bytes   ←z2より小さいから仲間入り
    eprm:z2d3 out:ori001E.hel     25,414 Bytes
    eprm:z2e1 out:ori001F.hel     25,404 Bytes   ←z2より小さいから仲間入り
    eprm:z2f1 out:ori001G.hel     25,412 Bytes
    eprm:z2g1 out:ori001H.hel     25,413 Bytes
    eprm:z2h1 out:ori001I.hel     25,406 Bytes   ←z2より小さいから仲間入り
  3. 仲間入りしたパラメータを全部足す。
    eprm:z2d2e1h1 out:ori001EX1.hel     25,392 Bytes
    • 25,400 Bytes台を切った!
  4. ここで、「z2d2e1h1」「z1」「z0」を一応比較する。
    (eprm:z2d2e1h1 out:ori001EX1.hel     25,392 Bytes)
    (eprm:z1       out:ori001A.hel       25,491 Bytes)
     eprm:z0       out:ori001z0.hel      25,654 Bytes
    • z2の勝ちなので、eprmは「eprm:z2d2e1h1」で確定して良いと言える。

2.eopt編

  • ※eopt編ではfbをいじる。他にもあるが、難しいらしいのでパスする。
  1. まずは大雑把に数値を入れて、どのファイルのサイズが一番小さいかを見る。
    eopt:-fb124 out:ori001J.hel    25,377 Bytes   ←小さい
    eopt:-fb128 out:ori001K.hel    25,411 Bytes
    eopt:-fb132 out:ori001L.hel    25,455 Bytes
  2. fb124が小さいので、この数の2つ前後を調べる。
     eopt:-fb122 out:ori001M.hel    25,471 Bytes
     eopt:-fb123 out:ori001N.hel    25,390 Bytes
    (eopt:-fb124 out:ori001J.hel    25,377 Bytes)
     eopt:-fb125 out:ori001O.hel    25,370 Bytes   ←小さい
     eopt:-fb126 out:ori001P.hel    25,416 Bytes
    • 一番ファイルサイズが小さい「fb125」で確定。

3.仕上げ

  1. eprm編とeopt編で確定したそれぞれのパラメータをあわせて圧縮する。
    eprm:z2d2e1h1 eopt:-fb125 out:ori001EX2.hel     25,348 Bytes
    • 今までで一番小さいファイルサイズとなる。
  • 面倒くさそうではあるが、バッチファイルを組むなどすれば、うまくできるだろう。

覆面ライダー全31話のパラメーターを細かく決める実験

  • bim2binの裏verで自動判定!
  • 気付いたことが…。圧縮前のサイズの下2桁が必ず「12」になってる…。不思議…。
    eprmeopt圧縮前サイズ圧縮後サイズ
    01z2d1e1f0g0h1-a2_-d23_-fb69_-lc0_-lp0_-pb0_-mfbt4288,012 Bytes25,266 Bytes
    02z2d2e1f0g0h1-a2_-d23_-fb103_-lc0_-lp0_-pb0_-mfbt4350,412 Bytes38,337 Bytes
    03z2d1e0f0g0h1-a2_-d23_-fb162_-lc0_-lp0_-pb0_-mfbt4232,812 Bytes31,121 Bytes
    04z2d1e0f0g0h1-a2_-d23_-fb150_-lc0_-lp0_-pb0_-mfbt4460,812 Bytes43,563 Bytes
    05z2d0e1f0g0h1-a2_-d23_-fb77_-lc0_-lp0_-pb0_-mfbt4261,612 Bytes26,445 Bytes
    06z2d1e1f0g1h1-a2_-d23_-fb173_-lc0_-lp0_-pb0_-mfbt4232,812 Bytes27,130 Bytes
    07z2d1e1f0g0h1-a2_-d23_-fb197_-lc0_-lp0_-pb0_-mfbt4163,212 Bytes20,435 Bytes
    08z2d1e0f0g0h1-a2_-d23_-fb64_-lc0_-lp0_-pb0_-mfbt4283,212 Bytes17,607 Bytes
    09z2d1e1f0g0h1-a2_-d23_-fb212_-lc0_-lp0_-pb0_-mfbt4427,212 Bytes57,100 Bytes
    10z2d1e1f0g0h1-a2_-d23_-fb220_-lc0_-lp0_-pb0_-mfbt4477,612 Bytes34,383 Bytes
    11z2d1e0f0g0h0-a2_-d23_-fb208_-lc0_-lp0_-pb0_-mfbt4146,412 Bytes29,289 Bytes
    12z2d1e1f0g0h1-a2_-d23_-fb188_-lc0_-lp0_-pb0_-mfbt4350,412 Bytes25,106 Bytes
    13z2d1e1f0g0h1-a2_-d23_-fb234_-lc0_-lp3_-pb0_-mfbt4405,612 Bytes31,738 Bytes
    14z2d1e1f0g0h1-a2_-d23_-fb168_-lc0_-lp0_-pb0_-mfbt4362,412 Bytes36,079 Bytes
    15z2d1e1f0g0h1-a2_-d23_-fb240_-lc0_-lp0_-pb0_-mfbt4184,812 Bytes14,697 Bytes
    16z2d1e1f1g1h1-a2_-d23_-fb173_-lc0_-lp0_-pb0_-mfbt4633,612 Bytes36,451 Bytes
    17z2d0e0f0g0h1-a2_-d23_-fb180_-lc0_-lp0_-pb0_-mfbt4148,812 Bytes18,822 Bytes
    18z2d0e1f0g0h1-a2_-d23_-fb220_-lc0_-lp0_-pb0_-mfbt4129,612 Bytes16,059 Bytes
    19z2d0e0f0g0h0-a2_-d23_-fb244_-lc0_-lp0_-pb0_-mfbt4129,612 Bytes11,476 Bytes
    20z2d1e1f0g0h1-a2_-d23_-fb247_-lc0_-lp0_-pb0_-mfbt4268,812 Bytes23,633 Bytes
    21z2d1e0f0g0h1-a2_-d23_-fb217_-lc0_-lp0_-pb0_-mfbt4216,012 Bytes15,977 Bytes
    22z2d1e1f0g0h1-a2_-d23_-fb137_-lc0_-lp0_-pb0_-mfbt4415,212 Bytes12,869 Bytes
    23z2d1e1f0g0h1-a2_-d23_-fb222_-lc0_-lp0_-pb0_-mfbt4261,612 Bytes12,006 Bytes
    24z2d1e0f1g0h1-a2_-d23_-fb220_-lc0_-lp0_-pb0_-mfbt4288,012 Bytes14,557 Bytes
    25z2d1e1f0g0h0-a2_-d23_-fb213_-lc0_-lp0_-pb0_-mfbt4218,412 Bytes13,509 Bytes
    26z2d1e0f0g0h1-a2_-d23_-fb133_-lc0_-lp0_-pb0_-mfbt4506,412 Bytes20,016 Bytes
    27z2d2e1f0g1h1-a2_-d23_-fb194_-lc0_-lp0_-pb0_-mfbt4732,012 Bytes56,008 Bytes
    28z2d2e0f0g0h1-a2_-d23_-fb92_-lc0_-lp0_-pb0_-mfbt4254,412 Bytes35,723 Bytes
    29z2d1e1f0g0h0-a2_-d23_-fb189_-lc0_-lp0_-pb0_-mfbt4376,812 Bytes26,023 Bytes
    30z2d0e1f0g0h0-a2_-d23_-fb177_-lc0_-lp0_-pb0_-mfbt4451,212 Bytes21,780 Bytes
    31z2d1e1f0g0h0-a2_-d23_-fb232_-lc0_-lp0_-pb0_-mfbt4223,212 Bytes12,183 Bytes
    --9,881,172 Bytes805,388 Bytes

コメント欄

  • あっきぃさんにいわれたのがきっかけでeoptとeprmの自動最適化モードを作ってみました。いやになっちゃうほど時間が掛かるけど、とりあえず楽ですー。アイデアありがとう。 -- K 2004-10-17 (日) 18:12:53
  • おぉぉ!ほんとについたですか!ありがとうございます〜 -- あっきぃ 2004-10-17 (日) 22:06:47

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2010-03-25 (木) 23:57:42