Code Monkey home page Code Monkey logo

haseltweaks's Introduction

HaselTweaks

HaselTweaks is an all-in-one plugin for all my tweaks and helpers (well, with the exception of LeveHelper, MogMogCheck and YokaiCheck ๐Ÿ˜œ).

You will not find this plugin in the official plugin repository.
However, you're free to add my custom repository to get updates whenever I release a new version:
https://raw.githubusercontent.com/Haselnussbomber/MyDalamudPlugins/main/repo.json

To get started, open the configuration with /haseltweaks and enable the tweaks you like.

Tweaks

Achievement Link Tooltip

Hovering the mouse over an achievement link in the chat will display a small tooltip with the name and description of the achievement so that you don't have to click on the link.

Options:

  • Show completion status: Will show whether the achievement has been completed or not. This requires the achievement data to be loaded, so you have to open the window once.
  • Prevent spoiler: If the Achievement is not unlocked and would not be displayed in the game, the name and/or description will also be displayed as ???.

Aether Current Helper

Clicking on a zone in the Aether Currents window opens a helper window that shows where to find the aether currents or which quests unlocks them. Clicking on an aether current in the list flags the position of the aether current or the quest giver on the map.

Auto Sorter

Sorts items inside various containers when they are opened. Rules can be configured.

Uses the games /itemsort command for sorting.

Options:

  • Sort armoury on job change

Auto-open Recipe

If a new daily/tribal quest objective requires you to craft an item, and you have all the materials for it in your inventory at that moment, this tweak will automatically open the recipe, saving you a whopping 4-5 clicks.

Background Music Keybind

Adds a configurable keybind to toggle the background music, in addition to the game's existing keybind option to toggle the sound. No more /bgm macro. Works in cutscenes.

Cast Bar Aetheryte Names

Replaces the name of the action "Teleport" with the Aetheryte name of your destination.

Character Class Switcher

Clicking on a class/job in the character window finds the matching gearset and equips it.

Features:

  • Always equips the matching gearset with the highest average item level
  • Supports crafter jobs
    • Hold shift to open the original desynthesis window if needed
  • Supports controller input
    • Checks the controller button with "Select Target/Confirm" binding
    • Technical limitation: desynthesis window still only opens when holding shift on a keyboard
  • Supports PvP Character window
  • An option to make the Character window always open on the Classes/Jobs tab
  • Adds hover effect for non-crafters
  • Option to disable Tooltips

Note In order for this tweak to work properly, please make sure "Character Window Job Switcher" is disabled in Simple Tweaks.

Commands

A couple of useful chat commands. Each command is separately toggleable.

Available Commands:

  • /itemlink <id>
    Prints an item link for the given item id in chat.
  • /whatmount
    Target a player and execute the command to see what mount your target is riding and which item teaches this mount.
  • /whatbarding
    Target a players chocobo companion and execute the command to see what barding it is wearing.
  • /glamourplate <id>
    This shortcut command executes the "/gearset change" command with the current gear set id and the given glamour plate id (1-20).

Custom Chat Message Formats

Lets you customize message formats for various chat channels.

Custom Chat Timestamp

Lets you customize the chat timestamp format using C#'s DateTime.ToString().

DTR

Shows Instance number (only if the current zone is instanced), FPS and Busy status (only if busy) in the DTR bar.

To enable/disable elements or to change the order go into Dalamud Settings > Server Info Bar.

Options:

  • FPS unit text (default: " fps")

Enhanced Experience Bar

Depending on the settings, the experience bar can be transformed into one of the following bars:

  • The PvP Series Bar displays your series rank and experience. If there is a * symbol next to your rank, it means a rank-up reward is claimable.
  • The Sanctuary Bar displays your sanctuary level and island experience.
  • The Companion Bar displays your chocobos rank and experience.

Available options include:

  • Always show PvP Series Bar in PvP Areas
  • Always show Sanctuary Bar on the Island
  • Hide Job on Sanctuary Bar
  • Max Level Override
    • Will switch to the selected bar if your current job is on max level and none of the settings above apply.
  • Disable color change

Note In order for this tweak to work properly, please make sure "Show Experience Percentage" is disabled in Simple Tweaks.

Enhanced Isleworks Agenda

Slightly improves the Isleworks "Set Agenda" window.

Options:

  • Enable Search Bar: The search bar is automatically shown and focused when the "Set Agenda" window opens. Based on the entered item name, the fuzzy search (lowercase only) selects the item on the right side of the window. Pressing the Enter key confirms the selected item, just like by pressing the "Schedule" button.
  • Disable item tooltips in the list

