Allow selecting error page

This commit is contained in:
rmc 2023-12-10 01:23:42 -05:00
parent e16ac1365b
commit b65032d4e5
No known key found for this signature in database
GPG Key ID: 5633EC10309D77D1
32 changed files with 2287 additions and 25 deletions

View File

@ -6,20 +6,22 @@
<link rel="stylesheet" type="text/css" href="/common/css/default.css">
<script type="text/javascript" src="default.js"></script>
<script>
<!--
function ShowErrorPage()
{
var id = document.getElementById("err_code").value;
var kong_ = new Kong();
kong_.ShowErrorPage( id );
if (id >= 1) {
if (id <= 3) {
window.top.open("/error/E_0"+id+"_index.html","_self")
}
}
}
-->
</script>
</head>
<body>
<h1>ShowErrorPage</h1>
<input id="err_code" type="text" size="6" maxlength="6" onClick="ActiveKeyboard(0, 'Error Code')" value="0"><br>
<input id="err_code" type="text" size="3" maxlength="1" onClick="ActiveKeyboard(0, 'Error Code')" value="0"><br>
<button onClick="ShowErrorPage()">ShowErrorPage</button><br>
</body>
</html>
</html>

View File

@ -56,9 +56,9 @@ window.addEventListener('load', function(){ onload_scroll(); } , false);
<div class="debugLink">
<span class="tx10debug">dbg:</span>
<a class="atx10debug" href="javascript: void(0)"
<a class="atx10debug" href="javascript:window.history.back()"
onclick="gkong.PlaySE(TWL_SHOP_SE_ONCLICK); historyBack();">back</a>
<a class="atx10debug" href="javascript: void(0)"
<a class="atx10debug" href="index.html" target="_top"
onclick="gkong.PlaySE(TWL_SHOP_SE_ONCLICK); hideScrollButton(); setUrlUD('index_u.html',WIPE_ANIM_TRANS, 'index_d.html',WIPE_ANIM_TRANS);">index</a>
</div>

View File

@ -1,5 +1,5 @@
---
title: DSi Shop
title: fontlist
layout: dsiware
---
<object data="fontlist_01_u.html"></object>

View File

@ -53,9 +53,9 @@ window.addEventListener('load', function(){ onload_scroll(); } , false);
<div class="debugLink">
<span class="tx10debug">dbg:</span>
<a class="atx10debug" href="javascript: void(0)"
<a class="atx10debug" href="javascript:window.history.back()"
onclick="gkong.PlaySE(TWL_SHOP_SE_ONCLICK); historyBack();">back</a>
<a class="atx10debug" href="javascript: void(0)"
<a class="atx10debug" href="index.html" target="_top"
onclick="gkong.PlaySE(TWL_SHOP_SE_ONCLICK); hideScrollButton(); setUrlUD('index_u.html',WIPE_ANIM_TRANS, 'index_d.html',WIPE_ANIM_TRANS);">index</a>
</div>

View File

@ -1,5 +1,5 @@
---
title: DSi Shop
title: fontlist
layout: dsiware
---
<object data="fontlist_02_u.html"></object>

View File

@ -53,9 +53,9 @@ window.addEventListener('load', function(){ onload_scroll(); } , false);
<div class="debugLink">
<span class="tx10debug">dbg:</span>
<a class="atx10debug" href="javascript: void(0)"
<a class="atx10debug" href="javascript:window.history.back()"
onclick="gkong.PlaySE(TWL_SHOP_SE_ONCLICK); historyBack();">back</a>
<a class="atx10debug" href="javascript: void(0)"
<a class="atx10debug" href="index.html" target="_top"
onclick="gkong.PlaySE(TWL_SHOP_SE_ONCLICK); hideScrollButton(); setUrlUD('index_u.html',WIPE_ANIM_TRANS, 'index_d.html',WIPE_ANIM_TRANS);">index</a>
</div>

View File

@ -1,5 +1,5 @@
---
title: DSi Shop
title: fontlist
layout: dsiware
---
<object data="fontlist_03_u.html"></object>

View File

