Patches/sandbox: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (Text replacement - "color:black" to "color:black!important")
 
(One intermediate revision by the same user not shown)
Line 162: Line 162:


=== set <code><Delay time="0" /></code> and <code>duration="0"</code> (patchtest 1) ===
=== set <code><Delay time="0" /></code> and <code>duration="0"</code> (patchtest 1) ===
<span style="background:#bfd; color:black;">(working)</span>
<span style="background:#bfd; color:black!important;">(working)</span>
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<Animation name="anim_coldboot">
<Animation name="anim_coldboot">
Line 199: Line 199:


==== Patch 2 - Removing all SCE logo animations (patchtest 2) ====
==== Patch 2 - Removing all SCE logo animations (patchtest 2) ====
<span style="background:#bfd; color:black;">(working)</span>
<span style="background:#bfd; color:black!important;">(working)</span>
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<Animation name="anim_coldboot">
<Animation name="anim_coldboot">
Line 226: Line 226:


==== Remove also delaytime (patchtest 3)====
==== Remove also delaytime (patchtest 3)====
<span style="background:#bfd; color:black;">(working)</span>
<span style="background:#bfd; color:black!important;">(working)</span>
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<Animation name="anim_coldboot">
<Animation name="anim_coldboot">
Line 247: Line 247:


==== Remove also boot-background (patchtest 4)====
==== Remove also boot-background (patchtest 4)====
<span style="background:#bfd; color:black;">(working)</span>
<span style="background:#bfd; color:black!important;">(working)</span>
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<Animation name="anim_coldboot">
<Animation name="anim_coldboot">
Line 266: Line 266:


==== Remove also normal background (patchtest 5) ====
==== Remove also normal background (patchtest 5) ====
<span style="background:#bfd; color:black;">(working)</span>
<span style="background:#bfd; color:black!important;">(working)</span>
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<Animation name="anim_coldboot">
<Animation name="anim_coldboot">
Line 337: Line 337:


==== Keep ShowGUI but remove Lock (patchtest 10) ====
==== Keep ShowGUI but remove Lock (patchtest 10) ====
<span style="background:#bfd; color:black;">(working)</span>
<span style="background:#bfd; color:black!important;">(working)</span>


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
Line 351: Line 351:


==== Keep ShowGUI but also remove Finished (patchtest 11) ====
==== Keep ShowGUI but also remove Finished (patchtest 11) ====
<span style="background:#CCFF99; color:red;">(partial working, <abbr title='"sony computer entertainment" is a whitebar which remains on screen along with the PS3 logo/coldboot'>coldboot + text</abbr> stuck on screen, XMB shown)</span>
<span style="background:#CCFF99; color:red!important;">(partial working, <abbr title='"sony computer entertainment" is a whitebar which remains on screen along with the PS3 logo/coldboot'>coldboot + text</abbr> stuck on screen, XMB shown)</span>


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">

Latest revision as of 06:09, 1 July 2023

disable wait for coldboot view sleep[edit | edit source]

CEX + SHOP + DEX + DECR[edit | edit source]

 set search  "\x88\x1D\x00\x06\x3C\x60\x00"
 set replace "\x38\x00\x00\x01\x3C\x60\x00"

GEX/Arcade[edit | edit source]

N/A

Offsets[edit | edit source]

vsh.elf 4.00 4.01 4.10 4.11 4.20 4.21 4.23 4.25 4.26 4.30 4.31 4.40 4.41 4.45 4.46 4.50 4.55 4.60 4.65 4.66 4.70 4.75
 CEX  0xBEA98 - 0xBEA88 0xBEABC 0xBF1DC 0xBF1DC - 0xBF1E4 - 0xBF4E4 0xBF4E4 0xBF4E4 0xBF4E4 0xBF4E4 0xBF4E4 - - 0xBF3B0 0xBF3B0 0xBF3B0 0xBF30C 0xBF30C
 SEX  0xBED04 - 0xBECF4 0xBED28 0xBF44C 0xBF44C 0xBF44C - 0xBF454 - 0xBF754 0xBF6E8 0xBF6E8 0xBF6E8 0xBF6E8 - 0xBF5F4 0xBF5A4 - 0xBF5A4 0xBF500 0xBF500
 DEX  0xC3AA8 40xC3AA8 0xC3A98 0xC3ACC 0xC41D4 0xC41D4 - 0xC41EC - 0xC44EC - - - - - 0xC43D4 0xC43F0 0xC43B0 - 0xC43B0 -
 DECR  0xC3F58 - - - - - - - - - - - - - - 0xC5110 - - - - -

