Code now compiles, but will need to test and bugfix extensively.
Need to pre-fill the pixel buffers with sea first unless the acre fill actually works (maybe?)
Items need to be relative'd to apply 1 row lower, and skip the bottom row.
Need to check that terrain is the same as well.

Note to self:
For Map - probably better to get a starting x,y,width and iterate off that, fetching tile from relative, converting to absolute... idk.
For View - need to check if tile is in layer.
This commit is contained in:
Kurt
2026-01-19 23:12:59 -06:00
parent 50ce05af6f
commit 0ce31ca895
21 changed files with 1738 additions and 1617 deletions

View File

@@ -1,7 +1,7 @@
using System.Linq;
using System;
using System.Linq;
using System.Windows.Forms;
using NHSE.Core;
using NHSE.Injection;
namespace NHSE.WinForms;
@@ -17,10 +17,10 @@ public SimpleHexEditor(byte[] originalBytes)
Bytes = originalBytes;
}
private void Update_Click(object sender, System.EventArgs e)
private void Update_Click(object sender, EventArgs e)
{
var bytestring = RTB_RAM.Text.Replace("\t", "").Replace(" ", "").Trim();
Bytes = Decoder.StringToByteArray(bytestring);
Bytes = Convert.FromHexString(bytestring);
DialogResult = DialogResult.OK;
Close();
}