Skip to content

Commit

Permalink
Move to version 5.0.3
Browse files Browse the repository at this point in the history
- Mii profile section added
(gender, nickname, favorite color can be edited) issue #135
- Now you will back to menu if a Mii is edited
  • Loading branch information
Brionjv committed Jul 23, 2022
1 parent 6c793dd commit f744dd0
Show file tree
Hide file tree
Showing 28 changed files with 2,483 additions and 80 deletions.
10 changes: 8 additions & 2 deletions Issues.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Warning : A version of Checkpoint and JK's Save Manager can cause some troubles see issue #36
Warning :

- A version of Checkpoint and JK's Save Manager can cause some troubles see issue #36
-> How to fix : Test with JK's save manager or Checkpoint
If not working contact developper of these tools
If not working contact developper of these tools

- Labels in relationships section can stay as "???" if your mii relationships levels as default see issue #139
-> Informations : this little bug is only visual, your save file will not be corrupted if you click on save button
-> How to fix : you can click on "???" label and switch your Mii to see the good information
646 changes: 642 additions & 4 deletions Tomodachi Life Save Editor/TLSE_crcxmodem.Designer.vb

Large diffs are not rendered by default.

1,371 changes: 1,370 additions & 1 deletion Tomodachi Life Save Editor/TLSE_crcxmodem.vb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Tomodachi Life Save Editor/TLSE_hub.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

152 changes: 85 additions & 67 deletions Tomodachi Life Save Editor/TLSE_miiprofile.Designer.vb

Large diffs are not rendered by default.

117 changes: 114 additions & 3 deletions Tomodachi Life Save Editor/TLSE_miiprofile.vb
Original file line number Diff line number Diff line change
Expand Up @@ -1530,9 +1530,9 @@ Public Class TLSE_miiprofile
Private Sub valu_favcolor_ValueChanged(sender As Object, e As EventArgs) Handles valu_favcolor.ValueChanged
Try
ConvertB_favcolor.Text = Convert.ToString(Convert.ToUInt32(valu_favcolor.Value), 2).PadLeft(8, "0")
Binary_fc_unknow1.Text = ConvertB_favcolor.Text.Substring(0, 1)
Binary_favcolor.Text = ConvertB_favcolor.Text.Substring(1, 4)
Binary_fc_unknow2.Text = ConvertB_favcolor.Text.Substring(5, 3)
Binary_fc_unknow1.Text = ConvertB_favcolor.Text.Substring(0, 2)
Binary_favcolor.Text = ConvertB_favcolor.Text.Substring(2, 4)
Binary_fc_unknow2.Text = ConvertB_favcolor.Text.Substring(5, 2)
Catch ex As Exception
TLSE_dialog.Text_TLSE_dialog.Text = "Failed to convert favorite color to binary"
TLSE_dialog.ShowDialog()
Expand Down Expand Up @@ -5858,4 +5858,115 @@ Public Class TLSE_miiprofile
Private Sub TLSE_miiprofile_Shown(sender As Object, e As EventArgs) Handles Me.Shown
DetectMiiregistered()
End Sub

Private Sub Warning_actualisld_Click(sender As Object, e As EventArgs) Handles Warning_actualisld.Click
TLSE_dialog.Text_TLSE_dialog.Text = "Edit in hexadecimal and enter max characters"
TLSE_dialog.ShowDialog()
End Sub

Private Sub Warning_tlsysid_Click(sender As Object, e As EventArgs) Handles Warning_tlsysid.Click
TLSE_dialog.Text_TLSE_dialog.Text = "Edit in hexadecimal and enter max characters"
TLSE_dialog.ShowDialog()
End Sub

Private Sub Warning_originisld_Click(sender As Object, e As EventArgs) Handles Warning_originisld.Click
TLSE_dialog.Text_TLSE_dialog.Text = "Edit in hexadecimal and enter max characters"
TLSE_dialog.ShowDialog()
End Sub

Private Sub Warning_miisysid_Click(sender As Object, e As EventArgs) Handles Warning_miisysid.Click
TLSE_dialog.Text_TLSE_dialog.Text = "Edit in hexadecimal and enter max characters"
TLSE_dialog.ShowDialog()
End Sub

Private Sub Text_menu_save_Click(sender As Object, e As EventArgs) Handles Text_menu_save.Click
Mergebinarycopying()
Mergebinaryfavcolor()
Mergebinarygender()
Mergebinarysharing()
Writemiiprofile()
If TLSE_logo_update.Visible = True Then
TLSE_hub.TLSE_logo_update.Visible = True
End If
TLSE_crcxmodem.Show()
Me.Close()
End Sub

