SuperFromND / iguana

Golang tool for automatically creating Ikemen GO movelists.
MIT License
10 stars 0 forks source link

Iguana appears to corrupt characters with multiple DEF files when in batch mode #10

Closed SuperFromND closed 1 month ago

SuperFromND commented 1 month ago

Before Iguana:

[Files]
Cmd      = skapon.cmd       ;入力コマンド定義ファイルの登録
Cns      = skapon.cns       ;基本ステータス情報ファイルの登録
St       = skapon.cns       ;動作プログラムファイルの登録(最大10個くらい増やせます(St,St0,St1,St2......))
St0       = skapon.-2       ;強制ステート
St1       = jmf.-3      ;うちのジョイメカファイト共用ステート
StCommon = jmf'.cns     ;コモン動作プログラムファイルの登録

After Iguana:

[Files]
Cmd      = """skapon.cmd        ;入力コマンド定義ファイルの登録"""
Cns      = skapon.cns       ;基本ステータス情報ファイルの登録
St       = skapon.cns       ;動作プログラムファイルの登録(最大10個くらい増やせます(St,St0,St1,St2......))
St0      = skapon.-2        ;強制ステート
St1      = jmf.-3       ;うちのジョイメカファイト共用ステート
StCommon = jmf'.cns     ;コモン動作プログラムファイルの登録
Sprite   = skapon.sff       ;複数のPCX画像を1パック化したスプライトファイルの登録
Anim     = skapon.air       ;アニメーションファイルの登録
Sound    = skapon.snd       ;複数のWAV音声を1パック化したサウンドファイルの登録
; ---カラーパレットファイルの設定(最大12個まで可能)---
Pal1     = """JMNC.act          ;A(ジョイメカ1Pカラー)"""
Pal2     = skapon2.act      ;B(ジョイメカ2Pカラー)
Pal3     = skapon3.act      ;C(水色)
Pal4     = skapon4.act      ;X(橙)
Pal5     = skapon5.act      ;Y(紫)
Pal6     = skapon6.act      ;Z(灰色)
; ※ここから設定する下のカラーを選ぶ時は、キャラクターセレクト時に
; スタートボタン(Sボタン)を押しながら各攻撃ボタンで決定すれば使えます。
Pal7     = """skapon7.act       ;SA(ゴールド)"""
Pal8     = skapon8.act      ;SB(アヒャカラー)
Pal9     = skapon9.act      ;SC(エメラルド)
Pal10    = skapon10.act     ;SX(白)
Pal11    = skapon11.act     ;SY(ピンク赤反転)
Pal12    = skapon12.act     ;SZ(アニメ調)
movelist = movelist.dat

Noticed this when I was testing Iguana with certain characters such as Yamabe Yui's version of Sukapon. Definitely not good! Need to find a better way of patching character files, maybe only editing DEF files named after the parent folder.

Link to affected character. Likely breaks others as well.

SuperFromND commented 1 month ago

On a related note it also seems like Iguana's messing up fields it shouldn't even be editing like Pal7 and Cmd, so my patching code could definitely use some work too.

SuperFromND commented 1 month ago

This appears to be fixed now with the latest commit!