Remove old files

This commit is contained in:
Maschell 2019-11-24 14:17:08 +01:00
parent a98d0f43a0
commit d0a76a1369
4 changed files with 0 additions and 1210 deletions

View File

@ -1,18 +0,0 @@
# VPAD Input viewer
# Wii U Plugin System
This is a plugin for the [Wii U Plugin System (WUPS)](https://github.com/Maschell/WiiUPluginSystem/). To be able to use this plugin you have to place the resulting `.mod` file into the following folder:
```
sd:/wiiu/plugins
```
When the file is placed on the SDCard you can load it with [plugin loader](https://github.com/Maschell/WiiUPluginSystem/).
## Building
For building you need:
- [wups](https://github.com/Maschell/WiiUPluginSystem)
- [wut](https://github.com/decaf-emu/wut)
- [libutilswut](https://github.com/Maschell/libutils/tree/wut) (WUT version) for common functions.
Install them (in this order) according to their README's. Don't forget the dependencies of the libs itself.

View File

@ -1,140 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<menu type="complex" access="777">
<version type="unsignedInt" length="4">1</version>
<product_code type="string" length="32">AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</product_code>
<content_platform type="string" length="32">BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB</content_platform>
<company_code type="string" length="8">CCCCCCCC</company_code>
<mastering_date type="string" length="32">DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD</mastering_date>
<logo_type type="unsignedInt" length="4">2</logo_type>
<app_launch_type type="hexBinary" length="4">00000003</app_launch_type>
<invisible_flag type="hexBinary" length="4">00000004</invisible_flag>
<no_managed_flag type="hexBinary" length="4">00000005</no_managed_flag>
<no_event_log type="hexBinary" length="4">00000006</no_event_log>
<no_icon_database type="hexBinary" length="4">00000007</no_icon_database>
<launching_flag type="hexBinary" length="4">00000008</launching_flag>
<install_flag type="hexBinary" length="4">00000009</install_flag>
<closing_msg type="unsignedInt" length="4">10</closing_msg>
<title_version type="unsignedInt" length="4">11</title_version>
<title_id type="hexBinary" length="8">00000000000000000C</title_id>
<group_id type="hexBinary" length="4">0000000D</group_id>
<boss_id type="hexBinary" length="8">000000000000000E</boss_id>
<os_version type="hexBinary" length="8">000000000000000F</os_version>
<app_size type="hexBinary" length="8">0000000000000010</app_size>
<common_save_size type="hexBinary" length="8">0000000000000011</common_save_size>
<account_save_size type="hexBinary" length="8">0000000000000012</account_save_size>
<common_boss_size type="hexBinary" length="8">0000000000000013</common_boss_size>
<account_boss_size type="hexBinary" length="8">0000000000000014</account_boss_size>
<save_no_rollback type="unsignedInt" length="4">21</save_no_rollback>
<join_game_id type="hexBinary" length="4">00000016</join_game_id>
<join_game_mode_mask type="hexBinary" length="8">0000000000000017</join_game_mode_mask>
<bg_daemon_enable type="unsignedInt" length="4">24</bg_daemon_enable>
<olv_accesskey type="unsignedInt" length="4">25</olv_accesskey>
<wood_tin type="unsignedInt" length="4">26</wood_tin>
<e_manual type="unsignedInt" length="4">27</e_manual>
<e_manual_version type="unsignedInt" length="4">28</e_manual_version>
<region type="hexBinary" length="4">0000001D</region>
<pc_cero type="unsignedInt" length="4">30</pc_cero>
<pc_esrb type="unsignedInt" length="4">31</pc_esrb>
<pc_bbfc type="unsignedInt" length="4">32</pc_bbfc>
<pc_usk type="unsignedInt" length="4">33</pc_usk>
<pc_pegi_gen type="unsignedInt" length="4">34</pc_pegi_gen>
<pc_pegi_fin type="unsignedInt" length="4">35</pc_pegi_fin>
<pc_pegi_prt type="unsignedInt" length="4">36</pc_pegi_prt>
<pc_pegi_bbfc type="unsignedInt" length="4">37</pc_pegi_bbfc>
<pc_cob type="unsignedInt" length="4">38</pc_cob>
<pc_grb type="unsignedInt" length="4">39</pc_grb>
<pc_cgsrr type="unsignedInt" length="4">40</pc_cgsrr>
<pc_oflc type="unsignedInt" length="4">41</pc_oflc>
<pc_reserved0 type="unsignedInt" length="4">42</pc_reserved0>
<pc_reserved1 type="unsignedInt" length="4">43</pc_reserved1>
<pc_reserved2 type="unsignedInt" length="4">44</pc_reserved2>
<pc_reserved3 type="unsignedInt" length="4">45</pc_reserved3>
<ext_dev_nunchaku type="unsignedInt" length="4">46</ext_dev_nunchaku>
<ext_dev_classic type="unsignedInt" length="4">47</ext_dev_classic>
<ext_dev_urcc type="unsignedInt" length="4">48</ext_dev_urcc>
<ext_dev_board type="unsignedInt" length="4">49</ext_dev_board>
<ext_dev_usb_keyboard type="unsignedInt" length="4">50</ext_dev_usb_keyboard>
<ext_dev_etc type="unsignedInt" length="4">51</ext_dev_etc>
<ext_dev_etc_name type="string" length="512">EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</ext_dev_etc_name>
<eula_version type="unsignedInt" length="4">52</eula_version>
<drc_use type="unsignedInt" length="4">53</drc_use>
<network_use type="unsignedInt" length="4">54</network_use>
<online_account_use type="unsignedInt" length="4">55</online_account_use>
<direct_boot type="unsignedInt" length="4">56</direct_boot>
<reserved_flag0 type="hexBinary" length="4">00000039</reserved_flag0>
<reserved_flag1 type="hexBinary" length="4">0000003A</reserved_flag1>
<reserved_flag2 type="hexBinary" length="4">0000003B</reserved_flag2>
<reserved_flag3 type="hexBinary" length="4">0000003C</reserved_flag3>
<reserved_flag4 type="hexBinary" length="4">0000003D</reserved_flag4>
<reserved_flag5 type="hexBinary" length="4">0000003E</reserved_flag5>
<reserved_flag6 type="hexBinary" length="4">0000003F</reserved_flag6>
<reserved_flag7 type="hexBinary" length="4">00000040</reserved_flag7>
<longname_ja type="string" length="512">FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF</longname_ja>
<longname_en type="string" length="512">HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH</longname_en>
<longname_fr type="string" length="512">III</longname_fr>
<longname_de type="string" length="512">JJJ</longname_de>
<longname_it type="string" length="512">KKK</longname_it>
<longname_es type="string" length="512">LLL</longname_es>
<longname_zhs type="string" length="512">MMM</longname_zhs>
<longname_ko type="string" length="512">NNN</longname_ko>
<longname_nl type="string" length="512">OOO</longname_nl>
<longname_pt type="string" length="512">PPP</longname_pt>
<longname_ru type="string" length="512">QQQ</longname_ru>
<longname_zht type="string" length="512">RRR</longname_zht>
<shortname_ja type="string" length="256">SSS</shortname_ja>
<shortname_en type="string" length="256">TTT</shortname_en>
<shortname_fr type="string" length="256">UUU</shortname_fr>
<shortname_de type="string" length="256">VVV</shortname_de>
<shortname_it type="string" length="256">WWW</shortname_it>
<shortname_es type="string" length="256">XXX</shortname_es>
<shortname_zhs type="string" length="256">YYY</shortname_zhs>
<shortname_ko type="string" length="256">ZZZ</shortname_ko>
<shortname_nl type="string" length="256">111</shortname_nl>
<shortname_pt type="string" length="256">222</shortname_pt>
<shortname_ru type="string" length="256">333</shortname_ru>
<shortname_zht type="string" length="256">444</shortname_zht>
<publisher_ja type="string" length="256">555</publisher_ja>
<publisher_en type="string" length="256">666</publisher_en>
<publisher_fr type="string" length="256">777</publisher_fr>
<publisher_de type="string" length="256">888</publisher_de>
<publisher_it type="string" length="256">999</publisher_it>
<publisher_es type="string" length="256">1010</publisher_es>
<publisher_zhs type="string" length="256">1212</publisher_zhs>
<publisher_ko type="string" length="256">1313</publisher_ko>
<publisher_nl type="string" length="256">1414</publisher_nl>
<publisher_pt type="string" length="256">1515</publisher_pt>
<publisher_ru type="string" length="256">1616</publisher_ru>
<publisher_zht type="string" length="256">GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG</publisher_zht>
<add_on_unique_id0 type="hexBinary" length="4">00000041</add_on_unique_id0>
<add_on_unique_id1 type="hexBinary" length="4">00000042</add_on_unique_id1>
<add_on_unique_id2 type="hexBinary" length="4">00000043</add_on_unique_id2>
<add_on_unique_id3 type="hexBinary" length="4">00000044</add_on_unique_id3>
<add_on_unique_id4 type="hexBinary" length="4">00000045</add_on_unique_id4>
<add_on_unique_id5 type="hexBinary" length="4">00000046</add_on_unique_id5>
<add_on_unique_id6 type="hexBinary" length="4">00000047</add_on_unique_id6>
<add_on_unique_id7 type="hexBinary" length="4">00000048</add_on_unique_id7>
<add_on_unique_id8 type="hexBinary" length="4">00000049</add_on_unique_id8>
<add_on_unique_id9 type="hexBinary" length="4">0000004A</add_on_unique_id9>
<add_on_unique_id10 type="hexBinary" length="4">0000004B</add_on_unique_id10>
<add_on_unique_id11 type="hexBinary" length="4">0000004C</add_on_unique_id11>
<add_on_unique_id12 type="hexBinary" length="4">0000004D</add_on_unique_id12>
<add_on_unique_id13 type="hexBinary" length="4">0000004E</add_on_unique_id13>
<add_on_unique_id14 type="hexBinary" length="4">0000004F</add_on_unique_id14>
<add_on_unique_id15 type="hexBinary" length="4">00000050</add_on_unique_id15>
<add_on_unique_id16 type="hexBinary" length="4">00000051</add_on_unique_id16>
<add_on_unique_id17 type="hexBinary" length="4">00000052</add_on_unique_id17>
<add_on_unique_id18 type="hexBinary" length="4">00000053</add_on_unique_id18>
<add_on_unique_id19 type="hexBinary" length="4">00000054</add_on_unique_id19>
<add_on_unique_id20 type="hexBinary" length="4">00000055</add_on_unique_id20>
<add_on_unique_id21 type="hexBinary" length="4">00000056</add_on_unique_id21>
<add_on_unique_id22 type="hexBinary" length="4">00000057</add_on_unique_id22>
<add_on_unique_id23 type="hexBinary" length="4">00000058</add_on_unique_id23>
<add_on_unique_id24 type="hexBinary" length="4">00000059</add_on_unique_id24>
<add_on_unique_id25 type="hexBinary" length="4">0000005A</add_on_unique_id25>
<add_on_unique_id26 type="hexBinary" length="4">0000005B</add_on_unique_id26>
<add_on_unique_id27 type="hexBinary" length="4">0000005C</add_on_unique_id27>
<add_on_unique_id28 type="hexBinary" length="4">0000005D</add_on_unique_id28>
<add_on_unique_id29 type="hexBinary" length="4">0000005E</add_on_unique_id29>
<add_on_unique_id30 type="hexBinary" length="4">0000005F</add_on_unique_id30>
<add_on_unique_id31 type="hexBinary" length="4">00000060</add_on_unique_id31>
</menu>

140
meta.xml
View File

@ -1,140 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<menu type="complex" access="777">
<version type="unsignedInt" length="4">1</version>
<product_code type="string" length="32">WUP-P-HBLD</product_code>
<content_platform type="string" length="32">WUP</content_platform>
<company_code type="string" length="8">0001</company_code>
<mastering_date type="string" length="32"></mastering_date>
<logo_type type="unsignedInt" length="4">0</logo_type>
<app_launch_type type="hexBinary" length="4">00000000</app_launch_type>
<invisible_flag type="hexBinary" length="4">00000000</invisible_flag>
<no_managed_flag type="hexBinary" length="4">00000000</no_managed_flag>
<no_event_log type="hexBinary" length="4">00000000</no_event_log>
<no_icon_database type="hexBinary" length="4">00000000</no_icon_database>
<launching_flag type="hexBinary" length="4">00000004</launching_flag>
<install_flag type="hexBinary" length="4">00000000</install_flag>
<closing_msg type="unsignedInt" length="4">1</closing_msg>
<title_version type="unsignedInt" length="4">0</title_version>
<title_id type="hexBinary" length="8">0005000013374842</title_id>
<group_id type="hexBinary" length="4">00003748</group_id>
<boss_id type="hexBinary" length="8">0000000000000000</boss_id>
<os_version type="hexBinary" length="8">000500101000400A</os_version>
<app_size type="hexBinary" length="8">0000000000000000</app_size>
<common_save_size type="hexBinary" length="8">0000000001790000</common_save_size>
<account_save_size type="hexBinary" length="8">0000000000000000</account_save_size>
<common_boss_size type="hexBinary" length="8">0000000000000000</common_boss_size>
<account_boss_size type="hexBinary" length="8">0000000000000000</account_boss_size>
<save_no_rollback type="unsignedInt" length="4">0</save_no_rollback>
<join_game_id type="hexBinary" length="4">00000000</join_game_id>
<join_game_mode_mask type="hexBinary" length="8">0000000000000000</join_game_mode_mask>
<bg_daemon_enable type="unsignedInt" length="4">1</bg_daemon_enable>
<olv_accesskey type="unsignedInt" length="4">0</olv_accesskey>
<wood_tin type="unsignedInt" length="4">0</wood_tin>
<e_manual type="unsignedInt" length="4">0</e_manual>
<e_manual_version type="unsignedInt" length="4">0</e_manual_version>
<region type="hexBinary" length="4">FFFFFFFF</region>
<pc_cero type="unsignedInt" length="4">128</pc_cero>
<pc_esrb type="unsignedInt" length="4">128</pc_esrb>
<pc_bbfc type="unsignedInt" length="4">192</pc_bbfc>
<pc_usk type="unsignedInt" length="4">128</pc_usk>
<pc_pegi_gen type="unsignedInt" length="4">128</pc_pegi_gen>
<pc_pegi_fin type="unsignedInt" length="4">192</pc_pegi_fin>
<pc_pegi_prt type="unsignedInt" length="4">128</pc_pegi_prt>
<pc_pegi_bbfc type="unsignedInt" length="4">128</pc_pegi_bbfc>
<pc_cob type="unsignedInt" length="4">128</pc_cob>
<pc_grb type="unsignedInt" length="4">128</pc_grb>
<pc_cgsrr type="unsignedInt" length="4">128</pc_cgsrr>
<pc_oflc type="unsignedInt" length="4">128</pc_oflc>
<pc_reserved0 type="unsignedInt" length="4">192</pc_reserved0>
<pc_reserved1 type="unsignedInt" length="4">192</pc_reserved1>
<pc_reserved2 type="unsignedInt" length="4">192</pc_reserved2>
<pc_reserved3 type="unsignedInt" length="4">192</pc_reserved3>
<ext_dev_nunchaku type="unsignedInt" length="4">1</ext_dev_nunchaku>
<ext_dev_classic type="unsignedInt" length="4">0</ext_dev_classic>
<ext_dev_urcc type="unsignedInt" length="4">1</ext_dev_urcc>
<ext_dev_board type="unsignedInt" length="4">0</ext_dev_board>
<ext_dev_usb_keyboard type="unsignedInt" length="4">1</ext_dev_usb_keyboard>
<ext_dev_etc type="unsignedInt" length="4">0</ext_dev_etc>
<ext_dev_etc_name type="string" length="512"></ext_dev_etc_name>
<eula_version type="unsignedInt" length="4">0</eula_version>
<drc_use type="unsignedInt" length="4">1</drc_use>
<network_use type="unsignedInt" length="4">1</network_use>
<online_account_use type="unsignedInt" length="4">0</online_account_use>
<direct_boot type="unsignedInt" length="4">0</direct_boot>
<reserved_flag0 type="hexBinary" length="4">00010001</reserved_flag0>
<reserved_flag1 type="hexBinary" length="4">00000000</reserved_flag1>
<reserved_flag2 type="hexBinary" length="4">00000000</reserved_flag2>
<reserved_flag3 type="hexBinary" length="4">00000000</reserved_flag3>
<reserved_flag4 type="hexBinary" length="4">00000000</reserved_flag4>
<reserved_flag5 type="hexBinary" length="4">00000000</reserved_flag5>
<reserved_flag6 type="hexBinary" length="4">00000003</reserved_flag6>
<reserved_flag7 type="hexBinary" length="4">00000000</reserved_flag7>
<longname_ja type="string" length="512">Homebrew Launcher</longname_ja>
<longname_en type="string" length="512">Homebrew Launcher</longname_en>
<longname_fr type="string" length="512">Homebrew Launcher</longname_fr>
<longname_de type="string" length="512">Homebrew Launcher</longname_de>
<longname_it type="string" length="512">Homebrew Launcher</longname_it>
<longname_es type="string" length="512">Homebrew Launcher</longname_es>
<longname_zhs type="string" length="512">Homebrew Launcher</longname_zhs>
<longname_ko type="string" length="512">Homebrew Launcher</longname_ko>
<longname_nl type="string" length="512">Homebrew Launcher</longname_nl>
<longname_pt type="string" length="512">Homebrew Launcher</longname_pt>
<longname_ru type="string" length="512">Homebrew Launcher</longname_ru>
<longname_zht type="string" length="512">Homebrew Launcher</longname_zht>
<shortname_ja type="string" length="256">Homebrew Launcher</shortname_ja>
<shortname_en type="string" length="256">Homebrew Launcher</shortname_en>
<shortname_fr type="string" length="256">Homebrew Launcher</shortname_fr>
<shortname_de type="string" length="256">Homebrew Launcher</shortname_de>
<shortname_it type="string" length="256">Homebrew Launcher</shortname_it>
<shortname_es type="string" length="256">Homebrew Launcher</shortname_es>
<shortname_zhs type="string" length="256">Homebrew Launcher</shortname_zhs>
<shortname_ko type="string" length="256">Homebrew Launcher</shortname_ko>
<shortname_nl type="string" length="256">Homebrew Launcher</shortname_nl>
<shortname_pt type="string" length="256">Homebrew Launcher</shortname_pt>
<shortname_ru type="string" length="256">Homebrew Launcher</shortname_ru>
<shortname_zht type="string" length="256">Homebrew Launcher</shortname_zht>
<publisher_ja type="string" length="256">dimok</publisher_ja>
<publisher_en type="string" length="256">dimok</publisher_en>
<publisher_fr type="string" length="256">dimok</publisher_fr>
<publisher_de type="string" length="256">dimok</publisher_de>
<publisher_it type="string" length="256">dimok</publisher_it>
<publisher_es type="string" length="256">dimok</publisher_es>
<publisher_zhs type="string" length="256">dimok</publisher_zhs>
<publisher_ko type="string" length="256">dimok</publisher_ko>
<publisher_nl type="string" length="256">dimok</publisher_nl>
<publisher_pt type="string" length="256">dimok</publisher_pt>
<publisher_ru type="string" length="256">dimok</publisher_ru>
<publisher_zht type="string" length="256">dimok</publisher_zht>
<add_on_unique_id0 type="hexBinary" length="4">00000000</add_on_unique_id0>
<add_on_unique_id1 type="hexBinary" length="4">00000000</add_on_unique_id1>
<add_on_unique_id2 type="hexBinary" length="4">00000000</add_on_unique_id2>
<add_on_unique_id3 type="hexBinary" length="4">00000000</add_on_unique_id3>
<add_on_unique_id4 type="hexBinary" length="4">00000000</add_on_unique_id4>
<add_on_unique_id5 type="hexBinary" length="4">00000000</add_on_unique_id5>
<add_on_unique_id6 type="hexBinary" length="4">00000000</add_on_unique_id6>
<add_on_unique_id7 type="hexBinary" length="4">00000000</add_on_unique_id7>
<add_on_unique_id8 type="hexBinary" length="4">00000000</add_on_unique_id8>
<add_on_unique_id9 type="hexBinary" length="4">00000000</add_on_unique_id9>
<add_on_unique_id10 type="hexBinary" length="4">00000000</add_on_unique_id10>
<add_on_unique_id11 type="hexBinary" length="4">00000000</add_on_unique_id11>
<add_on_unique_id12 type="hexBinary" length="4">00000000</add_on_unique_id12>
<add_on_unique_id13 type="hexBinary" length="4">00000000</add_on_unique_id13>
<add_on_unique_id14 type="hexBinary" length="4">00000000</add_on_unique_id14>
<add_on_unique_id15 type="hexBinary" length="4">00000000</add_on_unique_id15>
<add_on_unique_id16 type="hexBinary" length="4">00000000</add_on_unique_id16>
<add_on_unique_id17 type="hexBinary" length="4">00000000</add_on_unique_id17>
<add_on_unique_id18 type="hexBinary" length="4">00000000</add_on_unique_id18>
<add_on_unique_id19 type="hexBinary" length="4">00000000</add_on_unique_id19>
<add_on_unique_id20 type="hexBinary" length="4">00000000</add_on_unique_id20>
<add_on_unique_id21 type="hexBinary" length="4">00000000</add_on_unique_id21>
<add_on_unique_id22 type="hexBinary" length="4">00000000</add_on_unique_id22>
<add_on_unique_id23 type="hexBinary" length="4">00000000</add_on_unique_id23>
<add_on_unique_id24 type="hexBinary" length="4">00000000</add_on_unique_id24>
<add_on_unique_id25 type="hexBinary" length="4">00000000</add_on_unique_id25>
<add_on_unique_id26 type="hexBinary" length="4">00000000</add_on_unique_id26>
<add_on_unique_id27 type="hexBinary" length="4">00000000</add_on_unique_id27>
<add_on_unique_id28 type="hexBinary" length="4">00000000</add_on_unique_id28>
<add_on_unique_id29 type="hexBinary" length="4">00000000</add_on_unique_id29>
<add_on_unique_id30 type="hexBinary" length="4">00000000</add_on_unique_id30>
<add_on_unique_id31 type="hexBinary" length="4">00000000</add_on_unique_id31>
</menu>

View File

@ -1,912 +0,0 @@
#include <wups.h>
#include <string.h>
#include <stdlib.h>
#include <coreinit/systeminfo.h>
#include <coreinit/mcp.h>
#include <coreinit/filesystem.h>
#include <nsysnet/socket.h>
#include <coreinit/ios.h>
#include <vpad/input.h>
#include <utils/logger.h>
#include <utils/utils.h>
#define TARGET_WIDTH (854)
#define TARGET_HEIGHT (480)
void printVPADButtons(VPADStatus * buffer);
WUPS_PLUGIN_NAME("Vpad input logger");
WUPS_PLUGIN_DESCRIPTION("Prints information about vpad inputs and sensors");
WUPS_PLUGIN_VERSION("v1.0");
WUPS_PLUGIN_AUTHOR("Maschell");
WUPS_PLUGIN_LICENSE("GPL");
IOSHandle handles[100];
struct WUT_PACKED _ACPMetaData{
char bootmovie[80696];
char bootlogo[28604];
};
struct WUT_PACKED _ACPMetaXml{
uint64_t title_id; // 0x0C
uint64_t boss_id; // 0x0E
uint64_t os_version; // 0x0F
uint64_t app_size; // 0x10
uint64_t common_save_size; // 0x11
uint64_t account_save_size; // 0x12
uint64_t common_boss_size; // 0x13
uint64_t account_boss_size; // 0x14
uint64_t join_game_mode_mask; // 0x17
uint32_t version; // 0x01
char product_code[32]; // AAAAA
char content_platform[32]; // BBBBB
char company_code[8]; // CCCCC
char mastering_date[32]; // DDDDD
uint32_t logo_type; // 0x02
uint32_t app_launch_type; // 0x03
uint32_t invisible_flag; // 0x04
uint32_t no_managed_flag; // 0x05
uint32_t no_event_log; // 0x06
uint32_t no_icon_database; // 0x07
uint32_t launching_flag; // 0x08
uint32_t install_flag; // 0x09
uint32_t closing_msg; // 0x0A
uint32_t title_version; // 0x0B
uint32_t group_id; // 0x0D
uint32_t save_no_rollback; // 0x15
uint32_t bg_daemon_enable; //0x18
uint32_t join_game_id; // 0x16
uint32_t olv_accesskey; // 0x19
uint32_t wood_tin; // 0x1A
uint32_t e_manual; // 0x1B
uint32_t e_manual_version; // 0x1C
uint32_t region; // 0x1D
uint32_t pc_cero; // 0x1E
uint32_t pc_esrb; // 0x1F
uint32_t pc_bbfc; // 0x20
uint32_t pc_usk; // 0x21
uint32_t pc_pegi_gen; // 0x22
uint32_t pc_pegi_fin; // 0x23
uint32_t pc_pegi_prt; // 0x24
uint32_t pc_pegi_bbfc; // 0x25
uint32_t pc_cob; // 0x26
uint32_t pc_grb; // 0x27
uint32_t pc_cgsrr; // 0x28
uint32_t pc_oflc; // 0x29
uint32_t pc_reserved0; // 0x2A
uint32_t pc_reserved1; // 0x2B
uint32_t pc_reserved2; // 0x2C
uint32_t pc_reserved3; // 0x2D
uint32_t ext_dev_nunchaku; // 0x2E
uint32_t ext_dev_classic; // 0x2F
uint32_t ext_dev_urcc; // 0x30
uint32_t ext_dev_board; // 0x31
uint32_t ext_dev_usb_keyboard; // 0x32
uint32_t ext_dev_etc; // 0x33
char ext_dev_etc_name[512]; // EEEE
uint32_t eula_version; // 0x34
uint32_t drc_use; // 0x35
uint32_t network_use; // 0x36
uint32_t online_account_use; // 0x37
uint32_t direct_boot; // 0x38
uint32_t reserved_flag0; // 0x39
uint32_t reserved_flag1; // 0x3A
uint32_t reserved_flag2; // 0x3B
uint32_t reserved_flag3; // 0x3C
uint32_t reserved_flag4; // 0x3D
uint32_t reserved_flag5; // 0x3E
uint32_t reserved_flag6; // 0x3F
uint32_t reserved_flag7; // 0x40
char longname_ja[512]; // FF
char longname_en[512]; // HH
char longname_fr[512]; // II
char longname_de[512]; // JJ
char longname_it[512]; // KK
char longname_es[512]; // L
char longname_zhs[512]; // M
char longname_ko[512]; // N
char longname_nl[512]; // O
char longname_pt[512]; // P
char longname_ru[512]; // Q
char longname_zht[512]; // R
char shortname_ja[256]; // S
char shortname_en[256]; // T
char shortname_fr[256]; // U
char shortname_de[256]; // V
char shortname_it[256]; // W
char shortname_es[256]; // X
char shortname_zhs[256]; // Y
char shortname_ko[256]; // Z
char shortname_nl[256]; // 11
char shortname_pt[256]; // 22
char shortname_ru[256]; // 33
char shortname_zht[256]; // 44
char publisher_ja[256]; // 55
char publisher_en[256]; // 66
char publisher_fr[256]; // 77
char publisher_de[256]; // 88
char publisher_it[256]; // 99
char publisher_es[256]; // 1010
char publisher_zhs[256]; // 1212
char publisher_ko[256]; // 1313
char publisher_nl[256]; // 1414
char publisher_pt[256]; // 1515
char publisher_ru[256]; // 1616
char publisher_zht[256]; // 1717
uint32_t add_on_unique_id0; // 0x41
uint32_t add_on_unique_id1; // 0x42
uint32_t add_on_unique_id2; // 0x43
uint32_t add_on_unique_id3; // 0x44
uint32_t add_on_unique_id4; // 0x45
uint32_t add_on_unique_id5; // 0x46
uint32_t add_on_unique_id6; // 0x47
uint32_t add_on_unique_id7; // 0x48
uint32_t add_on_unique_id8; // 0x49
uint32_t add_on_unique_id9; // 0x4A
uint32_t add_on_unique_id10; // 0x4B
uint32_t add_on_unique_id11; // 0x4C
uint32_t add_on_unique_id12; // 0x4D
uint32_t add_on_unique_id13; // 0x4E
uint32_t add_on_unique_id14; // 0x4F
uint32_t add_on_unique_id15; // 0x50
uint32_t add_on_unique_id16; // 0x51
uint32_t add_on_unique_id17; // 0x52
uint32_t add_on_unique_id18; // 0x53
uint32_t add_on_unique_id19; // 0x54
uint32_t add_on_unique_id20; // 0x55
uint32_t add_on_unique_id21; // 0x56
uint32_t add_on_unique_id22; // 0x57
uint32_t add_on_unique_id23; // 0x58
uint32_t add_on_unique_id24; // 0x59
uint32_t add_on_unique_id25; // 0x5A
uint32_t add_on_unique_id26; // 0x5B
uint32_t add_on_unique_id27; // 0x5C
uint32_t add_on_unique_id28; // 0x5D
uint32_t add_on_unique_id29; // 0x5E
uint32_t add_on_unique_id30; // 0x5F
uint32_t add_on_unique_id31; // 0x60
};
WUT_CHECK_OFFSET(_ACPMetaXml, 0x00, title_id);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x08, boss_id);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x10, os_version);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x18, app_size);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x20, common_save_size);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x28, account_save_size);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x30, common_boss_size);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x38, account_boss_size);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x40, join_game_mode_mask);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x48, version);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x4C, product_code);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x6C, content_platform);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x8C, company_code);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x94, mastering_date);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xB4, logo_type);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xB8, app_launch_type);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xBC, invisible_flag);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xC0, no_managed_flag);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xC4, no_event_log);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xC8, no_icon_database);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xCC, launching_flag);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xD0, install_flag);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xD4, closing_msg);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xD8, title_version);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xDC, group_id);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xE0, save_no_rollback);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xE4, bg_daemon_enable);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xE8, join_game_id);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xEC, olv_accesskey);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xF0, wood_tin);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xF4, e_manual);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xF8, e_manual_version);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xFC, region);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x100, pc_cero);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x104, pc_esrb);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x108, pc_bbfc);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x10C, pc_usk);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x110, pc_pegi_gen);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x114, pc_pegi_fin);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x118, pc_pegi_prt);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x11C, pc_pegi_bbfc);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x120, pc_cob);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x124, pc_grb);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x128, pc_cgsrr);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x12C, pc_oflc);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x130, pc_reserved0);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x134, pc_reserved1);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x138, pc_reserved2);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x13C, pc_reserved3);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x140, ext_dev_nunchaku);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x144, ext_dev_classic);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x148, ext_dev_urcc);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x14C, ext_dev_board);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x150, ext_dev_usb_keyboard);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x154, ext_dev_etc);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x158, ext_dev_etc_name);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x358, eula_version);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x35C, drc_use);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x360, network_use);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x364, online_account_use);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x368, direct_boot);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x36C, reserved_flag0);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x370, reserved_flag1);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x374, reserved_flag2);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x378, reserved_flag3);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x37C, reserved_flag4);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x380, reserved_flag5);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x384, reserved_flag6);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x388, reserved_flag7);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x38C, longname_ja);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x58C, longname_en);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x78C, longname_fr);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x98C, longname_de);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xB8C, longname_it);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xD8C, longname_es);
WUT_CHECK_OFFSET(_ACPMetaXml, 0xF8C, longname_zhs);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x118C, longname_ko);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x138C, longname_nl);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x158C, longname_pt);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x178C, longname_ru);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x198C, longname_zht);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x1B8C, shortname_ja);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x1C8C, shortname_en);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x1D8C, shortname_fr);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x1E8C, shortname_de);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x1F8C, shortname_it);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x208C, shortname_es);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x218C, shortname_zhs);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x228C, shortname_ko);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x238C, shortname_nl);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x248C, shortname_pt);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x258C, shortname_ru);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x268C, shortname_zht);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x278C, publisher_ja);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x288C, publisher_en);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x298C, publisher_fr);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x2A8C, publisher_de);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x2B8C, publisher_it);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x2C8C, publisher_es);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x2D8C, publisher_zhs);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x2E8C, publisher_ko);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x2F8C, publisher_nl);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x308C, publisher_pt);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x318C, publisher_ru);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x328C, publisher_zht);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x338C, add_on_unique_id0);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x3394, add_on_unique_id2);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x3398, add_on_unique_id3);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x339C, add_on_unique_id4);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33A0, add_on_unique_id5);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33A4, add_on_unique_id6);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33A8, add_on_unique_id7);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33AC, add_on_unique_id8);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33B0, add_on_unique_id9);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33B4, add_on_unique_id10);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33B8, add_on_unique_id11);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33BC, add_on_unique_id12);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33C0, add_on_unique_id13);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33C4, add_on_unique_id14);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33C8, add_on_unique_id15);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33CC, add_on_unique_id16);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33D0, add_on_unique_id17);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33D4, add_on_unique_id18);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33D8, add_on_unique_id19);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33DC, add_on_unique_id20);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33E0, add_on_unique_id21);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33E4, add_on_unique_id22);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33E8, add_on_unique_id23);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33EC, add_on_unique_id24);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33F0, add_on_unique_id25);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33F4, add_on_unique_id26);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33F8, add_on_unique_id27);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x33FC, add_on_unique_id28);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x3400, add_on_unique_id29);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x3404, add_on_unique_id30);
WUT_CHECK_OFFSET(_ACPMetaXml, 0x3408, add_on_unique_id31);
WUT_CHECK_SIZE(_ACPMetaXml,0x340C);
static BOOL
sMounted = FALSE;
static char
sMountPath[128] = { 0 };
static FSClient
sClient;
BOOL
WHBMountSdCard()
{
FSCmdBlock cmd;
FSMountSource mountSource;
FSStatus result;
if (sMounted) {
return TRUE;
}
FSInit();
result = FSAddClient(&sClient, -1);
if (result != FS_STATUS_OK) {
DEBUG_FUNCTION_LINE("%s: FSAddClient error %d", __FUNCTION__, result);
return FALSE;
}
FSInitCmdBlock(&cmd);
result = FSGetMountSource(&sClient, &cmd, FS_MOUNT_SOURCE_SD, &mountSource, -1);
if (result < 0) {
DEBUG_FUNCTION_LINE("%s: FSGetMountSource error %d", __FUNCTION__, result);
goto fail;
}
result = FSMount(&sClient, &cmd, &mountSource, sMountPath, sizeof(sMountPath), -1);
if (result < 0) {
DEBUG_FUNCTION_LINE("%s: FSMount error %d", __FUNCTION__, result);
goto fail;
}
sMounted = TRUE;
return TRUE;
fail:
FSDelClient(&sClient, -1);
return FALSE;
}
char *
WHBGetSdCardMountPath()
{
return sMountPath;
}
ON_APPLICATION_START(args) {
socket_lib_init();
log_init();
WHBMountSdCard();
DEBUG_FUNCTION_LINE("%s\n",WHBGetSdCardMountPath());
}
MCPTitleListType my;
DECL_FUNCTION(int32_t, MCP_TitleList, uint32_t handle, uint32_t* outTitleCount, MCPTitleListType* titleList, uint32_t size) {
int32_t result = real_MCP_TitleList(handle, outTitleCount, titleList, size);
//DEBUG_FUNCTION_LINE("%08X %08X %08X %08X = %08X\n",handle,*outTitleCount,titleList,size,result);
uint32_t titlecount = *outTitleCount;
for(uint32_t i = 0;i<titlecount;i++){
if(titleList[i].titleId == 0x000500101004e200){
memcpy(&my, &(titleList[i]),sizeof(MCPTitleListType));
DEBUG_FUNCTION_LINE("%s \n", my.path);
}
}
char * test = "/vol/external01/usr/title/00050000/101c6400";
strcpy(my.path,test);
my.titleId = 0x00050000101C6400;
memcpy(&(titleList[titlecount]), &my ,sizeof(MCPTitleListType));
titlecount++;
for(uint32_t i = 0;i<titlecount;i++){
DEBUG_FUNCTION_LINE("%d %016llX %s \n",i, titleList[i].titleId, titleList[i].path);
}
*outTitleCount = titlecount;
return result;
}
DECL_FUNCTION(int32_t, ACPGetLaunchMetaData, _ACPMetaData* metadata) {
int result = real_ACPGetLaunchMetaData(metadata);
//DEBUG_FUNCTION_LINE("%08X = %08X \n",metadata ,result);
return result;
}
DECL_FUNCTION(int32_t, ACPGetLaunchMetaXml, _ACPMetaXml* u1) {
//dumpHex(u1,0x100);
int result = real_ACPGetLaunchMetaXml(u1);
//dumpHex(u1,0x100);
//DEBUG_FUNCTION_LINE("%08X = %08X \n",u1 ,result);
return result;
}
DECL_FUNCTION(int32_t, MCP_TitleListByAppType,int32_t handle,
MCPAppType appType,
uint32_t *outTitleCount,
MCPTitleListType *titleList,
uint32_t titleListSizeBytes) {
int32_t result = real_MCP_TitleListByAppType(handle, appType, outTitleCount, titleList,titleListSizeBytes);
//DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X = %08X\n",handle,appType,*outTitleCount,titleList,titleListSizeBytes,result);
for(uint32_t i = 0;i<*outTitleCount;i++){
//DEBUG_FUNCTION_LINE("%016llX %s \n",titleList[i].titleId, titleList[i].path);
}
return result;
}
DECL_FUNCTION(int32_t, MCP_GetTitleInfoByTitleAndDevice, uint32_t mcp_handle, uint32_t titleid_lower_1, uint32_t titleid_upper, uint32_t titleid_lower_2, uint32_t u5, MCPTitleListType* u6) {
//DEBUG_FUNCTION_LINE("lower1: %08X ID: %08X%08X %08X %08X \n",titleid_lower_1 ,titleid_upper ,titleid_lower_2 ,u5 ,u6);
if(titleid_upper == 0x00050000 && titleid_lower_2 == 0x101C6400){
memcpy(u6, &my, sizeof(MCPTitleListType));
return 0;
}
int result = real_MCP_GetTitleInfoByTitleAndDevice(mcp_handle, titleid_lower_1, titleid_upper, titleid_lower_2, u5, u6);
//DEBUG_FUNCTION_LINE("lower1: %08X ID: %08X%08X %08X %s = %08X \n",titleid_lower_1 ,titleid_upper ,titleid_lower_2 ,u5 ,u6->path ,result);
return result;
}
DECL_FUNCTION(int32_t, GetTitlePackageInfos__Q2_2nn3nimFPQ3_2nn3nim16TitlePackageInfoPCULUi, uint32_t u1, uint32_t u2, uint32_t u3) {
int result = real_GetTitlePackageInfos__Q2_2nn3nimFPQ3_2nn3nim16TitlePackageInfoPCULUi(u1, u2, u3);
//DEBUG_FUNCTION_LINE("%08X %08X %08X \n",u1 ,u2 ,u3 ,result);
return result;
}
DECL_FUNCTION(int32_t, ACPCheckTitleLaunchByTitleListType, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
//DEBUG_FUNCTION_LINE("\n");
int result = real_ACPCheckTitleLaunchByTitleListType(u1, u2, u3, u4, u5, u6, u7);
//DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X will force it to 0 \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return 0;
}
DECL_FUNCTION(int, FSOpenFileAsync, FSClient *pClient, FSCmdBlock *pCmd, char *path, const char *mode, int *handle, int error,FSAsyncData *asyncData) {
int result = real_FSOpenFileAsync(pClient, pCmd, path, mode, handle, error,asyncData);
DEBUG_FUNCTION_LINE("%s! Result %d\n",path,result);
return result;
}
DECL_FUNCTION(int32_t, ACPGetTitleMetaXmlByDevice, uint32_t titleid_upper, uint32_t titleid_lower, _ACPMetaXml* out_buf, uint32_t device, uint32_t u1) {
int result = real_ACPGetTitleMetaXmlByDevice(titleid_upper, titleid_lower, out_buf, device,u1);
if(titleid_upper == 0x00050000 && titleid_lower == 0x13374842){
//dumpHex((void*)out_buf,0x3500);
}
if(titleid_upper == 0x00050000 && titleid_lower == 0x101C6400){
out_buf->title_id = 0x000500101004e200;
out_buf->os_version = 0x000500101000400A;
out_buf->account_save_size = 0x0000000000040000;
out_buf->account_boss_size = 0;
out_buf->version = 32;
strncpy(out_buf->product_code,"WUP-N-HAYP",10);
strncpy(out_buf->content_platform,"WUP",3);
strncpy(out_buf->longname_en,"Maschell",8);
strncpy(out_buf->shortname_ja,"Maschell",8);
dumpHex((void*)out_buf,0x100);
result = 0;
}
/*
DEBUG_FUNCTION_LINE("longname_ja: %s\n", out_buf->longname_ja);
DEBUG_FUNCTION_LINE("longname_en: %s\n", out_buf->longname_en);
DEBUG_FUNCTION_LINE("longname_fr: %s\n", out_buf->longname_fr);
DEBUG_FUNCTION_LINE("longname_de: %s\n", out_buf->longname_de);
DEBUG_FUNCTION_LINE("longname_it: %s\n", out_buf->longname_it);
DEBUG_FUNCTION_LINE("longname_es: %s\n", out_buf->longname_es);
DEBUG_FUNCTION_LINE("longname_zhs: %s\n", out_buf->longname_zhs);
DEBUG_FUNCTION_LINE("longname_ko: %s\n", out_buf->longname_ko);
DEBUG_FUNCTION_LINE("longname_nl: %s\n", out_buf->longname_nl);
DEBUG_FUNCTION_LINE("longname_pt: %s\n", out_buf->longname_pt);
DEBUG_FUNCTION_LINE("longname_ru: %s\n", out_buf->longname_ru);
DEBUG_FUNCTION_LINE("longname_zht: %s\n", out_buf->longname_zht);
DEBUG_FUNCTION_LINE("shortname_ja: %s\n", out_buf->shortname_ja);
DEBUG_FUNCTION_LINE("shortname_en: %s\n", out_buf->shortname_en);
DEBUG_FUNCTION_LINE("shortname_fr: %s\n", out_buf->shortname_fr);
DEBUG_FUNCTION_LINE("shortname_de: %s\n", out_buf->shortname_de);
DEBUG_FUNCTION_LINE("shortname_it: %s\n", out_buf->shortname_it);
DEBUG_FUNCTION_LINE("shortname_es: %s\n", out_buf->shortname_es);
DEBUG_FUNCTION_LINE("shortname_zhs: %s\n", out_buf->shortname_zhs);
DEBUG_FUNCTION_LINE("shortname_ko: %s\n", out_buf->shortname_ko);
DEBUG_FUNCTION_LINE("shortname_nl: %s\n", out_buf->shortname_nl);
DEBUG_FUNCTION_LINE("shortname_pt: %s\n", out_buf->shortname_pt);
DEBUG_FUNCTION_LINE("shortname_ru: %s\n", out_buf->shortname_ru);
DEBUG_FUNCTION_LINE("shortname_zht: %s\n", out_buf->shortname_zht);
DEBUG_FUNCTION_LINE("publisher_ja: %s\n", out_buf->publisher_ja);
DEBUG_FUNCTION_LINE("publisher_en: %s\n", out_buf->publisher_en);
DEBUG_FUNCTION_LINE("publisher_fr: %s\n", out_buf->publisher_fr);
DEBUG_FUNCTION_LINE("publisher_de: %s\n", out_buf->publisher_de);
DEBUG_FUNCTION_LINE("publisher_it: %s\n", out_buf->publisher_it);
DEBUG_FUNCTION_LINE("publisher_es: %s\n", out_buf->publisher_es);
DEBUG_FUNCTION_LINE("publisher_zhs: %s\n", out_buf->publisher_zhs);
DEBUG_FUNCTION_LINE("publisher_ko: %s\n", out_buf->publisher_ko);
DEBUG_FUNCTION_LINE("publisher_nl: %s\n", out_buf->publisher_nl);
DEBUG_FUNCTION_LINE("publisher_pt: %s\n", out_buf->publisher_pt);
DEBUG_FUNCTION_LINE("publisher_ru: %s\n", out_buf->publisher_ru);
DEBUG_FUNCTION_LINE("publisher_zht: %s\n", out_buf->publisher_zht);*/
//DEBUG_FUNCTION_LINE("titleid: %016llX os_version;: %016llX common_save_size: %016llX account_save_size: %016llX common_boss_size: %016llX\n",
//out_buf->titleId, out_buf->os_version,out_buf->common_save_size,out_buf->account_save_size,out_buf->common_boss_size);
//DEBUG_FUNCTION_LINE("account_boss_size: %016llX join_game_mode_mask: %016llX version %d product_code: %s content_plattform: %s\n",out_buf->account_boss_size,out_buf->join_game_mode_mask,out_buf->version,out_buf->product_code,out_buf->content_plattform );
DEBUG_FUNCTION_LINE("TitleID: %08X%08X res:%016llX device: %d %08X = %08X \n",titleid_upper ,titleid_lower ,out_buf->title_id , device ,u1,result);
return result;
}
DECL_FUNCTION(int32_t, ACPGetTitleMetaDirByDevice, uint32_t titleid_upper, uint32_t titleid_lower, char* out_buf, uint32_t size, int device) {
int result = real_ACPGetTitleMetaDirByDevice(titleid_upper, titleid_lower, out_buf, size, device);
if(titleid_upper == 0x00050000 && titleid_lower == 0x101C6400){
DEBUG_FUNCTION_LINE("Replace\n");
char * newPath = "/vol/external01/usr/title/00050000/101c6400/meta";
strcpy(out_buf,newPath);
result = 0;
}
DEBUG_FUNCTION_LINE("TitleID: %08X%08X path:%s (%d)device: %d = %08X \n",titleid_upper ,titleid_lower ,out_buf ,size, device ,result);
return result;
}
DECL_FUNCTION(int32_t, _SYSLaunchTitleByPathFromLauncher, char* pathToLoad, uint32_t u2) {
DEBUG_FUNCTION_LINE("\n");
char * toReplace = "/vol/external01/usr/title/00050000/101c6400";
char * newPath = "/vol/storage_mlc01/sys/title/00050010/1004e200";
if(strcmp(pathToLoad,toReplace) == 0){
strcpy(pathToLoad,newPath);
}
int32_t result = real__SYSLaunchTitleByPathFromLauncher(pathToLoad, strlen(pathToLoad));
DEBUG_FUNCTION_LINE("%s %08X result %08X \n",pathToLoad,u2,result);
return result;
}
DECL_FUNCTION(int32_t, ListTitlePackages__Q2_2nn3nimFPULUi, uint32_t u1, uint32_t u2) {
//dumpHex((void*)u1,0x100);
int result = real_ListTitlePackages__Q2_2nn3nimFPULUi(u1, u2);
//dumpHex((void*)u1,0x100);
//DEBUG_FUNCTION_LINE("%08X %08X= %08X \n",u1 ,u2,result);
return result;
}
DECL_FUNCTION(int32_t, MCP_TitleListUpdateGetNext, uint32_t u1, uint32_t u2) {
int result = real_MCP_TitleListUpdateGetNext(u1, u2);
//DEBUG_FUNCTION_LINE("%08X %08X = %08X \n",u1 ,u2 ,result);
return result;
}
DECL_FUNCTION(int32_t, MCP_AppTagReadWithPos, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_MCP_AppTagReadWithPos(u1, u2, u3, u4, u5, u6, u7);
//DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, MCP_GetTitleSize, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_MCP_GetTitleSize(u1, u2, u3, u4, u5, u6, u7);
//DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, MCP_GetTitleInfoByTitleAndIndexedDevice, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
//DEBUG_FUNCTION_LINE("\n");
int result = real_MCP_GetTitleInfoByTitleAndIndexedDevice(u1, u2, u3, u4, u5, u6, u7);
//DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, MCP_GetTitleInfo, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_MCP_GetTitleInfo(u1, u2, u3, u4, u5, u6, u7);
//DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}DECL_FUNCTION(int32_t, ACPGetTitleMetaXmlByTitleListType, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_ACPGetTitleMetaXmlByTitleListType(u1, u2, u3, u4, u5, u6, u7);
//DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, MCP_GetTitleInfoByTitleAndDeviceType, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_MCP_GetTitleInfoByTitleAndDeviceType(u1, u2, u3, u4, u5, u6, u7);
//DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, ACPGetTitleInfoOfMainApplication, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_ACPGetTitleInfoOfMainApplication(u1, u2, u3, u4, u5, u6, u7);
//DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, MCP_GetTitleInfoByDevice, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_MCP_GetTitleInfoByDevice(u1, u2, u3, u4, u5, u6, u7);
//DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, MCP_GetContentInfos, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_MCP_GetContentInfos(u1, u2, u3, u4, u5, u6, u7);
//DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, ACPCheckApplicationDeviceEmulation, uint32_t u1) {
int result = real_ACPCheckApplicationDeviceEmulation(u1);
//DEBUG_FUNCTION_LINE("%08X = %08X \n",u1 ,result);
return result;
}
DECL_FUNCTION(int32_t, ACPGetTitleMetaXml, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
//DEBUG_FUNCTION_LINE("\n");
int result = real_ACPGetTitleMetaXml(u1, u2, u3, u4, u5, u6, u7);
//DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
WUPS_MUST_REPLACE(MCP_AppTagReadWithPos, WUPS_LOADER_LIBRARY_COREINIT, MCP_AppTagReadWithPos);
WUPS_MUST_REPLACE(MCP_TitleListUpdateGetNext, WUPS_LOADER_LIBRARY_COREINIT, MCP_TitleListUpdateGetNext);
WUPS_MUST_REPLACE(MCP_GetTitleInfoByDevice, WUPS_LOADER_LIBRARY_COREINIT, MCP_GetTitleInfoByDevice);
WUPS_MUST_REPLACE(MCP_GetTitleSize, WUPS_LOADER_LIBRARY_COREINIT, MCP_GetTitleSize);
WUPS_MUST_REPLACE(MCP_GetContentInfos, WUPS_LOADER_LIBRARY_COREINIT, MCP_GetContentInfos);
WUPS_MUST_REPLACE(MCP_TitleList, WUPS_LOADER_LIBRARY_COREINIT, MCP_TitleList);
WUPS_MUST_REPLACE(MCP_TitleListByAppType, WUPS_LOADER_LIBRARY_COREINIT, MCP_TitleListByAppType);
WUPS_MUST_REPLACE(MCP_GetTitleInfoByTitleAndDevice, WUPS_LOADER_LIBRARY_COREINIT, MCP_GetTitleInfoByTitleAndDevice);
WUPS_MUST_REPLACE(ACPGetTitleMetaXmlByTitleListType , WUPS_LOADER_LIBRARY_NN_ACP, ACPGetTitleMetaXmlByTitleListType );
WUPS_MUST_REPLACE(ACPCheckTitleLaunchByTitleListType , WUPS_LOADER_LIBRARY_NN_ACP, ACPCheckTitleLaunchByTitleListType );
WUPS_MUST_REPLACE(ACPGetTitleMetaXmlByDevice , WUPS_LOADER_LIBRARY_NN_ACP, ACPGetTitleMetaXmlByDevice );
WUPS_MUST_REPLACE(ACPGetTitleMetaDirByDevice , WUPS_LOADER_LIBRARY_NN_ACP, ACPGetTitleMetaDirByDevice );
WUPS_MUST_REPLACE(ACPCheckApplicationDeviceEmulation , WUPS_LOADER_LIBRARY_NN_ACP, ACPCheckApplicationDeviceEmulation );
WUPS_MUST_REPLACE(ACPGetTitleInfoOfMainApplication , WUPS_LOADER_LIBRARY_NN_ACP, ACPGetTitleInfoOfMainApplication );
WUPS_MUST_REPLACE(_SYSLaunchTitleByPathFromLauncher, WUPS_LOADER_LIBRARY_SYSAPP, _SYSLaunchTitleByPathFromLauncher);
//WUPS_MUST_REPLACE( OSSendMessage , WUPS_LOADER_LIBRARY_COREINIT, OSSendMessage );
//WUPS_MUST_REPLACE(GetNumTitlePackages__Q2_2nn3nimFv , WUPS_LOADER_LIBRARY_NN_NIM, GetNumTitlePackages__Q2_2nn3nimFv );
//WUPS_MUST_REPLACE(ListTitlePackages__Q2_2nn3nimFPULUi , WUPS_LOADER_LIBRARY_NN_NIM, ListTitlePackages__Q2_2nn3nimFPULUi );
//WUPS_MUST_REPLACE(GetTitlePackageInfos__Q2_2nn3nimFPQ3_2nn3nim16TitlePackageInfoPCULUi , WUPS_LOADER_LIBRARY_NN_NIM, GetTitlePackageInfos__Q2_2nn3nimFPQ3_2nn3nim16TitlePackageInfoPCULUi );
//WUPS_MUST_REPLACE(IOS_Open , WUPS_LOADER_LIBRARY_COREINIT, IOS_Open );
//WUPS_MUST_REPLACE(ACPCheckPreOrderTitle , WUPS_LOADER_LIBRARY_NN_ACP, ACPCheckPreOrderTitle );
WUPS_MUST_REPLACE(ACPGetLaunchMetaXml , WUPS_LOADER_LIBRARY_NN_ACP, ACPGetLaunchMetaXml );
//WUPS_MUST_REPLACE(CheckTitleLaunchByTitleListType__Q2_2nn3acpFPC17MCP_TitleListTypePC13ACPPCAuthInfo , WUPS_LOADER_LIBRARY_NN_ACP, CheckTitleLaunchByTitleListType__Q2_2nn3acpFPC17MCP_TitleListTypePC13ACPPCAuthInfo );
//WUPS_MUST_REPLACE(MCP_GetOverlayAppInfo , WUPS_LOADER_LIBRARY_COREINIT, MCP_GetOverlayAppInfo );
//WUPS_MUST_REPLACE(ACPGetSaveDataTitleIdList , WUPS_LOADER_LIBRARY_NN_ACP, ACPGetSaveDataTitleIdList );
//WUPS_MUST_REPLACE(ACPGetTitleCmpTitleId , WUPS_LOADER_LIBRARY_NN_ACP, ACPGetTitleCmpTitleId );
//WUPS_MUST_REPLACE(ACPGetTitleSaveDir , WUPS_LOADER_LIBRARY_NN_ACP, ACPGetTitleSaveDir );
//WUPS_MUST_REPLACE(ACPGetTitleSaveDirEx , WUPS_LOADER_LIBRARY_NN_ACP, ACPGetTitleSaveDirEx );
WUPS_MUST_REPLACE(ACPGetTitleMetaXml , WUPS_LOADER_LIBRARY_NN_ACP, ACPGetTitleMetaXml );
//WUPS_MUST_REPLACE(ACPGetTitleSaveMetaXml , WUPS_LOADER_LIBRARY_NN_ACP, ACPGetTitleSaveMetaXml );
//WUPS_MUST_REPLACE(ACPGetApplicationBox , WUPS_LOADER_LIBRARY_NN_ACP, ACPGetApplicationBox );
//WUPS_MUST_REPLACE(ACPGetTitleInfoOfMainApplication , WUPS_LOADER_LIBRARY_NN_ACP, ACPGetTitleInfoOfMainApplication );
//WUPS_MUST_REPLACE(ACPGetTitleMetaDir , WUPS_LOADER_LIBRARY_NN_ACP, ACPGetTitleMetaDir );
WUPS_MUST_REPLACE(ACPGetLaunchMetaData , WUPS_LOADER_LIBRARY_NN_ACP, ACPGetLaunchMetaData );
//WUPS_MUST_REPLACE(ACPCheckTitleLaunchEx , WUPS_LOADER_LIBRARY_NN_ACP, ACPCheckTitleLaunchEx );
//WUPS_MUST_REPLACE(ACPCheckTitleLaunchByTitleListTypeEx , WUPS_LOADER_LIBRARY_NN_ACP, ACPCheckTitleLaunchByTitleListTypeEx );
//WUPS_MUST_REPLACE(ACPCheckTitleLaunch , WUPS_LOADER_LIBRARY_NN_ACP, ACPCheckTitleLaunch );
//WUPS_MUST_REPLACE(GetLaunchInfoById__Q3_2nn2sl18LaunchInfoDatabaseCFPQ3_2nn2sl10LaunchInfoUL , WUPS_LOADER_LIBRARY_NN_SL, GetLaunchInfoById__Q3_2nn2sl18LaunchInfoDatabaseCFPQ3_2nn2sl10LaunchInfoUL );
//WUPS_MUST_REPLACE(MCP_PatchCheckTitleVersion , WUPS_LOADER_LIBRARY_COREINIT, MCP_PatchCheckTitleVersion );
//WUPS_MUST_REPLACE(MCP_DeviceList , WUPS_LOADER_LIBRARY_COREINIT, MCP_DeviceList );
//WUPS_MUST_REPLACE(MCP_FullDeviceList , WUPS_LOADER_LIBRARY_COREINIT, MCP_FullDeviceList );
//WUPS_MUST_REPLACE(MCP_GetTitleId , WUPS_LOADER_LIBRARY_COREINIT, MCP_GetTitleId );
//WUPS_MUST_REPLACE(MCP_Open, WUPS_LOADER_LIBRARY_COREINIT, MCP_Open);
//WUPS_MUST_REPLACE(IOS_Ioctl, WUPS_LOADER_LIBRARY_COREINIT, IOS_Ioctl);
WUPS_MUST_REPLACE(FSOpenFileAsync, WUPS_LOADER_LIBRARY_COREINIT, FSOpenFileAsync);
//WUPS_MUST_REPLACE(MCP_UpdateSetUpdater, WUPS_LOADER_LIBRARY_COREINIT, MCP_UpdateSetUpdater);
//WUPS_MUST_REPLACE(MCP_PreloadTitleFolder, WUPS_LOADER_LIBRARY_COREINIT, MCP_PreloadTitleFolder);
WUPS_MUST_REPLACE(MCP_GetTitleInfo, WUPS_LOADER_LIBRARY_COREINIT, MCP_GetTitleInfo);
WUPS_MUST_REPLACE(MCP_GetTitleInfoByTitleAndIndexedDevice, WUPS_LOADER_LIBRARY_COREINIT, MCP_GetTitleInfoByTitleAndIndexedDevice);
WUPS_MUST_REPLACE(MCP_GetTitleInfoByTitleAndDeviceType, WUPS_LOADER_LIBRARY_COREINIT, MCP_GetTitleInfoByTitleAndDeviceType);
//WUPS_MUST_REPLACE(MCP_GetInstalledTitleVersion, WUPS_LOADER_LIBRARY_COREINIT, MCP_GetInstalledTitleVersion);
//WUPS_MUST_REPLACE(SYSCheckTitleExists, WUPS_LOADER_LIBRARY_SYSAPP, SYSCheckTitleExists);
/*
DECL_FUNCTION(IOSHandle, MCP_Open,void){
IOSHandle result = real_MCP_Open();
DEBUG_FUNCTION_LINE("%08X \n",result);
for(int i = 0;i<100;i++){
if(handles[i] == 0){
handles[i] = result;
break;
}
}
return result;
}
DECL_FUNCTION(int32_t, MCP_DeviceList , uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_MCP_DeviceList(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, MCP_GetTitleId , uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_MCP_GetTitleId(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, MCP_PreloadTitleFolder, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_MCP_PreloadTitleFolder(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, MCP_UpdateSetUpdater, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_MCP_UpdateSetUpdater(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, SYSCheckTitleExists, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_SYSCheckTitleExists(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, MCP_PatchCheckTitleVersion, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_MCP_PatchCheckTitleVersion(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, GetLaunchInfoById__Q3_2nn2sl18LaunchInfoDatabaseCFPQ3_2nn2sl10LaunchInfoUL, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_GetLaunchInfoById__Q3_2nn2sl18LaunchInfoDatabaseCFPQ3_2nn2sl10LaunchInfoUL(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, ACPCheckTitleLaunch, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_ACPCheckTitleLaunch(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, MCP_GetOverlayAppInfo, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
DEBUG_FUNCTION_LINE("\n");
int result = real_MCP_GetOverlayAppInfo(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, ACPCheckTitleLaunchByTitleListTypeEx, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
DEBUG_FUNCTION_LINE("\n");
int result = real_ACPCheckTitleLaunchByTitleListTypeEx(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, MCP_FullDeviceList, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_MCP_FullDeviceList(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
*/
/*
DECL_FUNCTION(int32_t, ACPCheckTitleLaunchEx, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_ACPCheckTitleLaunchEx(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, ACPGetLaunchMetaData, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_ACPGetLaunchMetaData(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, ACPGetTitleSaveMetaXml, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_ACPGetTitleSaveMetaXml(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, ACPGetTitleSaveDir, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_ACPGetTitleSaveDir(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}DECL_FUNCTION(int32_t, ACPGetTitleSaveDirEx, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_ACPGetTitleSaveDirEx(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}DECL_FUNCTION(int32_t, ACPGetTitleCmpTitleId, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_ACPGetTitleCmpTitleId(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}DECL_FUNCTION(int32_t, ACPGetSaveDataTitleIdList, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_ACPGetSaveDataTitleIdList(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}DECL_FUNCTION(int32_t, ACPGetLaunchMetaXml, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
int result = real_ACPGetLaunchMetaXml(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}DECL_FUNCTION(int32_t, ACPCheckPreOrderTitle, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
DEBUG_FUNCTION_LINE("\n");
int result = real_ACPCheckPreOrderTitle(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, CheckTitleLaunchByTitleListType__Q2_2nn3acpFPC17MCP_TitleListTypePC13ACPPCAuthInfo, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
DEBUG_FUNCTION_LINE("\n");
int result = real_CheckTitleLaunchByTitleListType__Q2_2nn3acpFPC17MCP_TitleListTypePC13ACPPCAuthInfo(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, GetNumTitlePackages__Q2_2nn3nimFv, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
DEBUG_FUNCTION_LINE("\n");
int result = real_GetNumTitlePackages__Q2_2nn3nimFv(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, MCP_GetInstalledTitleVersion, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
DEBUG_FUNCTION_LINE("\n");
int result = real_MCP_GetInstalledTitleVersion(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, ACPGetApplicationBox, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
DEBUG_FUNCTION_LINE("\n");
int result = real_ACPGetApplicationBox(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, ACPGetTitleMetaDir, uint32_t u1, uint32_t u2, uint32_t u3, uint32_t u4, uint32_t u5, uint32_t u6, uint32_t u7) {
DEBUG_FUNCTION_LINE("\n");
int result = real_ACPGetTitleMetaDir(u1, u2, u3, u4, u5, u6, u7);
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,u4 ,u5 ,u6 ,u7 ,result);
return result;
}
DECL_FUNCTION(int32_t, OSSendMessage, OSMessageQueue * u1, OSMessage * u2, OSMessageFlags u3) {
int result = real_OSSendMessage(u1, u2, u3);
//DEBUG_FUNCTION_LINE("%08X %08X %08X = %08X \n",u1 ,u2 ,u3 ,result);
return result;
}
DECL_FUNCTION(int32_t, IOS_Open, char * path, int a) {
int result = real_IOS_Open(path,a);
DEBUG_FUNCTION_LINE("%s %d = %08X \n",path,a,result);
return result;
}
DECL_FUNCTION(IOSError, IOS_Ioctl, IOSHandle handle, uint32_t request, void *inBuf, uint32_t inLen, void *outBuf, uint32_t outLen){
int result = real_IOS_Ioctl(handle, request, inBuf, inLen, outBuf, outLen);
for(int i = 0;i<100;i++){
if(handles[i] == handle){
DEBUG_FUNCTION_LINE("%08X %08X %08X %08X %08X %08X %08X = %08X \n",handle ,request ,inBuf ,inLen ,outBuf ,outLen,result);
break;
}
}
//DEBUG_FUNCTION_LINE("OTHER %08X %08X %08X %08X %08X %08X %08X = %08X \n",handle ,request ,inBuf ,inLen ,outBuf ,outLen,result);
return (IOSError)result;
}
*/