Public Sub Writemiiprofile()
Try
Dim Writedata As New PackageIO.Writer(savedataArc, PackageIO.Endian.Little)
For i = 0 To 29
Writedata.Position = firstname + i
Writedata.WriteInt8(0)
Next
Writedata.Position = firstname
Writedata.WriteUnicodeString(Text_firstname.Text)
For i = 0 To 29
Writedata.Position = lastname + i
Writedata.WriteInt8(0)
Next
Writedata.Position = lastname
Writedata.WriteUnicodeString(Text_lastname.Text)
For i = 0 To 19
Writedata.Position = nickname + i
Writedata.WriteInt8(0)
Next
Writedata.Position = nickname
Writedata.WriteUnicodeString(Text_nickname.Text)
If Filever_text.Text = "EU" Or Filever_text.Text = "US" Or Filever_text.Text = "KR" Then
For i = 0 To 39
Writedata.Position = pronunnickname + i
Writedata.WriteInt8(0)
Next
Writedata.Position = pronunnickname
Writedata.WriteUnicodeString(Text_pronun_nickname.Text)
For i = 0 To 59
Writedata.Position = pronunfirstname + i
Writedata.WriteInt8(0)
Next
Writedata.Position = pronunfirstname
Writedata.WriteUnicodeString(Text_pronun_firstname.Text)
For i = 0 To 59
Writedata.Position = pronunlastname + i
Writedata.WriteInt8(0)
Next
Writedata.Position = pronunlastname
Writedata.WriteUnicodeString(Text_pronun_lastname.Text)
End If
For i = 0 To 19
Writedata.Position = creator + i
Writedata.WriteInt8(0)
Next
Writedata.Position = creator
Writedata.WriteUnicodeString(Text_creator.Text)
Writedata.Position = miisysid
Writedata.WriteHexString(Text_MiisysID.Text)
Writedata.Position = TLmiisysid
Writedata.WriteHexString(Text_TLMiisysID.Text)
Writedata.Position = originisland
Writedata.WriteHexString(Text_originisld.Text)
Writedata.Position = actualisland
Writedata.WriteHexString(Text_actualIsld.Text)
Writedata.Flush()
Dim fs As New FileStream(savedataArc, FileMode.Open, FileAccess.ReadWrite, FileShare.ReadWrite)
fs.Position = sharing
fs.WriteByte(valu_sharing.Value)
fs.Position = copying
fs.WriteByte(valu_copying.Value)
fs.Position = gender
fs.WriteByte(valu_gender.Value)
fs.Position = favcolor
fs.WriteByte(valu_favcolor.Value)
fs.Position = relationyou
fs.WriteByte(valu_relationyou.Value)
fs.Position = growkid
fs.WriteByte(valu_growkid.Value)
fs.Flush()
TLSE_dialog.Text_TLSE_dialog.Text = "Mii profile has been successfully edited"
TLSE_dialog.ShowDialog()
Catch ex As Exception
TLSE_dialog.Text_TLSE_dialog.Text = "Failed to edit mii profile"
TLSE_dialog.ShowDialog()
End Try
End Sub
End Class
9 changes: 9 additions & 0 deletions Tomodachi Life Save Editor/TLSE_travelers_status.vb
Original file line number Diff line number Diff line change
Expand Up @@ -5767,6 +5767,15 @@ Public Class TLSE_travelers_status

Private Sub Text_menu_save_Click(sender As Object, e As EventArgs) Handles Text_menu_save.Click
Writetravelers()
If TLSE_logo_update.Visible = True Then
TLSE_hub.TLSE_logo_update.Visible = True
End If
TLSE_hub.Show()
TLSE_hub.Filever_text.Text = Filever_text.Text
TLSE_hub.TLSE_filepath.Text = TLSE_filepath.Text
TLSE_hub.TLSE_menu.Visible = False
TLSE_hub.TLSE_menu_travelersedit.Visible = True
Me.Close()
End Sub

Private Sub Menuflow_text_itemsedition_Click(sender As Object, e As EventArgs) Handles Menuflow_text_itemsedition.Click
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
125 changes: 125 additions & 0 deletions Tomodachi Life Save Editor/bin/Release/Tomodachi Life Save Editor.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ba31b3b89496c4c6b7f62554b00688b019245603
5abd0c8f59dfad2347759706839e750d04e10f63
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ C:\Users\brice\source\repos\Tomodachi Life Save Editor\Tomodachi Life Save Edito
C:\Users\brice\source\repos\Tomodachi Life Save Editor\Tomodachi Life Save Editor\obj\Release\Tomodachi_Life_Save_Editor.TLSE_interactions.resources
C:\Users\brice\source\repos\Tomodachi Life Save Editor\Tomodachi Life Save Editor\obj\Release\Tomodachi_Life_Save_Editor.TLSE_issueslegends.resources
C:\Users\brice\source\repos\Tomodachi Life Save Editor\Tomodachi Life Save Editor\obj\Release\Tomodachi_Life_Save_Editor.TLSE_itemsprovenance.resources
C:\Users\brice\source\repos\Tomodachi Life Save Editor\Tomodachi Life Save Editor\obj\Release\Tomodachi_Life_Save_Editor.TLSE_crcxmodem.resources
C:\Users\brice\source\repos\Tomodachi Life Save Editor\Tomodachi Life Save Editor\obj\Release\Tomodachi_Life_Save_Editor.TLSE_miiprofile.resources
Binary file not shown.
Loading

0 comments on commit f744dd0

Please sign in to comment.