Advertisement
MindenCucc

Mario Maker Lua stuff

May 30th, 2017
1,351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 13.04 KB | None | 0 0
  1. Lua types:
  2. - "no value"
  3. - "nil"
  4. - "boolean"
  5. - "userdata"
  6. - "number"
  7. - "string"
  8. - "table"
  9. - "function"
  10. - "userdata"
  11. - "thread"
  12. - "proto"
  13.  
  14. Lua metamethods:
  15. - "__index"
  16. - "__newindex"
  17. - "__gc"
  18. - "__mode"
  19. - "__len"
  20. - "__eq"
  21. - "__add"
  22. - "__sub"
  23. - "__mul"
  24. - "__mod"
  25. - "__pow"
  26. - "__div"
  27. - "__idiv"
  28. - "__band"
  29. - "__bor"
  30. - "__bxor"
  31. - "__shl"
  32. - "__shr"
  33. - "__unm"
  34. - "__bnot"
  35. - "__lt"
  36. - "__le"
  37. - "__concat"
  38. - "__call"
  39.  
  40. PICA stuff:
  41. - Functions (?):
  42.  - "register" (this seems to be a table with a metatable that has an "__index" metamethod on the "nstuix.UIBase" userdata type)
  43.   - "startRegister"
  44.   - "endRegister"
  45.   - "requestState"
  46. - Registers:
  47.  - "dmp_LightEnv.lutEnabledD0"
  48.   - "dmp_LightEnv.lutScaleD0"
  49.   - "dmp_FragmentMaterial.samplerD0"
  50.   - "dmp_LightEnv.absLutInputD0"
  51.   - "dmp_LightEnv.lutInputD0"
  52.   - "dmp_FragmentLightSource[0].specular0"
  53.   - "dmp_FragmentLightSource[1].specular0"
  54.   - "dmp_FragmentLightSource[2].specular0"
  55.   - "dmp_FragmentLightSource[3].specular0"
  56.   - "dmp_FragmentLightSource[4].specular0"
  57.   - "dmp_FragmentLightSource[5].specular0"
  58.   - "dmp_FragmentLightSource[6].specular0"
  59.   - "dmp_FragmentLightSource[7].specular0"
  60.   - "dmp_FragmentMaterial.specular0"
  61.   - "dmp_FragmentLightSource[0].geomFactor0"
  62.   - "dmp_FragmentLightSource[1].geomFactor0"
  63.   - "dmp_FragmentLightSource[2].geomFactor0"
  64.   - "dmp_FragmentLightSource[3].geomFactor0"
  65.   - "dmp_FragmentLightSource[4].geomFactor0"
  66.   - "dmp_FragmentLightSource[5].geomFactor0"
  67.   - "dmp_FragmentLightSource[6].geomFactor0"
  68.   - "dmp_FragmentLightSource[7].geomFactor0"
  69.   - "dmp_LightEnv.lutEnabledD1"
  70.   - "dmp_LightEnv.lutScaleD1"
  71.   - "dmp_FragmentMaterial.samplerD1"
  72.   - "dmp_LightEnv.absLutInputD1"
  73.   - "dmp_LightEnv.lutInputD1"
  74.   - "dmp_FragmentLightSource[0].specular1"
  75.   - "dmp_FragmentLightSource[1].specular1"
  76.   - "dmp_FragmentLightSource[2].specular1"
  77.   - "dmp_FragmentLightSource[3].specular1"
  78.   - "dmp_FragmentLightSource[4].specular1"
  79.   - "dmp_FragmentLightSource[5].specular1"
  80.   - "dmp_FragmentLightSource[6].specular1"
  81.   - "dmp_FragmentLightSource[7].specular1"
  82.   - "dmp_FragmentMaterial.specular1"
  83.   - "dmp_FragmentLightSource[0].geomFactor1"
  84.   - "dmp_FragmentLightSource[1].geomFactor1"
  85.   - "dmp_FragmentLightSource[2].geomFactor1"
  86.   - "dmp_FragmentLightSource[3].geomFactor1"
  87.   - "dmp_FragmentLightSource[4].geomFactor1"
  88.   - "dmp_FragmentLightSource[5].geomFactor1"
  89.   - "dmp_FragmentLightSource[6].geomFactor1"
  90.   - "dmp_FragmentLightSource[7].geomFactor1"
  91.   - "dmp_FragmentLightSource[0].samplerDA"
  92.   - "dmp_FragmentLightSource[1].samplerDA"
  93.   - "dmp_FragmentLightSource[2].samplerDA"
  94.   - "dmp_FragmentLightSource[3].samplerDA"
  95.   - "dmp_FragmentLightSource[4].samplerDA"
  96.   - "dmp_FragmentLightSource[5].samplerDA"
  97.   - "dmp_FragmentLightSource[6].samplerDA"
  98.   - "dmp_FragmentLightSource[7].samplerDA"
  99.   - "dmp_Texture[3].ptSamplerA"
  100.   - "dmp_LightEnv.lutScaleRB"
  101.   - "dmp_FragmentMaterial.samplerRB"
  102.   - "dmp_LightEnv.absLutInputRB"
  103.   - "dmp_LightEnv.lutInputRB"
  104.   - "dmp_Gas.samplerTB"
  105.   - "dmp_Texture[3].ptSamplerB"
  106.   - "dmp_LightEnv.lutScaleRG"
  107.   - "dmp_FragmentMaterial.samplerRG"
  108.   - "dmp_LightEnv.absLutInputRG"
  109.   - "dmp_LightEnv.lutInputRG"
  110.   - "dmp_Gas.samplerTG"
  111.   - "dmp_Texture[3].ptSamplerG"
  112.   - "dmp_LightEnv.lutScaleSP"
  113.   - "dmp_FragmentLightSource[0].samplerSP"
  114.   - "dmp_FragmentLightSource[1].samplerSP"
  115.   - "dmp_FragmentLightSource[2].samplerSP"
  116.   - "dmp_FragmentLightSource[3].samplerSP"
  117.   - "dmp_FragmentLightSource[4].samplerSP"
  118.   - "dmp_FragmentLightSource[5].samplerSP"
  119.   - "dmp_FragmentLightSource[6].samplerSP"
  120.   - "dmp_FragmentLightSource[7].samplerSP"
  121.   - "dmp_LightEnv.absLutInputSP"
  122.   - "dmp_LightEnv.lutInputSP"
  123.   - "dmp_LightEnv.lutScaleFR"
  124.   - "dmp_FragmentMaterial.samplerFR"
  125.   - "dmp_LightEnv.absLutInputFR"
  126.   - "dmp_LightEnv.lutInputFR"
  127.   - "dmp_LightEnv.lutScaleRR"
  128.   - "dmp_FragmentMaterial.samplerRR"
  129.   - "dmp_LightEnv.absLutInputRR"
  130.   - "dmp_LightEnv.lutInputRR"
  131.   - "dmp_Gas.samplerTR"
  132.   - "dmp_Texture[3].ptSamplerR"
  133.   - "dmp_Texture[3].ptNoiseU"
  134.   - "dmp_Texture[3].ptClampU"
  135.   - "dmp_Texture[3].ptShiftU"
  136.   - "dmp_Texture[3].ptNoiseV"
  137.   - "dmp_Texture[3].ptClampV"
  138.   - "dmp_Texture[3].ptShiftV"
  139.   - "dmp_Gas.lightXY"
  140.   - "dmp_Gas.deltaZ"
  141.   - "dmp_Gas.lightZ"
  142.   - "dmp_TexEnv[0].constRgba"
  143.   - "dmp_TexEnv[1].constRgba"
  144.   - "dmp_TexEnv[2].constRgba"
  145.   - "dmp_TexEnv[3].constRgba"
  146.   - "dmp_TexEnv[4].constRgba"
  147.   - "dmp_TexEnv[5].constRgba"
  148.   - "dmp_TexEnv[0].srcAlpha"
  149.   - "dmp_TexEnv[1].srcAlpha"
  150.   - "dmp_TexEnv[2].srcAlpha"
  151.   - "dmp_TexEnv[3].srcAlpha"
  152.   - "dmp_TexEnv[4].srcAlpha"
  153.   - "dmp_TexEnv[5].srcAlpha"
  154.   - "dmp_TexEnv[0].operandAlpha"
  155.   - "dmp_TexEnv[1].operandAlpha"
  156.   - "dmp_TexEnv[2].operandAlpha"
  157.   - "dmp_TexEnv[3].operandAlpha"
  158.   - "dmp_TexEnv[4].operandAlpha"
  159.   - "dmp_TexEnv[5].operandAlpha"
  160.   - "dmp_TexEnv[0].scaleAlpha"
  161.   - "dmp_TexEnv[1].scaleAlpha"
  162.   - "dmp_TexEnv[2].scaleAlpha"
  163.   - "dmp_TexEnv[3].scaleAlpha"
  164.   - "dmp_TexEnv[4].scaleAlpha"
  165.   - "dmp_TexEnv[5].scaleAlpha"
  166.   - "dmp_TexEnv[0].combineAlpha"
  167.   - "dmp_TexEnv[1].combineAlpha"
  168.   - "dmp_TexEnv[2].combineAlpha"
  169.   - "dmp_TexEnv[3].combineAlpha"
  170.   - "dmp_TexEnv[4].combineAlpha"
  171.   - "dmp_TexEnv[5].combineAlpha"
  172.   - "dmp_LightEnv.shadowAlpha"
  173.   - "dmp_TexEnv[0].srcRgb"
  174.   - "dmp_TexEnv[1].srcRgb"
  175.   - "dmp_TexEnv[2].srcRgb"
  176.   - "dmp_TexEnv[3].srcRgb"
  177.   - "dmp_TexEnv[4].srcRgb"
  178.   - "dmp_TexEnv[5].srcRgb"
  179.   - "dmp_TexEnv[0].operandRgb"
  180.   - "dmp_TexEnv[1].operandRgb"
  181.   - "dmp_TexEnv[2].operandRgb"
  182.   - "dmp_TexEnv[3].operandRgb"
  183.   - "dmp_TexEnv[4].operandRgb"
  184.   - "dmp_TexEnv[5].operandRgb"
  185.   - "dmp_TexEnv[0].scaleRgb"
  186.   - "dmp_TexEnv[1].scaleRgb"
  187.   - "dmp_TexEnv[2].scaleRgb"
  188.   - "dmp_TexEnv[3].scaleRgb"
  189.   - "dmp_TexEnv[4].scaleRgb"
  190.   - "dmp_TexEnv[5].scaleRgb"
  191.   - "dmp_TexEnv[0].combineRgb"
  192.   - "dmp_TexEnv[1].combineRgb"
  193.   - "dmp_TexEnv[2].combineRgb"
  194.   - "dmp_TexEnv[3].combineRgb"
  195.   - "dmp_TexEnv[4].combineRgb"
  196.   - "dmp_TexEnv[5].combineRgb"
  197.   - "dmp_Gas.autoAcc"
  198.   - "dmp_FragOperation.alphaTestFunc"
  199.   - "dmp_Gas.shadingDensitySrc"
  200.   - "dmp_FragmentLightSource[0].distanceAttenuationEnabled"
  201.   - "dmp_FragmentLightSource[1].distanceAttenuationEnabled"
  202.   - "dmp_FragmentLightSource[2].distanceAttenuationEnabled"
  203.   - "dmp_FragmentLightSource[3].distanceAttenuationEnabled"
  204.   - "dmp_FragmentLightSource[4].distanceAttenuationEnabled"
  205.   - "dmp_FragmentLightSource[5].distanceAttenuationEnabled"
  206.   - "dmp_FragmentLightSource[6].distanceAttenuationEnabled"
  207.   - "dmp_FragmentLightSource[7].distanceAttenuationEnabled"
  208.   - "dmp_FragmentLightSource[0].spotEnabled"
  209.   - "dmp_FragmentLightSource[1].spotEnabled"
  210.   - "dmp_FragmentLightSource[2].spotEnabled"
  211.   - "dmp_FragmentLightSource[3].spotEnabled"
  212.   - "dmp_FragmentLightSource[4].spotEnabled"
  213.   - "dmp_FragmentLightSource[5].spotEnabled"
  214.   - "dmp_FragmentLightSource[6].spotEnabled"
  215.   - "dmp_FragmentLightSource[7].spotEnabled"
  216.   - "dmp_FragmentLightSource[0].enabled"
  217.   - "dmp_FragmentLightSource[1].enabled"
  218.   - "dmp_FragmentLightSource[2].enabled"
  219.   - "dmp_FragmentLightSource[3].enabled"
  220.   - "dmp_FragmentLightSource[4].enabled"
  221.   - "dmp_FragmentLightSource[5].enabled"
  222.   - "dmp_FragmentLightSource[6].enabled"
  223.   - "dmp_FragmentLightSource[7].enabled"
  224.   - "dmp_FragmentLighting.enabled"
  225.   - "dmp_FragmentLightSource[0].shadowed"
  226.   - "dmp_FragmentLightSource[1].shadowed"
  227.   - "dmp_FragmentLightSource[2].shadowed"
  228.   - "dmp_FragmentLightSource[3].shadowed"
  229.   - "dmp_FragmentLightSource[4].shadowed"
  230.   - "dmp_FragmentLightSource[5].shadowed"
  231.   - "dmp_FragmentLightSource[6].shadowed"
  232.   - "dmp_FragmentLightSource[7].shadowed"
  233.   - "dmp_Texture[2].texcoord"
  234.   - "dmp_Texture[3].texcoord"
  235.   - "dmp_LightEnv.bumpMode"
  236.   - "dmp_Fog.mode"
  237.   - "dmp_FragOperation.mode"
  238.   - "dmp_Texture[0].shadowZScale"
  239.   - "dmp_FragOperation.penumbraScale"
  240.   - "dmp_FragmentLightSource[0].distanceAttenuationScale"
  241.   - "dmp_FragmentLightSource[1].distanceAttenuationScale"
  242.   - "dmp_FragmentLightSource[2].distanceAttenuationScale"
  243.   - "dmp_FragmentLightSource[3].distanceAttenuationScale"
  244.   - "dmp_FragmentLightSource[4].distanceAttenuationScale"
  245.   - "dmp_FragmentLightSource[5].distanceAttenuationScale"
  246.   - "dmp_FragmentLightSource[6].distanceAttenuationScale"
  247.   - "dmp_FragmentLightSource[7].distanceAttenuationScale"
  248.   - "dmp_FragOperation.wScale"
  249.   - "dmp_Texture[3].ptNoiseEnable"
  250.   - "dmp_FragOperation.enableClippingPlane"
  251.   - "dmp_FragOperation.clippingPlane"
  252.   - "dmp_Texture[0].samplerType"
  253.   - "dmp_Texture[1].samplerType"
  254.   - "dmp_Texture[2].samplerType"
  255.   - "dmp_Texture[3].samplerType"
  256.   - "dmp_FragmentLightSource[0].twoSideDiffuse"
  257.   - "dmp_FragmentLightSource[1].twoSideDiffuse"
  258.   - "dmp_FragmentLightSource[2].twoSideDiffuse"
  259.   - "dmp_FragmentLightSource[3].twoSideDiffuse"
  260.   - "dmp_FragmentLightSource[4].twoSideDiffuse"
  261.   - "dmp_FragmentLightSource[5].twoSideDiffuse"
  262.   - "dmp_FragmentLightSource[6].twoSideDiffuse"
  263.   - "dmp_FragmentLightSource[7].twoSideDiffuse"
  264.   - "dmp_FragmentLightSource[0].diffuse"
  265.   - "dmp_FragmentLightSource[1].diffuse"
  266.   - "dmp_FragmentLightSource[2].diffuse"
  267.   - "dmp_FragmentLightSource[3].diffuse"
  268.   - "dmp_FragmentLightSource[4].diffuse"
  269.   - "dmp_FragmentLightSource[5].diffuse"
  270.   - "dmp_FragmentLightSource[6].diffuse"
  271.   - "dmp_FragmentLightSource[7].diffuse"
  272.   - "dmp_FragmentMaterial.diffuse"
  273.   - "dmp_Texture[3].ptAlphaSeparate"
  274.   - "dmp_FragOperation.alphaRefValue"
  275.   - "dmp_LightEnv.config"
  276.   - "dmp_Texture[3].ptTexWidth"
  277.   - "dmp_LightEnv.lutEnabledRefl"
  278.   - "dmp_LightEnv.bumpRenorm"
  279.   - "dmp_FragmentMaterial.emission"
  280.   - "dmp_Gas.attenuation"
  281.   - "dmp_FragmentLightSource[0].spotDirection"
  282.   - "dmp_FragmentLightSource[1].spotDirection"
  283.   - "dmp_FragmentLightSource[2].spotDirection"
  284.   - "dmp_FragmentLightSource[3].spotDirection"
  285.   - "dmp_FragmentLightSource[4].spotDirection"
  286.   - "dmp_FragmentLightSource[5].spotDirection"
  287.   - "dmp_FragmentLightSource[6].spotDirection"
  288.   - "dmp_FragmentLightSource[7].spotDirection"
  289.   - "dmp_FragmentLightSource[0].position"
  290.   - "dmp_FragmentLightSource[1].position"
  291.   - "dmp_FragmentLightSource[2].position"
  292.   - "dmp_FragmentLightSource[3].position"
  293.   - "dmp_FragmentLightSource[4].position"
  294.   - "dmp_FragmentLightSource[5].position"
  295.   - "dmp_FragmentLightSource[6].position"
  296.   - "dmp_FragmentLightSource[7].position"
  297.   - "dmp_Texture[3].ptSamplerAlphaMap"
  298.   - "dmp_Texture[3].ptAlphaMap"
  299.   - "dmp_Texture[3].ptSamplerRgbMap"
  300.   - "dmp_Texture[3].ptRgbMap"
  301.   - "dmp_Texture[3].ptSamplerNoiseMap"
  302.   - "dmp_Fog.zFlip"
  303.   - "dmp_Fog.sampler"
  304.   - "dmp_Texture[3].ptMinFilter"
  305.   - "dmp_TexEnv[0].bufferColor"
  306.   - "dmp_Fog.color"
  307.   - "dmp_LightEnv.fresnelSelector"
  308.   - "dmp_LightEnv.bumpSelector"
  309.   - "dmp_LightEnv.shadowSelector"
  310.   - "dmp_Texture[0].shadowZBias"
  311.   - "dmp_FragOperation.penumbraBias"
  312.   - "dmp_FragmentLightSource[0].distanceAttenuationBias"
  313.   - "dmp_FragmentLightSource[1].distanceAttenuationBias"
  314.   - "dmp_FragmentLightSource[2].distanceAttenuationBias"
  315.   - "dmp_FragmentLightSource[3].distanceAttenuationBias"
  316.   - "dmp_FragmentLightSource[4].distanceAttenuationBias"
  317.   - "dmp_FragmentLightSource[5].distanceAttenuationBias"
  318.   - "dmp_FragmentLightSource[6].distanceAttenuationBias"
  319.   - "dmp_FragmentLightSource[7].distanceAttenuationBias"
  320.   - "dmp_Texture[3].ptTexBias"
  321.   - "dmp_LightEnv.clampHighlights"
  322.   - "dmp_Texture[3].ptTexOffset"
  323.   - "dmp_FragmentLightSource[0].ambient"
  324.   - "dmp_FragmentLightSource[1].ambient"
  325.   - "dmp_FragmentLightSource[2].ambient"
  326.   - "dmp_FragmentLightSource[3].ambient"
  327.   - "dmp_FragmentLightSource[4].ambient"
  328.   - "dmp_FragmentLightSource[5].ambient"
  329.   - "dmp_FragmentLightSource[6].ambient"
  330.   - "dmp_FragmentLightSource[7].ambient"
  331.   - "dmp_FragmentLighting.ambient"
  332.   - "dmp_FragmentMaterial.ambient"
  333.   - "dmp_FragOperation.enableAlphaTest"
  334.   - "dmp_TexEnv[1].bufferInput"
  335.   - "dmp_TexEnv[2].bufferInput"
  336.   - "dmp_TexEnv[3].bufferInput"
  337.   - "dmp_TexEnv[4].bufferInput"
  338.   - "dmp_Gas.colorLutInput"
  339.   - "dmp_Texture[0].perspectiveShadow"
  340.   - "dmp_LightEnv.invertShadow"
  341.   - "dmp_Gas.accMax"
  342.   - "dmp_LightEnv.shadowSecondary"
  343.   - "dmp_LightEnv.shadowPrimary"
  344.  
  345. In-game stuff (?):
  346. - "getUI"
  347. - "msgBinLoad"
  348. - "isPhysicalButtonEnabled"
  349. - "isGlobalInputEnabled"
  350. - "isFocused"
  351. - "setVisible"
  352. - "isIdle"
  353. - "setAnimationFrame"
  354. - "changeScreen"
  355. - "goToPreviousScreen"
  356. - "isPreviousScreen"
  357. - "getScreen"
  358. - "getActiveButton"
  359. - "bindPadToButton"
  360. - "getButton"
  361. - "enableUIInput"
  362. - "disableUIInput"
  363. - "enablePadInput"
  364. - "disablePadInput"
  365. - "setTextFromMessageID"
  366. - "setTextW"
  367. - "getGlobalPositionXY"
  368. - "getPositionXY"
  369. - "setPositionXY"
  370. - "setButtonMessageId"
  371. - "setAsSelected"
  372. - "setVisibleChildren"
  373. - "getAnimation"
  374. - "playAnimationAuto"
  375. - "getAnimationManager"
  376. - "inBounds"
  377. - "setText"
  378. - "getButtonOverrideSFX"
  379. - "setButtonOverrideSFX"
  380. - "isDisabled"
  381. - "isReleased"
  382. - "forceDisable"
  383. - "forceIdle"
  384. - "forceToggle"
  385. - "setButtonOverrideSFXByName"
  386. - "forceRelease"
  387. - "isTouchRelease"
  388. - "setTranslate"
  389. - "setActive"
  390. - "forceToggleOff"
  391. - "forceToggleOn"
  392. - "is"
  393. - "forcePress"
  394. - "unFocus"
  395. - "focus"
  396. - "setReleaseStay"
  397. - "getFrame"
  398. - "setFrame"
  399. - "pause"
  400. - "isPlaying"
  401. - "getLength"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement