Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch/hide contents upon closing area map with right mouse click #1

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.idea/
*.zip
25 changes: 25 additions & 0 deletions Arise/Binaries/Win64/d3dx.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,36 @@ convergence=0
separation=0
debug_locks=0
[Constants]

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; START Minimap to Compass HUD - https://www.nexusmods.com/talesofarise/mods/292
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Hide minimap contents by default
x=1

; Toggle minimap contents
[Key1]
Key=VK_INSERT
x=0,1
type=cycle

; Enable minimap contents upon pressing V
[Key2]
Key=0x56
x=0

; Hide minimap contents upon pressing escape or right mouse button
[Key3]
Key=VK_ESCAPE
x=1
[Key4]
Key=VK_RBUTTON
x=1

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; END Minimap to Compass HUD - https://www.nexusmods.com/talesofarise/mods/292
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Hunting]
hunting=0
marking_mode=skip
Expand Down
5 changes: 5 additions & 0 deletions export-mod.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$SourceDirPath = ".\Arise"

$CompressedFileName = ".\minimap-to-compass-hud_development.zip"

Compress-Archive -Path $SourceDirPath -DestinationPath $CompressedFileName -CompressionLevel Optimal
25 changes: 9 additions & 16 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@


## Installation
If Vortex has not yet officially supported Tales of Arise, my [Tales of Arise Vortex Support](https://www.nexusmods.com/site/mods/500) extension is here to help! With this mod, you can easily install this mod. For a better gaming experience, we also recommend switching the map orientation to relative to make the minimap act as a compass (System -> Settings -> Map Orientation). Enjoy!
If Vortex has not yet officially supported Tales of Arise, my [Tales of Arise Vortex Support](https://www.nexusmods.com/site/mods/500) extension is here to help! Once installed, set the mod type to Engine injector:
![Vortex Engine Injector](./vortex-engine-injector-showcase.png)

For a better gaming experience, we also recommend switching the map orientation to relative to make the minimap act as a compass (System -> Settings -> Map Orientation). Enjoy!

## Features
- The contents of the minimap are hidden by default.
Expand All @@ -15,23 +18,13 @@ If Vortex has not yet officially supported Tales of Arise, my [Tales of Arise Vo

- Due to a limitation or bug from the tool we used to identify the HUD elements (https://github.com/bo3b/3Dmigoto), we have not been able to hide the minimap border. Otherwise, it hides additional crucial elements such as the mouse and menu, which would be more immersion breaking than simply having a compass showing north.
- This mod also has the side effect of hiding the quest marker (star), but, in the context of this mod, this is an acceptable loss in order to create a more immersive experience.
- WIP Due to the bo3b/3Dmigoto sideffect, this mod also hides the content of the map; this is being investigated for how to solve. For personal use I'm using the following hack, but am uncertaing how to expand this for users with different keymap; assuming you're opening your map using the 'V' button then d3dx.ini:
```ini
[Constants]
x=1
[Key1]
Key=VK_INSERT
x=0,1
type=cycle
[Key2]
Key=VK_ESCAPE
x=1
[Key3]
Key=0x56
x=0
- ```
- Due to the bo3b/3Dmigoto sideffect, this mod also hides the content of the map. See [here](https://github.com/rdok/tales-of-arise_minimap-to-compass-hud/pull/1/files#diff-7950cd6e74d160f10688ee1dc174eff1a9ec44e022f5c240e463b480e68e828fR26) for a way around that.

## Development
- Run `.\export-mod.ps1` from powershell to quickly create a compressed file for quick testing with Vortex.
- When ready for release, rename the mod to [name]_[new-version].zip, and include the file on a PR. [Example](https://github.com/rdok/tales-of-arise_minimap-to-compass-hud/pull/1). To make it easier to find for future readers, the PR should contain all files, include the one released.

### Sources
- This mod was developed using help from https://www.reddit.com/r/Ni_no_Kuni/comments/88bxfm/hud_removal_using_3dmigoto_guide/ In summary, it guides you to use thebo3b/3Dmigoto to generate scripts which can control the visiblity of the visible elements.
- [Hud Toggle](https://www.nexusmods.com/talesofarise/mods/4) was the original insipiration of this mod. However, it is a hammer, in that it hides all the HUD elements, including the immersion breaking behaviour of hiding the mouse and menu; and yet it still has good value for people seeking to take screenshots.

Expand Down
Binary file added vortex-engine-injector-showcase.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.