disable load of coldboot on boot (does not work) v1[edit | edit source]

(does not work)

CEX + SHOP + DEX + DECR[edit | edit source]

 set search  "\x00\x00\x00\x34\x00\x00\x05\xF4"
 set replace "\x00\x00\x00\x34\xFF\xFF\xFF\x88"

Offsets[edit | edit source]

custom_render_plugin.prx 4.00 4.01 4.10 4.11 4.20 4.21 4.23 4.25 4.26 4.30 4.31 4.40 4.41 4.45 4.46 4.50 4.55 4.60 4.65 4.66 4.70 4.75
 CEX  - - - - - - - - - - - - - - - - - - - - - -
 SEX  - - - - - - - - - - - - - - - - - - - - - -
 DEX  - - - - - - - - - - - - - - - - - - - - - -
 DECR  - - - - - - - - - - - - - - - - - - - - - -

disable load of coldboot on boot (does not work) v2[edit | edit source]

(does not work)

CEX + SHOP + DEX + DECR[edit | edit source]

 set search  "\x40\x9E\x00\x14\x38\x60\x00\x00\x38\x80\x00\x00"
 set replace "\x48\x00\x00\x14\x38\x60\x00\x00\x38\x80\x00\x00"

Offsets[edit | edit source]

custom_render_plugin.prx 4.00 4.01 4.10 4.11 4.20 4.21 4.23 4.25 4.26 4.30 4.31 4.40 4.41 4.45 4.46 4.50 4.55 4.60 4.65 4.66 4.70 4.75
 CEX  - - - - - - - - - - - - - - - - - - - - - -
 SEX  - - - - - - - - - - - - - - - - - - - - - -
 DEX  - - - - - - - - - - - - - - - - - - - - - -
 DECR  - - - - - - - - - - - - - - - - - - - - - -

disable load of coldboot on boot (does not work) v3[edit | edit source]

(does not work)

CEX + SHOP + DEX[edit | edit source]

 set search  "\x40\x9E\x00\x10\x7F\xC3\xF3\x78\x7B\xE4\x00\x20"
 set replace "\x48\x00\x00\x10\x7F\xC3\xF3\x78\x7B\xE4\x00\x20"

Offsets[edit | edit source]

custom_render_plugin.prx 4.00 4.01 4.10 4.11 4.20 4.21 4.23 4.25 4.26 4.30 4.31 4.40 4.41 4.45 4.46 4.50 4.55 4.60 4.65 4.66 4.70 4.75
 CEX  - - - - - - - - - - - - - - - - - - - - - -
 SEX  - - - - - - - - - - - - - - - - - - - - - -
 DEX  - - - - - - - - - - - - - - - - - - - - - -
 DECR  - - - - - - - - - - - - - - - - - - - - - -

coldboot_dummy.raf[edit | edit source]

Experimental

https://www.sendspace.com/file/kkwe5w

VSH experimental double patch[edit | edit source]

(does not work, does not boot to XMB/GUI)

<mysis> beware it might also create endless wave :~
 set search  "\x81\x3E\x00\x08\x88\x1D\x00\x09"
 set replace "\x48\x00\x00\x34\x88\x1D\x00\x09"
 set search  "\x38\x60\x00\x64\x41\x9E\x00\x0C"
 set replace "\x38\x60\x00\x64\x48\x00\x00\x0C"

