1
0
mirror of synced 2024-11-23 22:51:02 +01:00

Fix dist script

This commit is contained in:
BroGamer 2022-09-16 10:03:23 +12:00
parent 64d2f02ad9
commit a0d92989da
4 changed files with 6 additions and 5 deletions

View File

@ -59,6 +59,7 @@ dist-no-7z: options ${OUT} patches
cp ${TARGET}/${OUT}.dll out/
mv out/${OUT}.dll out/bnusio.dll
cp ${TARGET}/patches.*.dll out/plugins
cp ${TARGET}/amauth.dll out/plugins
cp -r dist/* out/
.PHONY: dist

2
dist/config.toml vendored
View File

@ -2,7 +2,7 @@
drumMax = 20000
drumMin = 10000
server = "vsapi.taiko-p.jp"
server = "https://divamodarchive.com"
accessCode1 = 1
chipId1 = 1

View File

@ -11,7 +11,7 @@
DWORD reg = 0;
char server_ip[0x10];
char *server_hostname;
char *server_hostname = (char *)"https://divamodarchive.com";
DEFINE_GUID (IID_CAuthFactory, 0x4603BB03, 0x058D, 0x43D9, 0xB9, 0x6F, 0x63, 0x9B, 0xE9, 0x08, 0xC1, 0xED);
DEFINE_GUID (IID_CAuth, 0x045A5150, 0xD2B3, 0x4590, 0xA3, 0x8B, 0xC1, 0x15, 0x86, 0x78, 0xE1, 0xAC);

View File

@ -12,7 +12,7 @@ char accessCode2[21] = "00000000000000000002";
char chipId1[33] = "00000000000000000000000000000001";
char chipId2[33] = "00000000000000000000000000000002";
char *server = "";
char *server = "https://divamodarchive.com";
typedef i32 (*callbackAttach) (i32, i32, i32 *);
typedef void (*callbackTouch) (i32, i32, u8[168], u64);
@ -156,8 +156,8 @@ i64 __stdcall bnusio_Close () {
swprintf (buf, 128, L"Failed to load plugin %d", GetLastError ());
MessageBoxW (NULL, buf, fd.cFileName, MB_ICONERROR);
} else {
FARPROC initEvent = GetProcAddress (hModule, "Exit");
if (initEvent) ((event *)initEvent) ();
FARPROC exitEvent = GetProcAddress (hModule, "Exit");
if (exitEvent) ((event *)exitEvent) ();
}
} while (FindNextFileW (hFind, &fd));
FindClose (hFind);