@ -53,9 +53,9 @@ window.addEventListener('load', function(){ onload_scroll(); } , false);
<div class="debugLink">
<span class="tx10debug">dbg:</span>
<a class="atx10debug" href="javascript: void(0)"
<a class="atx10debug" href="javascript:window.history.back()"
onclick="gkong.PlaySE(TWL_SHOP_SE_ONCLICK); historyBack();">back</a>
<a class="atx10debug" href="javascript: void(0)"
<a class="atx10debug" href="index.html" target="_top"
onclick="gkong.PlaySE(TWL_SHOP_SE_ONCLICK); hideScrollButton(); setUrlUD('index_u.html',WIPE_ANIM_TRANS, 'index_d.html',WIPE_ANIM_TRANS);">index</a>
</div>

View File

@ -1,5 +1,5 @@
---
title: DSi Shop
title: fontlist
layout: dsiware
---
<object data="fontlist_04_u.html"></object>

View File

@ -5,21 +5,23 @@
<title>GetMessage</title>
<link rel="stylesheet" type="text/css" href="/common/css/default.css">
<script type="text/javascript" src="default.js"></script>
<!--<script>
<script>
function ShowErrorPage()
{
var id = document.getElementById("err_code").value;
var kong_ = new Kong();
kong_.ShowErrorPage( id );
if (id >= 1) {
if (id <= 3) {
window.top.open("/error/E_0"+id+"_index.html","_self")
}
}
}
</script>-->
</script>
</head>
<body>
<h1>ShowErrorPage</h1>
<input id="err_code" type="text" size="6" maxlength="6" onClick="ActiveKeyboard(0, 'Error Code')" value="0"><br>
<input id="err_code" type="text" size="3" maxlength="1" onClick="ActiveKeyboard(0, 'Error Code')" value="0"><br>
<button onClick="ShowErrorPage()">ShowErrorPage</button><br>
</body>
</html>

View File

@ -50,12 +50,13 @@
I have found 3 different versions of this app. I am not sure what the specific differences between the apps are.<br>
I used the files from <i><b>shop.HNFC.Release.v1536</b></i> for my demo.
<br><br>
<div style="padding-left:20px;">
shop.HNFC.Release.v1536: <a href="https://cdn.randommeaninglesscharacters.com/rmc-prg/Shop/Shop_v1536.srl">srl</a> | <a href="https://cdn.randommeaninglesscharacters.com/rmc-prg/Shop/Shop_v1536.tad">tad</a><br>
shop.HNFC.Release.14231: <a href="https://cdn.randommeaninglesscharacters.com/rmc-prg/Shop/Shop_v14231.srl">srl</a> | <a href="https://cdn.randommeaninglesscharacters.com/rmc-prg/Shop/Shop_v14231.tad">tad</a><br>
shop.HNFC.Release.thumb: <a href="https://cdn.randommeaninglesscharacters.com/rmc-prg/Shop/Shop_thumb.srl">srl</a> | <a href="https://cdn.randommeaninglesscharacters.com/rmc-prg/Shop/Shop_thumb.tad">tad</a><br>
</div>
<br><br><span style="color:orange;">
<i><b>shop.HNFC.Release.v1536.tad</b></i> is the only working version of the debug shop. It will only run if installed to NAND and booted via the home menu.<br>Using nds-bootstrap, unlaunch, or any similar apps will introduce problems like dead touch controls, a <b>293003</b> error, or cause the shop to whitescreen.</span>
<br><br>

234
error/E_01_d.html Normal file
View File