Enhanced Login/Logout

Login options:

  • Skip Logo (default on): Instantly shows the title screen.
  • Show pets in character selection: Displays a carbuncle for Arcanist/Summoner and a fairy for Scholar next to your character. Position is adjustable.

    Note In order to apply the pet glamor settings, you must have logged in at least once.

  • Play emote in character selection: Have your character greet you with an emote!

    Note Emote settings are per character and not all emotes are supported (e.g. sitting or underwater emotes). What is supported, however, are alternative standing idle poses.

  • Preload territory when queued: When it puts you in queue, it will preload the territory textures in the background, just as it does as when you start teleporting.

    Note Since I only have SSDs, I don't really know if this works at all.

Logout options:

  • Clear tell history on logout

Enhanced Material List

Available options include:

  • Enable Zone Names: Displays a zone name underneath the item name indicating where it can be gathered. Only the zone with the lowest teleportation cost is displayed. If the name is green it means it's the current zone. Since space is limited it has to shorten the item and zone name.
    • An option is available to disable this for Crystals.
  • Enable click to open Map: Allows you to open the map with the gathering marker in said zone.
    • An option is available to disable this for Crystals.
  • Auto-refresh Material List/Recipe Tree: Refreshes the material list and/or recipe tree when the inventory has changed.
  • Restore Material List on Login: The material list will reopen with the same recipe and quantity each time you log in as long as the window is locked.
  • Add "Search for Item by Crafting Method" context menu entry: No more need to open the recipe tree first.

Expert Deliveries

Always opens the "Grand Company Delivery Missions" window on the "Expert Delivery" tab.

Forced Cutscene Music

Auto-unmutes background music for most cutscenes.

Gear Set Grid

A window that displays a grid view of all the items in each gear set, making it easier to figure out which items to upgrade next.
This is not meant to be a replacement for the Gear Set List window, but rather a supplement to it.
Max level jobs for each expansion have item level range colors, with a low item level displayed as red and a high item level displayed as green.

Configuration options:

  • Auto-open/close with Gear Set List
  • Register /gsg command to toggle window
  • Convert separator gear set with spacing: When using separator gear sets (e.g. a gearset with name ===========) this option automatically converts it into spacing between rows (in the Gear Set Grid).
    • Spacing between rows can be fully eliminated with the "Disable spacing" option.

Glamour Dresser Armoire Alert

Opens a small window next to the Glamour Dresser with a list of items that can be stored in the Armoire (only visible if qualified items were found).

Hide MSQ Complete

Hides the Main Scenario Guide when the MSQ is completed, but still displays Job quests.

Inventory Highlight

Hold down the shift key while the inventory is open to highlight identical items.

Configuration options:

  • "Ignore item quality": Highlights the same items regardless of whether they are high quality or not.

Keep Screen Awake

Prevents the screen from going into standby. Similar to PowerToys Awake, but only when the game is active.

Lock Window Position

Lock window positions so you can't move them accidentally anymore.

Adds a context menu entry for the title bar to "Lock/Unlock Position" (can be disabled).
Alternatively it's possible to add windows by using the window picker in the configuration.

Material Allocation

Enhances the Islekeep's Index "Material Allocation" window.

  • Saves the last selected tab between game sessions.
  • Clicking on a gatherable item opens the Sanctuary Gathering Log with that item selected.

Minimap Adjustments

Configuration options:

  • Square Collision (for custom minimap mask textures)
  • Default Opacity
  • Hover Opacity
  • Hide Coordinates
    • Visible on hover
  • Hide Weather
    • Visible on hover
  • Hide Time Indicator
    • Visible on hover
  • Hide Cardinal Directions
    • Visible on hover

Portrait Helper

A helper for editing portraits, featuring:

  • A reset button that allows you to easily undo any changes made to the portrait, just as it was when the window was opened.
  • Presets can be exported and imported with a short base64-encoded string via clipboard. This allows you to share the preset with others.
    • If you want to import only parts of a preset, the Advanced Import Mode lets you choose which settings you want to import.
  • The Preset Browser allows you to save your portraits into presets and organize them using tags. Simply double-click a preset to load it or drag and drop it to change the order or add it to tags.
    • Note: The preset list is shared across all tags, but filtered by the selected tag. That means, reordering a preset will change the order across all tags.
    • Note: The preview image of a preset is saved as a .png file in the plugins configuration folder.
  • The Advanced Edit Mode lets you to precisely control the camera yaw, pitch, distance, x and y position, as well as zoom and rotation, eye and head direction and the animation timestamp.
  • An Alignment Tool adds guide lines over the portrait to aid in proper alignment and composition.

