AI generatedCode
63.78%- 6.64% matching
- 57.14% partially matching
- 36.22% to do
Data
100%- 2,155,890,688 done
- 0 to do
Functions
24.34%- 2,591 matching
- 8,055 to do
code +0.18% · data ±0% ·
PC port: battle set-up, part 3 (gates, gate sounds, scenario tables)
Areas
- Matching
- Partially matching
- Not decompiled
All areas as a table
| Area | Matching | Partially matching | Data | Size (bytes) |
|---|---|---|---|---|
| (start-up and main loop) | 36.92% | 56.50% | — | 9,232 |
| Scenes (16) | 10.81% | 63.02% | — | 699,768 |
| StateInitialize.c | 3.04% | 94.86% | — | 76,760 |
| StateStartUp.c | 23.71% | 63.90% | — | 48,448 |
| StateDemo.c | 5.75% | 62.64% | — | 20,024 |
| StateBattleInitialize.c | 7.35% | 63.78% | — | 36,800 |
| StatePreBattle.c | 3.87% | 77.04% | — | 35,944 |
| StatePostBattle.c | 1.31% | 90.53% | — | 31,776 |
| StateConfig.c | 27.53% | 46.38% | — | 23,768 |
| StateTreasures.c | 92.88% | 7.12% | — | 9,440 |
| StateShop.c | 30.38% | 34.29% | — | 49,352 |
| StateConquest.c | 14.86% | 85.12% | — | 56,408 |
| StateEdit.c | 7.95% | 72.17% | — | 85,952 |
| StateSetupEmpMogi.c | 15.40% | 68.71% | — | 9,664 |
| SceneTitle.c | 0.75% | 47.09% | — | 80,632 |
| SceneLoading.c | 5.12% | 51.91% | — | 23,456 |
| ScenePreBattle.c | 1.04% | 31.69% | — | 75,264 |
| SceneTutorial.c | 18.18% | 70.59% | — | 36,080 |
| Empire mode (18) | 9.17% | 77.11% | — | 743,860 |
| emp_FldBase.c | 15.19% | 81.45% | — | 97,112 |
| emp_cq_main.c | 8.77% | 91.23% | — | 123,004 |
| emp_cq_text.c | 9.47% | 36.84% | — | 3,040 |
| emp_ending.c | 9.89% | 76.32% | — | 17,464 |
| emp_ending_nenpyou.c | 6.67% | 61.46% | — | 15,120 |
| emp_ev_predata.c | 8.85% | 83.15% | — | 73,256 |
| emp_ev_station.c | 2.22% | 82.56% | — | 60,472 |
| emp_ev_still.c | 11.23% | 58.46% | — | 69,536 |
| emp_free_setup.c | 4.15% | 68.25% | — | 53,256 |
| emp_sc.c | 3.70% | 42.53% | — | 5,192 |
| emp_war_fix.c | 18.20% | 81.72% | — | 45,000 |
| emp_war_tl.c | 15.05% | 64.61% | — | 23,600 |
| emp_war_wllt.c | 14.81% | 80.79% | — | 30,144 |
| emp_zuroku.c | 3.88% | 77.69% | — | 47,424 |
| emp_zuroku_bushou.c | 0.61% | 87.22% | — | 10,456 |
| emp_zuroku_graph.c | 6.13% | 58.87% | — | 33,928 |
| emp_zuroku_movie.c | 1.19% | 96.72% | — | 2,680 |
| StationEmp.c | 4.24% | 71.11% | — | 33,176 |
| Battlefield (12) | 3.58% | 48.05% | — | 516,868 |
| Field.c | 9.94% | 69.55% | — | 28,480 |
| Stage.c | 8.16% | 51.56% | — | 29,792 |
| StgAmbient.c | 0.37% | 40.28% | — | 26,048 |
| StgTexture.c | 2.00% | 42.48% | — | 76,040 |
| DistantView.c | 2.37% | 61.22% | — | 41,840 |
| BgManager.c | 5.12% | 13.76% | — | 59,024 |
| Bullet.c | 0.61% | 99.39% | — | 36,580 |
| Weapon.c | 3.32% | 52.62% | — | 55,936 |
| ObjAction.c | 3.05% | 75.61% | — | 47,224 |
| RelayCamera.c | 0.17% | 8.68% | — | 54,952 |
| MiniMap.c | 0.10% | 70.15% | — | 16,080 |
| effect.c | 8.91% | 42.65% | — | 44,872 |
| Models and motion (5) | 2.03% | 36.77% | — | 246,168 |
| ModelManager.c | 2.42% | 74.65% | — | 35,696 |
| MotionManager.c | 2.21% | 17.31% | — | 52,160 |
| HorseModel.c | 2.60% | 35.47% | — | 95,952 |
| FlagModel.c | 1.19% | 40.99% | — | 18,776 |
| ItemModel.c | 0.62% | 30.10% | — | 43,584 |
| Events and scripts (9) | 5.18% | 53.88% | — | 378,408 |
| ev_main.c | 7.40% | 60.22% | — | 14,480 |
| ev_config.c | 5.13% | 39.72% | — | 55,496 |
| ev_message.c | 4.01% | 43.48% | — | 26,760 |
| sc_ctrl.c | 6.75% | 66.49% | — | 31,784 |
| sc_sysmsg.c | 0.84% | 58.43% | — | 34,368 |
| sc_ubase.c | 8.43% | 91.36% | — | 42,880 |
| MovieTelop.c | 1.36% | 64.21% | — | 24,624 |
| SeasonAnime.c | 18.06% | 51.96% | — | 31,624 |
| BriefingCmnParts.c | 2.17% | 41.98% | — | 116,392 |
| Interface and system (6) | 3.43% | 42.64% | — | 578,424 |
| cmnparts.c | 2.61% | 91.69% | — | 47,192 |
| font.c | 1.74% | 35.11% | — | 193,992 |
| file.c | 3.92% | 22.92% | — | 141,496 |
| SeManager.c | 7.95% | 76.29% | — | 35,400 |
| JapanMap.c | 8.40% | 79.76% | — | 60,776 |
| SecretSorts.c | 1.75% | 27.48% | — | 99,568 |
| Game data (21) | 0.00% | 0.00% | 100% | 0 |
| ANS stream | 0.00% | 0.00% | 100% | 0 |
| MPEG2 | 0.00% | 0.00% | 100% | 0 |
| TIM2 | 0.00% | 0.00% | 100% | 0 |
| TMD2 | 0.00% | 0.00% | 100% | 0 |
| Battlefield | 0.00% | 0.00% | 100% | 0 |
| PS2 | 0.00% | 0.00% | 100% | 0 |
| Motion | 0.00% | 0.00% | 100% | 0 |
| Event motions | 0.00% | 0.00% | 100% | 0 |
| EFB | 0.00% | 0.00% | 100% | 0 |
| ADPCM sounds | 0.00% | 0.00% | 100% | 0 |
| tm3 | 0.00% | 0.00% | 100% | 0 |
| IPU | 0.00% | 0.00% | 100% | 0 |
| Containers | 0.00% | 0.00% | 100% | 0 |
| Text | 0.00% | 0.00% | 100% | 0 |
| Game state tables | 0.00% | 0.00% | 100% | 0 |
| Event commands | 0.00% | 0.00% | 100% | 0 |
| LZ archive | 0.00% | 0.00% | 100% | 0 |
| Sound bank headers | 0.00% | 0.00% | 100% | 0 |
| PAC0 | 0.00% | 0.00% | 100% | 0 |
| Sound tables | 0.00% | 0.00% | 100% | 0 |
| Save icon | 0.00% | 0.00% | 100% | 0 |
History
DecompiledMatchingDataClick the chart to see the project at that commit.
Reports up to this one (338)
| When | Decompiled | Matching | Data | Commit |
|---|---|---|---|---|
| 63.78% +0.18% | 6.64% | 100% | 0192b60 PC port: battle set-up, part 3 (gates, gate sounds, scenario tables) | |
| 63.60% +0.44% | 6.64% | 100% | 9c90079 PC port: battle set-up, part 2 (terrain kinds, stage objects, map object handlers) | |
| 63.17% +0.46% | 6.64% | 100% | 444989d PC port: battle set-up, part 1 (mini-map, trails, scenery strips, province routes) | |
| 62.71% +0.06% | 6.64% | 100% | a51e231 PC port: Empire mode up to the first battle's set-up | |
| 62.65% +0.40% | 6.64% | 100% | 6b60b82 PC port: through Empire mode's set-up screens to the forces screen | |
| 62.25% +0.46% | 6.64% | 100% | c4c43e6 PC port: the main menu after Start and the way into Empire mode | |
| 61.79% +0.01% | 6.64% | 100% | b8f571c PC port: the movie player, an MPEG-2 decoder and the IPU pictures | |
| 61.78% +0.08% | 6.64% | 100% | 3bff9a8 PC port: the title screen | |
| 61.69% +0.10% | 6.64% | 100% | b5a0591 PC port: the first picture, the memory card message box drawn by UPP's reference renderer | |
| 61.59% +0.04% | 6.64% | 100% | 3587847 PC port: the first scene runs and frames are swapped to the runtime | |
| 61.55% +0.04% | 6.64% | 100% | e79ec6d PC port: the start-up runs to the end and the scene manager enters the first scene | |
| 61.51% +0.01% | 6.64% | 100% | 040c0fb PC port, second round: the game boots on the PC up to its own start-up code | |
| 61.50% | 6.64% +0.07% | 100% | 0275093 Matching tags refreshed: 2,589 functions match (14 more, from the type fixes and mc_state.c) | |
| 61.50% | 6.57% | 100% | f27dba5 PC port, Sony library replacements (first round): C library heap and string functions, IOP boot and module loading, CD search and read through the platform, DMA channels, libgraph start-up (PAL interl | |
| 61.50% +0.16% | 6.57% | 100% | e015c2e gen25_180000.c: 19 more generated functions (an argument whose register is not written since the previous call takes that call's argument: the callee keeps it) | |
| 61.34% +0.45% | 6.57% | 100% | d66ad64 gen24_180000.c: 54 more generated functions (arguments loaded from globals traced at the call sites; K&R declarations and pointer/integer declarations of other files replaced by the shared prototypes) | |
| 60.89% +0.23% | 6.57% | 100% | 79371f6 gen23_180000.c: 16 more generated functions (wider argument tracing at the call sites: constants built with lui/addiu, a parameter plus an offset, loads from a parameter; Ghidra's function pointers wr | |
| 60.66% +0.68% | 6.57% | 100% | 3558828 gen22_180000.c: 38 more generated functions (parameters a function passes on added, extra arguments its callees do not read removed, whole-expression address conversions); hand-written declarations th | |
| 59.98% +0.65% | 6.57% | 100% | 798dd2f Generated code: float constants are single precision (Ghidra prints them without the f, so about 47 generated functions computed in emulated double precision); 9 generated functions whose calls differ | |
| 59.34% +0.50% | 6.57% | 100% | 2ec87ab gen18_180000.c, gen20_180000.c: 29 more generated functions (the generator now uses the shared prototypes; candidates also include void functions with a switch, functions with more than eight paramete |
Badges
For your README. They show the default version and update with every report.
[](https://decompilati.onl/projects/samurai-warriors-2-empire)
[](https://decompilati.onl/projects/samurai-warriors-2-empire)
[](https://decompilati.onl/projects/samurai-warriors-2-empire)
[](https://decompilati.onl/projects/samurai-warriors-2-empire)