@ -0,0 +1,234 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" type="text/css" href="./error.css">
<script type="text/javascript" src="./base.js"></script>
<script type="text/javascript" src="./error_id.js"></script>
<script type="text/javascript" src="./se.js"></script>
<title>E_01_d</title>
<script>;
window.name = "DownWindow";
var gkong = new Kong;
var $ = function(arg){ return document.getElementById(arg) };
function setDisplayMenu1( d ) {
$('error_down_bg_u').style.display = d;
$('error_down_bg_d').style.display = d;
$('error_down_title').style.display = d;
$('button_error_left').style.display = d;
$('button_error_right').style.display = d;
}
function setDisplayMenu2( d ) {
$('message_return').style.display = d;
$('button_return_yes').style.display = d;
$('button_return_no').style.display = d;
}
function setDisplayMenu3( d ) {
$('message_restart').style.display = d;
$('button_restart_yes').style.display = d;
$('button_restart_no').style.display = d;
}
function switchPageDOM( n ) {
beforeChangeDOMforManualTransition( WIPE_ANIM_NONE, WIPE_ANIM_TRANS );
if (n == 1) {
setDisplayMenu1("block");
setDisplayMenu2("none");
setDisplayMenu3("none");
} else if (n == 2) {
setDisplayMenu1("none");
setDisplayMenu2("block");
setDisplayMenu3("none");
} else if (n==3) {
setDisplayMenu1("none");
setDisplayMenu2("none");
setDisplayMenu3("block");
}
afterChangeDOMforManualTransition();
}
function initPageDOM() {
setDisplayMenu1("block");
setDisplayMenu2("none");
setDisplayMenu3("none");
}
window.addEventListener('DOMContentLoaded', function(){ initPageDOM(); } , false);
window.addEventListener('load', function(){ onload_error_page(); } , false);
</script>
<!--end_of_head-->
</head>
<body>
<div id="error_down_bg_u"></div>
<div id="error_down_bg_d"></div>
<div id="error_down_title">
<span class="error_down_title_inner tx12error">
<script>document.write( gkong.GetMessage( JMS_shop_error_title ) );</script>
</span>
</div>
<!---------------->
<div class="btn_base violet_128x28" id="button_error_left">
<div class="btn_inner_base">
<span class="tx12white">
<script>document.write( gkong.GetMessage( JMS_shop_menu ) );</script>
</span>
</div>
<div class="btn_spacer_base"></div>
</div>
<script>;
setButtonImages($('button_error_left'));
setOnclick( $('button_error_left'), "switchPageDOM(2);" );
</script>
<!---------------->
<div class="btn_base violet_128x28" id="button_error_right">
<div class="btn_inner_base">
<span class="tx12white">
<script>document.write( gkong.GetMessage( JMS_shop_reset ) );</script>
</span>
</div>
<div class="btn_spacer_base"></div>
</div>
<script>;
setButtonImages($('button_error_right'));
setOnclick( $('button_error_right'), "switchPageDOM(3);" );
</script>
<!------------------------------------------------------------------>
<!-- Confirm to return to the TWL Menu. -->
<!------------------------------------------------------------------>
<!---------------->
<div id="message_return" class="tx16blue">
<div class="_inner">
<!--@@-->
<script>document.write( gkong.GetMessage( JMS_shop_menu_02 ) );</script>
</div>
</div>
<!---------------->
<div class="btn_base violet_128x28" id="button_return_yes">
<div class="btn_inner_base">
<!--@@-->
<span class="tx12white">
<script>document.write( gkong.GetMessage( JMS_shop_yes ) );</script>
</span>
</div>
<div class="btn_spacer_base"></div>
</div>
<script>;
// setButtonImages($('button_return_yes'), SBIMG_NO_LOADINGICON_NO_PARTICLE);
setButtonImages($('button_return_yes'));
setOnclick( $('button_return_yes'), "waitReturnToMenu();" );
</script>
<!---------------->
<div class="btn_base violet_128x28" id="button_return_no">
<div class="btn_inner_base">
<!--@@-->
<span class="tx12white">
<script>document.write( gkong.GetMessage( JMS_shop_no ) );</script>
</span>
</div>
<div class="btn_spacer_base"></div>
</div>
<script>;
setButtonImages($('button_return_no'));
setOnclick( $('button_return_no'), "switchPageDOM(1);" );
</script>
<!------------------------------------------------------------------>
<!-- Confirm to restart. -->
<!------------------------------------------------------------------>
<!--------------->
<div id="message_restart" class="tx16blue">
<div class="_inner">
<!--@@-->
<script>document.write( gkong.GetMessage( JMS_shop_reset_02 ) );</script>
</div>
</div>
<!--------------->
<div class="btn_base violet_128x28" id="button_restart_yes">
<div class="btn_inner_base">
<!--@@-->
<span class="tx12white">
<script>document.write( gkong.GetMessage( JMS_shop_yes ) );</script>
</span>
</div>
<div class="btn_spacer_base"></div>
</div>
<script>;
// setButtonImages($('button_restart_yes'), SBIMG_NO_LOADINGICON_NO_PARTICLE);
setButtonImages($('button_restart_yes'));
setOnclick( $('button_restart_yes'), "waitRestart();" );
</script>
<!--------------->
<div class="btn_base violet_128x28" id="button_restart_no">
<div class="btn_inner_base">
<!--@@-->
<span class="tx12white">
<script>document.write( gkong.GetMessage( JMS_shop_no ) );</script>
</span>
</div>
<div class="btn_spacer_base"></div>
</div>
<script>;
setButtonImages($('button_restart_no'));
setOnclick( $('button_restart_no'), "switchPageDOM(1);" );
</script>
</body>
</html>