Offsets 1[edit | edit source]

vsh.elf 4.00 4.01 4.10 4.11 4.20 4.21 4.23 4.25 4.26 4.30 4.31 4.40 4.41 4.45 4.46 4.50 4.55 4.60 4.65 4.66 4.70 4.75
 CEX  - - - - - - - - - - - - - - - - - - - - - -
 SEX  - - - - - - - - - - - - - - - - - - - - - -
 DEX  - - - - - - - - - - - - - - - - - - - - - -
 DECR  - - - - - - - - - - - - - - - - - - - - - -

VSH disable boot sound[edit | edit source]

 set search  "\x38\x60\x00\x01\x68\x00\x00\x01\x38\x80\x00\x00"
 set replace "\x38\x60\x00\x01\x38\x00\x00\x00\x38\x80\x00\x00"

Offsets[edit | edit source]

vsh.elf 4.00 4.01 4.10 4.11 4.20 4.21 4.23 4.25 4.26 4.30 4.31 4.40 4.41 4.45 4.46 4.50 4.55 4.60 4.65 4.66 4.70 4.75
 CEX  - - - - - - - - - - - - - - - - - - - - - -
 SEX  - - - - - - - - - - - - - - - - - - - - - -
 DEX  - - - - - - - - - - - - - - - - - - - - - -
 DECR  - - - - - - - - - - - - - - - - - - - - - -

custom_render_plugin.rco remove delay[edit | edit source]

(original sum of delays is 10 seconds)

  • Incompatibility notes
    • There are graphic glitches in all the tests marked as working when using them with the official coldboot.raf and a dynamic theme applyed in XMB
    • The reason why this happens is because by reducing the boot time the xmb is displayed earlly, the result is the coldboot.raf is displyed over XMB. Dynamic themes uses a .raf for the background, this means there are 2 .raf animations running together and unexpected things can happen (like calculations of mathematical operations out of range, etc... that could cause glitches and a crash)
  • Tests purposes
    • Test 1 replaces the delay's and duration's by 0. After applying the patch the resulting file is the most closer to official code (minimal patched data, safer, more stable)
    • The purpose of the other tests is to simplify the code to make it more efficient and minimal posible
    • Test 2 up to 9 are all the combinations that initially was worthy to try to understand wich lines was criticall... after 6 it was broken (because the line where is specifyed the ShowGUI was not present)
    • Test 10 uses the ShowGUI + Finished
    • Test 11 uses only ShowGUI. It displays some kind of error in the position of the PS3 logo (belongs to the coldboot.raf animation)
    • Test 12 and 13 was the last test to identify if what needs to be patched is the tag anim_coldboot.... or anim_coldboot2 (note in all the previous tests was patched both)
    • Test 13 is based on test 10, but only patches coldboot2 (coldboot2 is used in new firmwares... the other patch to coldboot was not needed)
    • The winners seems to be test 1 (for minimal changes) and test 13 (for minimal code)

set <Delay time="0" /> and duration="0" (patchtest 1)[edit | edit source]

(working)

			<Animation name="anim_coldboot">
				<Lock unknownInt0="0xffffffff" />
				<Fade object="object:scelogo" duration="0" accelMode="0x0" transparency="0" />
				<FireEvent object="event:native:/anim_coldboot_BootBG1" />
				<Delay time="0" />
				<FireEvent object="event:native:/anim_coldboot_NormalBG" />
				<Delay time="0" />
				<Fade object="object:scelogo" duration="0" accelMode="0x3" transparency="0.8" />
				<Delay time="0" />
				<Fade object="object:scelogo" duration="0" accelMode="0x3" transparency="0" />
				<Delay time="0" />
				<Delay time="0" />
				<FireEvent object="event:native:/anim_coldboot_ShowGUI" />
				<Unlock unknownInt0="0xffffffff" />
				<Delay time="0" />
				<FireEvent object="event:native:/anim_coldboot_Finished" />
			</Animation>
			<Animation name="anim_coldboot2">
				<Lock unknownInt0="0xffffffff" />
				<Fade object="object:scelogo" duration="0" accelMode="0x0" transparency="0" />
				<FireEvent object="event:native:/anim_coldboot_BootBG2" />
				<Delay time="0" />
				<FireEvent object="event:native:/anim_coldboot_NormalBG2" />
				<Delay time="0" />
				<FireEvent object="event:native:/anim_coldboot_ShowGUI" />
				<Unlock unknownInt0="0xffffffff" />
				<Delay time="0" />
				<FireEvent object="event:native:/anim_coldboot_Finished" />
			</Animation>

