Skip to content

Releases: ukatech/csaori

SaoriTester 1.2.0

24 Aug 09:47
Compare
Choose a tag to compare

そういえばバイナリ用意してなかった

bignum v0.0.0.1

23 Jun 02:21
Compare
Choose a tag to compare

Provides the most basic large floating point operations, supporting addition, subtraction, multiplication and division
based on elc
Warning: due to the internal implementation of elc, this saori will kill the whole process if not enough memory is allocated during the calculation.
This saori requires a lot of calculations to convert the input from wstring to elc::string to elc::bigfloat, and then the result to elc::string to wstring. Which is silly, but this saori exists because I'm not sure if there's really a ghost that needs a lot of big number calculations so much so that we need to build it into shiori, so if you have a related need, go ahead and use it, at least it will work.
If you are experiencing performance bottlenecks, contact your shiori producer with your ghost and usage and ask them to consider built in big numbers!


useage:

>> CALLSAORI('bignum','1324567984616876461321579879546131248.165768351654','12647896413213548979.123468868646','+')
"1324567984616876473969476292759680227.2892372203"
Type: 字串

图片
If you are using yaya, remember to turn off AUTO_DATA_CONVERT or use var.lib.result.row to get result in row

>> CALLSAORI('bignum','1324567984616876461321579879546131248.165768351654','12647896413213548979.123468868646','+')
1324567984616876464184201010787385344.000000
Type: 实数
>> var.lib.result.row
"1324567984616876473969476292759680227.2892372203"
Type: 字串

图片

steam_api v1.0.0.0

08 Jun 03:58
Compare
Choose a tag to compare

Allow ghost to get the steam install location and the last username login to steam
Maybe you can use it for meta plots
useage:
图片

>> CALLSAORI('steam_api','GetSteamPath')
"D:\Steam"
Type: 字串
>> CALLSAORI('steam_api','GetMostRecentUserPersonaName')
"steve02081504"
Type: 字串

totp_saori v1.0.0.1

05 Jun 03:07
Compare
Choose a tag to compare

Fixed the issue that the verification code generated when digit is not 6 is still 6 digits long
For usage, see v1.0.0.0

totp_saori v1.0.0.0

04 Jun 10:04
Compare
Choose a tag to compare

A saori that allows you to use ghost for 2fa-related processing, like, er, those 2-factor authentication apps (e.g. aegis)
You can generate your own authentication key, or generate a time-specific authentication code from the key, as in the following example.

key=CALLSAORI('totp_saori','keygen',size)

If size is not specified, the default is 30.
The size affects the length of the key, too long will make it impossible for some apps to handle, too short will make the key easy to crack

code=CALLSAORI('totp_saori','totp',key,time,digit,refresh_seconds)
//or
code=CALLSAORI('totp_saori','totp',key,time)
//or
code=CALLSAORI('totp_saori','totp',key)

You can leave out anything other than the key so that everything will be the default

  • time
    default is the current time
    refers to the target unix time you want to calculate (a positive integer), 2fa captchas change over time, so if you want to increase the error tolerance of your ghost verification 2fa captcha, you may need to calculate the last cycle's captcha to avoid slow user input
    Or you have a time machine so you want to calculate future CAPTCHAs
    Unfortunately you can't calculate CAPTCHAs before unix time, too bad
  • digit
    default is 6
    refers to number of generated CAPTCHA bits, this should be determined at the beginning.
  • refresh_seconds
    The default is 30
    is literally, er, the frequency of CAPTCHA changes: let's say you can set it to 3600 to get a CAPTCHA that changes once an hour.
    As with digit, this should all be determined at the outset.

Because I'm lazy, this saori only supports this one totp algorithm (the one that is most widely used)

If you want to generate QR codes for 2-factor authentication apps, here are some extended readings:

Discord plugin 1.1.2.4

25 Mar 17:26
Compare
Choose a tag to compare

Fixed a crash when passing in an empty string, thanks to @Era for reporting it
Added support for nar thumbnail
图片

如果你是ghost作者,在这里可以看到定制discord信息所需的步骤
ゴーストオーサーの場合、discord RPCをカスタマイズするために必要な手順はこちらをご覧ください。
If you are a ghost author, the steps needed to customise the discord RPC can be seen here
https://gist.github.com/steve02081504/a3cccec1d7e70bceebcc70ac99e3558a#file-_main-md

Discord plugin 1.1.2.3

30 Oct 06:27
Compare
Choose a tag to compare

Should not close and restart the discord rich presence corresponding thread when the appid has not changed

Discord plugin 1.1.2.2

28 Oct 04:15
Compare
Choose a tag to compare

Fix the problem that the information of non-custom ghost is not displayed correctly

Discord plugin 1.1.2.1

28 Oct 01:10
Compare
Choose a tag to compare

Acceptable new events:

OnDiscordPluginCustomAppid
OnDiscordPluginCustomState
OnDiscordPluginCustomDetail
OnDiscordPluginCustomLargeImageKey
OnDiscordPluginCustomLargeImageText
OnDiscordPluginCustomSmallImageKey
OnDiscordPluginCustomSmallImageText
OnDiscordPluginCustomALL

Notify for ghost:

OnDiscordPluginCustom[Notify for ghost]
OnDiscordPluginCustomEnd[Notify for ghost]

For more info:
https://github.com/Taromati2/ghost/blob/master/master/dic/system/discord.dic
https://discord.com/developers/applications

SAORI : kisaragi v1.1.2

03 Apr 01:56
Compare
Choose a tag to compare

yomiモードの未知語カタカナ変換