AI generatedCode
0.99%- 0.00% matching
- 0.99% partially matching
- 99.01% to do
Data
95.15%- 2,051,296,606 done
- 104,594,082 to do
code +0.14% · data ±0% ·
Code: decompile scene 0x0E, the shop (StateShop.c): enter, leave, update, draw, mode switch
Areas
- Matching
- Partially matching
- Not decompiled
All areas as a table
| Area | Matching | Partially matching | Data | Size (bytes) |
|---|---|---|---|---|
| (start-up and main loop) | 0.00% | 14.08% | — | 9,232 |
| Scenes (16) | 0.00% | 4.23% | — | 699,688 |
| StateInitialize.c | 0.00% | 0.00% | — | 76,760 |
| StateStartUp.c | 0.00% | 0.00% | — | 48,448 |
| StateDemo.c | 0.00% | 0.00% | — | 20,024 |
| StateBattleInitialize.c | 0.00% | 0.00% | — | 36,800 |
| StatePreBattle.c | 0.00% | 0.00% | — | 35,944 |
| StatePostBattle.c | 0.00% | 0.00% | — | 31,776 |
| StateConfig.c | 0.00% | 66.11% | — | 23,768 |
| StateTreasures.c | 0.00% | 99.70% | — | 9,360 |
| StateShop.c | 0.00% | 9.23% | — | 49,352 |
| StateConquest.c | 0.00% | 0.00% | — | 56,408 |
| StateEdit.c | 0.00% | 0.00% | — | 85,952 |
| StateSetupEmpMogi.c | 0.00% | 0.00% | — | 9,664 |
| SceneTitle.c | 0.00% | 0.00% | — | 80,632 |
| SceneLoading.c | 0.00% | 0.00% | — | 23,456 |
| ScenePreBattle.c | 0.00% | 0.00% | — | 75,264 |
| SceneTutorial.c | 0.00% | 0.00% | — | 36,080 |
| Empire mode (18) | 0.00% | 0.00% | — | 740,744 |
| emp_FldBase.c | 0.00% | 0.00% | — | 97,112 |
| emp_cq_main.c | 0.00% | 0.00% | — | 119,888 |
| emp_cq_text.c | 0.00% | 0.00% | — | 3,040 |
| emp_ending.c | 0.00% | 0.00% | — | 17,464 |
| emp_ending_nenpyou.c | 0.00% | 0.00% | — | 15,120 |
| emp_ev_predata.c | 0.00% | 0.00% | — | 73,256 |
| emp_ev_station.c | 0.00% | 0.00% | — | 60,472 |
| emp_ev_still.c | 0.00% | 0.00% | — | 69,536 |
| emp_free_setup.c | 0.00% | 0.00% | — | 53,256 |
| emp_sc.c | 0.00% | 0.00% | — | 5,192 |
| emp_war_fix.c | 0.00% | 0.00% | — | 45,000 |
| emp_war_tl.c | 0.00% | 0.00% | — | 23,600 |
| emp_war_wllt.c | 0.00% | 0.00% | — | 30,144 |
| emp_zuroku.c | 0.00% | 0.00% | — | 47,424 |
| emp_zuroku_bushou.c | 0.00% | 0.00% | — | 10,456 |
| emp_zuroku_graph.c | 0.00% | 0.00% | — | 33,928 |
| emp_zuroku_movie.c | 0.00% | 0.00% | — | 2,680 |
| StationEmp.c | 0.00% | 0.00% | — | 33,176 |
| Battlefield (12) | 0.00% | 0.00% | — | 513,712 |
| Field.c | 0.00% | 0.00% | — | 28,480 |
| Stage.c | 0.00% | 0.00% | — | 29,792 |
| StgAmbient.c | 0.00% | 0.00% | — | 26,048 |
| StgTexture.c | 0.00% | 0.00% | — | 76,040 |
| DistantView.c | 0.00% | 0.00% | — | 41,840 |
| BgManager.c | 0.00% | 0.00% | — | 59,024 |
| Bullet.c | 0.00% | 0.00% | — | 33,424 |
| Weapon.c | 0.00% | 0.00% | — | 55,936 |
| ObjAction.c | 0.00% | 0.00% | — | 47,224 |
| RelayCamera.c | 0.00% | 0.00% | — | 54,952 |
| MiniMap.c | 0.00% | 0.00% | — | 16,080 |
| effect.c | 0.00% | 0.00% | — | 44,872 |
| Models and motion (5) | 0.00% | 0.00% | — | 246,168 |
| ModelManager.c | 0.00% | 0.00% | — | 35,696 |
| MotionManager.c | 0.00% | 0.00% | — | 52,160 |
| HorseModel.c | 0.00% | 0.00% | — | 95,952 |
| FlagModel.c | 0.00% | 0.00% | — | 18,776 |
| ItemModel.c | 0.00% | 0.00% | — | 43,584 |
| Events and scripts (9) | 0.00% | 0.00% | — | 378,408 |
| ev_main.c | 0.00% | 0.00% | — | 14,480 |
| ev_config.c | 0.00% | 0.00% | — | 55,496 |
| ev_message.c | 0.00% | 0.00% | — | 26,760 |
| sc_ctrl.c | 0.00% | 0.00% | — | 31,784 |
| sc_sysmsg.c | 0.00% | 0.00% | — | 34,368 |
| sc_ubase.c | 0.00% | 0.00% | — | 42,880 |
| MovieTelop.c | 0.00% | 0.00% | — | 24,624 |
| SeasonAnime.c | 0.00% | 0.00% | — | 31,624 |
| BriefingCmnParts.c | 0.00% | 0.00% | — | 116,392 |
| Interface and system (6) | 0.00% | 0.07% | — | 578,424 |
| cmnparts.c | 0.00% | 0.00% | — | 47,192 |
| font.c | 0.00% | 0.00% | — | 193,992 |
| file.c | 0.00% | 0.28% | — | 141,496 |
| SeManager.c | 0.00% | 0.00% | — | 35,400 |
| JapanMap.c | 0.00% | 0.00% | — | 60,776 |
| SecretSorts.c | 0.00% | 0.00% | — | 99,568 |
| Game data (17) | 0.00% | 0.00% | 95.15% | 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 |
| Unidentified | 0.00% | 0.00% | 0.00% | 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% | 0.00% | 0 |
| ADPCM sounds | 0.00% | 0.00% | 100% | 0 |
| tm3 | 0.00% | 0.00% | 100% | 0 |
| IPU | 0.00% | 0.00% | 0.00% | 0 |
| Containers | 0.00% | 0.00% | 100% | 0 |
| Event commands | 0.00% | 0.00% | 0.00% | 0 |
| PAC0 | 0.00% | 0.00% | 0.00% | 0 |
| PS2 variant | 0.00% | 0.00% | 0.00% | 0 |
| Motion (atypical) | 0.00% | 0.00% | 0.00% | 0 |
History
DecompiledMatchingDataClick the chart to see the project at that commit.
Reports up to this one (24)
| When | Decompiled | Matching | Data | Commit |
|---|---|---|---|---|
| 0.99% +0.14% | 0.00% | 95.15% | 28c2d1d Code: decompile scene 0x0E, the shop (StateShop.c): enter, leave, update, draw, mode switch | |
| 0.84% +0.16% | 0.00% | 95.15% | 8463f4a Code: finish StateTreasures.c: main menu, mode transitions, officer list, sub-menu, mount list and skill grid | |
| 0.68% +0.13% | 0.00% | 95.15% | 6e86617 Code: decompile scene 0x0D, the Treasures gallery (StateTreasures.c): enter, leave, update, draw, mode requests and small mode handlers | |
| 0.55% +0.08% | 0.00% | 95.15% | 5f28dfa Code: StateConfig.c settings helpers (copy, apply and compare the display, pad and sound settings) | |
| 0.47% +0.21% | 0.00% | 95.15% | ba98be4 Code: options menu pages 5, 7, 9 and 10 (display options, sound settings and sound test, controller settings, button set-up); all 11 page handlers done | |
| 0.26% +0.06% | 0.00% | 95.15% | b90e37b Code: options menu pages 1, 3, 6 and 8 (sub-menu, save/load settings, controller choice, screen position) | |
| 0.20% +0.08% | 0.00% | 95.15% | 1f1dd21 Code: options menu page 0, page opener and helpers (StateConfig.c); fix a call Ghidra showed without its argument | |
| 0.12% | 0.00% | 95.15% | d09dac8 Progress: split the code map into ~70 areas by original source file, grouped in 6 themes (estimated ranges) | |
| 0.12% +0.07% | 0.00% | 95.15% | 3df3fb0 Code: decompile scene 0x0C, the options menu (StateConfig.c): enter, update, step, draw, leave | |
| 0.05% +0.02% | 0.00% | 95.15% | b6d5863 Code: scene table (24 scenes) and source-file map; decompile the scene loader and manager init; C syntax check with GCC | |
| 0.04% +0.02% | 0.00% | 95.15% | 90c0180 Count the scene manager in the progress report (tag on one line) | |
| 0.01% +0.01% | 0.00% | 95.15% | cbec045 Code: decompile the main loop's set-up and shutdown (7 functions); count decompiled code as non-matching | |
| 0.00% | 0.00% | 95.15% +0.91% | 3d03cf5 Sound effects: split the 19 MB ADPCM bank into 1,610 sounds (17 min at 32 kHz) | |
| 0.00% | 0.00% | 94.24% +1.16% | 15285ba Event files: 303 in-engine cutscenes = command chain + 2,842 embedded motions (97.8% of their bytes) | |
| 0.00% | 0.00% | 93.08% +0.58% | 21b217d Decode tm3 textures (GS upload packets, 176 files) and map the EFB effect structure | |
| 0.00% | 0.00% | 92.50% +4.49% | 553ce12 Decode TMD2: all 26,623 battlefield scene objects parse and export to OBJ | |
| 0.00% | 0.00% | 88.01% +0.05% | afa77a5 Packs: add the offset+size and size-table variants; BNS opens into 95,654 files (26,623 TMD2, 15,682 EFB) | |
| 0.00% | 0.00% | 87.96% +2.12% | 2f49985 Decode the animations: 10,641 of 10,714 motions read exactly and pose the characters | |
| 0.00% | 0.00% | 85.84% +2.35% | 1b4cb82 3D models: decode skinning (up to 4 weighted bones), characters export posed to OBJ | |
| 0.00% | 0.00% | 83.49% +33.24% | 278c334 Decode the movies: 21 PSS files export to MKV with stereo ADPCM and Dolby Digital 5.1 |
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)