Template:Ps2configrev: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (Cleanup and completed collection following the revision info from tables: https://www.psdevwiki.com/ps3/Talk:PS2_Emulation#PS2_Emulator_Types_and_Revisions)
mNo edit summary
Line 2: Line 2:
-->{{#ifexpr:{{{1|0}}}>=0 and {{{1|0}}}<=15686
-->{{#ifexpr:{{{1|0}}}>=0 and {{{1|0}}}<=15686
     |<!--then-->[[3.70_CEX|3.70]] or newer
     |<!--then-->[[3.70_CEX|3.70]] or newer
     |<!--else-->{{#ifexpr:{{{1|0}}}>=15687 and {{{1|0}}}<=15842
     |<!--else-->{{#ifexpr:{{{1}}}>=15687 and {{{1}}}<=15842
       |<!--then-->[[3.72_CEX|3.72]] or newer
       |<!--then-->[[3.72_CEX|3.72]] or newer
       |<!--else-->{{#ifexpr:{{{1|0}}}>=15843 and {{{1|0}}}<=15936
       |<!--else-->{{#ifexpr:{{{1}}}>=15843 and {{{1}}}<=15936
         |<!--then-->[[3.73_CEX|3.73]] or newer
         |<!--then-->[[3.73_CEX|3.73]] or newer
         |<!--else-->{{#ifexpr:{{{1|0}}}>=15937 and {{{1|0}}}<=16195
         |<!--else-->{{#ifexpr:{{{1}}}>=15937 and {{{1}}}<=16195
           |<!--then-->[[4.00_CEX|4.00]] or newer
           |<!--then-->[[4.00_CEX|4.00]] or newer
           |<!--else-->{{#ifexpr:{{{1|0}}}>=16196 and {{{1|0}}}<=16361
           |<!--else-->{{#ifexpr:{{{1}}}>=16196 and {{{1}}}<=16361
             |<!--then-->[[4.10_CEX|4.10]] or newer
             |<!--then-->[[4.10_CEX|4.10]] or newer
             |<!--else-->{{#ifexpr:{{{1|0}}}>=16362 and {{{1|0}}}<=16604
             |<!--else-->{{#ifexpr:{{{1}}}>=16362 and {{{1}}}<=16604
               |<!--then-->[[4.20_CEX|4.20]] or newer
               |<!--then-->[[4.20_CEX|4.20]] or newer
               |<!--else-->{{#ifexpr:{{{1|0}}}>=16605 and {{{1|0}}}<=16740
               |<!--else-->{{#ifexpr:{{{1}}}>=16605 and {{{1}}}<=16740
                 |<!--then-->[[4.25_CEX|4.25]] or newer
                 |<!--then-->[[4.25_CEX|4.25]] or newer
                 |<!--else-->{{#ifexpr:{{{1|0}}}>=16741 and {{{1|0}}}<=16808
                 |<!--else-->{{#ifexpr:{{{1}}}>=16741 and {{{1}}}<=16808
                   |<!--then-->[[4.30_CEX|4.30]] or newer
                   |<!--then-->[[4.30_CEX|4.30]] or newer
                   |<!--else-->{{#ifexpr:{{{1|0}}}>=16809 and {{{1|0}}}<=16916
                   |<!--else-->{{#ifexpr:{{{1}}}>=16809 and {{{1}}}<=16916
                     |<!--then-->[[4.40_CEX|4.40]] or newer
                     |<!--then-->[[4.40_CEX|4.40]] or newer
                     |<!--else-->{{#ifexpr:{{{1|0}}}>=16917 and {{{1|0}}}<=17041
                     |<!--else-->{{#ifexpr:{{{1}}}>=16917 and {{{1}}}<=17041
                       |<!--then-->[[4.45_CEX|4.45]] or newer
                       |<!--then-->[[4.45_CEX|4.45]] or newer
                       |<!--else-->{{#ifexpr:{{{1|0}}}>=17042 and {{{1|0}}}<=17179
                       |<!--else-->{{#ifexpr:{{{1}}}>=17042 and {{{1}}}<=17179
                         |<!--then-->[[4.50_CEX|4.50]] or newer
                         |<!--then-->[[4.50_CEX|4.50]] or newer
                         |<!--else-->{{#ifexpr:{{{1|0}}}>=17180 and {{{1|0}}}<=17277
                         |<!--else-->{{#ifexpr:{{{1}}}>=17180 and {{{1}}}<=17277
                           |<!--then-->[[4.55_CEX|4.55]] or newer
                           |<!--then-->[[4.55_CEX|4.55]] or newer
                           |<!--else-->{{#ifexpr:{{{1|0}}}>=17278 and {{{1|0}}}<=17314
                           |<!--else-->{{#ifexpr:{{{1}}}>=17278 and {{{1}}}<=17314
                             |<!--then-->[[4.60_CEX|4.60]] or newer
                             |<!--then-->[[4.60_CEX|4.60]] or newer
                             |<!--else-->{{#ifexpr:{{{1|0}}}>=17315 and {{{1|0}}}<=17495
                             |<!--else-->{{#ifexpr:{{{1}}}>=17315 and {{{1}}}<=17495
                               |<!--then-->[[4.78_CEX|4.78]] or newer
                               |<!--then-->[[4.78_CEX|4.78]] or newer
                               |<!--else--><span style="color:red;">'''9.99'''</span> (incompatible)
                               |<!--else--><span style="color:red;">'''9.99'''</span> (incompatible)
Line 45: Line 45:


== Examples ==
== Examples ==
<nowiki>{{ps2configrev|01337}}</nowiki> {{ps2configrev|1337}}<br>
<nowiki>{{ps2configrev|01337}}</nowiki> {{ps2configrev|01337}}<br>
<nowiki>{{ps2configrev|15700}}</nowiki> {{ps2configrev|15700}}<br>
<nowiki>{{ps2configrev|15700}}</nowiki> {{ps2configrev|15700}}<br>
<nowiki>{{ps2configrev|15900}}</nowiki> {{ps2configrev|15900}}<br>
<nowiki>{{ps2configrev|15900}}</nowiki> {{ps2configrev|15900}}<br>
Line 59: Line 59:
<nowiki>{{ps2configrev|17300}}</nowiki> {{ps2configrev|17300}}<br>
<nowiki>{{ps2configrev|17300}}</nowiki> {{ps2configrev|17300}}<br>
<nowiki>{{ps2configrev|17400}}</nowiki> {{ps2configrev|17400}}<br>
<nowiki>{{ps2configrev|17400}}</nowiki> {{ps2configrev|17400}}<br>
<nowiki>{{ps2configrev|99999}}</nowiki> {{ps2configrev|99999999}}
<nowiki>{{ps2configrev|99999}}</nowiki> {{ps2configrev|99999}}


== Notes ==
== Notes ==

Revision as of 01:14, 28 September 2021

Requires ps2_netemu.self from firmware 3.70 or newer

Examples

{{ps2configrev|01337}} Requires ps2_netemu.self from firmware 3.70 or newer
{{ps2configrev|15700}} Requires ps2_netemu.self from firmware 3.72 or newer
{{ps2configrev|15900}} Requires ps2_netemu.self from firmware 3.73 or newer
{{ps2configrev|16000}} Requires ps2_netemu.self from firmware 4.00 or newer
{{ps2configrev|16200}} Requires ps2_netemu.self from firmware 4.10 or newer
{{ps2configrev|16500}} Requires ps2_netemu.self from firmware 4.20 or newer
{{ps2configrev|16700}} Requires ps2_netemu.self from firmware 4.25 or newer
{{ps2configrev|16800}} Requires ps2_netemu.self from firmware 4.30 or newer
{{ps2configrev|16900}} Requires ps2_netemu.self from firmware 4.40 or newer
{{ps2configrev|17000}} Requires ps2_netemu.self from firmware 4.45 or newer
{{ps2configrev|17100}} Requires ps2_netemu.self from firmware 4.50 or newer
{{ps2configrev|17200}} Requires ps2_netemu.self from firmware 4.55 or newer
{{ps2configrev|17300}} Requires ps2_netemu.self from firmware 4.60 or newer
{{ps2configrev|17400}} Requires ps2_netemu.self from firmware 4.78 or newer
{{ps2configrev|99999}} Requires ps2_netemu.self from firmware 9.99 (incompatible)

Notes

It could be handy to do the conversion in this sequence: 1) hexLE to hexBE, 2) hexBE to dec, 3) Math expression to compare the value in ranges
I been trying to do step 2 using this template https://en.wikipedia.org/wiki/Template:Hex2dec Is dependant of the module https://en.wikipedia.org/wiki/Module:BaseConvert Actually we dont need the template because we can call the module BaseConvert directly in a single line this way: {{#invoke:BaseConvert|16to10|FFFF}}
We already have a template named https://www.psdevwiki.com/ps3/Template:Hex2dec ... but is not doing the conversion
We already have the module BaseConvert installed in this wiki https://www.psdevwiki.com/ps3/Special:Version but doesnt seems to work, it looks we cant "#invoke" it. Im wondering if is because we need to copy also the script into https://www.psdevwiki.com/ps3/Module:BaseConvert (the page doesnt exists)
So... by now i dont know how to do steps 1 and 2 of the conversion process. And the math expressions (required for step 3) only works with decimals... so the only solution by now is to pass the decimal value to this template