6
error/E_01_index.html Normal file
View File

@ -0,0 +1,6 @@
---
title: error
layout: dsiware
---
<object data="E_01_u.html"></object>
<object data="E_01_d.html"></object>

55
error/E_01_u.html Normal file
View File

@ -0,0 +1,55 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" type="text/css" href="./error.css">
<script type="text/javascript" src="./error_id.js"></script>
<script type="text/javascript" src="./se.js"></script>
<title>E_01_u</title>
<script>;
window.name = "UpWindow";
var gkong = new Kong;
</script>
<!--end_of_head-->
</head>
<body>
<div id="errorTitle" class="tx16white">
Nintendo DSi Shop
</div>
<div class="standardPage">
<div class="tx12error">
<script>;
var c = "" + gkong.GetErrorCode();
if (c.length == 5) { c = "0" + c };
document.write( gkong.GetMessage( JMS_shop_error_code ).replace("{0}", c ) );
</script>
</div>
<br>
<div class="tx12error">
<script>document.write( gkong.GetErrorMessage() );</script>
</div>
</div>
</body>
</html>

234
error/E_02_d.html Normal file
View File

@ -0,0 +1,234 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" type="text/css" href="./error.css">
<script type="text/javascript" src="./base.js"></script>
<script type="text/javascript" src="./error_id.js"></script>
<script type="text/javascript" src="./se.js"></script>
<title>E_02_d</title>
<script>;
window.name = "DownWindow";
var gkong = new Kong;
var $ = function(arg){ return document.getElementById(arg) };
function setDisplayMenu1( d ) {
$('error_down_bg_u').style.display = d;
$('error_down_bg_d').style.display = d;
$('error_down_title').style.display = d;
$('button_error_left').style.display = d;
// $('button_error_right').style.display = d;
}
function setDisplayMenu2( d ) {
$('message_return').style.display = d;
$('button_return_yes').style.display = d;
$('button_return_no').style.display = d;
}
/*
function setDisplayMenu3( d ) {
$('message_restart').style.display = d;
$('button_restart_yes').style.display = d;
$('button_restart_no').style.display = d;
}
*/
function switchPageDOM( n ) {
beforeChangeDOMforManualTransition( WIPE_ANIM_NONE, WIPE_ANIM_TRANS );
if (n == 1) {
setDisplayMenu1("block");
setDisplayMenu2("none");
// setDisplayMenu3("none");
} else if (n == 2) {
setDisplayMenu1("none");
setDisplayMenu2("block");
// setDisplayMenu3("none");
// } else if (n==3) {
// setDisplayMenu1("none");
// setDisplayMenu2("none");
// setDisplayMenu3("block");
}
afterChangeDOMforManualTransition();
}
function initPageDOM() {
setDisplayMenu1("block");
setDisplayMenu2("none");
// setDisplayMenu3("none");
}
window.addEventListener('DOMContentLoaded', function(){ initPageDOM(); } , false);
window.addEventListener('load', function(){ onload_error_page(); } , false);
</script>
<!--end_of_head-->
</head>
<body>
<div id="error_down_bg_u"></div>
<div id="error_down_bg_d"></div>
<div id="error_down_title">
<span class="error_down_title_inner tx12error">
<script>document.write( gkong.GetMessage( JMS_shop_error_title ) );</script>
</span>
</div>
<!---------------->
<div class="btn_base violet_128x28" id="button_error_left">
<div class="btn_inner_base">
<span class="tx12white">
<script>document.write( gkong.GetMessage( JMS_shop_menu ) );</script>
</span>
</div>
<div class="btn_spacer_base"></div>
</div>
<script>;
setButtonImages($('button_error_left'));
setOnclick( $('button_error_left'), "switchPageDOM(2);" );
</script>
<!--
----------------
<div class="btn_base violet_128x28" id="button_error_right">
<div class="btn_inner_base">
<span class="tx12white">
<script>document.write( gkong.GetMessage( JMS_shop_reset ) );</script>
</span>
</div>
<div class="btn_spacer_base"></div>
</div>
<script>;
setButtonImages($('button_error_right'));
setOnclick( $('button_error_right'), "switchPageDOM(3);" );
</script>
-->
<!------------------------------------------------------------------>
<!-- Confirm to return to the TWL Menu. -->
<!------------------------------------------------------------------>
<!---------------->
<div id="message_return" class="tx16blue">
<div class="_inner">
<!--@@-->
<script>document.write( gkong.GetMessage( JMS_shop_menu_02 ) );</script>
</div>
</div>
<!---------------->
<div class="btn_base violet_128x28" id="button_return_yes">
<div class="btn_inner_base">
<!--@@-->
<span class="tx12white">
<script>document.write( gkong.GetMessage( JMS_shop_yes ) );</script>
</span>
</div>
<div class="btn_spacer_base"></div>
</div>
<script>;
// setButtonImages($('button_return_yes'), SBIMG_NO_LOADINGICON_NO_PARTICLE);
setButtonImages($('button_return_yes'));
setOnclick( $('button_return_yes'), "waitReturnToMenu();" );
</script>
<!---------------->
<div class="btn_base violet_128x28" id="button_return_no">
<div class="btn_inner_base">
<!--@@-->
<span class="tx12white">
<script>document.write( gkong.GetMessage( JMS_shop_no ) );</script>
</span>
</div>
<div class="btn_spacer_base"></div>
</div>
<script>;
setButtonImages($('button_return_no'));
setOnclick( $('button_return_no'), "switchPageDOM(1);" );
</script>
<!------------------------------------------------------------------>
<!-- Confirm to restart. -->
<!------------------------------------------------------------------>
<!--
---------------
<div id="message_restart" class="tx16blue">
<div class="_inner">
--@@-
<script>document.write( gkong.GetMessage( JMS_shop_reset_02 ) );</script>
</div>
</div>
---------------
<div class="btn_base violet_128x28" id="button_restart_yes">
<div class="btn_inner_base">
--@@-
<span class="tx12white">
<script>document.write( gkong.GetMessage( JMS_shop_yes ) );</script>
</span>
</div>
<div class="btn_spacer_base"></div>
</div>
<script>;
// setButtonImages($('button_restart_yes'), SBIMG_NO_LOADINGICON_NO_PARTICLE);
setButtonImages($('button_restart_yes'));
setOnclick( $('button_restart_yes'), "waitRestart();" );
</script>
---------------
<div class="btn_base violet_128x28" id="button_restart_no">
<div class="btn_inner_base">
--@@-
<span class="tx12white">
<script>document.write( gkong.GetMessage( JMS_shop_no ) );</script>
</span>
</div>
<div class="btn_spacer_base"></div>
</div>
<script>;
setButtonImages($('button_restart_no'));
setOnclick( $('button_restart_no'), "switchPageDOM(1);" );
</script>
-->
</body>
</html>

