Skip to content

Commit

Permalink
Merge pull request #310 from DorielRivalet/release
Browse files Browse the repository at this point in the history
Release v0.37.1
  • Loading branch information
DorielRivalet authored Feb 28, 2024
2 parents a856398 + 402b719 commit 2d8fcbc
Show file tree
Hide file tree
Showing 8 changed files with 285 additions and 239 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@


## [0.37.1](https://github.com/DorielRivalet/MHFZ_Overlay/compare/v0.37.0...v0.37.1) (2024-02-28)


### Bug Fixes

* game patches ([4dab1a4](https://github.com/DorielRivalet/MHFZ_Overlay/commit/4dab1a46c2b8c6af78c1431eb496a8212803dc9b))


### For Developers

* bump version ([5786589](https://github.com/DorielRivalet/MHFZ_Overlay/commit/57865899e80b0de24be75a20f46973b0ce1ecc8f))
* update FAQ.md ([ac1918a](https://github.com/DorielRivalet/MHFZ_Overlay/commit/ac1918aac18b798e29dae3f9fddf15c3cb297199))
* update FAQ.md ([8ba94fb](https://github.com/DorielRivalet/MHFZ_Overlay/commit/8ba94fbff3f7e845ce9d1c42e7a31af7f748b548))
* update README.md ([873d7d7](https://github.com/DorielRivalet/MHFZ_Overlay/commit/873d7d731e6bb20117e41a5f380c32aee6e1e3d7))

## [0.37.0](https://github.com/DorielRivalet/MHFZ_Overlay/compare/v0.36.1...v0.37.0) (2024-02-22)


Expand Down
422 changes: 212 additions & 210 deletions FAQ.md

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions MHFZ_Overlay/MHFZ_Overlay.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<Product>MHFZ Overlay</Product>
<Copyright>Doriel Rivalet</Copyright>
<Authors>Doriel Rivalet</Authors>
<Version>0.37.0</Version>
<Version>0.37.1</Version>
<PackageProjectUrl>https://github.com/DorielRivalet/mhfz-overlay</PackageProjectUrl>
<RepositoryUrl>https://github.com/DorielRivalet/mhfz-overlay.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand Down Expand Up @@ -1949,7 +1949,7 @@
<PackageReference Include="Memory.dll.x86" Version="1.2.26" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="8.0.0" />
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2277.86" />
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2365.46" />
<PackageReference Include="MouseKeyHook" Version="5.7.1" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="NLog" Version="5.2.8" />
Expand All @@ -1958,7 +1958,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Octokit" Version="9.1.2" />
<PackageReference Include="Octokit" Version="10.0.0" />
<PackageReference Include="RESTCountries.NET" Version="3.1.0" />
<PackageReference Include="ShowMeTheXAML.MSBuild" Version="2.0.0" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
Expand All @@ -1967,7 +1967,7 @@
</PackageReference>
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.118" />
<PackageReference Include="System.Drawing.Common" Version="8.0.2" />
<PackageReference Include="Velopack" Version="0.0.327" />
<PackageReference Include="Velopack" Version="0.0.340" />
<PackageReference Include="VirtualizingWrapPanel" Version="2.0.5" />
<PackageReference Include="WPF-UI" Version="3.0.0" />
<PackageReference Include="WPF-UI.Tray" Version="3.0.0-preview.11" />
Expand Down
4 changes: 2 additions & 2 deletions MHFZ_Overlay/Models/Collections/QuestsGamePatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ public static class QuestsGamePatches
},
{ "5B70CE51EC6F95337B615C76C8BE8A0C42B16B14ED698739ADC097C4C507503E", new Dictionary<GamePatch, GamePatchLanguage>()
{
{ GamePatch.Vanilla, GamePatchLanguage.JA }
{ GamePatch.Otyav1_1, GamePatchLanguage.JA }
}
},
{ "1755B8C5DA0D488901BF4FC7179E0B036AC6F9C936C7CA5911C693119173F8E5", new Dictionary<GamePatch, GamePatchLanguage>()
{
{ GamePatch.Vanilla, GamePatchLanguage.JA }
{ GamePatch.Mezelounge, GamePatchLanguage.EN }
}
},
{ "A90B90E6A66F1983C1807DB1298EF2BF94BFD05681021307C8F4213BBE31B890", new Dictionary<GamePatch, GamePatchLanguage>()
Expand Down
38 changes: 33 additions & 5 deletions MHFZ_Overlay/Services/DatabaseService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16491,32 +16491,36 @@ private void MigrateToSchemaFromVersion(SQLiteConnection conn, int fromVersion,
// sqlite3_exec(db, "ALTER TABLE entries ADD COLUMN touched_at TEXT;", NULL, NULL, NULL);
{
this.PerformUpdateToVersion_0_25_0(conn);
// this.EnforceForeignKeys(conn);
newVersion++;
Logger.Info(CultureInfo.InvariantCulture, "Updated schema to version v0.25.0. newVersion {0}", newVersion);
goto case 2;
}
case 2: // 0.34.0
// fix attempts and pb attempts, set partysize default to 1 for the extra attempts from 2p/3p/4p.
this.PerformUpdateToVersion_0_34_0(conn);
// this.EnforceForeignKeys(conn);
newVersion++;
Logger.Info(CultureInfo.InvariantCulture, "Updated schema to version v0.34.0. newVersion {0}", newVersion);
goto case 3;
case 3: // 0.35.0
{
this.PerformUpdateToVersion_0_35_0(conn, dataLoader);
// this.EnforceForeignKeys(conn);
newVersion++;
Logger.Info(CultureInfo.InvariantCulture, "Updated schema to version v0.35.0. newVersion {0}", newVersion);
goto case 4;
}
case 4:// 0.37.0
{
this.PerformUpdateToVersion_0_37_0(conn, dataLoader);
this.EnforceForeignKeys(conn);
newVersion++;
Logger.Info(CultureInfo.InvariantCulture, "Updated schema to version v0.37.0. newVersion {0}", newVersion);
goto case 5;
}
case 5: // 0.37.1
{
this.PerformUpdateToVersion_0_37_1(conn, dataLoader);
this.EnforceForeignKeys(conn);
newVersion++;
Logger.Info(CultureInfo.InvariantCulture, "Updated schema to version v0.37.1. newVersion {0}", newVersion);
break;
}
// case 2://v0.24.0
Expand Down Expand Up @@ -17953,12 +17957,16 @@ private void PerformUpdateToVersion_0_37_0(SQLiteConnection connection, DataLoad

UpdateQuestsObjectiveImage(connection);
UpdateQuestsMonsterDictionaries(connection, dataLoader);
FillQuestsGamePatch(connection, dataLoader);

// for privacy
ChangeGameFolderPath(connection);
}

private void PerformUpdateToVersion_0_37_1(SQLiteConnection connection, DataLoader dataLoader)
{
FillQuestsGamePatch(connection, dataLoader);
}

private void ChangeGameFolderPath(SQLiteConnection conn)
{
if (string.IsNullOrEmpty(this.dataSource))
Expand Down Expand Up @@ -18050,6 +18058,26 @@ private void FillQuestsGamePatch(SQLiteConnection conn, DataLoader dataLoader)
cmd0.ExecuteNonQuery();
}

using (var cmd0 = new SQLiteCommand(conn))
{
cmd0.CommandText = @"DROP TABLE IF EXISTS QuestsGamePatch";
cmd0.ExecuteNonQuery();
}

var sql0 = @"CREATE TABLE IF NOT EXISTS QuestsGamePatch(
QuestsGamePatchID INTEGER PRIMARY KEY AUTOINCREMENT,
mhfdatInfo TEXT NOT NULL DEFAULT '',
mhfemdInfo TEXT NOT NULL DEFAULT '',
mhfodllInfo TEXT NOT NULL DEFAULT '',
mhfohddllInfo TEXT NOT NULL DEFAULT '',
RunID INTEGER NOT NULL,
FOREIGN KEY(RunID) REFERENCES Quests(RunID)
)";
using (var cmd = new SQLiteCommand(sql0, conn))
{
cmd.ExecuteNonQuery();
}

using (var cmd = new SQLiteCommand(conn))
{
cmd.CommandText = "SELECT * FROM GameFolder";
Expand Down
31 changes: 16 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@

---

**[<kbd> <br> :rocket: Install <br> </kbd>](#installation)**
**[<kbd> <br> 📘 Hotkeys<br> </kbd>](#hotkeys)**
**[<kbd> <br> 🕹 Features <br> </kbd>](#features)**
**[<kbd> <br> 🚀 Install <br> </kbd>](#installation)**
**[<kbd> <br> 📘 Hotkeys<br> </kbd>](#hotkeys)**
**[<kbd> <br> 🕹 Features <br> </kbd>](#features)**

---

</div>

- [Monster Hunter Frontier Z Overlay](#monster-hunter-frontier-z-overlay)
Expand Down Expand Up @@ -63,7 +64,7 @@ We hope you find this overlay useful and enjoyable, and we welcome any feedback
### Minimum

- OS: Windows 10 (64-bit)
- Processor: Intel® Core™ i3-4130 or Core™ i5-3470
- Processor: Intel® Core™ i3-4130 or Core™ i5-3470
- Memory: 6 GB RAM
- Storage: 500 MB available space
- Additional Notes: 1080p/30fps when refresh rate is set to 1. System requirements subject to change during software development.
Expand All @@ -82,8 +83,8 @@ If you record and/or stream with the overlay, the recommended processor is Intel

## Installation

1. [Download the latest version from the *Releases*](https://github.com/DorielRivalet/mhfz-overlay/releases/latest/download/MHFZ_Overlay-win-Setup.exe).
2. Make sure *Windows* or your antivirus did not delete the file (because it reads the game's memory, *Windows* might detect it as a trojan, so you might have to get it out of quarantine).
1. [Download the latest version from the _Releases_](https://github.com/DorielRivalet/mhfz-overlay/releases/latest/download/MHFZ_Overlay-win-Setup.exe).
2. Make sure _Windows_ or your antivirus did not delete the file (because it reads the game's memory, _Windows_ might detect it as a trojan, so you might have to get it out of quarantine).
3. Run `MHFZ_Overlay-win-Setup.exe` **as Administrator**.
4. [Bonk monsters!](https://c.tenor.com/60Tr3Zeg6RkAAAAd/fumo-bonk.gif)
5. [Be sure to leave some feedback here!](https://forms.gle/hrAVWMcYS5HEo1v7A)
Expand Down Expand Up @@ -147,11 +148,11 @@ As an alternative to hotkeys, you can use the system tray options by right-click

- If the overlay doesn't seem to load values properly, restart it. If that didn't fix the issue, [please send information here](https://github.com/DorielRivalet/mhfz-overlay/issues).

- Additionally, if information from the overlay is wrong or inaccurate (*e.g.* monster parts labels), feel free to send an issue.
- Additionally, if information from the overlay is wrong or inaccurate (_e.g._ monster parts labels), feel free to send an issue.

## Features

- [x] Monster Effective HP Bars (*e.g.* Burning Freezing Elzelion's 1,000,000 HP!).
- [x] Monster Effective HP Bars (_e.g._ Burning Freezing Elzelion's 1,000,000 HP!).

You can also see the monster icons or renders, and there is an option for automatic bar colors depending on the monster. You can adjust the font size, color, family and weight; in addition to that you can hide/show any sub-component. Includes Hardcore and Unlimited icons.

Expand All @@ -165,7 +166,7 @@ You can also see the monster icons or renders, and there is an option for automa
![Sharpness Numbers 3](./demo/sharpness3.png)

- [x] Quest Timer (Two modes: elapsed time and time left. Down to the milliseconds in accuracy!).
- [x] Hit Count (counts *Reflect*, *Stylish Up*, Heatblade, *Fencing+2* and more!).
- [x] Hit Count (counts _Reflect_, _Stylish Up_, Heatblade, _Fencing+2_ and more!).

![Player Stats](./demo/playerstat1.png)

Expand Down Expand Up @@ -330,7 +331,7 @@ Some sections have context menus where you can save the section contents to a fi
- With Monster EHP enabled, if you cart, the max EHP turns into the current EHP, along with some other stats max values.
- Sometimes when exiting Drag and Drop the monster HP information disappears.
- Spawning in the same area as the monster doesn't load the information properly. Fix: re-enter area.
- Duremudira/Road/Raviente HP not showing. Fix: enable *Always Show Monster Info*, load another quest showing the HP bars (not just the numbers), then retry.
- Duremudira/Road/Raviente HP not showing. Fix: enable _Always Show Monster Info_, load another quest showing the HP bars (not just the numbers), then retry.
- Monster size values not shown correctly.
- Monster HP values are less than the actual values when not loading properly.
- Damage numbers over 1000 not working.
Expand Down Expand Up @@ -422,10 +423,10 @@ We recommend consulting the appropriate documentation file based on your needs.

## Acknowledgements

- This project is directly inspired from the overlay created by [*suzaku01*](https://github.com/suzaku01/mhf_displayer).
- The theme and color palette used for the application is [*Catppuccin Mocha*](https://github.com/catppuccin/catppuccin).
- The design and icons used in this project are part of [*Segoe Fluent Icons*](https://learn.microsoft.com/en-us/windows/apps/design/style/segoe-fluent-icons-font) and [WPF UI](https://github.com/lepoco/wpfui).
- The fonts used is the in-game one, *MS Gothic*. For monospaced, the application uses Source Code Pro and MesloLGM NF. This project also uses Font Awesome's fonts. The Monster Hunter font made by XMitsarugiX comes from [here](https://www.deviantart.com/xmitsarugix/art/Monster-Hunter-Font-Type-1-and-2-380816151).
- This project is directly inspired from the overlay created by [_suzaku01_](https://github.com/suzaku01/mhf_displayer).
- The theme and color palette used for the application is [_Catppuccin Mocha_](https://github.com/catppuccin/catppuccin).
- The design and icons used in this project are part of [_Segoe Fluent Icons_](https://learn.microsoft.com/en-us/windows/apps/design/style/segoe-fluent-icons-font) and [WPF UI](https://github.com/lepoco/wpfui).
- The fonts used is the in-game one, _MS Gothic_. For monospaced, the application uses Source Code Pro and MesloLGM NF. This project also uses Font Awesome's fonts. The Monster Hunter font made by XMitsarugiX comes from [here](https://www.deviantart.com/xmitsarugix/art/Monster-Hunter-Font-Type-1-and-2-380816151).
- Thanks to [Kairi](https://www.youtube.com/@kairi_mhfz) and [Sera](https://www.youtube.com/@Sera9145) for extensive beta testing and early support.
- The combo element icons are made by [Narwhaler](https://fanonmonsterhunter.fandom.com/wiki/User:Narwhaler).
- Additional icons can be found [here](https://fanonmonsterhunter.fandom.com/wiki/Category:Icon).
Expand All @@ -435,4 +436,4 @@ We recommend consulting the appropriate documentation file based on your needs.
<a href="https://github.com/Catppuccin"><img style="border-radius: 50% !important;" alt="Avatar" src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/logos/exports/1544x1544_circle.png" width="64px" height="auto" ></a>
<a href="https://github.com/lepoco/wpfui"><img style="background-color:#eff1f5" alt="Avatar" src="https://avatars.githubusercontent.com/u/87412094?s=200&v=4" width="64px" height="auto" ></a>
<a href="https://www.youtube.com/@kairi_mhfz"><img style="border-radius: 50% !important;" alt="Avatar" src="https://yt3.googleusercontent.com/ytc/AOPolaQWKx3GIOgWWRu9YCHBI7lrkFjT2NxLP45IlnSM=s176-c-k-c0x00ffffff-no-rj" width="64px" height="auto" ></a>
<a href="https://www.youtube.com/@Sera9145"><img style="border-radius: 50% !important;" alt="Avatar" src="https://yt3.googleusercontent.com/wf-Z4qoC9sCtf6b7Kp1SOfGAK9z2Ptneb8xfYwRNljvsQDd-8jaUNWeogBUDAFkMuohzLh6nEK4=s176-c-k-c0x00ffffff-no-rj" width="64px" height="auto" ></a>
<a href="https://www.youtube.com/@Sera9145"><img style="border-radius: 50% !important;" alt="Avatar" src="https://yt3.googleusercontent.com/2PmblC16_LZtoziuCn9ZMbivRpkLXi60t44bhp3WSl3KB_ShbDvvek-hRfZgfbf2HDOYetDP=s176-c-k-c0x00ffffff-no-rj" width="64px" height="auto" ></a>
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mhfz_overlay",
"version": "0.37.0",
"version": "0.37.1",
"description": "[![Monster Hunter Frontier Z Overlay v0.21.0 Preview](./demo/youtubepreview1.jpg)](https://www.youtube.com/watch?v=A9ffbRICqZY \"Monster Hunter Frontier Z Overlay v0.21.0 Preview\")",
"main": "MHFZ_Overlay.sln",
"scripts": {
Expand Down

0 comments on commit 2d8fcbc

Please sign in to comment.