2023-12-03 20:12:59 +01:00
{% capture rom_url %}{{ include.rom_url }}{% endcapture %}
{% if include.rom_index != '' and rom_url == '' %}
2023-12-04 12:27:53 +01:00
{% capture rom_url %}https://gamingshitposting.github.io/ext-bin-1/roms/{{ include.rom_index }}.7z{% endcapture %}
{% endif %}
{% if include.platform == 'psx' %}
2023-12-05 10:05:00 +01:00
< p > < script id = "ChromiumReccomendationElement" >
2023-12-04 12:27:53 +01:00
isChromium = false;
if (navigator.userAgentData & & navigator.userAgentData.brands) {
navigator.userAgentData.brands.forEach(function(brand){
if (brand.brand == 'Chromium') {
isChromium = true;
}
});
}
if (!isChromium) {
document.getElementById('ChromiumReccomendationElement').outerHTML = `< p >
2023-12-05 10:05:00 +01:00
Note: a Chromium-based browser is recommended for {{ include.platform | upcase }} games. If you experience slowdowns or jitters, < a href = "https://download-chromium.appspot.com" > get Chromium< / a > . Alternatively, try dialing down the "pcsx rearmed psxclock" emulator setting.
2023-12-04 12:27:53 +01:00
< / p > `;
}
2023-12-05 10:05:00 +01:00
< / script > < / p >
2023-12-03 19:57:27 +01:00
{% endif %}
2023-12-03 20:12:59 +01:00
< p >
2023-12-07 12:01:13 +01:00
{% if include.backend == 'cuttingedge' or include.backend == 'emulatorjs' or include.platform == 'nes' or include.platform == 'snes' or include.platform == 'gba' or include.platform == 'psx' %}
2023-12-03 19:57:27 +01:00
< div style = "width:640px; height:480px; max-width:100%" >
< div id = "GameFrame" > < / div >
< / div >
< script type = "text/javascript" >
EJS_player = '#GameFrame';
EJS_core = '{{ include.platform }}';
2023-12-03 20:12:59 +01:00
EJS_gameUrl = '{{ rom_url }}';
2023-12-03 19:57:27 +01:00
EJS_pathtodata = 'https://gamingshitposting.github.io/ext-bin-1/EmulatorJS/data/';
< / script >
< script src = "https://gamingshitposting.github.io/ext-bin-1/EmulatorJS/data/loader.js" > < / script >
{% else %}
2023-12-02 23:00:23 +01:00
< button onclick = "(function(ctx){
ctx.parentElement.scrollIntoView();
ctx.parentElement.querySelector('iframe.AppFrame').focus();
})(this)">Focus< / button >
{% if include.platform == 'nds' %}
< iframe class = "AppFrame" src = "https://octospacc.gitlab.io/Web-Archives-Misc/Repo/DeSmuME/#RomUrl={{ include.rom_binary }}" > < / iframe >
{% endif %}
2023-12-03 20:12:59 +01:00
{% endif %}
2023-12-02 23:00:23 +01:00
< / p >