From 27b0cc18a0f31ac995e6061e8aef11f122305b12 Mon Sep 17 00:00:00 2001 From: trafficlunar Date: Sun, 26 Apr 2026 22:52:55 +0100 Subject: [PATCH] fix: temp - need to update .ltd parsing --- shared/src/switch-tomodachi-life-mii.ts | 32 ++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/shared/src/switch-tomodachi-life-mii.ts b/shared/src/switch-tomodachi-life-mii.ts index 1a18421..e45536f 100644 --- a/shared/src/switch-tomodachi-life-mii.ts +++ b/shared/src/switch-tomodachi-life-mii.ts @@ -50,22 +50,22 @@ export class SwitchTomodachiLifeMii { }; // Validate - if (bytes[0x01a9] > 1 || bytes[0x01aa] > 1 || bytes[0x01ab] > 1) throw new Error("Invalid dating preference bytes"); - if (this.birthday.month < 1 || this.birthday.month > 12) throw new Error("Invalid birthday month"); - if (this.birthday.day < 1 || this.birthday.day > 31) throw new Error("Invalid birthday day"); - if ( - this.personality.movement < 0 || - this.personality.movement > 4 || - this.personality.speech < 0 || - this.personality.speech > 4 || - this.personality.energy < 0 || - this.personality.energy > 4 || - this.personality.thinking < 0 || - this.personality.thinking > 4 || - this.personality.overall < 0 || - this.personality.overall > 4 - ) - throw new Error("Invalid personality values"); + // if (bytes[0x01a9] > 1 || bytes[0x01aa] > 1 || bytes[0x01ab] > 1) throw new Error("Invalid dating preference bytes"); + // if (this.birthday.month < 1 || this.birthday.month > 12) throw new Error("Invalid birthday month"); + // if (this.birthday.day < 1 || this.birthday.day > 31) throw new Error("Invalid birthday day"); + // if ( + // this.personality.movement < 0 || + // this.personality.movement > 4 || + // this.personality.speech < 0 || + // this.personality.speech > 4 || + // this.personality.energy < 0 || + // this.personality.energy > 4 || + // this.personality.thinking < 0 || + // this.personality.thinking > 4 || + // this.personality.overall < 0 || + // this.personality.overall > 4 + // ) + // throw new Error("Invalid personality values"); } // There's a UGC Texture image but we're ignoring it