Skip to content

Commit

Permalink
Merge pull request #352 from DorielRivalet/release
Browse files Browse the repository at this point in the history
 Release v0.40.0
  • Loading branch information
DorielRivalet authored Jun 19, 2024
2 parents f1e59ed + 2c79879 commit 96d14c5
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 12 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@


## [0.40.0](https://github.com/DorielRivalet/MHFZ_Overlay/compare/v0.39.1...v0.40.0) (2024-06-19)


### Features

* change discord button overlay link ([08bb19d](https://github.com/DorielRivalet/MHFZ_Overlay/commit/08bb19dc3ae829e70e3c532448875d3cb965b9bb))
* update discord button link in template ([57e75bf](https://github.com/DorielRivalet/MHFZ_Overlay/commit/57e75bfb353e80583fb94e3050f39c5deffdd07e))


### For Developers

* update discord images ([756649b](https://github.com/DorielRivalet/MHFZ_Overlay/commit/756649b4432947208a24b6edd71e14c11dadf6cc))

## [0.39.1](https://github.com/DorielRivalet/MHFZ_Overlay/compare/v0.39.0...v0.39.1) (2024-06-19)


### Bug Fixes

* discord alternative monster icons ([0d60f49](https://github.com/DorielRivalet/MHFZ_Overlay/commit/0d60f49633572b6da036690d059841cd4960225b))


### For Developers

* bump version ([b0d0800](https://github.com/DorielRivalet/MHFZ_Overlay/commit/b0d08000c1cee7194c6cbbbe32fc95ca99de7732))

## [0.39.0](https://github.com/DorielRivalet/MHFZ_Overlay/compare/v0.38.0...v0.39.0) (2024-06-18)


Expand Down
2 changes: 1 addition & 1 deletion FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Use the preset option found in the General tab. Keep reading if you want to know

**Important**: It is recommended to make a backup of the `MHFZ_Overlay.sqlite` file periodically. The file is located inside the database folder, which is inside your game folder. Don't lose your speedrun records!

![Discord Rich Presence](./demo/discord8.png)
![Discord Rich Presence](./demo/discord8.gif)

- Zen Mode: Disable **everything** (Monster Icon and Discord Rich Presence optional)

Expand Down
2 changes: 1 addition & 1 deletion 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.39.0</Version>
<Version>0.40.0</Version>
<PackageProjectUrl>https://github.com/DorielRivalet/mhfz-overlay</PackageProjectUrl>
<RepositoryUrl>https://github.com/DorielRivalet/mhfz-overlay.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand Down
6 changes: 3 additions & 3 deletions MHFZ_Overlay/Services/DiscordService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ private static string GetTruncatedString(string input, int maxLength)
},
Buttons = new Button[]
{
new Button() { Label = "【MHF-Z】Overlay " + Program.CurrentProgramVersion, Url = "https://github.com/DorielRivalet/mhfz-overlay" },
new Button() { Label = "【MHF-Z】Overlay " + Program.CurrentProgramVersion, Url = "https://wycademy.vercel.app/overlay" },
new Button() { Label = "Discord RPC C# Dev Site", Url = "https://lachee.dev/" },
},
};
Expand Down Expand Up @@ -162,7 +162,7 @@ public static void InitializeDiscordRPC()
new Button()
{
Label = "【MHF-Z】Overlay " + Program.CurrentProgramVersion,
Url = "https://github.com/DorielRivalet/mhfz-overlay",
Url = "https://wycademy.vercel.app/overlay",
},
new Button()
{
Expand All @@ -180,7 +180,7 @@ public static void InitializeDiscordRPC()
new Button()
{
Label = "【MHF-Z】Overlay " + Program.CurrentProgramVersion,
Url = "https://github.com/DorielRivalet/mhfz-overlay",
Url = "https://wycademy.vercel.app/overlay",
},
new Button()
{
Expand Down
6 changes: 3 additions & 3 deletions MHFZ_Overlay/ViewModels/Windows/AddressModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4954,7 +4954,7 @@ public string DetermineMonsterImage(int id, bool forDiscord = false)
}
else
{
return this.GetAlternateMonsterImage(id);
return this.GetAlternateMonsterImage(id, forDiscord);
}
}
else
Expand Down Expand Up @@ -10709,9 +10709,9 @@ public string GetDivaSkillForImage

public string GetPoogieItemForImage => GetItemName(this.PoogieItemUseID());

public string GetAlternateMonsterImage(int id)
public string GetAlternateMonsterImage(int id, bool forDiscord = false)
{
var pathContext = @"pack://application:,,,/MHFZ_Overlay;component/Assets/Icons/png/monster/";
var pathContext = forDiscord ? @"https://raw.githubusercontent.com/DorielRivalet/mhfz-overlay/main/img/monster/" : @"pack://application:,,,/MHFZ_Overlay;component/Assets/Icons/png/monster/";

switch (id)
{
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ If you record and/or stream with the overlay, the recommended processor is Intel
> It's recommended to start the overlay when you are done loading into Mezeporta.
[View CHANGELOG.md](https://github.com/DorielRivalet/mhfz-overlay/blob/main/CHANGELOG.md).

[View Release Notes](https://wycademy.vercel.app/overlay/release-notes).
[View Release Statistics](https://somsubhra.github.io/github-release-stats/?username=DorielRivalet&repository=mhfz-overlay&page=1&per_page=30).

### DISCLAIMER
Expand Down
Binary file added demo/discord8.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed demo/discord8.png
Binary file not shown.
Binary file modified demo/discord9.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.39.0",
"version": "0.40.0",
"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 96d14c5

Please sign in to comment.