Difference between revisions of "User:RasqualTwilight/PS2 RealLive To Kepago Mapping"
Jump to navigation
Jump to search
(.ke .ke .ke no kitarou) |
m (correct syntax) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Mapping of functions used in PS2 RealLive Scripts= |
=Mapping of functions used in PS2 RealLive Scripts= |
||
− | See [http://forums.visualnews.net/showthread.php?t=16671 VisualNews Gemot] for more info. |
+ | See [http://forums.visualnews.net/showthread.php?t=16671 VisualNews Gemot] for more info. [http://tieba.baidu.com/f?z=278920617&ct=335544320&tn=baiduPostBrowser Original post info]. |
<div style="overflow:auto;border:gray solid 1px;"> |
<div style="overflow:auto;border:gray solid 1px;"> |
||
{|border="1" cellpadding="1" cellspacing="0" class="sortable" style="border:gray solid 1px; border-collapse:collapse; text-align:center;vertical-align:top; width:100%" |
{|border="1" cellpadding="1" cellspacing="0" class="sortable" style="border:gray solid 1px; border-collapse:collapse; text-align:center;vertical-align:top; width:100%" |
||
|- |
|- |
||
− | !style="background:# |
+ | !style="background:#0000ff;color:white;width:6em;"| Function |
!style="background:#ffcc00;"| Kepago |
!style="background:#ffcc00;"| Kepago |
||
!class="unsortable" style="background:#ececec;"| Description |
!class="unsortable" style="background:#ececec;"| Description |
||
Line 11: | Line 11: | ||
|colspan="99"| |
|colspan="99"| |
||
|- |
|- |
||
− | |style="background:#ececec;"| _JUMP |
+ | |style="background:#ececec;"| <div id="_JUMP">_JUMP</div> |
| jump |
| jump |
||
| Load a SEEN script |
| Load a SEEN script |
||
− | | <code>_JUMP(0629);{{ddarr}}jump(0629) |
+ | |style="background:#f1fff1;"| <code>_JUMP(0629);{{ddarr}}jump(0629)</code> |
|- |
|- |
||
− | + | |style="background:#ececec;"| <div id="_STTI">_STTI</div> |
|
+ | | title |
||
+ | | Set window title |
||
+ | |style="background:#f1f1ff;"| <code>_STTI("6月28日(月)");{{ddarr}}title("6月28日(月)")</code> |
||
+ | |- |
||
+ | |style="background:#ececec;"| <div id="_MPLY">_MPLY</div> |
||
+ | | bgmLoop |
||
+ | | Play music in loop (See also: [[#_MFAD|_MFAD]]) |
||
+ | |style="background:#f1fff1;"| <code>_MPLY(BGM07);{{ddarr}}bgmLoop ('BGM07')</code> |
||
+ | |- |
||
+ | |style="background:#ececec;"| <div id="_STBG">_STBG</div> |
||
+ | | ''n.a.'' |
||
+ | | Set background (See also: [[#_FADB|_FADB]]) |
||
+ | |style="background:#f1f1ff;"| <code>_STBG(BG001AN1);{{ddarr}}strS[1000] = 'BG001AN1'<br/>intF[1218] = 1<br/>op<1:Sys:00210, 0><br/>op<1:Sys:00215, 0></code> |
||
+ | |- |
||
+ | |style="background:#ececec;"| <div id="_WTKY">_WTKY</div> |
||
+ | | pause |
||
+ | | Wait for key (See also: [[#_WTTM|_WTTM]], [[#_WTK2|_WTK2]], [[#_WTK3|_WTK3]])) |
||
+ | |style="background:#f1fff1;"| <code>_WTKY;{{ddarr}}pause</code> |
||
+ | |- |
||
+ | |style="background:#ececec;"| <div id="_MFAD">_MFAD</div> |
||
+ | | bgmFadeout |
||
+ | | Fadeout music (See also: [[#_MPLY|_MPLY]]) |
||
+ | |style="background:#f1f1ff;"| <code>_MFAD(4000);{{ddarr}}bgmFadeOut (4000)</code> |
||
+ | |- |
||
+ | |style="background:#ececec;"| <div id="_SEPL">_SEPL</div> |
||
+ | | wavPlay |
||
+ | | Play Sound Effect (See also: [[#_SELP|_SELP]], [[#_SEFD|_SEFD]]) |
||
+ | |style="background:#f1fff1;"| <code>_SEPL(poko);{{ddarr}}wavPlay ('poko')</code> |
||
+ | |- |
||
+ | |style="background:#ececec;"| <div id="_DDAT">_DDAT</div> |
||
+ | | ''n.a.'' |
||
+ | | Define Date Image |
||
+ | |style="background:#f1f1ff;"| <code>_DDAT(S_DTA0628);{{ddarr}}strS[1004] = 'S_DTA0628'</code> |
||
+ | |- |
||
+ | |style="background:#ececec;"| <div id="_CALN">_CALN</div> |
||
+ | | ''n.a.'' |
||
+ | | Set Calendar Number (Function provided in SEEN9053) |
||
+ | |style="background:#f1fff1;"| <code>_CALC F[1219]=0;<br/>_CALC F[1220]=6;<br/>_CALC F[1221]=28;<br/>_CALC F[1222]=1;<br/>_CALC F[1223]=1;<br/>_CALN;{{ddarr}}intF[1219] = 0<br/>intF[1220] = 6<br/>intF[1221] = 28<br/>intF[1222] = 1<br/>intF[1223] = 1<br/>farcall (9053, 0)</code> |
||
+ | |- |
||
+ | |style="background:#ececec;"| <div id="_CLOS">_CLOS</div> |
||
+ | | msgHide |
||
+ | | Close Active Message Frame |
||
+ | |style="background:#f1f1ff;"| <code>_CLOS;{{ddarr}}msgHide()</code> |
||
+ | |- |
||
+ | |style="background:#ececec;"| <div id="_CLR">_CLR</div> |
||
+ | | msgClear |
||
+ | | Clear Active Message Frame |
||
+ | |style="background:#f1fff1;"| <code>_CLR;{{ddarr}}msgClear()</code> |
||
+ | |- |
||
+ | |style="background:#ececec;"| <div id="_EHNB">_EHNB</div> |
||
+ | | ''n.a.'' |
||
+ | | Hanabi Animation? [Fireworks] (Function provided in SEEN9071) |
||
+ | |style="background:#f1f1ff;"| <code>_EHNB;{{ddarr}}farcall (9071, 0)</code> |
||
+ | |- |
||
+ | |style="background:#ececec;"| <div id="SEL">SEL</div> |
||
+ | | select |
||
+ | | Multiple-Choice Select |
||
+ | |style="background:#f1fff1;"| <code>_CALC F[1200]=SEL(話す,勉強する);{{ddarr}}intF[1200] = select ('話す', '勉強する')</code> |
||
+ | |- |
||
+ | |style="background:#ececec;"| <div id="_FCAL">_FCAL</div> |
||
+ | | ''n.a.'' |
||
+ | | Raw Function Call (SEEN#, function#) (See also [[#_FRET|_FRET]]) |
||
+ | |style="background:#f1f1ff;"| <code>_FCAL(1714,00);{{ddarr}}farcall (1714, 0)</code> |
||
+ | |- |
||
+ | |style="background:#ececec;"| <div id="_FRET">_FRET</div> |
||
+ | | rtl/ret |
||
+ | | Return from Function Call (See also [[#_FCAL|_FCAL]])<br/> |
||
+ | ''Note, ret is not the proper way to return from a function call. It should only be used to return from a sub, but the PS2 script makes no distinction between the two.'' |
||
+ | |style="background:#f1fff1;"| <code>_FRET;{{ddarr}}rtl</code> |
||
+ | |- |
||
+ | |style="background:#ececec;"| <div id="_WTK2">_WTK2</div> |
||
+ | | spause |
||
+ | | Wait for key within paragraph (See also: [[#_WTKY|_WTKY]], [[#_WTK3|_WTK3]]) |
||
+ | |style="background:#f1f1ff;"| <code>_ZM7b499(残っているものは…);<br/>_WTK2;<br/>_ZM7b49a(智代に対する心許なさだ。);<br/>_WTKY;{{ddarr}}'残っているものは…'<br/>spause<br/>'智代に対する心許なさだ。'<br/>pause</code> |
||
+ | |- |
||
+ | |style="background:#ececec;"| <div id="_WTK3">_WTK3</div> |
||
+ | | ''n.a.'' |
||
+ | | ¿Wait until SE has finished playing? (See also: [[#_WTKY|_WTKY]], [[#_WTK2|_WTK2]]) |
||
+ | |style="background:#f1fff1;"| <code>_WTK3();{{ddarr}}''no mapping''</code> |
||
+ | |- |
||
+ | !style="background:#0000ff;color:white;"| Function |
||
!style="background:#ffcc00;"| Kepago |
!style="background:#ffcc00;"| Kepago |
||
!style="background:#ececec;"| Description |
!style="background:#ececec;"| Description |
Latest revision as of 20:44, 25 January 2008
Mapping of functions used in PS2 RealLive Scripts[edit]
See VisualNews Gemot for more info. Original post info.
Function | Kepago | Description | Example | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_JUMP
|
jump | Load a SEEN script | _JUMP(0629);
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_STTI
|
title | Set window title | _STTI("6月28日(月)");
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_MPLY
|
bgmLoop | Play music in loop (See also: _MFAD) | _MPLY(BGM07);
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_STBG
|
n.a. | Set background (See also: _FADB) | _STBG(BG001AN1);
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_WTKY
|
pause | Wait for key (See also: _WTTM, _WTK2, _WTK3)) | _WTKY;
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_MFAD
|
bgmFadeout | Fadeout music (See also: _MPLY) | _MFAD(4000);
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_SEPL
|
wavPlay | Play Sound Effect (See also: _SELP, _SEFD) | _SEPL(poko);
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_DDAT
|
n.a. | Define Date Image | _DDAT(S_DTA0628);
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_CALN
|
n.a. | Set Calendar Number (Function provided in SEEN9053) | _CALC F[1219]=0;
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_CLOS
|
msgHide | Close Active Message Frame | _CLOS;
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_CLR
|
msgClear | Clear Active Message Frame | _CLR;
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_EHNB
|
n.a. | Hanabi Animation? [Fireworks] (Function provided in SEEN9071) | _EHNB;
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SEL
|
select | Multiple-Choice Select | _CALC F[1200]=SEL(話す,勉強する);
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_FCAL
|
n.a. | Raw Function Call (SEEN#, function#) (See also _FRET) | _FCAL(1714,00);
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_FRET
|
rtl/ret | Return from Function Call (See also _FCAL) Note, ret is not the proper way to return from a function call. It should only be used to return from a sub, but the PS2 script makes no distinction between the two. |
_FRET;
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_WTK2
|
spause | Wait for key within paragraph (See also: _WTKY, _WTK3) | _ZM7b499(残っているものは…);
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_WTK3
|
n.a. | ¿Wait until SE has finished playing? (See also: _WTKY, _WTK2) | _WTK3();
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function | Kepago | Description | Example | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||