diff --git a/images/Squirrel Comp 1.png b/images/Squirrel Comp 1.png new file mode 100644 index 0000000..617ffc1 Binary files /dev/null and b/images/Squirrel Comp 1.png differ diff --git a/images/Squirrel Comp 10.png b/images/Squirrel Comp 10.png new file mode 100644 index 0000000..a1fa7bd Binary files /dev/null and b/images/Squirrel Comp 10.png differ diff --git a/images/Squirrel Comp 11.png b/images/Squirrel Comp 11.png new file mode 100644 index 0000000..4abd2ae Binary files /dev/null and b/images/Squirrel Comp 11.png differ diff --git a/images/Squirrel Comp 12.png b/images/Squirrel Comp 12.png new file mode 100644 index 0000000..3681cd6 Binary files /dev/null and b/images/Squirrel Comp 12.png differ diff --git a/images/Squirrel Comp 13.png b/images/Squirrel Comp 13.png new file mode 100644 index 0000000..87be6bc Binary files /dev/null and b/images/Squirrel Comp 13.png differ diff --git a/images/Squirrel Comp 15.png b/images/Squirrel Comp 15.png new file mode 100644 index 0000000..892249f Binary files /dev/null and b/images/Squirrel Comp 15.png differ diff --git a/images/Squirrel Comp 16.png b/images/Squirrel Comp 16.png new file mode 100644 index 0000000..f38f8a3 Binary files /dev/null and b/images/Squirrel Comp 16.png differ diff --git a/images/Squirrel Comp 2.png b/images/Squirrel Comp 2.png new file mode 100644 index 0000000..8617390 Binary files /dev/null and b/images/Squirrel Comp 2.png differ diff --git a/images/Squirrel Comp 3.png b/images/Squirrel Comp 3.png new file mode 100644 index 0000000..2d8f4fe Binary files /dev/null and b/images/Squirrel Comp 3.png differ diff --git a/images/Squirrel Comp 4.png b/images/Squirrel Comp 4.png new file mode 100644 index 0000000..5cd9578 Binary files /dev/null and b/images/Squirrel Comp 4.png differ diff --git a/images/Squirrel Comp 5.png b/images/Squirrel Comp 5.png new file mode 100644 index 0000000..de1ddfd Binary files /dev/null and b/images/Squirrel Comp 5.png differ diff --git a/images/Squirrel Comp 6.png b/images/Squirrel Comp 6.png new file mode 100644 index 0000000..0605cd5 Binary files /dev/null and b/images/Squirrel Comp 6.png differ diff --git a/images/Squirrel Comp 7.png b/images/Squirrel Comp 7.png new file mode 100644 index 0000000..c7dbc75 Binary files /dev/null and b/images/Squirrel Comp 7.png differ diff --git a/images/Squirrel Comp 8.png b/images/Squirrel Comp 8.png new file mode 100644 index 0000000..c2b5091 Binary files /dev/null and b/images/Squirrel Comp 8.png differ diff --git a/images/Squirrel Comp 9.png b/images/Squirrel Comp 9.png new file mode 100644 index 0000000..f756c7c Binary files /dev/null and b/images/Squirrel Comp 9.png differ diff --git a/mmbn5m.lps b/mmbn5m.lps index 632dbff..2e5377d 100644 --- a/mmbn5m.lps +++ b/mmbn5m.lps @@ -48,7 +48,7 @@ - + @@ -59,9 +59,9 @@ - - - + + + @@ -70,123 +70,11 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -195,6 +83,118 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/rooms.ini b/rooms.ini index 895196a..55cbdc4 100644 --- a/rooms.ini +++ b/rooms.ini @@ -43,3 +43,38 @@ 384=Main Comp 2 769=Op Room 652=Kitchen Comp +2=Oran Island +258=Old Mine +2050=Old Mine 6 +770=Old Mine 1 +1026=Old Mine 2 +1282=Old Mine 3 +1538=Old Mine 4 +2700=Air Filter Comp +1794=Old Mine 5 +2306=Old Mine 7 +129=Drill Comp 1 +514=Big Cave +2562=Old Mine 8 +385=Drill Comp 2 +641=Drill Comp 3 +2818=Old Mine 9 +908=Electronic Lock Comp +5=Regal Base 1 +142=Squirrel Comp 1 +398=Squirrel Comp 2 +654=Squirrel Comp 3 +1166=Squirrel Comp 5 +910=Squirrel Comp 4 +1678=Squirrel Comp 7 +1934=Squirrel Comp 8 +2190=Squirrel Comp 9 +2446=Squirrel Comp 10 +2958=Squirrel Comp 12 +3726=Squirrel Comp 15 +2702=Squirrel Comp 11 +3214=Squirrel Comp 13 +3470=Squirrel Comp 14 +3982=Squirrel Comp 16 +1536=Higsby's +1422=Squirrel Comp 6 diff --git a/unit1.lfm b/unit1.lfm index e1e835e..a020d58 100644 --- a/unit1.lfm +++ b/unit1.lfm @@ -1,12 +1,12 @@ object Form1: TForm1 Left = 802 - Height = 461 + Height = 448 Top = 496 - Width = 548 + Width = 528 BorderStyle = bsSingle Caption = 'MMBN5M' - ClientHeight = 461 - ClientWidth = 548 + ClientHeight = 448 + ClientWidth = 528 Font.CharSet = ANSI_CHARSET Font.Height = -16 Font.Pitch = fpVariable diff --git a/unit1.pas b/unit1.pas index dc6e3d1..ec7e20b 100644 --- a/unit1.pas +++ b/unit1.pas @@ -102,6 +102,8 @@ var process_list: TStrings; room: smallint = -1; // contains current room 16-bit value last_room: smallint = -1; + room_name: string; + new_room: bool; {$R *.lfm} @@ -165,8 +167,6 @@ begin end; procedure TForm1.Timer1Timer(Sender: TObject); -var - room_name: string; begin if hProcess <> 0 then @@ -174,8 +174,9 @@ begin try if ReadMemory(hProcess, Pointer($80205FF4), room, SizeOf(room)) then begin - if last_room <> room then + if (last_room <> room) or (new_room) then begin + new_room := false; last_room := room; room_name := ROOMS.ReadString('Rooms', IntToStr(room), 'Unknown'); room_name_label.Caption := 'Room #' + IntToStr(room) + ': ' + room_name; @@ -205,10 +206,12 @@ procedure TForm1.edit_room_buttonClick(Sender: TObject); var new_room_name: string; begin + new_room_name := room_name; if InputQuery('Editing Room # ' + IntToStr(room), 'Enter this Room''s name', new_room_name) then begin ROOMS.WriteString('Rooms', IntToStr(room), new_room_name); + new_room := true; end; end;