emoney: Add Thinca authentication card stuff (#35)

This PR adds everything that's needed on the segatools side to add E-Money support regarding Thinca authentication cards.

I've also included set-up documentation (with a network side bonus which was as far as I could figure out so far, but I'm pretty certain no more changes to segatools will be needed)

Due to the nature of a custom protcol called TCAP that Thinca uses for networking (see docs), I can't fully test that everything works as I haven't yet bothered to figure that protocol out.

Tested with both APMv3 and FGO.

![https://puu.sh/KeqVj/ccf4bcccbb.png](https://puu.sh/KeqVj/ccf4bcccbb.png)

Reviewed-on: TeamTofuShop/segatools#35
Co-authored-by: Haruka <haruka@noreply.gitea.tendokyu.moe>
Co-committed-by: Haruka <haruka@noreply.gitea.tendokyu.moe>
This commit is contained in:
2025-04-17 17:01:38 +00:00
committed by Dniel97
parent 39711a994a
commit 67eda7458b
19 changed files with 486 additions and 68 deletions

View File

@ -11,6 +11,8 @@
#include "hooklib/path.h"
#include <util/dprintf.h>
/* Helpers */
static void path_hook_init(void);
@ -533,6 +535,12 @@ static BOOL path_transform_w(wchar_t **out, const wchar_t *src)
goto end;
}
#if LOG_VFS
if (!wcsstr(src, L"AppUser")) {
dprintf("Path: %ls -> %ls\n", src, dest);
}
#endif
break;
}