#External Modmanager

1157 messages Ā· Page 2 of 2 (latest)

frozen finch
#

You still on the holiday thonkeyes

#

How long are you going?

brave storm
#

I’m just back yesterday, managed to catch a nasty cold dabhaha

#

Been taking a look at MVVM stuff in downtime at work, some of it is starting to make sense dogekekcry

brave storm
#

Here I was gonna say - should I take another crack at the gallery display again?

#

I’ve seen a few examples on WPF and the WPF-ui framework, so think I’ve got some ground for it now

#

Especially since it looks like updating each of my mods to U5 is literally removing 1 word from the faction specification

#

You love to see it

frozen finch
brave storm
#

100%, very thankful about that one. I’m sure TAPI has some fun with the new update?

frozen finch
#

Not too much just a few namespaces

brave storm
#

Oh nice! Love that!

gritty wadi
#

It doesn't translate perfectly to Avalonia in all cases

#

I'm learning avalonia myself recently, so I'm getting a sense for it

frozen finch
#

I have a personal question

#

Can WPF be more pretty than 2016 Word design ?

#

Im pretty sure it can be quite pretty, but also compared to the web technology ?

brave storm
gritty wadi
gritty wadi
#

as in, WPF is based around the idea of something they called "Blendability"

#

every control can be pretty much entirely restyled

#

you basically just start defining styles in the global scope for specific controls like

#
<Style TargetType="{x:Type TextBox}">
    <Setter Property="Background" Value="Red"/>
    <Setter Property="Template">
      <ControlTemplate TargetType="{x:Type TextBox}">
          <Border Background="{TemplateBinding Background}" BorderBrush="Blue" BorderThickness="1">
              <ItemsPresenter /> <!-- I don't think this is actually correct, but its not important for the point -->
          </Border>
      </ControlTemplate>
    </Setter>
</Style>
#

with that in a global scope (like the App.xaml Resources element) all TextBoxes in the entire app will have a blue border around them with a red background

#

If you want to be sure to capture all the visual functionality, you can pretty much google "WPF TextBox Templates" and you'll find an article on MSDN about it

#

this doesn't all translate smoothly to Avalonia, its got a lot of differences in the way they handle things

#

WPF seems more flexible, but I'm severely biased

frozen finch
#

More flexible than avalonia ?

gritty wadi
#

yeah, to me, that doesn't mean it is

#

I don't know Avalonia well enough to make such a statement, I'm just getting started and am severely suffering from adapting to its differences

#

so at the moment Avalonia feels more rigid, but I could see that changing as I understand it better

frozen finch
#

stonk

#

@brave storm Any new findings

#

Had some busy weeks, being held hostage by things I did not plan and all HappyIT

buoyant jacinth
#

šŸ‘€

#

hmm where the repo at?

#

cant seem to find it

#

nvmm

frozen finch
#

Main != avalonia yet

buoyant jacinth
#

avalonia_ui?

frozen finch
#

Myes

#

There is one I worked on and another battery worked on

#

Both are avalonia hto

buoyant jacinth
#

well i cant even get it to detect my .NET 6 SDK so thats a great start

frozen finch
#

Wasn't it build on .NET 7 ?

buoyant jacinth
#

nope

frozen finch
#

Frick

#

It's not even off the gorund and alreadu on technical dept

buoyant jacinth
#

lmao it makes no sense... It tells me it needs SDK6, when i change the buildtools to SDK 6 it tells me it cant load the project cuz its configured for SDK7 thonk

#

<TargetFramework>net7.0</TargetFramework>

#

bruh what

frozen finch
#

Maybe it's on 7 but you only have 6 ?

buoyant jacinth
#

no i have 7

#

lmfao changing it back fixed it

#

well whatever, if it works it works

#

heh this is rough to look at kek

buoyant jacinth
#

do you want to do this MVVM style?

frozen finch
#

Probably

#

But without 1 V or M I believe thonkeyes

#

We don't really have modals I suppose

buoyant jacinth
#

this is how i have one of projects setup

frozen finch
#

It's not that different

#

Except we have it in 1 extra sub

buoyant jacinth
#

mhm thats MVVM though

#

Model, View, ViewModel

frozen finch
#

And we don't have any models yet so no folder for that

buoyant jacinth
#

looks like i didnt push the last version from work though PepeHands

#

that had some stuff in it that would help me

frozen finch
#

šŸ™‚

#

Congatz

#

you played yourself

buoyant jacinth
#

Do you want to stick with ReactiveUI or are you fine with Community Toolkit?

#

Community Toolkit makes binding quite a lot easier

frozen finch
#

I think I want to stick with ReactiveUI

#

Unless you find a good way to...

  • Type in searchbox
  • Debounce 300ms
  • Then fire an method

And it's able to convert the dang page switcher

buoyant jacinth
#

hmm lemme try

