CODE_BIN - FrogChopi/CF-VANGUARD-STRIDE-TO-VICTORY-FANMADE-TRAD GitHub Wiki

INTRO

code.bin contain the core code of the game

The principal problem here is the size indicate in the header is wrong :

Name:                   vanguard
Flags:                  01 [compressed]
Remaster version:       0000
Code text address:      0x00100000
Code text size:         0x007D22D4
Code text max pages:    0x000007D3 (0x007D3000)
Code ro address:        0x008D3000
Code ro size:           0x0034BF6C
Code ro max pages:      0x0000034C (0x0034C000)
Code data address:      0x00C1F000
Code data size:         0x001BBF78
Code data max pages:    0x000001BC (0x001BC000)
Code bss size:          0x001E16FC
Code stack size:        0x00010000

0x007D22D4 + 0x0034BF6C + 0x001BBF78 = 0xCDA1B8 => 13476280 octets but the size extracted of code.bin is 13479936 octets Actually the trad is ok but, that was better if we can edit the segments sizes

TOOLS

  • kynex7510 plugin for IDA
  • IDA_export_pointers.py => export pointer with value in the data range
  • IDA_export_section_sizes.py => export sections sizes
  • code_bin_trad_no_extend.py traduce code.bin into code_patched.bin

ABOUT THE STRUCTURE

Global structure

000000 => UTF-8
849720 => Start UTF-16
849730 => Debut de la zone a traduire ( text )
A5046E => Fin de la zone a traduire
A51D70 => End UTF-16
CD2324 => UTF-8
CDB073 => End File

Zone to traduce

0x 849720
<error_message>
0x84AF30
<menu/info_message>
0x84CAD0
<card_names>
0x84D6F0
<effect_text>
0x85BA10
<flavor_text + artist + booster>
    @42 => booster
    @43 => second artist
    @44 => colorist
    @40 => flavor text
    @41 => artist
    - after artist if \x0000 separator that a card name list while no @
0x93A6A0 => 寿
<text about characters ?>
0x943EE0
<dialogues> and other strings
0x953C40
<card_data>
0xA5046

CARD REF EXAMPLE :

========================= code.bin
【得た能力】
@0E@05   @27     :[あなたの手札から1枚選び、捨てる,あなたの手札からカード名に「オーバーロード」を含むカードを1枚選び、捨てる]このユニットがヴァンガードにアタックしたバトルの終了時、コストを払ってよい。払ったら、このユニットを@11し、そのターン中、
パワー+5000。 (コストを払わなくても、この能力は使えなくなる)

@23    (お互いのヴァンガードがグレード3以上で解放!)-ストライドステップ-[あなたの手札からグレードの合計が3以上になるように1枚以上選び、捨てる]裏ののカードを@02 に@23    する。

@0D@05   :[@15 ②,あなたのGゾーンから裏の「覇天皇竜 ドラゴニック・オーバーロード “The Ace”」を1枚選び、表にする]あなたのGゾーンの表のカードが2枚以上なら、そのターン中、このユニットのドライブ-1し、『@0E@1C   @27     :[あなたの手札から1枚選び、捨てる,あなたの手札からカード名に「オーバーロード」を含むカードを1枚選び、捨てる]このユニットがヴァンガードにアタックしたバトルの終了時、コストを払ってよい。払ったら、このユニットを@11し、そのターン中、@07+5000。 (コストを払わなくても、この能力は使えなくなる)』を得る。

========================== jap text

【超越】(お互いのヴァンガードがグレード3以上で解放!)-ストライドステップ-[あなたの手札からグレードの合計が3以上になるように1枚以上選び、捨てる]裏のこのカードを (V)に【超越】する。

【起】【(V)】:[【カウンターブラスト】(2),あなたのGゾーンから裏の「覇天皇竜 ドラゴニック・オーバーロード “The Ace”」を1枚選び、表にする]あなたのGゾーンの表のカードが2枚以上なら、そのターン中、このユニットのドライブ-1し、

