Tales of Maj'Eyal

Tales of Maj'Eyal

Marson's UI Modifications
113 Comments
alividlife 18 Nov, 2023 @ 12:26am 
TY @ Demosthien

Helps seeing comments like this instead of painstakingly going one by one in order to find the culprit.
Demosthien 19 Dec, 2021 @ 6:39am 
Just adding a comment to let anyone thinking of using Marson's add-on that (as of December 2021) it causes crashes on beginning a new game with the latest ToME versions (v1.7+).

It's a really great add-on, just be aware it will potentially crash.
Admiral Billy 24 Oct, 2020 @ 1:43pm 
Ooh, considering that it sounds relatively simple I might just give it ago!

And yeah, if I do it I'll 100% give you credit :)
Marson  [author] 24 Oct, 2020 @ 8:05am 
Shortening the terrain uses six lines in mod/class/grid.lua. I didn't comment it, but if you search for "marson" you'll find them. If grid.lua hasn't changed much, you can probably insert the same lines in the current version in similar locations. If you take out "config.settings.marson.short_terrain and " from each line, then it won't bother checking for a setting and just do it, which would be appropriate for a stand-alone mod. I don't modify anything else in grid.lua for any other UI settings so it won't conflict with anything else you might want to extract. Since it needs to be overload rather than superload, it should be the first mod that loads. That also means you'll have to check grid.lua for any changes each time there's a version update to ToME.

Feel free to make it a mod yourself — I just ask for credit.
Marson  [author] 24 Oct, 2020 @ 6:53am 
One of the things that helped me when picking up Lua was realizing that the only data structure available is a table (associative array). I jumped in without reading up on it and some of the code really had me scratching my head until I saw that.

https://www.lua.org/pil/2.5.html
Marson  [author] 24 Oct, 2020 @ 6:47am 
If I remember right, limiting terrain height was pretty straightforward and should be a simple mod to do stand-alone. Unless darkgod added some hooks in there, it will probably need to be done the same way though (overwriting the entire file), so it might not mix well with other mods and need to be updated if the base file is changed in a version update. This is one of the reasons why I didn't break out all the options as separate mods. Each mod that overwrites an entire file needs to be aware of any other mod that overwrites the same file.

The ability bar was a bit more involved. I think it affected a number of files.
Admiral Billy 23 Oct, 2020 @ 2:11pm 
Oh yeah don't worry, I'm not criticizing the efforts or anything, I just tried to give a (very) amateur description of what could be going wrong since there's a few pieces of this mod that interest me in particular (limiting terrain height and the borders on abilities)!

I may end up trying to learn lua a bit myself to try and fix it up; I'm a CS major that'll probably need to know it eventually anyways, and lua is a really useful language for modding. I'll let you know if I find out a clean-enough solution!
Marson  [author] 23 Oct, 2020 @ 5:41am 
My eyesight has gotten even worse, so that would be really important to me if I were still playing. For the core game to be accessible to someone like me, the windowing system of the game would need to be rewritten to handle a wide range of font sizes.
Marson  [author] 23 Oct, 2020 @ 5:40am 
When updating, I found it easiest to use diff to locate the changes in the new game version and migrate those into the mod files, but it was a fair bit of work — especially when the versions were changing so frequently. At this point the game has changed enough that it would probably be easiest to take the appropriate mod changes and find where they should go in the new version of the game files and adapt them accordingly. I think I labeled every change in the comments consistently so someone looking to update can can do a basic search. The area I found most problematic, and why I needed to do entire file overwrites, was dealing with the font size so I could read the text more easily. Changing the font size is easy (and so the font face as well), but having the various windows adapt to the larger sizes was a real bear. It required changes in a lot of different places and some "ugly" fudging of the code.
Marson  [author] 23 Oct, 2020 @ 5:40am 
Thanks for looking, AB. One of the big problems is that, in order to do what I wanted with it, I couldn't just throw some lines at the beginning or end of a file after loading it the way most mods work. I had to overwrite entire files at load time. That means that any changes made to that file in new versions of the game get overwritten by the old file unless the mod is updated with those changes. This is also why this mod has to load first before any other mods.
Admiral Billy 22 Oct, 2020 @ 8:39pm 
If the Author or someone else wants to take a swing at updating this, I suspect that Fonts are the reason the mod currently doesn't work; the mod tries to hook into engine.ui.FontList, but that "same" file is now in data.font.packages. I managed to get (very few) features of the mod working by just removing everything relating to the Marson global variable and "font" in the load.lua (the colored frames are primarily what seemed to be working).

Someone who knows a bit more about lua than me just taking a sledgehammer to the file's code might be able to tweak it to work properly. There's also a good chance that isn't the only problem, but alas.
Marson  [author] 2 Aug, 2019 @ 9:36am 
Sorry. Medical stuff got worse rather than better and I'm also trying to pack for a move. I doubt I'll be working on it in 2019.

I've already handed over a couple of my other addons. I'd be happy to do the same if there's someone who wants to put the effort into updating this one. No one has approached me though.
ThePurpleNarwhal 30 Jul, 2019 @ 9:42pm 
Hi, I was wondering if you would be working on this anytime soon? It would be greatly appreciated.
DeLastOne 27 May, 2019 @ 10:12am 
So sad this is not working. The part I was looking for is this overlapping item descripton over the character inventory. Hate it. I will try to see if other mod propose that fix...
Casul Gamer 27 Jan, 2019 @ 10:01pm 
Between mods like this and a really good weapons overhaul mod (not perfect, but an improvement), I'm very much considering reverting back to an older version when they both worked :steamfacepalm:
Tyrant 2 Oct, 2018 @ 8:01pm 
Hi, just wanted to check back again. Are you still busy with other stuff? If not I'd really like to see this updated.
StratX 11 May, 2018 @ 9:25pm 
Is it possible this could be given off to someone else to simply make usable for the latest version(s) of ToME?
Marson  [author] 11 May, 2018 @ 7:10am 
My focus is on other stuff right now. Sorry.
Tyrant 11 May, 2018 @ 12:57am 
Marson, the expansion is coming out very soon. Is there any chance you could start work on updating this mod?

