pixeltris / YgoMaster

Offline Yu-Gi-Oh! Master Duel
MIT License
770 stars 112 forks source link

is it possible to do this with mtg arena too ? #382

Closed kesz24 closed 2 months ago

kesz24 commented 2 months ago

just curious but idk, since the file form look simillar

pixeltris commented 2 months ago

YgoMaster depends on the local duel engine to work. This is in duel.dll and it controls solo duels and can also be used to create PvP duels.

MTG Arena's duel logic is fully controlled sever side. You'd either need to create a mtg duel engine from scratch for such a project or fork something like xmage and create some sort of bridge between the duel engine logic that xmage uses and somehow mapping it to what the client expects.

If you look at this comment here:

https://github.com/magefree/mage/issues/4515#issuecomment-451324837

It has some links to some pastebins from MTGA logs. They look really verbose / there's a lot of data points that need filling out. It would be a lot of work either starting a duel engine from scratch with support MTGA in mind, and it would also probably be a lot of work mapping the internals of xmage to what the client wants.

kesz24 commented 2 months ago

i see , i guess it need to start from scratch to do this but anyway thanks for your response