frozen finch
#

Since that's probably the 2 most complexed things

buoyant jacinth
#

looks like docs are pretty scarce for community toolkit PepeHands

frozen finch
#

I guess that will not be a switch

#

ReactiveUI makes binding also easy tho

buoyant jacinth
#

its still quite a lot of boiler plate

#

but yeah its not bad or anything

frozen finch
#

1 attribute?

buoyant jacinth
#

you still gotta notify stuff of changes i think

#

in toolkit you just add an attribute to the local field and it'll create the binding for you

frozen finch
#

In reactive as well

#

They have a .fody for that

#

Else you need to write 1 line instead of the atteibute

#

No poroerty notify stuff

buoyant jacinth
#

fair enough

brave storm
#

Kinda the same, work has been hectic. Had a couple of chances to take a look at it but not much time to work on it sadly

frozen finch
#

If I feel this weekend better again, I am going to checkout a list view for at least half a day

brave storm
#

Sounds good, Hope you’re feeling better soon!
Sorry I’ve not been as active on this as I would like to be

frozen finch
#

No worries I was neither

serene sonnet
#

I hpe you get well soon!

#

I'm looking forward to the external mod manager.

frozen finch
serene sonnet
#

Honestly, about the mod manager, it might be easier to use Electron to make it, if you didn't progress all that much with it.

serene sonnet
#

I noticed you were struggling to make the pages. Electron uses NodeJS and HTML, CSS, and JS. With NodeJS you can download files to the PC and extract archives and move them where you want them and change files (i.e. the file deciding which mods to load), and the rest would be for the graphical interface to show the list of mods, what is downloaded, what is enabled, and so on.

#

And the Thunderstore Mod Manager is a good example of what the interface could look like, as a source of inspiration, but yours can difer vastly, if you want.

frozen finch
#

But that's like saying, oh you struggling to make a game with unity, you can also use unreal it uses C++ ThinkingIT

#

It's more time that's lacking

serene sonnet
#

I might be remembering wrongly, but I remember you striggling with the development stack you used.

frozen finch
#

If I spent 2 hours in electron it's alsoi not going to be much šŸ˜…

serene sonnet
frozen finch
serene sonnet
serene sonnet
frozen finch
#

No time for it to get used to/make it, but electron would be the same in that sense. But some day we get there!!

frozen finch
#

It's only a modloader it does not manage things for a mod manager

serene sonnet
#

I see, so you need to move the unloaded mods to a different place.

frozen finch
#

We changing the extension to .disabled so it doesn't know it's a dll

#

bepinex just loads any dll it sees, even if it's not something that uses bepinex

#

But I am better again, so I can start catching up 2 weeks of stuff in life in this month. YA_Prayge for external mod manager

serene sonnet
#

Good luck!

serene sonnet
buoyant jacinth
frozen finch
buoyant jacinth
#

Oh right sweat_intense

#

I thought it natively support it, mb

frozen finch
#

Although the external mod manager will be mainly for windows and maybe later linux/Mac

buoyant jacinth
#

afaik avalonia is cross platform

#

so is .net core

frozen finch
#

True but no idea how to test ot and the setup is different

buoyant jacinth
#

just gotta make sure not to call windows specific code

#

yeah, we'll see

frozen finch
#

Lets try to make one on windoes first HappyIT

#

Its 90%+ of the userbase anyway

buoyant jacinth
#

very true

#

just a random thought i had haha

frozen finch
#

We always accept a pr HappyIT if you convert it

buoyant jacinth
#

I have never tried it on linux haha

proud flower
frozen finch
proud flower
#

Okay thanks

brave storm
brave storm
#

Damn, 1 year +1 day!
I'm necro-ing this thread to bring this back. Been making some progress, and am making a fair bit of headway with the UI. Planning to get something which can handle mod 'profiles' to support various mod setups

#

Progress update

brave storm
#

If anyone has any experience with XAML/Avalonia and is willing to let me pick their brains, let me know šŸ˜›

gritty wadi
brave storm
#

Like, in principle I understand how mvvm is structured, but there’s a fair bit I’m still getting to grips with

gritty wadi
#

Well the first thing I'll say is don't get discouraged, MVVM tends to be tough for people to pick up for some reason

#

I say for some reason, because its kinda like learning math, eventually it just makes sense and you don't really understand why it didn't previously

#

but also, don't get too hung up on the layers stuff

#

the really important piece of just your View should just avoid doing any kind of business logic, and the ViewModel prepares information from your data sources (the model)

#

It often feels silly to make both a Model and a ViewModell, and in those cases, I don't, I just make the View Model

#

One way I think about it for quick and dirty work is that the ViewModel uis where your actual program is, and the View just shows that to the user

#

but anyways, yeah, Feel free to ask me whatever you need, I've done a bit of avalonia, and most of the concepts transfer from WPF