There shouldn't be any major changes to the addon API since the groundwork for the expansion has already been laid out, the expansion is pure content.
Matrix30815 15 Nov, 2017 @ 7:20am 
Does not work for me now, crashes game everytime
Supernaut 31 Jul, 2017 @ 7:18am 
this addon makes my game crash now :(
Teanage Dirtbag 9 Jan, 2017 @ 2:20pm 
i found a fix.
go into the files of tales of mag'eyal. go into games, addons, and then deleate everything in the folder.
and your done
Marson  [author] 9 Jan, 2017 @ 7:47am 
Visine "takes the red out"? ;)
Mr.Hmm 9 Jan, 2017 @ 7:36am 
Its ok, take your time to update it.

In the meantime my eyes are gonna keep bleeding :P
Marson  [author] 9 Jan, 2017 @ 7:03am 
I know. I had fully intended to keep my mods updated, but my health has continued to go downhill. I have very limited energy and am no longer playing ToME (though it remains one of my favorite games), so working on them has fallen way down on my priority list. There's a chance I may get back to it at some point, but that isn't likely to be anytime soon.
Mr.Hmm 9 Jan, 2017 @ 5:55am 
My eyes are gonna keep bleeding until this get updated... it's hard to play the game on 1920x1080 without this.
Teanage Dirtbag 13 Dec, 2016 @ 1:01pm 
My games broken, can't create charecture. this is the only mod i have ever installed on Tome. can someone help?
Kazeck 29 May, 2016 @ 1:52am 
Wish this'd get fixed. I love Marsons U.I
Killer Tofu 25 May, 2016 @ 1:16pm 
tfw Marson doens't care anymore :steamsad:
bluechipps 25 May, 2016 @ 7:47am 
I miss you marson's ui
Blackice010 30 Apr, 2016 @ 8:01am 
Can someone please fix this for the latest version of ToME?
Killer Tofu 29 Mar, 2016 @ 1:58am 
Anything new about this?
Olympian 4 Mar, 2016 @ 8:07am 
Confirming crash when creating a new game with mod enabled. Looking forward to bugfix :)
All Thriller No Philler 22 Feb, 2016 @ 9:45am 
Ah, thanks for the heads up!
Marson  [author] 21 Feb, 2016 @ 6:51pm 
Sorry for the delay, but there have been a lot up updates lately and I don't have the time to update the mod for each one. I'm hoping the updates will setting down soon so I can get a working version out.
Darthsawyer 21 Feb, 2016 @ 5:36am 
Just a heads up to everyone that with this new update, this mod is no longer functional. With it installed, you will fail to load into the character creation screen, presumably because the update changed something with it
All Thriller No Philler 16 Feb, 2016 @ 11:34pm 
Anyone been having issues with this lately? It's caused a few errors to arise with me.
Marson  [author] 28 Jan, 2016 @ 8:16pm 
Thanks! Maybe if I come back to the game, but I haven't played or worked on it in quite a while.
goodplayer69 27 Jan, 2016 @ 4:20pm 
Would you ever consider making the preview talents feature a seperate mod completely? I love that so much!! Keep up the great work :)
Marson  [author] 26 Jan, 2016 @ 5:58pm 
Thanks for the notice. It sounds like there was a major upgrade to the UI, so it may take me a little while to get the mod updated.
Ursarcadius 26 Jan, 2016 @ 12:27pm 
Just a headsup, in 1.4.1 atm, this addon crashes my game. I know the game just got updated, so it's not like a big deal or anything, but I just thought I'd leave a PSA
General Chaøs™ 8 Jan, 2016 @ 1:33pm 
Just to note from my messing around this mod seems work with the Old RPG mod with no issues. After I have tested everything more I will make a update but I went through quite a few of the UI menus and seems to work just fine so far.
Marson  [author] 16 Sep, 2015 @ 9:09pm 
Achievements are still functional.
Drake Dangereux 15 Sep, 2015 @ 9:56am 
Does this allow me to still get achievements? maybe abit of a dumb question but i just want to make sure ^^
Goritude 8 Sep, 2015 @ 9:25am 
Great mod.
And here is how to use it with existing characters:
http://te4.org/games/addons/tome/myth-minimalist-ui
VinchenzoTheJackal & Shoon 27 Jun, 2015 @ 3:12pm 
This has some helpful stuff in it, as well as stuff that just makes gamers more content. I can certainly approve of this.
Marson  [author] 17 Jun, 2015 @ 6:37pm 
Glad to hear it!
mpotter 17 Jun, 2015 @ 6:16pm 
Thank you! I didn't realize I needed to start a new character. Works great now in 1.3.1. My old eyes thank you!
Marson  [author] 16 Jun, 2015 @ 7:18pm 
I haven't done a 1.3.1 update yet, so I don't know if there's an issue there. Be sure you start a new character. Addons don't take effect on old characters unless you edit their save file.
mpotter 16 Jun, 2015 @ 6:42pm 
Installed in v1.3.1. I am not seeing any Font tab. I still only have the 3 normal font size choices. The AddOns menu claims the Marson UI is Active. Any ideas?