『【自】【(V)】【ターン1回】:[あなたの手札から1枚選び、捨てる,あなたの手札からカード名に「オーバーロード」を含むカードを1枚選び、捨てる]このユニットがヴァンガードにアタックしたバトルの終了時、コストを払ってよい。払ったら、このユニットを【スタンド】し、そのターン中、パワー+5000。(コストを払わなくても、この能力は使えなくなる)』を得る。

============================ eng text

[Stride](Released when both players' vanguards are grade 3 or greater!)-Stride Step-[Choose one or more cards with the sum of their grades being 3 or greater from your hand, and discard them] [Stride] this card on your (VC) from face down.

[ACT](VC):[Counter-Blast 2 & Choose a face down card named \"Supreme Heavenly Emperor Dragon, Dragonic Overlord \"the Ace\"\" from your G zone, and turn it face up] If the number of face up cards in your G zone is two or more, until end of turn, this unit gets drive -1, and \"

[AUTO](VC)[1/turn]:[Choose a card from your hand, discard it, choose a card with \"Overlord\" in its card name from your hand, and discard it] At the end of the battle that this unit attacked a vanguard, you may pay the cost. If you do, [Stand] this unit, and it gets [Power] +5000 until end of turn. (Even if you do not pay the cost, this ability cannot be used for the rest of that turn.)\".
=========================

【自】【(R)】【Gブレイク】(1)(あなたの (V)かGゾーンに表のGユニットが1枚以上で有効):[【カウンターブラスト】(1)]このユニットがヴァンガードにアタックした時、このユニットが【ブースト】されているなら、コストを払ってよい。払ったら、相手のリアガードを1枚選び、【レスト】し、次の相手のターンの終了時まで、

『【自】【(R)】:あなたのターンの終了時、このユニットが【レスト】しているなら、相手は1枚引いてよい。』を与え、そのターン中、そのユニットは【インターセプト】できず、そのユニットは、次の相手のスタンドフェイズ中、【スタンド】できない。

=========================

@0E@03   @25   (あなたの@02 かGゾーンに表のGユニットが1枚以上で有効):[@15 ①]このユニットがヴァンガードにアタックした時、このユニットが@0C(ブースト)されているなら、コストを払ってよい。払ったら、相手のリアガードを1枚選び、@10し、次の相手のターンの終了時まで、

『@0E@1A   :あなたのターンの終了時、このユニットが@10しているなら、相手は1枚引いてよい。』を与え、そのターン中、そのユニットは@0B(インターセプト)できず、そのユニットは、次の相手のスタンドフェイズ中、@11できない。

==========================

[AUTO](RC)[Generation Break 1](This ability is active if you have one or more face up G units in total on your (VC) or G zone):[Counter-Blast 1] When this unit attacks a vanguard, if this unit is boosted ([Boost]), you may pay the cost. If you do, choose one of your opponent's rear-guards, [Rest] it, until end of your opponent's next turn, it gets \"

[AUTO](RC):At the end of your turn, if this unit is at [Rest], your opponent may draw a card.\", until end of turn, that unit cannot intercept ([Intercept]), and that unit cannot [Stand] during your opponent's next stand phase.
======================
【超越】(お互いのヴァンガードがグレード3以上で解放!)-ストライドステップ-[あなたの手札からグレードの合計が3以上になるように1枚以上選び、捨てる]裏のこのカードを(V)に【超越】する。

【起】【(V)】【ターン1回】:[あなたのGゾーンから裏の「聖樹竜 ジングルフラワー・ドラゴン」を1枚選び、表にする]あなたのGゾーンの表のカードが2枚以上なら、あなたのユニットを1枚選び、そのターン中、

『【永】【(V)/(R)】:あなたのターン中、このユニットと同名のあなたのユニット1枚につき、あなたのユニットすべてのパワー+2000。』を与える。
======================
@0D@05   @27     :[あなたのGゾーンから裏の「聖樹竜 ジングルフラワー・ドラゴン」を1枚選び、表にする]あなたのGゾーンの表のカードが2枚以上なら、あなたのユニットを1枚選び、そのターン中、『@0F@1D       :あなたのターン中、このユニットと同名のあなたのユニット1枚につき、あなたのユニットすべての@07+2000。』を与える。

【与えられた能力】
@0F@06       :あなたのターン中、このユニットと同名のあなたのユニット1枚につき、あなたのユニットすべてのパワー+2000。

======================
[Stride](Released when both players' vanguards are grade 3 or greater!)-Stride Step-[Choose one or more cards with the sum of their grades being 3 or greater from your hand, and discard them] [Stride] this card on your (VC) from face down.

[ACT](VC)[1/turn]:[Choose a face down card named \"Sacred Tree Dragon, Jingle Flower Dragon\" from your G zone, and turn it face up] If the number of face up cards in your G zone is two or more, choose one of your units, until end of turn, it gets \"

[CONT](VC/RC):During your turn, all of your units get [Power] +2000 for each of your units with the same card name as this unit.\".
=====================================

@0E@12  (あなたのダメージが4枚以上で有効):《ノヴァグラップラー》がこのユニットにライドした時、あなたのヴァンガードを1枚選び、そのターン中、@07+10000し、『@0E@1C   :[@15 ①]このユニットがヴァンガードにアタックした時、コストを払ってよい。払ったら、あなたの《ノヴァグラップラー》のリアガードをすべて@11する。』を与える。

======================================

【自】【リミットブレイク】(4)(あなたのダメージが4枚以上で有効):《ノヴァグラップラー》がこのユニットにライドした時、あなたのヴァンガードを1枚選び、そのターン中、パワー+10000し、

『【自】【(V)】:このユニットがヴァンガードにアタックした時、あなたの前列の《ノヴァグラップラー》のリアガードをすべて【スタンド】する。』を与える。

【自】【(V)】:このユニットが《ノヴァグラップラー》に【ブースト】された時、そのバトル中、このユニットのパワー+2000。【永】【(V)/(R)】:盟主(共通するクランがないあなたのユニットがいるとアタックできない)

=======================================

[AUTO][Limit-Break 4](This ability is active if you have four or more damage):When a &ltNova Grappler> rides this unit, choose your vanguard, and until end of turn, that unit gets [Power] +10000 and \"

[AUTO](VC):When this unit attacks a vanguard, [Stand] all of your &ltNova Grappler> rear-guards in the front row.\".

[AUTO](VC):When this unit is boosted ([Boost]) by a &ltNova Grappler>, this unit gets [Power] +2000 until end of that battle.

[CONT](VC/RC):Lord (If you have a unit without a same clan as this unit, this unit cannot attack)
=====================================

【自】【(V)】【リミットブレイク】(4)(あなたのダメージが4枚以上で有効):[【ソウルブラスト】(3)]このユニットがヴァンガードにアタックした時、コストを払ってよい。払ったら、2枚引き、あなたの手札から1枚選び、ソウルに置き、そのバトル中、このユニットのパワー+5000。

【永】【(V)】:あなたのソウルに「黄昏の狩人 アルテミス」があるなら、このユニットのパワー+1000。

======================================

@0E@05   @12  (あなたのダメージが4枚以上で有効):[@14 ③]このユニットがヴァンガードにアタックした時、コストを払ってよい。払ったら、2枚引き、あなたの手札から1枚選び、ソウルに置き、そのバトル中、このユニットの@07+5000。

======================================

[AUTO](VC)[Limit-Break 4](This ability is active if you have four or more damage):[Soul-Blast 3] When this unit attacks a vanguard, you may pay the cost. If you do, draw two cards, choose a card from your hand, put it into your soul, and this unit gets [Power] +5000 until end of that battle.

[CONT](VC):If you have a card named \"Twilight Hunter, Artemis\" in your soul, this unit gets [Power] +1000.
⚠️ **GitHub.com Fallback** ⚠️