6
error/E_02_index.html Normal file
View File

@ -0,0 +1,6 @@
---
title: error
layout: dsiware
---
<object data="E_02_u.html"></object>
<object data="E_02_d.html"></object>

55
error/E_02_u.html Normal file
View File

@ -0,0 +1,55 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" type="text/css" href="./error.css">
<script type="text/javascript" src="./error_id.js"></script>
<script type="text/javascript" src="./se.js"></script>
<title>E_02_u</title>
<script>;
window.name = "UpWindow";
var gkong = new Kong;
</script>
<!--end_of_head-->
</head>
<body>
<div id="errorTitle" class="tx16white">
<script>document.write( gkong.GetMessage( JMS_shop_title ) );</script>
</div>
<div class="standardPage">
<div class="tx12error">
<script>;
var c = "" + gkong.GetErrorCode();
if (c.length == 5) { c = "0" + c };
document.write( gkong.GetMessage( JMS_shop_error_code ).replace("{0}", c ) );
</script>
</div>
<br>
<div class="tx12error">
<script>document.write( gkong.GetErrorMessage() );</script>
</div>
</div>
</body>
</html>

59
error/E_03_d.html Normal file
View File

@ -0,0 +1,59 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" type="text/css" href="./error.css">
<script type="text/javascript" src="./base.js"></script>
<script type="text/javascript" src="./error_id.js"></script>
<script type="text/javascript" src="./se.js"></script>
<title>E_03_d</title>
<script>;
window.name = "DownWindow";
var gkong = new Kong;
var $ = function(arg){ return document.getElementById(arg) };
window.addEventListener('load', function(){ onload_error_page(); } , false);
</script>
<!--end_of_head-->
</head>
<body>
<div id="error_down_bg_u"></div>
<div id="error_down_bg_d"></div>
<div id="error_down_title">
<span class="error_down_title_inner tx12error">
<script>document.write( gkong.GetMessage( JMS_shop_error_title ) );</script>
</span>
</div>
<!---------------->
<div class="btn_base button_224x32" id="button_error_center">
<div class="btn_inner_base">
<span class="tx16">
<script>document.write( gkong.GetMessage( JMS_shop_ok ) )</script>
</span>
</div>
<div class="btn_spacer_base"></div>
</div>
<script>;
// setButtonImages($('button_error_center'), SBIMG_NO_LOADINGICON_NO_PARTICLE);
setButtonImages($('button_error_center'));
setOnclick( $('button_error_center'), "waitRestart();" );
</script>
</body>
</html>