Minimalistic patches[edit | edit source]

(there are several options, which works best/without issues can be proven IRL within seconds)

Patch 2 - Removing all SCE logo animations (patchtest 2)[edit | edit source]

(working)

			<Animation name="anim_coldboot">
				<Lock unknownInt0="0xffffffff" />
				<FireEvent object="event:native:/anim_coldboot_BootBG1" />
				<Delay time="0" />
				<FireEvent object="event:native:/anim_coldboot_NormalBG" />
				<Delay time="0" />
				<FireEvent object="event:native:/anim_coldboot_ShowGUI" />
				<Unlock unknownInt0="0xffffffff" />
				<Delay time="0" />
				<FireEvent object="event:native:/anim_coldboot_Finished" />
			</Animation>
			<Animation name="anim_coldboot2">
				<Lock unknownInt0="0xffffffff" />
				<FireEvent object="event:native:/anim_coldboot_BootBG2" />
				<Delay time="0" />
				<FireEvent object="event:native:/anim_coldboot_NormalBG2" />
				<Delay time="0" />
				<FireEvent object="event:native:/anim_coldboot_ShowGUI" />
				<Unlock unknownInt0="0xffffffff" />
				<Delay time="0" />
				<FireEvent object="event:native:/anim_coldboot_Finished" />
			</Animation>

Remove also delaytime (patchtest 3)[edit | edit source]

(working)

			<Animation name="anim_coldboot">
				<Lock unknownInt0="0xffffffff" />
				<FireEvent object="event:native:/anim_coldboot_BootBG1" />
				<FireEvent object="event:native:/anim_coldboot_NormalBG" />
				<FireEvent object="event:native:/anim_coldboot_ShowGUI" />
				<Unlock unknownInt0="0xffffffff" />
				<FireEvent object="event:native:/anim_coldboot_Finished" />
			</Animation>
			<Animation name="anim_coldboot2">
				<Lock unknownInt0="0xffffffff" />
				<FireEvent object="event:native:/anim_coldboot_BootBG2" />
				<FireEvent object="event:native:/anim_coldboot_NormalBG2" />
				<FireEvent object="event:native:/anim_coldboot_ShowGUI" />
				<Unlock unknownInt0="0xffffffff" />
				<FireEvent object="event:native:/anim_coldboot_Finished" />
			</Animation>

Remove also boot-background (patchtest 4)[edit | edit source]

(working)

			<Animation name="anim_coldboot">
				<Lock unknownInt0="0xffffffff" />
				<FireEvent object="event:native:/anim_coldboot_NormalBG" />
				<FireEvent object="event:native:/anim_coldboot_ShowGUI" />
				<Unlock unknownInt0="0xffffffff" />
				<FireEvent object="event:native:/anim_coldboot_Finished" />
			</Animation>
			<Animation name="anim_coldboot2">
				<Lock unknownInt0="0xffffffff" />
				<FireEvent object="event:native:/anim_coldboot_NormalBG2" />
				<FireEvent object="event:native:/anim_coldboot_ShowGUI" />
				<Unlock unknownInt0="0xffffffff" />
				<FireEvent object="event:native:/anim_coldboot_Finished" />
			</Animation>

Remove also normal background (patchtest 5)[edit | edit source]

