Editing PS2 Emulation
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 159: | Line 159: | ||
=== XXXX-YYYYY_cli.conf commands === | === XXXX-YYYYY_cli.conf commands === | ||
<pre>These commands work in config-emu-ps4.txt, but the official way to use them is through the CLI file (It is also needed for multi-disc packages). Additionally, some commands are still not discovered, and known commands might be missing their values. | <pre>These commands work in config-emu-ps4.txt, but the official way to use them is through the CLI file (It is also needed for multi-disc packages). Additionally, some commands are still not discovered, and known commands might be missing their values. </pre> | ||
All commands are pre-made. Creating new CLI commands is impossible. | <pre>All commands are pre-made. Creating new CLI commands is impossible. | ||
The values of the commands are also pre-defined by Sony and/or have a set of possible values or ranges. | The values of the commands are also pre-defined by Sony and/or have a set of possible values or ranges. | ||
Some CLI commands have no effect, as they were added to the eboot.bin without being programmed. Some useful commands were removed or added in or from different emu revisions, or their effects were changed. In some emulators, CLI configurations can be found in the ram at SceLibcHeap[0]-3-881004000.</pre> | Some CLI commands have no effect, as they were added to the eboot.bin without being programmed. Some useful commands were removed or added in or from different emu revisions, or their effects were changed. In some emulators, CLI configurations can be found in the ram at SceLibcHeap[0]-3-881004000.</pre> | ||
Line 764: | Line 764: | ||
==== PCSX2's gameindex ==== | ==== PCSX2's gameindex ==== | ||
<pre>PCSX2's commands on the PS4 | <pre>PCSX2's commands on the PS4</pre> | ||
<br>[https://raw.githubusercontent.com/PCSX2/pcsx2/master/bin/resources/GameIndex.yaml Current Gameindex.yaml] | <br>[https://raw.githubusercontent.com/PCSX2/pcsx2/master/bin/resources/GameIndex.yaml Current Gameindex.yaml] | ||
Line 864: | Line 864: | ||
<br>It is the most powerful configuration on the emulator, it allows for direct patching of EE/IOP/VU memory, hooks registers, hook dma. Almost Everything can be done here. | <br>It is the most powerful configuration on the emulator, it allows for direct patching of EE/IOP/VU memory, hooks registers, hook dma. Almost Everything can be done here. | ||
<br>If needed it can hook registers by using register names from alias files. Alias files (ee-cpr0-alias.lua, ee-gpr-alias.lua, ee-hwaddr.lua) are stored in lua_include folder, and can be included to config by using require ("alias file name"). | <br>If needed it can hook registers by using register names from alias files. Alias files (ee-cpr0-alias.lua, ee-gpr-alias.lua, ee-hwaddr.lua) are stored in lua_include folder, and can be included to config by using require ("alias file name"). | ||
<br> [[PS2_PS4_LUA|Examples ]] | |||
<br>'''Known functions: | <br>'''Known functions: | ||
''' | ''' | ||
Line 1,836: | Line 1,837: | ||
==== Official PS2 configuration examples ==== | ==== Official PS2 configuration examples ==== | ||
*You can find the rest of the PS2 configurations in [https://www.psdevwiki.com/ps4/ | *You can find the rest of the PS2 configurations in the [https://www.psdevwiki.com/ps4/Talk:PS2_Classics_Emulator_Compatibility_List#Official_PS2emu_Configuration_Files Talk page]. | ||
<br>Canis Canem Edit | <br>Canis Canem Edit |