6
error/E_03_index.html Normal file
View File

@ -0,0 +1,6 @@
---
title: error
layout: dsiware
---
<object data="E_03_u.html"></object>
<object data="E_03_d.html"></object>

42
error/E_03_u.html Normal file
View File

@ -0,0 +1,42 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" type="text/css" href="./error.css">
<script type="text/javascript" src="./error_id.js"></script>
<script type="text/javascript" src="./se.js"></script>
<title>E_03_u</title>
<script>;
window.name = "UpWindow";
var gkong = new Kong;
</script>
<!--end_of_head-->
</head>
<body>
<div id="errorTitle" class="tx16white">
<script>document.write( gkong.GetMessage( JMS_shop_title ) );</script>
</div>
<div class="standardPage">
<div class="tx12error">
<script>document.write( gkong.GetErrorMessage() );</script>
</div>
</div>
</body>
</html>

BIN
error/E_bg_d.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 B

BIN
error/E_bg_u.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 B

BIN
error/E_u_bar.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 B

BIN
error/Wi-Fi_on.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 B

1215
error/base.js Normal file

File diff suppressed because it is too large Load Diff

BIN
error/button_224x28_all.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 748 B

BIN
error/button_224x32_all.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 B

321
error/error.css Normal file
View File

@ -0,0 +1,321 @@
/* ---- common style ------------------------------- */
body {
margin : 0 0 0 0;
padding : 0;
/* overflow : auto; */
overflow : hidden;
width : 256px;
}
div {
margin : 0;
padding : 0;
position : relative; /* #### 20080802 #### Added for long page. */
overflow : hidden; /* #### 20080802 #### Added for long page. */
}
img {
margin : 0;
padding : 0;
}
/* #### 20080628 #### Changed from #666666 to #555555. */
.tx10 {font-size : 10px; color : #555555;}
.tx12 {font-size : 12px; color : #555555;}
.tx16 {font-size : 16px; color : #555555;}
.tx10blue {font-size : 10px; color : #34beed;}
.tx12blue {font-size : 12px; color : #34beed;}
.tx16blue {font-size : 16px; color : #34beed;}
.tx10red {font-size : 10px; color : red;}
.tx12red {font-size : 12px; color : red;}
.tx16red {font-size : 16px; color : red;}
.tx10white {font-size : 10px; color : white;}
.tx12white {font-size : 12px; color : white;}
.tx16white {font-size : 16px; color : white;}
.tx10brown {font-size : 10px; color : brown;}
.tx12brown {font-size : 12px; color : brown;}
.tx16brown {font-size : 16px; color : brown;}
/* #### 20080802 #### Changed from #000000 to #333333. */
.tx10title {font-size : 10px; color : #333333;}
.tx12title {font-size : 12px; color : #333333;}
.tx16title {font-size : 16px; color : #333333;}
/* #### 20080802 #### Added. */
/* #### 20080821 #### Changed color of important texts. */
/* #### 20080917 #### Changed color of important texts. */
.tx10important {font-size : 10px; color : #FF2244;}
.tx12important {font-size : 12px; color : #FF2244;}
.tx16important {font-size : 16px; color : #FF2244;}
.tx10grayout {font-size : 10px; color : #888888;}
.tx12grayout {font-size : 12px; color : #888888;}
.tx16grayout {font-size : 16px; color : #888888;}
.atx10 {font-size : 10px;}
.atx12 {font-size : 12px;}
.atx16 {font-size : 16px;}
.atx10red {font-size : 10px; color : red;}
.atx12red {font-size : 12px; color : red;}
.atx16red {font-size : 16px; color : red;}
/* #### 20080814 #### Added for error page. */
.tx10error {font-size : 10px; color : red;}
.tx12error {font-size : 12px; color : red;}
.tx16error {font-size : 16px; color : red;}
/* ---- page top style ------------------------------- */
/* #### 20080802 #### Delete padding, position and top. */
/* #### 20080802 #### Change margin. */
.standardPage {
width : 248px;
margin : 26 4 22 4;
}
/* #### 20080802 #### Added. */
/* ---- for fine-tuning. ------------------------------- */
br {
line-height : 8px;
}
.__br4 {
line-height : 4px;
}
.__dots {
margin : -3 0 6 0;
clear : both;
text-align : center;
}
.__right { text-align : right; }
.__left { text-align : left; }
.__center { text-align : center; }
/* #### 20080814 #### Added for error page. */
#errorTitle {
position : fixed;
left : 0px;
top : 0px;
width : 256px;
height : 22px;
background-image : url(./E_u_bar.gif);
background-repeat : repeat-x;
background-position : 0px 0px;
overflow : hidden;
display : table-cell;
vertical-align : middle;
text-align : left;
z-index : 5;
padding : 0 4 0 4;
}
/* #### 20080814 #### Added for error page. */
#error_down_bg_u {
position : absolute;
left : 0px;
top : 30px;
width : 256px;
height : 9px;
background-image : url(./E_bg_u.gif);
background-repeat : repeat-x;
overflow : hidden;
}
/* #### 20080814 #### Added for error page. */
#error_down_title {
position : absolute;
left : 0px;
top : 40px;
width : 256px;
height : 64px;
}
/* #### 20080814 #### Added for error page. */
#error_down_bg_d {
position : absolute;
left : 0px;
top : 105px;
width : 256px;
height : 9px;
background-image : url(./E_bg_d.gif);
background-repeat : repeat-x;
overflow : hidden;
}
/* #### 20080814 #### Added for error page. */
/* .............. */
.error_down_title_inner {
position : relative;
padding : 2 3 3 3;
width : inherit;
height : inherit;
display : table-cell;
vertical-align : middle;
text-align : center;
}
#message_restart {
position : absolute;
left : 0px;
top : 28px;
width : 256px;
height: 124px;
}
#message_return {
position : absolute;
left : 0px;
top : 28px;
width : 256px;
height: 124px;
}
._inner {
position : relative;
left : 0px;
top : 0px;
width : inherit;
height : inherit;
padding : 0 4 0 4;
display : table-cell;
vertical-align : middle;
text-align : center;
}
/* #### 20080814 #### Added for error page. */
/* ---- button : 224x32 ------------------------------- */
#button_error_center { position : absolute; left : 16px; top : 118px; }
/* #### 20080913 #### Added for error page. */
/* #### 20080913 #### Corrected type miss from "button_errot_right" to "button_error_right". */
/* #### 20080922 #### Changed top of "button_error_*" from 152px to 164px. */
/* #### 20080922 #### Changed "button_error_*"'s size from 128x40 to 128x28, returned it to the previous size. */
/* ---- button : 128x28 ------------------------------- */
#button_error_left { position : absolute; left : 0px; top : 164px; }
#button_error_right { position : absolute; left : 128px; top : 164px; }
/* #### 20080913 #### Changed size and position of buttons for bug fix. */
/* #### 20080913 #### Changed id name from "button_HAS_center" to "button_low_center". */
/* #### 20080913 #### Moved "button_low_center" from page/B_13_d.css. */
/* ---- button : 224x28 ------------------------------- */
#button_low_center { position : absolute; left : 16px; top : 162px; }
/* #### 20080702 #### Changed size and position of buttons. */
/* #### 20080702 #### Corrected the comment of button size from "128x26" to "128x28". */
/* ---- button : 128x28 ------------------------------- */
#button_left { position : absolute; left : 0px; top : 164px; }
#button_right { position : absolute; left : 128px; top : 164px; }
/* #### 20080922 #### Added to confirm to restart or return to the TWL Menu. */
/* ---- button : 128x56 ------------------------------- */
#button_return_yes { position : absolute; left : 0px; top : 164px; }
#button_return_no { position : absolute; left : 128px; top : 164px; }
/* #### 20080922 #### Added to confirm to restart or return to the TWL Menu. */
/* ---- button : 128x56 ------------------------------- */
#button_restart_yes { position : absolute; left : 0px; top : 164px; }
#button_restart_no { position : absolute; left : 128px; top : 164px; }
/* ---- button base class ------------------------------- */
.btn_base {
position : relative;
background-repeat : no-repeat;
background-position : 0px 0px;
overflow : hidden;
}
/* #### 20080807 #### Added to reduce size of css file. */
/* ---- button inner base class ------------------------------- */
.btn_inner_base {
position : relative;
width : inherit;
height : inherit;
padding : 2 4 2 4;
overflow : hidden;
display : table-cell;
vertical-align : middle;
text-align : center;
}
/* #### 20080807 #### Added to reduce size of css file. */
/* ---- button spacer base class ------------------------------- */
.btn_spacer_base {
position : absolute;
left : 0px;
top : 0px;
width : inherit;
height : inherit;
}
/* .............. */
.button_224x28 {
width : 224px;
height : 28px;
background-image : url(./button_224x28_all.gif);
}
/* .............. */
.button_224x32 {
width : 224px;
height : 32px;
background-image : url(./button_224x32_all.gif);
}
/* .............. */
.violet_128x28 {
width : 128px;
height : 28px;
background-image : url(./violet_128x28_all.gif);
}
/* .............. */
.violet_128x40 {
width : 128px;
height : 40px;
background-image : url(./violet_128x40_all.gif);
}

13
error/error_id.js Normal file
View File

@ -0,0 +1,13 @@
//----------------------------------------
//-- define : message id num.
var JMS_shop_error_title = 0;
var JMS_shop_error_code = 1;
var JMS_shop_menu = 2;
var JMS_shop_reset = 3;
var JMS_shop_ok = 4;
var JMS_shop_title = 5;
var JMS_shop_menu_02 = 6;
var JMS_shop_reset_02 = 7;
var JMS_shop_yes = 8;
var JMS_shop_no = 9;

11
error/se.js Normal file
View File

@ -0,0 +1,11 @@
//----------------------------------------
//-- define : SE No. (refer to sound_data.sadl)
/* #### 20080726 #### Changed SE No. */
/* #### 20080911 #### Changed SE No. */
var TWL_SHOP_SE_ONMOUSEDOWN = 16; // #define TWL_CMN_SE_TOUCH 16 // 16 // 20
var TWL_SHOP_SE_ONCLICK = 17; // #define TWL_CMN_SE_DECIDE 17 // 17 // 19
var TWL_SHOP_SE_TRANSIT = 37; // #define TWL_SHP_SE_LOADED 37 // 35 // 17
var TWL_SHOP_SE_INVALID = 23; // #define TWL_CMN_SE_INVALID 23 // 23 // NEW
var TWL_SHOP_SE_WARNING = 36; // #define TWL_SHP_SE_WARNING_PAGE 36 // 34 // NEW

BIN
error/violet_128x28_all.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 431 B

BIN
error/violet_128x40_all.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 B