Reply to thread
GBAtemp.net - The Independent Video Game Community
Search
Search titles only
By:
Search titles only
By:
Reply to thread
GBAtemp.net - The Independent Video Game Community
Home
Log in
Terms & Rules
Donate
Forums
New posts
Search forums
Groups
Public Events
New
New posts
New resources
New blog entries
New profile posts
New blog entry comments
New threadmarks
Latest activity
Cheats
Cheat Codes Add and Request group
The Legend of Zelda: Tears of the Kingdom cheat codes
Pokémon Legends: Arceus cheat codes
Xenoblade Chronicles 3 cheat codes
Fire Emblem Engage cheat codes
Request a cheat...
Tutorials
Nintendo Switch tutorials
Nintendo 3DS tutorials
Nintendo Wii U tutorials
Reviews
Overview
Official reviews
Downloads
Latest reviews
Search resources
Blogs
New entries
New comments
Blog list
Search blogs
Chat
Top chatters
Search
Search titles only
By:
Search titles only
By:
Log in
Register
New posts
Search forums
Log in
Register
Home
Forums
PC, Console & Handheld Discussions
Nintendo Switch
Fire Emblem: Three Houses General Hacking
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="nhannaruto" data-source="post: 8860325" data-attributes="member: 498745"><p>[USER=310561]@Falo[/USER] I think I got why all NG+ record is overwritten by the new Save Editor. I checked the <strong>Player</strong> data definition and found out that you have commented out some of the variables which are supposed to fill up the remaining bytes of <strong>Player</strong> data.</p><p></p><p>I then tried to replace those commented variables with one variable <strong>new_game_plus_related</strong> with the exact amount of 2391 bytes to fill up the remaining bytes. Now the NG+ record has come back as expected.</p><p></p><p>Hope you can also check to see if this will fix the bug totally. So far I can use the editor normally again.</p><p></p><p>[CODE][StructLayout(LayoutKind.Sequential, Pack = 1, Size = SIZE)]</p><p>public struct Player</p><p>{</p><p> public const int SIZE = 0x1EC8;</p><p> public const int COUNT_SUPPORT = 270;</p><p></p><p> [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x18)]</p><p> public byte[] field_0;</p><p></p><p> [MarshalAs(UnmanagedType.ByValArray, SizeConst = 5)]</p><p> public CharacterDataPart1[] OnlineCharacter; //0x18</p><p></p><p> [MarshalAs(UnmanagedType.ByValArray, SizeConst = 48)]</p><p> public byte[] field_888; //0x888</p><p></p><p> [MarshalAs(UnmanagedType.ByValArray, SizeConst = 48)]</p><p> public byte[] field_8B8; //0x8B8</p><p></p><p> [MarshalAs(UnmanagedType.ByValArray, SizeConst = 48)]</p><p> public byte[] field_8E8; //0x8E8</p><p></p><p> [MarshalAs(UnmanagedType.ByValArray, SizeConst = 48)]</p><p> public byte[] field_918; //0x918</p><p></p><p> [MarshalAs(UnmanagedType.ByValArray, SizeConst = 232)]</p><p> public byte[] field_948; //0x948</p><p></p><p> [MarshalAs(UnmanagedType.ByValArray, SizeConst = 200)]</p><p> public Battalion[] Battalions; //0xA30</p><p></p><p> public uint Playtime, Money, field_1078, Chapter;</p><p></p><p> [MarshalAs(UnmanagedType.ByValArray, SizeConst = COUNT_SUPPORT)]</p><p> public ushort[] CharacterSupportValues;</p><p></p><p> public byte Difficulty, Gamestyle, Route, field_1283, MapID;</p><p></p><p> [MarshalAs(UnmanagedType.ByValArray, SizeConst = 272)]</p><p> public byte[] field_1285;</p><p></p><p> [MarshalAs(UnmanagedType.ByValArray, SizeConst = 223)]</p><p> public byte[] MiscItems; //0x1395</p><p></p><p> [MarshalAs(UnmanagedType.ByValArray, SizeConst = 225)]</p><p> public byte[] GiftItems; //0x1474</p><p></p><p> [MarshalAs(UnmanagedType.ByValArray, SizeConst = 2391)]</p><p> public byte[] new_game_plus_related; // Fill up all the remaining bytes in Player class</p><p></p><p> /*</p><p> [MarshalAs(UnmanagedType.ByValArray, SizeConst = 5)]</p><p> public byte[] field_1555;</p><p> [MarshalAs(UnmanagedType.ByValArray, SizeConst = 256)]</p><p> public short[] field_155A;</p><p> [MarshalAs(UnmanagedType.ByValArray, SizeConst = 20)]</p><p> public short[] field_175A;</p><p> [MarshalAs(UnmanagedType.ByValArray, SizeConst = 1860)]</p><p> public byte[] field_1782;</p><p> public short field_1EC6;</p><p> */</p><p></p><p> public string GetPlaytime()</p><p> {</p><p> return $"{Playtime / 3600}:{Playtime % 3600 / 60}";</p><p> }</p><p>}[/CODE]</p></blockquote><p></p>
[QUOTE="nhannaruto, post: 8860325, member: 498745"] [USER=310561]@Falo[/USER] I think I got why all NG+ record is overwritten by the new Save Editor. I checked the [B]Player[/B] data definition and found out that you have commented out some of the variables which are supposed to fill up the remaining bytes of [B]Player[/B] data. I then tried to replace those commented variables with one variable [B]new_game_plus_related[/B] with the exact amount of 2391 bytes to fill up the remaining bytes. Now the NG+ record has come back as expected. Hope you can also check to see if this will fix the bug totally. So far I can use the editor normally again. [CODE][StructLayout(LayoutKind.Sequential, Pack = 1, Size = SIZE)] public struct Player { public const int SIZE = 0x1EC8; public const int COUNT_SUPPORT = 270; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x18)] public byte[] field_0; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 5)] public CharacterDataPart1[] OnlineCharacter; //0x18 [MarshalAs(UnmanagedType.ByValArray, SizeConst = 48)] public byte[] field_888; //0x888 [MarshalAs(UnmanagedType.ByValArray, SizeConst = 48)] public byte[] field_8B8; //0x8B8 [MarshalAs(UnmanagedType.ByValArray, SizeConst = 48)] public byte[] field_8E8; //0x8E8 [MarshalAs(UnmanagedType.ByValArray, SizeConst = 48)] public byte[] field_918; //0x918 [MarshalAs(UnmanagedType.ByValArray, SizeConst = 232)] public byte[] field_948; //0x948 [MarshalAs(UnmanagedType.ByValArray, SizeConst = 200)] public Battalion[] Battalions; //0xA30 public uint Playtime, Money, field_1078, Chapter; [MarshalAs(UnmanagedType.ByValArray, SizeConst = COUNT_SUPPORT)] public ushort[] CharacterSupportValues; public byte Difficulty, Gamestyle, Route, field_1283, MapID; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 272)] public byte[] field_1285; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 223)] public byte[] MiscItems; //0x1395 [MarshalAs(UnmanagedType.ByValArray, SizeConst = 225)] public byte[] GiftItems; //0x1474 [MarshalAs(UnmanagedType.ByValArray, SizeConst = 2391)] public byte[] new_game_plus_related; // Fill up all the remaining bytes in Player class /* [MarshalAs(UnmanagedType.ByValArray, SizeConst = 5)] public byte[] field_1555; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 256)] public short[] field_155A; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 20)] public short[] field_175A; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 1860)] public byte[] field_1782; public short field_1EC6; */ public string GetPlaytime() { return $"{Playtime / 3600}:{Playtime % 3600 / 60}"; } }[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
PC, Console & Handheld Discussions
Nintendo Switch
Fire Emblem: Three Houses General Hacking
General chit-chat
Help
Users
Settings
Notifications
Miscellaneous
Inverse message direction
Display editor on top
Enable maximized mode
Display images as links
Hide bot messages
Hide statuses
Hide chatter list
Show messages from ignored users
Temporarily disable chat
Receive mention alerts
Sound notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Desktop notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Options
Options
View top chatters
BakerMan
Loading…
I rather enjoy a life of taking it easy. I haven't reached that life yet though.
@
Xdqwerty
:
ok im the host this time
Yesterday at 10:58 PM
@
Xdqwerty
:
https://garticphone.com/en/?c=0013ff1238
Yesterday at 10:58 PM
@
Xdqwerty
:
nobody?
Yesterday at 10:59 PM
@
Xdqwerty
:
ok then no
Yesterday at 11:01 PM
@
Xdqwerty
:
sigh
Yesterday at 11:16 PM
@
Sicklyboy
:
sup nerds
Today at 12:22 AM
@
Xdqwerty
:
@Sicklyboy
, hi
Today at 12:23 AM
@
Sicklyboy
:
How you doin xdq?
Today at 12:30 AM
@
Xdqwerty
:
@Sicklyboy
, not that bad ig
+1
Today at 12:34 AM
@
Sicklyboy
:
Good to hear
Today at 12:38 AM
@
Sicklyboy
:
Lazy day for me. Was gonna go grocery shopping but it's raining so I don't feel like going out. Listened to music and messed with server stuff instead
Today at 12:38 AM
@
Xdqwerty
:
@Sicklyboy
, and i have school tommorrow cuz its sunday
Today at 12:39 AM
@
Sicklyboy
:
I feel that, I got work tomorrow
Today at 12:39 AM
@
Xdqwerty
:
@Sicklyboy
,
atleast you get paid
Today at 12:42 AM
@
Sicklyboy
:
I feel like school, back when I was actually in school, was more entertaining though, because of how much I get to interact with people, hang out with friends, and other stuff like that. All I get to talk to at work is my boring coworkers lol
Today at 12:46 AM
@
Sicklyboy
:
Getting paid is definitely a plus, though
+2
Today at 12:47 AM
@
Psionic Roshambo
:
20 dollars is 20 dollars lol
Today at 12:47 AM
@
Psionic Roshambo
:
https://m.youtube.com/watch?v=6aie4...1dCAyMCBkb2xsYXJzIGlzIDIwIGRvbGxhcnMgbWVtZQ==
+1
Today at 12:49 AM
@
Xdqwerty
:
yawn
Today at 1:16 AM
@
K3Nv2
:
https://youtu.be/sGvT5FKSiyk?si=TYqsdjjbF-4N8Xc8
Today at 1:31 AM
@
BakerMan
:
laye to the paryy?
29 minutes ago
@
BakerMan
:
wow that was my best attempt at typing "late to the party?" with my eyes closed
29 minutes ago
@
BakerMan
:
know what, here's another attempt
28 minutes ago
@
BakerMan
:
laye to the party?
28 minutes ago
@
BakerMan
:
damn
28 minutes ago
Submit
@
BakerMan
:
damn
28 minutes ago
Chat
1