suchmememanyskill
e98a3bba68
don't pause script on exit except on error
2021-01-04 23:42:26 +01:00
suchmememanyskill
7e2a672753
[script] fix == not working
2021-01-04 18:27:17 +01:00
suchmememanyskill
12136d9289
[Script] add last bits
...
Fixed: Scripts should free at the end
Added: ncaGetType, saveSign
Modified: pathCombine can now take 2+ args to combine
2021-01-04 16:57:47 +01:00
suchmememanyskill
c9fdb650c3
[script] Make equivalent to tsV1
...
Fixed: functions in functions
Added functions: version, menu, pathCombine, pathEscFolder, fileMove, fileCopy, fileDel, mmcConnect, mmcMount, mkdir, dirRead, dirCopy, dirDel, mmcDump, mmcRestore
2021-01-04 01:55:58 +01:00
suchmememanyskill
e1491da4ad
[script] add some util functions
...
functions added: return, exit, printPos, clearscreen, drawBox, color, pause, exit
2021-01-02 12:43:15 +01:00
suchmememanyskill
e0c62cbec4
[script] add bitshifting
2021-01-02 11:39:14 +01:00
suchmememanyskill
e1f292fe0d
[script] vector slicing, basic file functions
...
new operators:
vector(int, byte) - int -> works like py's list[0:-int]
vector(int, byte) : int -> works like py's list[int:]
new functions:
fileRead, fileWrite, fileExists, bytesToStr
2021-01-01 18:30:51 +01:00
suchmememanyskill
b818b577e9
Small tweaks
...
- swap crash for credits
- home now reboots to atmosphere/reboot_payload.bin, or rcm if not found
2021-01-01 11:43:31 +01:00
suchmememanyskill
a39b3b2460
[script] add 2 new operators
...
- Str : Int -> works like py's [Int:]
- Str - Int -> subtracts x amount of characters from the end of the string
2020-12-31 21:20:48 +01:00
suchmememanyskill
95d4f2bbeb
[script] str - str should not modify ptr
2020-12-31 20:57:15 +01:00
suchmememanyskill
baec43da2a
as a joke, adding setPixel to Tscript
2020-12-28 15:02:08 +01:00
suchmememanyskill
b0dd71bd4f
implement TScript v2.5
2020-12-28 14:51:59 +01:00