Patches/sandbox: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (→‎custom_render_plugin.rco remove delay: fixed wrong order in the lock/unlocks, now all are used in the same order than original)
Line 142: Line 142:
(original sum of delays is 10 seconds)<br />
(original sum of delays is 10 seconds)<br />


set <code><Delay time="0" /></code> and <code>duration="0"</code>:
=== set <code><Delay time="0" /></code> and <code>duration="0"</code> ===
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<Animation name="anim_coldboot">
<Animation name="anim_coldboot">
Line 175: Line 175:
</syntaxhighlight>
</syntaxhighlight>


'''Minimalistic code approachs (there are only 4 options)'''
=== Minimalistic patches ===
(there are several options, which works best/without issues can be proven IRL within seconds<!--// several thousands less than the time wikifying this costs //-->)


Replacing everything by the "lock" declaration (because is unknown and removing something unknown looks like a bad idea) and a dummy fireevent animation<br>
==== Removing all SCE logo animations ====
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<Animation name="anim_coldboot">
<Animation name="anim_coldboot">
<Lock unknownInt0="0xffffffff" />
<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" />
<Unlock unknownInt0="0xffffffff" />
<Delay time="0" />
<FireEvent object="event:native:/anim_coldboot_Finished" />
<FireEvent object="event:native:/anim_coldboot_Finished" />
</Animation>
</Animation>
<Animation name="anim_coldboot2">
<Animation name="anim_coldboot2">
<Lock unknownInt0="0xffffffff" />
<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" />
<Unlock unknownInt0="0xffffffff" />
<Delay time="0" />
<FireEvent object="event:native:/anim_coldboot_Finished" />
<FireEvent object="event:native:/anim_coldboot_Finished" />
</Animation>
</Animation>
</syntaxhighlight>
</syntaxhighlight>


Replacing everything by the "lock" declaration (because is unknown and removing something unknown looks like a bad idea)<br>
==== Remove also delaytime ====
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<Animation name="anim_coldboot">
<Animation name="anim_coldboot">
<Lock unknownInt0="0xffffffff" />
<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" />
<Unlock unknownInt0="0xffffffff" />
<FireEvent object="event:native:/anim_coldboot_Finished" />
</Animation>
</Animation>
<Animation name="anim_coldboot2">
<Animation name="anim_coldboot2">
<Lock unknownInt0="0xffffffff" />
<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" />
<Unlock unknownInt0="0xffffffff" />
<FireEvent object="event:native:/anim_coldboot_Finished" />
</Animation>
</Animation>
</syntaxhighlight>
</syntaxhighlight>


Replacing everything by a dummy fireevent animation<br>
==== Remove also boot-background ====
set <code><FireEvent object="event:native:/anim_coldboot_Finished" /></code>:
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<Animation name="anim_coldboot">
<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" />
<FireEvent object="event:native:/anim_coldboot_Finished" />
</Animation>
</Animation>
<Animation name="anim_coldboot2">
<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" />
<FireEvent object="event:native:/anim_coldboot_Finished" />
</Animation>
</Animation>
</syntaxhighlight>
</syntaxhighlight>


Deleting everything<br>
==== Remove also normal background ====
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<Animation name="anim_coldboot">
<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>
<Animation name="anim_coldboot2">
<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>
</Animation>
</syntaxhighlight>
</syntaxhighlight>
==== Remove also anim ShowGUI ====
<syntaxhighlight lang="xml">
<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>
</syntaxhighlight>
==== Remove locking/unlocking also ====
Directly calling <code><FireEvent object="event:native:/anim_coldboot_Finished" /></code>:
<syntaxhighlight lang="xml">
<Animation name="anim_coldboot">
<FireEvent object="event:native:/anim_coldboot_Finished" />
</Animation>
<Animation name="anim_coldboot2">
<FireEvent object="event:native:/anim_coldboot_Finished" />
</Animation>
</syntaxhighlight>
==== Remove Finished instead ====
<syntaxhighlight lang="xml">
<Animation name="anim_coldboot">
<Lock unknownInt0="0xffffffff" />
<Unlock unknownInt0="0xffffffff" />
</Animation>
<Animation name="anim_coldboot2">
<Lock unknownInt0="0xffffffff" />
<Unlock unknownInt0="0xffffffff" />
</Animation>
</syntaxhighlight>
==== Remove everything ====
Deleting everything within the <code><Animation></code> tag:
<syntaxhighlight lang="xml">
<Animation name="anim_coldboot">
</Animation>
<Animation name="anim_coldboot2">
</Animation>
</syntaxhighlight>




[[Category:Software]]
[[Category:Software]]

Revision as of 22:46, 18 June 2015

disable wait for coldboot view sleep

CEX + SHOP + DEX + DECR

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

GEX/Arcade

N/A

Offsets

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

CEX + SHOP + DEX + DECR

(does not work)

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

Offsets

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

(does not work)

CEX + SHOP + DEX + DECR

 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

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

(does not work)

CEX + SHOP + DEX

 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

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

Experimental

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


VSH experimental double patch

(untested)

<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

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

(untested}

 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

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

(original sum of delays is 10 seconds)

set <Delay time="0" /> and duration="0"

			<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

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

Removing all SCE logo animations

			<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

			<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

			<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

			<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

			<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

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

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

Remove everything

Deleting everything within the <Animation> tag:

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