dimencia / lutebot3 Goto Github PK
View Code? Open in Web Editor NEWA successor to Monty's LuteBot2 for Mordhau, with better song editing features, and integration with LuteMod and the Bard's Guild Library
License: MIT License
A successor to Monty's LuteBot2 for Mordhau, with better song editing features, and integration with LuteMod and the Bard's Guild Library
License: MIT License
It's hard to tell if the commands are being sent to the game or not, but certain notes are skipped on certain MIDIs. I think it's has a higher chance of happening with "busy" songs, but even on relatively light songs (Toss a Coin to Your Witcher and Big Iron, for example) there is a tendency to skip notes.
The program is looking for mordhau.exe, while the epic games version is called Mordhau-Win64-Shipping.exe
This happens even if the song fits within the normal range of the instrument. It will be transposed out of range in that case.
Everything uses CurrentDirectory, but when people access the file via shortcuts, this fails.
It should either use the actual application directory, or write all files to appdata
It gives me a crash message. How can I reinstall it?
Removing an item from the playlist and then changing indices can cause an OutOfBounds exception. TODO Fix Later
I really love to learn code by playing game.
And I would love to be able to play Music in Mordhau without having to use console injection.
Like you did in LuteBot.
But I am not sure you have added to your tool a UDP gate in or WebSocket that would allows any developer to enjoy your tool.
Is it a possibility ?
Do you want some help on that topic ?
Would you consider adding one ?
If one day you consider it. Ping me :) !
For the moment I did it in Python:
https://github.com/EloiStree/2024_06_08_MordhauPythonMidi
If adding it to LuteBot is too much.
Do you know someone in the community that I know how to create mods in Mordhau.
I don't want to recreate LuteBot but juste having a gate to send music note in the game without console injection.
To allows the community to play music from their own code to learn.
Just downloaded LuteBot and i extracted to a folder on my desktop. Went into properties and made sure Windows defender wouldnt block it, then attempted running as admin. Each time I tried to run LuteBot nothing would happen, except "Windows Problem Reporting" would pop up in task manager, and an empty Config folder would be created in the LuteBot folder. I have tried restarting and redownloading to no avail.
Discord link to Guild Library does not appear to work.
Repo is broken.
=P
Any chance that pack still exists, as it seems important to run (based on prior instructions in the README)?
Side note: Just scanned through a chunk of your changes from v2 and it looks solid, very cool. Awesome work.
Hello, I downloaded the latest version this weekend, and it was working fine until I noticed it was no longer open. I thought I had accidentally closed it, but when I try and launch it again it will not launch. I don't see anything open related to it in Task Manager either. Any advice on how to fix this? Thanks
Whilst using the live input feature I noticed that playing notes exceeding the new range of the lute do not seem to be transposed properly and end up being a different note to what it originally was
hello, i am getting a crash on startup along the lines of:
2/5/2023 7:54:36 PM - Crash: A device ID has been used that is out of range for your system.
at Sanford.Multimedia.Midi.OutputDevice..ctor(Int32 deviceID)
at LuteBot.Core.Midi.MidiPlayer..ctor(TrackSelectionManager trackSelectionManager)
at LuteBot.LuteBotForm..ctor()
at LuteBot.Program.Main()
In method .ctor
In class OutputDevice
2/5/2023 7:54:48 PM - Crash: A device ID has been used that is out of range for your system.
at Sanford.Multimedia.Midi.OutputDevice..ctor(Int32 deviceID)
at LuteBot.Core.Midi.MidiPlayer..ctor(TrackSelectionManager trackSelectionManager)
at LuteBot.LuteBotForm..ctor()
at LuteBot.Program.Main()
In method .ctor
In class OutputDevice
cant figure out why, can anyone help?
Error Selected Index While changing setting
Hello,
when i click on the Play button after choosing a track in the Guild Library, i have this exception (note that this happen only the first time, all is working after):
System.FormatException: Le format de la chaîne d'entrée est incorrect.
à System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
à SimpleML.NeuralNetwork.Load(String path)
à LuteBot.TrackSelection.TrackSelectionManager.GetFlutePrediction()
à LuteBot.TrackSelection.TrackSelectionManager.LoadTracks(Dictionary`2 channels, Dictionary`2 tracks)
à LuteBot.LuteBotForm.PlayerLoadCompleted(Object sender, AsyncCompletedEventArgs e)
à LuteBot.Core.Midi.MidiPlayer.HandleLoadCompleted(Object sender, AsyncCompletedEventArgs e)
à Sanford.Multimedia.Midi.Sequence.OnLoadCompleted(Object sender, RunWorkerCompletedEventArgs e)
à System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
I believe the old note conversion method was better.
There's a long (1-5 seconds) of lag for my whole computer when I load a song. If I try to play the song during this time (using the key I bound to play) the program has about a 50% chance of not playing the song and a 50% chance of crashing.
After adding my songs to the partition, they are displayed fine in the in-game song list, but when playing some of them the game just freezes, and I have to kill the process. Reinstalled LuteBot and LuteMod from scratch, removing all songs, but it didn't fix it.
I thought it was related to the song position in the partition, but after reinstalling everything, I think it's more related to the midi file.
This is a midi that was crashing my game, but there are a lot, so I feel like it's not something that specific. Link.
Let me know if I can provide any more details about the crash (the game doesn't even crash, it just goes unresponsive freezing all movement and sound).
Tried to sync with another player using time sync we could not get it to synchronize properly.
I did not find out the server IP but that might solves the problem, do you have any experience with this and is there a way to get the server IP in-game?
I saw there is also an Online Sync window, but it's always locked and not accessible for me.
alright I got another one for ya, when using loopmidi to play midi in rust with lutebot 3.5.5 there seems to be zero connection when selecting the correct output device within lutemods output device dropdown menu in which i am selecting the output device aptly named 'rust'. I can only hear sound coming from my pc rather than the in-game instrument itself, the piano in this case.
Hope to hear back as I do Love playing Instruments in Rust.
I have now to press Q instead of A to play a song (with an azerty keyboard), how to change that?
My songs are broken after a resave with the new version (note duration not repesct the song and its a pain to hear), can i localy rollback?
System. ArgumentOutOfRangeException: The value of '7' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.
Parameter name: Value
In System.Windows.Forms.ProgressBar.set_ Value(Int32 value)
In System. Windows. Forms. Control. InvokeMarshalledCallbackHelper (Object obj)
In System. Threading. ExecutionContext. RunInternal (ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
In System. Threading. ExecutionContext. Run (ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
In System. Threading. ExecutionContext. Run (ExecutionContext executionContext, ContextCallback callback, Object state)
In System. Windows. Forms. Control. InvokeMarshalledCallback (ThreadMethodEntry tme)
In System. Windows. Forms. Control. InvokeMarshalledCallbacks()
This value is random from 5 to 9. "Training can be executed and saved, but it cannot take effect in a game. I also made this error while trying on another computer. Strangely, I was able to use and take effect this feature correctly two months ago.".
When i tried to open LuteBot to add songs it just close by it self or became no responding
Any one know how to fix this problem??
I tried Reinstalling it and its not working
When clicking on several things, clicking continue did nothing each time
Details dropbar showed this
************** Exception Text **************
System.ArgumentException: Source array was not long enough. Check the source index, length, and the array's lower bounds. (Parameter 'sourceArray')
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length)
at LuteBot.IO.Files.SaveManager.GetDataFromFile(String filePath) in D:\a\LuteBot3\LuteBot3\LuteBot\IO\Files\SaveManager.cs:line 164
at LuteBot.IO.Files.SaveManager.ReadSavFile(String filePath) in D:\a\LuteBot3\LuteBot3\LuteBot\IO\Files\SaveManager.cs:line 42
at LuteBot.LuteMod.Indexing.PartitionIndex.LoadIndex() in D:\a\LuteBot3\LuteBot3\LuteBot\Sequencing\PartitionIndex.cs:line 30
at LuteBot.PartitionsForm.RefreshPartitionList() in D:\a\LuteBot3\LuteBot3\LuteBot\UI\PartitionsForm.cs:line 107
at LuteBot.PartitionsForm..ctor() in D:\a\LuteBot3\LuteBot3\LuteBot\UI\PartitionsForm.cs:line 58
at LuteBot.LuteBotForm.lutemodPartitionsToolStripMenuItem_Click(Object sender, EventArgs e) in D:\a\LuteBot3\LuteBot3\LuteBot\UI\LuteBotForm.cs:line 904
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.MenuStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
All of this is gibberish to me sadly, but I can't get my lutebot to do anything other than show this screen and change the options
The partition corrupts after a certain number of songs, Same problem with lutemod 3.3.3 and the latest beta 3.4.0(beta6). I currently have 195 songs and it seems like it always corrupts songs #174 and #175 Doesn't matter what the song is named or what song is in those spots. When you put all the songs in the partition the first time everything plays fine once. But subsequent loading of lutebut will corrupt those song spots everytime messing up the names and then they won't load in game.
I love lutebot 3.0, but every time I use it, after a few minutes it will break down. When I start a song, lutebot will only play sporadically - 2 seconds or so of music every 1-2 seconds, skipping over parts of the song. This is (usually) fixed - for some reason - when I exit out, right click the run file and hit 'troubleshoot compatibilty' and reopen lutebot. And as a side note - if I try to refresh the song, enter a new midi file or change keybinds during the times when its broken, it sends back an error, saying the path to the Profiles folder was blocked.
I don't know if this is something that I'm doing wrong, as I'm new to this, or if its the programs issue. Let me know if this is something you've encountered before, or if its something you've seen happen to people who didn't set it up correctly, or whatever. If you need screenshots or recordings of the problem, I can provide them.
Thank you!
Whenever I add a new song, I get an index out of bounds error. Here's the exception trace:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at LuteBot.PartitionsForm.savePartitionsButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4515.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
LuteBot
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Lutebot/LuteBot.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4515.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4488.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4395.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4515.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4161.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Newtonsoft.Json
Assembly Version: 12.0.0.0
Win32 Version: 12.0.2.23222
CodeBase: file:///C:/Lutebot/Newtonsoft.Json.DLL
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4161.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4455.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4455.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Sanford.Multimedia.Midi
Assembly Version: 6.6.1.0
Win32 Version: 6.6.1.0
CodeBase: file:///C:/Lutebot/Sanford.Multimedia.Midi.DLL
----------------------------------------
SimpleML
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Lutebot/SimpleML.DLL
----------------------------------------
netstandard
Assembly Version: 2.0.0.0
Win32 Version: 4.8.4161.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll
----------------------------------------
SMDiagnostics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4455.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
----------------------------------------
System.ServiceModel.Internals
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4455.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.