Daggerfall Unity

File information

Last updated

Original upload

Created by

TalonTarp

Uploaded by

TalonTarp

Virus scan

Safe to use

Tags for this mod

12 comments

  1. trashcan9
    trashcan9
    • premium
    • 7 kudos
    A function to split stacks is included (RB+LB+LeftStickClick, I believe). How do you make use of this since it causes a text input to appear, requiring a numerical input? Do you bust out your keyboard at that point?
    1. TalonTarp
      TalonTarp
      • member
      • 2 kudos
      Just hopped over to Linux so It might be a lil while before I can test it again ingame. Does the prompt have an Okay or confirm button? I think it defaulted as half or close to that and you would just use the confirm hotkey or Y for yes or some such. I did get joytokey running and got the profile loaded but I'm unsure how I'm going to get this all set up to run both it and daggerfall through wine and have them interact properly just yet. See if anything can raise or lower the numbers and if there's a confirm option. You might also just have to switch to cursor mode to click on stuff. I'll try to test this and give you a proper response when I can!
    2. trashcan9
      trashcan9
      • premium
      • 7 kudos
      There is no Yes, Okay, Accept, etc boxes. It's just a numerical prompt and Enter or Esc are accepted as keys to accept the input or back out of the menu. For example, when you go to an inn keeper and ask for a room, such a window pops up asking about the number of days you want to rent a room (Maybe I've some mod that's changed that window, I'm not sure).

      What I ended up doing was changing RB+LB+LT and RB+LB+RT to input 1,2,3,4 and 0,5,6,7. And RB+LB+B for Enter,Esc,8,9. All depending on the number of presses within a time threshold of like 500ms.

      Regarding linux, I'd be curious to know what you find out as I primarily use linux myself (though haven't messed with using a gamepad in linux yet, and using windows for daggerfall since many mods are windows-only). Would be curious to know whether joytokey works under wine for you, or whether you end up using a different program.
    3. TalonTarp
      TalonTarp
      • member
      • 2 kudos
      Alright so I bring good news. First your original question.

      You press LB+RB+LeftStick click like you said to bring up the split. From there you hold LB and press one of the four face buttons for numbers 1-4 to give a general split (this doubles as hotkeys for the hotkey bar mod) then release LB and press Rightstick. That's how it's generally supposed to go.

      Now for how I got it working on Linux.

      You are going to need Bottles and create a new bottle. I chose gaming as the preset. Go through and install any dependencies you want (in case you want to use joytokey on your GOG or Steam games) Then you want to open the 3 dots on the top right and browse files. What Bottles does is make a file structure of a windows machine and allows you to run alot of windows only applications. Toss in whatever program or installer files into your new bottles directory.
      In your file browser it would be something like
      Home/.var/app/com.usebottles.bottles/data/bottles/bottles/<your bottle name here>/drive_c
      Your going to create shortcuts in the GUI to installers and the games you install along with Joytokey. It doesn't like to detect my controller on launch so every time I have to go into config for it to register inputs but after that it works. Note that joytokey cannot act like it does on your desktop in linux since certain things like mouseclicks are translated differently on this OS but it can click on things launched through bottles since it's all running in the same sandbox. I probably got some of the terminology wrong and there's probably a better way to set this up but it works so I'll take it!

      There is one thing I can't get working right now though and that's the quickturn. I just installed the gog version, defaulted the controls, and disabled all the mods to get in a quick and easy test so idk if this is just a version issue or if it doesn't work with this setup. All the inventory cursor snaps work so I'm not 100% sure. Will test with clean updated build when I have more time.

      By the way, I think your solution was very clever and I might try it for myself a bit next time I return to playing this. Thank you for sharing that! Where did you move the yes/no prompts since they are normally bound there? Did you replace them or just add the numbers ontop?
    4. trashcan9
      trashcan9
      • premium
      • 7 kudos
      Thanks for testing that out and sharing the results. I was skeptical that joytokey would work inside wine, but it's good news to hear that it does!

      Re: the Yes/No hotkeys, it just so happened that I had already bound Y to rest, which is LB+DpadLeft, and bound N to bestiary, which is LB+DpadRight, so those two double as Yes/No for me. I also edited DialogShortcuts.txt (See https://en.uesp.net/wiki/Daggerfall_Mod:Daggerfall_Unity/Default_Shortcut_Keys ) to change all the various hotkeys for Accept/Reject/Exit/Cancel/Okay/Yes/No/TravelBegin/TravelExit to use Y and N. I also changed many other actions (e.g. RestForAWhile, RestUntilHealed, TalkCategoryPeople, TalkCategoryLocation, InventoryWeapons, InventoryMagicItems, InventoryClothing, InventoryIngredients, CharacterSheetPrimarySkills, CharacterSheetSecondarySkills, etc) to WASD so I can get around menus easily using only directional buttons.

      Re: quickturn, I was having some sporadic issues with it, so I changed it to work differently. It's less 'quick' and less precise, but it seems to never falter and leave me disorientated.

      Button53: Keyboard (Multi)
      Input1: Button54
      Execute from [Input1] to [Input4] for the specified duration
      Input Duration Hold: 288ms (you might have to adjust to your system?)


      Button54: Mouse
      Mouse Movement: Right
      Speed: 100
      Adjust mouse movement speed when this button is pressed: 400%


      Then set your Quickturn hotkey input to call Button53.
    5. TalonTarp
      TalonTarp
      • member
      • 2 kudos
      This is why I love Joytokey so much. It lets you get really creative. I tried to make the setup work with vanilla controls as much as possible to cut down on setup confusion but those are some nice edits you did! Thanks for the alternate quickturn input. I over engineered that one for sure xD. Sometimes simple is better.
  2. fordtaurus
    fordtaurus
    • premium
    • 0 kudos
    I am having some trouble getting this to work.  The basic functions seem okay, but I cannot get the 'shifted' ones to work properly.

    When I try to use the F1-F4 functions to change the mode (steal, grab, talk, info) nothing happens.  This is holding both shift (LB+RB) and using the right stick on my XBOX One controller.  The controls just continue to work as camera movement.  In J2K it does show the input registering on the 'Stick 2' tab.  

    I did notice that in the mapping of J2K mine shows 'None>>None>>F1' for example where your screenshot just shows 'F1'.  I tried changing J2K to the 'single' mode so it looks more like yours but then it doesn't work at all.  I have restored your fresh cfg file multiple times.   https://gyazo.com/636682dc767fcfdc32c8994eb0b9cda9

    Oddly the LB only shifted ones for the Hotkeybar addon do work okay, although they also still do the move function at the same time.  Not sure if that is intended.

    I am using a registered version of J2K version 6.9.1, DU 0.14.5, Windows 10, wireless Xbox One controller, nothing else special running.  Followed all your setup instructions.

    Let me know if I can provide anything else, would really love to get this working.  Thanks for your efforts!
    1. TalonTarp
      TalonTarp
      • member
      • 2 kudos
      ok so the pictures are outdated by a good bit. the none > none > F key was a deadzone type of thing to only register the F key at max stick input as a way to make it less jerky. That version is just by Holding L1/LB. Now when you use just that button yes in joytokey it says that the stick looks like it's moving but try it while on the 2nd controller tab named joystick 2 and it will highlight there as well (might be a highlight setting thing idk) You shouldn't be getting camera movement AND the mode changes at the same time in shift mode 1. in shift mode 2 it lets you pivot and that's because they act as arrowkeys and mouse wheel to double as map camera controls but you only use the up down to shift which hotbar your on and use the face buttons to actually use the slots. Test it ingame and lemme know if you are still having any issues and I will take another look! If you have anymore questions about why things are bound any specific way please don't hesitate to ask :D
    2. fordtaurus
      fordtaurus
      • premium
      • 0 kudos
      Thanks for the quick reply!  

      >try it while on the 2nd controller tab named joystick 2 and it will highlight there as well
        this does happen, it highlights in yellow as expected

      >you only use the up down to shift which hotbar your on and use the face buttons to actually use the slots.
        this seems to work, I am not getting the movement in shift mode 1 now, so that was likely my error.  Hotkeybar seems to be working okay with 4 buttons

      I am still unable to get the F1-F4 keys to register by the game, it seems to just ignore the input.

      As a workaround I re-assigned the F1-F4 keys to the shift mode 1 (LB + stick direction) and that seems to work.  I lose some of the map controls, but I can live with this as I can just use the UI map controls.  

      I will keep working and learning about J2K, but as it stands I can play and that is great.  I have a partial disability that prevents me from using mouse and keyboard properly so this is a great help.  If I get it solved further I will try to post my config.  Have a great new year!
    3. TalonTarp
      TalonTarp
      • member
      • 2 kudos
      Yay! Shift mode 1 was the one with the map controls. The controls for shift mode 2 were the map stuff (LB+RB same time). Either way I'm glad you got it working for you. It might also be some sort of weirdness with the deadzone of your controller vs mine so mess with the settings till it feels just right for you. The layout has a ton of little quirks because of where I placed certain inputs like Y being walk/turnarounds and B being run/jump/dodge so that you could double tap both with the thumb to do jumping turnarounds. If these or other complicated presses are troublesome for you  just let me know so I can brainstorm how to move stuff around to make it more comfortable for ya. 

      Happy new year to you as well! 
  3. Viktor2789
    Viktor2789
    • premium
    • 1 kudos
    If this mod works, this seems legit. It might be time learn how to make a raspberry pi and put some daggerfall unity on it so I can daggerfall from the couch.
    1. TalonTarp
      TalonTarp
      • member
      • 2 kudos
      I would love to see the results! Don't get too deep yet though. Still finalizing a few of the inputs and reverting a couple changes to match the default binds to make switching between controller and keyboard less of a fuss and i need to order the shift mode 2 inputs better to make the whole thing more organized. Will be updating again very soon!

      Edit - Mentioned changes now implemented :D