Configuration options:

  • Embed preset codes in thumbnails
    The preset code, which is also used for clipboard import/export, is written to the Exif metadata as a UserComment.
  • "Notify if appearance and/or gear doesn't match Portait"
    Prints a notification in chat which can be clicked to open the Portrait Editor.
  • "Automatically re-equip gear set to re-apply glamour plate"
    Works only if the following criteria are met:
    • The gear set has a glamour plate linked.
    • You are in a place where glamour plates are allowed to be applied.
    • The glamour plate covers the slot(s) that caused the mismatch.
    • The mismatch was not caused by mainhand/headgear visibility or visor state.
  • "Automatically update portrait"
    Only works for gear sets that are not linked with a glamour plate.

Reveal Duty Requirements

Reveals duty names in duty finder, which were shown as "???" to prevent spoilers. Useful for unlocking Mentor roulette.

Safer Market Board Price Check

Prevents you from checking market board prices while a request is running, minimizing the frequency of encountering the "Please wait and try your search again" screen.

Scrollable Tabs

Allows the mouse wheel to switch tabs (like with LB/RB on controllers) in the following windows, each of which can be toggled separately:

  • Aether Currents
  • Armoury Chest
  • Blue Magic Spellbook
  • Character
  • Character -> Classes/Jobs
  • Character -> Reputation
  • Chocobo Saddlebag
  • Companion
  • Currency
  • Fashion Accessories
  • Field Records
  • Fish Guide
  • Glamour Dresser (scrolls pages, not tabs)
  • Gold Saucer -> Card List
  • Gold Saucer -> Decks -> Edit Deck
  • Gold Saucer -> Lord of Verminion -> Minion Hotbar
  • Inventory
  • Island Minion Guide
  • Minions
  • Mounts
  • Retainer Inventory
  • Shared FATE
  • Sightseeing Log

Search the markets

Adds an entry to item context menus that allows you to quickly search for the item on the market board. Only visible when market board is open!

Supports context menus in the following windows:

  • Chat
  • Crafting Log
  • Ehcatl Nine Delivery Quests (via /timers)
  • Grand Company Delivery Missions (via /timers)
  • Inventory
  • Materials List
  • Recipe Tree
  • Recipes List

Simple Aethernet List

Simplifies the behavior of the Aethernet list: mouseover selects the aetheryte and a click teleports you.

haseltweaks's People

Contributors

4679 avatar 53m1k0l0n avatar cyf5119 avatar dependabot[bot] avatar haselnussbomber avatar rycko1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

haseltweaks's Issues

EnhancedExpBar causing TypeloadException

dalamud.log

2023-02-03 18:24:11.669 +01:00 [ERR] Exception during raise of Void b__0()
System.TypeLoadException: Could not load type 'FFXIVClientStructs.FFXIV.Client.Game.MJIManager' from assembly 'FFXIVClientStructs, Version=1.0.0.1705, Culture=neutral, PublicKeyToken=null'.
at HaselTweaks.Tweaks.EnhancedExpBar.OnFrameworkUpdate(Framework framework)
at HaselTweaks.Plugin.OnFrameworkUpdate(Framework framework) in /_/Plugin.cs:line 102
at Dalamud.Utility.EventHandlerExtensions.HandleInvoke(Action act) in C:\goatsoft\companysecrets\dalamud\Utility\EventHandlerExtensions.cs:line 96

Auto Sort Question

Would it be possible to have the auto sort have multiple options such as sort by Tab and Item level descending?
I really like how Tab works and making it sort by item level simultaneously would be amazing!

FPS clips into Where Am I Again location with sufficiently long location name.

Title. Got yelled at in the Dalamud discord for not realizing this was part of a 3pp so I wanted to bring it up directly. But if the server info bar gets long enough, first there's a lack of a space between "fps" and the first character of Where Am I Again, then with particularly long names (in terms of how far along your screen) it eventually starts to clip into itself as shown here.
image

[Bug] Right side shift key issue

Thank you for the other day.
I will report what I have noticed since then.

When deleting sort settings
The left shift key responds, but nothing responds to the right shift key.
This may be questionable for users who use the right shift key.

just noticed that...
If setup sorting on bag, will get an error when the bag is automatically opened in housing operation.
It seems that care must be taken in sorting the bags.

[Feature] Inventory Sort

Well quite simple because you have it already for armory.

Sorting for inventory. I mean it should be basically copy paste and some little changes.

I mean i could spare me another plugin.

[Portrait Helper] Auto-update Portrait not working entirely as expected.