(working)

			<Animation name="anim_coldboot">
				<Lock unknownInt0="0xffffffff" />
				<FireEvent object="event:native:/anim_coldboot_ShowGUI" />
				<Unlock unknownInt0="0xffffffff" />
				<FireEvent object="event:native:/anim_coldboot_Finished" />
			</Animation>
			<Animation name="anim_coldboot2">
				<Lock unknownInt0="0xffffffff" />
				<FireEvent object="event:native:/anim_coldboot_ShowGUI" />
				<Unlock unknownInt0="0xffffffff" />
				<FireEvent object="event:native:/anim_coldboot_Finished" />
			</Animation>

Remove also anim ShowGUI (patchtest 6)[edit | edit source]

(not working, no XMB shown)

			<Animation name="anim_coldboot">
				<Lock unknownInt0="0xffffffff" />
				<Unlock unknownInt0="0xffffffff" />
				<FireEvent object="event:native:/anim_coldboot_Finished" />
			</Animation>
			<Animation name="anim_coldboot2">
				<Lock unknownInt0="0xffffffff" />
				<Unlock unknownInt0="0xffffffff" />
				<FireEvent object="event:native:/anim_coldboot_Finished" />
			</Animation>

Remove locking/unlocking also (patchtest 7)[edit | edit source]

(not working, no XMB shown)

Directly calling <FireEvent object="event:native:/anim_coldboot_Finished" />:

			<Animation name="anim_coldboot">
				<FireEvent object="event:native:/anim_coldboot_Finished" />
			</Animation>
			<Animation name="anim_coldboot2">
				<FireEvent object="event:native:/anim_coldboot_Finished" />
			</Animation>

Remove Finished instead (patchtest 8)[edit | edit source]

(not working, no XMB shown)

			<Animation name="anim_coldboot">
				<Lock unknownInt0="0xffffffff" />
				<Unlock unknownInt0="0xffffffff" />
			</Animation>
			<Animation name="anim_coldboot2">
				<Lock unknownInt0="0xffffffff" />
				<Unlock unknownInt0="0xffffffff" />
			</Animation>

Remove everything (patchtest 9)[edit | edit source]

(not working, no XMB shown)

Deleting everything within the <Animation> tag:

			<Animation name="anim_coldboot">
			</Animation>
			<Animation name="anim_coldboot2">
			</Animation>

Keep ShowGUI but remove Lock (patchtest 10)[edit | edit source]

(working)

			<Animation name="anim_coldboot">
				<FireEvent object="event:native:/anim_coldboot_ShowGUI" />
				<FireEvent object="event:native:/anim_coldboot_Finished" />
			</Animation>
			<Animation name="anim_coldboot2">
				<FireEvent object="event:native:/anim_coldboot_ShowGUI" />
				<FireEvent object="event:native:/anim_coldboot_Finished" />
			</Animation>

Keep ShowGUI but also remove Finished (patchtest 11)[edit | edit source]

(partial working, coldboot + text stuck on screen, XMB shown)

			<Animation name="anim_coldboot">
				<FireEvent object="event:native:/anim_coldboot_ShowGUI" />
			</Animation>
			<Animation name="anim_coldboot2">
				<FireEvent object="event:native:/anim_coldboot_ShowGUI" />
			</Animation>

Keep ShowGUI but remove Lock - coldboot only (patchtest 12)[edit | edit source]

12 results in 18sec boottime wih dynamic theme (17sec with default theme)
			<Animation name="anim_coldboot">
				<FireEvent object="event:native:/anim_coldboot_ShowGUI" />
				<FireEvent object="event:native:/anim_coldboot_Finished" />
			</Animation>

Keep ShowGUI but remove Lock - coldboot2 only (patchtest 13)[edit | edit source]

13 results in 14sec boottime wih dynamic theme (13sec with default theme)
			<Animation name="anim_coldboot2">
				<FireEvent object="event:native:/anim_coldboot_ShowGUI" />
				<FireEvent object="event:native:/anim_coldboot_Finished" />
			</Animation>