Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f8010ae8d | ||
|
|
cb5db5e55f | ||
|
|
a99503a86d |
@@ -1,5 +1,9 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## v015
|
||||||
|
|
||||||
|
- IDZ: Team fixes (BemaniWitch)
|
||||||
|
|
||||||
## v014
|
## v014
|
||||||
|
|
||||||
- IDZ: Add support for Initial D v2.1 (BemaniWitch)
|
- IDZ: Add support for Initial D v2.1 (BemaniWitch)
|
||||||
|
|||||||
@@ -242,7 +242,6 @@ create table "idz_team_auto" (
|
|||||||
on delete cascade,
|
on delete cascade,
|
||||||
"serial_no" integer not null,
|
"serial_no" integer not null,
|
||||||
"name_idx" integer not null,
|
"name_idx" integer not null,
|
||||||
constraint "idz_team_auto_uq" unique ("serial_no", "name_idx")
|
|
||||||
);
|
);
|
||||||
|
|
||||||
create table "idz_team_member" (
|
create table "idz_team_member" (
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
create table "new_idz_team_auto" (
|
||||||
|
"id" integer primary key not null
|
||||||
|
references "idz_team"("id")
|
||||||
|
on delete cascade,
|
||||||
|
"serial_no" integer not null,
|
||||||
|
"name_idx" integer not null
|
||||||
|
);
|
||||||
|
|
||||||
|
insert into "new_idz_team_auto"
|
||||||
|
select "id", "serial_no", "name_idx" from "idz_team_auto";
|
||||||
|
|
||||||
|
drop table "idz_team_auto";
|
||||||
|
alter table "new_idz_team_auto" rename to "idz_team_auto";
|
||||||
@@ -33,7 +33,7 @@ function _team1(
|
|||||||
const accessTime = (profile.accessTime.getTime() / 1000) | 0;
|
const accessTime = (profile.accessTime.getTime() / 1000) | 0;
|
||||||
|
|
||||||
buf.writeInt32LE(profile.aimeId, base + 0x0000);
|
buf.writeInt32LE(profile.aimeId, base + 0x0000);
|
||||||
writeSjisStr(buf, 0x0004, 0x0018, profile.name);
|
writeSjisStr(buf, base + 0x0004, base + 0x0018, profile.name);
|
||||||
buf.writeInt32LE(profile.lv, base + 0x0018);
|
buf.writeInt32LE(profile.lv, base + 0x0018);
|
||||||
buf.writeInt32LE(0, base + 0x0024); // Month points, TODO
|
buf.writeInt32LE(0, base + 0x0024); // Month points, TODO
|
||||||
buf.writeUInt32LE(accessTime, base + 0x0034);
|
buf.writeUInt32LE(accessTime, base + 0x0034);
|
||||||
@@ -85,7 +85,7 @@ function _team2(
|
|||||||
const accessTime = (profile.accessTime.getTime() / 1000) | 0;
|
const accessTime = (profile.accessTime.getTime() / 1000) | 0;
|
||||||
|
|
||||||
buf.writeInt32LE(profile.aimeId, base + 0x0000);
|
buf.writeInt32LE(profile.aimeId, base + 0x0000);
|
||||||
writeSjisStr(buf, 0x0004, 0x0018, profile.name);
|
writeSjisStr(buf, base + 0x0004, base + 0x0018, profile.name);
|
||||||
buf.writeInt32LE(profile.lv, base + 0x0018);
|
buf.writeInt32LE(profile.lv, base + 0x0018);
|
||||||
buf.writeInt32LE(0, base + 0x0024); // Month points, TODO
|
buf.writeInt32LE(0, base + 0x0024); // Month points, TODO
|
||||||
buf.writeUInt32LE(accessTime, base + 0x0034);
|
buf.writeUInt32LE(accessTime, base + 0x0034);
|
||||||
|
|||||||
Reference in New Issue
Block a user