When updating a gearset and joining an instance the default portrait will be shown (accompanied with the appropriate warning).

However, changing to another job and back to the original job causes it to work/update as intended. (Clicking on the same job without switching does NOT work)

Is it possible to fix it so that one does not need to change jobs back and forth to update?

Quest emotes or quotes

I'm wondering if this is doable similarly to the crafting recipes?
thought i'd suggest if it can be done without too much Hassel :)

[Suggestion] Craft Quests

Would you be able to create a tweak so that when you hold shift or a similar key and click on the quest that asks for a craft item, it already opens the Craft log with the searched item?

image

[Bug] Class Switcher

Maybe something changed in the code, it instantly crashes to desktop on hover of any of the classes with the option turned on.

[Bug] Gear Set Grid

Saw this tweak yesterday. It's a neat thing to see if something wasn't synced yet.

Wanted to let you know, that I encountered an issue tho. When I open it, it cut off in entry 17 (see image).

I have 32 sets. All my crafters have the same gear, so leatherworkers should have it filled too.
The tooltips know about the other gear sets.

image
image

My gearsets ingame:
image

Auto music

hi,
love the plugin. Any chance of adding "auto turn on music in boss fights only". Similar to the cutscene one. Thanks

Aether Current Helper gets wide

Currently in Labyrinthos for the first time, after attuning to a certain aether current (don't remember which), the window expands to the full width of my display. If I toggle the box to hide unlocked current to off, it slowly shrinks back to normal, if I tick it back on, it grows again. If it's any help, the ones I have not yet attuned to are 3, 4, 8, 9, 10 and all the quest based ones.

Game Crashes

After the new update, my game keeps crashing on load (or when I move to a new area) whenever I have HaselTweaks on. What do I need to report to help with this?

Advanced Edit mode - Window in the way

Hi! Love your plugin and the plate save. I'm baffled that there isn't more plugins that have that yet.

I have this problem that when i want to use the advanced edit mode for portraits it covers up the portrait so its really hard to see the changes in real time i have to keep closing it and opening it.

would be great if the window could move more to the left or have a button to detach the window. Not sure what would be easiest.

https://i.imgur.com/BFUINRF.jpeg

Incorrect aether current helper quest marker

Quest marker should be "In Agama's Footsteps" instead of "Curing What Ails".

TU6wue4gjk

Upon completing "In Agama's Footsteps", aether current helper for "Curing What Ails" is marked as completed.

Window lock tweak question

Would it be possible to have an option to lock all types of windows instead of manually having to set it up one by one?

Thank you for the great work and QoLs!

East and West swapped in Aether Current Helper

Awesome plugin! Loads of great features. One issue I have found is when looking at the aether current helper The directions have East and West swapped - So if it says it's 100 yalms NE - it actually means 100 yalms NW and vice versa. North and South are correct though.

[Suggestion] More scrollable tabs

Hey ๐Ÿ‘‹
I LOVE the scrollable tabs. So much in fact, I noticed myself trying to scroll in windows that don't support it (yet, i hope >.<).

Mainly the currency window. How many scrips do I have? Oh, I'm on the Tomes page. Do I need to spend tomes? Oh wrong tab.

Another one is the saddlebag.
You get the right saddlebag with the companion app. (Which might be an issue trying to implement and test it I guess?)
Its just kinda weird for me, as i can scroll every other inventory.

tl;dr:

  • Currency window
  • Chocobo saddlebag

On a side note:
With the "Open All" inventory, if you end up hovering over the box where the crystals are displayed in your inventory. Not the individual crystals, even just the space around, you can't scroll back. It works with "Expanded" inventory. I saw that there is a case for this in the code, that Expanded and OpenAll use the same i think, but maybe that's old info? case "InventoryCrystalGrid":


If there's any way I can help I'll of course.
I'm actually trying to understand whats going on in some plugins, but it's hard, being new to C# and to the whole Signatures, Reverse Engineered Structures things.

At end, in any case, thank you for enabling me to scroll through the game!

[Request] Custom Chat Channel Prefixes

Hi! I was wondering if a tweak to set custom chat channel prefixes would be possible. For example:

Current: [CWLS1]<User Name> Message
Proposed: [C1]<User Name> Message

Thanks for your consideration and work on this plugin!

Competes with Penumbra

If both Penumbra and HaselTweaks are installed and AutoSorter is ON, 6.35 will crash at the title screen.

As a result of verification, it works normally with AutoSorter=OFF, but crashes when AutoSorter=ON in the Dalamud settings on the game start screen.
Turning it off in json or clearing Penumbra makes it normal.

Before 6.35 it was fine.

Crash with auto open recipe tweak recently?

this only started happening yesterday and today, specific beast tribe quests i've noticed that have their quest text similar to some recipes crash the game Ex. certain kobold quest that contains the word "crate" i believe.

looked into the dalamud log and found this at everytime i've crashed at a beast tribe that contained similar crafting quest objective lines about 3 times:
t System.Environment.get_StackTrace()

at Dalamud.EntryPoint.VehCallback() in C:\goatsoft\companysecrets\dalamud\EntryPoint.cs:line 70

at FFXIVClientStructs.FFXIV.Client.Game.Event.EventFramework.GetEventHandlerById(UInt32 id) in D:\a\Dalamud\Dalamud\lib\FFXIVClientStructs\FFXIVClientStructs\FFXIVClientStructs.InteropSourceGenerators\FFXIVClientStructs.InteropSourceGenerators.MemberFunctionGenerator\FFXIVClientStructs.FFXIV.Client.Game.Event.EventFramework.MemberFunctions.g.cs:line 65

at HaselTweaks.Tweaks.AutoOpenRecipe.UpdateQuestWork(UInt16 index, IntPtr questData, Boolean a3, Boolean a4, Boolean a5) in /_/Tweaks/AutoOpenRecipe.cs:line 157

at Dalamud.Game.Network.GameNetwork.ProcessZonePacketDownDetour(IntPtr a, UInt32 targetId, IntPtr dataPtr) in C:\goatsoft\companysecrets\dalamud\Game\Network\GameNetwork.cs:line 102

at Dalamud.Game.Framework.HandleFrameworkUpdate(IntPtr framework) in C:\goatsoft\companysecrets\dalamud\Game\Framework.cs:line 487

--
if this doesn't give you a clue at whats wrong or it only happens to me i can do more testing to make sure, but the quest objective and the dalamud log makes me think it's the culprit

i heard there were some changes with dalamud staging so perhaps its that instead, i'm not really sure.

Scrollable Tabs

Hello! I love the plugin but I've noticed an issue.
If I scroll my mouse wheel to adjust camera zoom, the next time I open and mouse over my inventory, it scrolls. It is as though the scroll command is saved and executed later. Is a fix for this possible?

Forced Cutscene Music not working after game update

I know this happens, but not yet why.

Exception during startup

Unexpected error during SetupAutoHooks
System.NullReferenceException: Object reference not set to an instance of an object.
   at HaselTweaks.Tweaks.ForcedCutsceneMusic.SetupVTableHooks() in HaselTweaks\HaselTweaks.InteropSourceGenerators\HaselTweaks.InteropSourceGenerators.VTableHookGenerator\HaselTweaks.Tweaks.ForcedCutsceneMusic.VTableHooksGeneric.g.cs:line 12
   at HaselTweaks.Tweak.SetupInternal() in HaselTweaks\Tweak.cs:line 90

Workaround

Re-loading the plugin once should resolve and cache the address correctly.

PVP Exp bar

Hi again!

This function is not working =/

image

[Bug] Error in auto sorter

I used it with a JP client.
In Auto Sorter an error occurs when HQ is specified in the condition.
I think the error is due to the fact that the command is given as "HQไป˜ใ" in Japanese.

Also, in the category, no matter what condition or order is specified for the soul crystal, an error occurs.
I could not figure out why the sorting error occurs with soul crystals.

However, I think all of these problems can be fixed by using the standard commands. (alphabet only)

And without specifying any sorting conditions.
Is it possible to have the equivalent effect of performing the sort in the context menu on the game?
These are based on the in-game option settings.

Game crashes

Since the update having hasel tweaks on is causing the game to crash. haven't checked each tweak individually for the source of crashes but I can guarantee its not the new ones atleast

[Bug] Pressing ESC after switching Jobs leads to CTD

Steps taken to crash
-Open Character Panel
-Switch to a Job
-Press ESC
-Crash to desktop w/o any error

This started happening with the latest update, and it was not happening prior to the 6.36 because I'm used to pressing ESC to close the character panel during/after job switch and I had no issues before.

Edit :
Pressing C to close the character panel does not result in a crash.

[Suggestion] Save Portraits

How about a way to save multiple portrait settings? That way we can copy and paste them for when we need it again.

Auto-sort unfocuses armory chest window

With the newest update, the armory chest window does not maintain focus after opening it while the auto sorter option is on. I play on controller so this means every time I open the armory chest, I have to press select to refocus the window before I can interact with it. This issue does not occur when Auto Sorter is off, or when HaselTweaks as a whole is off.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.