Closed ledouxm closed 1 year ago
Hello @ledouxm , Thank you for this new PR, your contribution is welcomed!
Reverse engineering the Ankama Launcher is something I wanted to do a long time ago, it is much more convenient in python indeed.
data/U/*
have changed?I look forward to seeing your critics on the code i wrote since I'm not used to code in python.
data/A/*
, data/B/*
and data/C/*
to the .gitignore
? Committing them is useful to compare between versions: exampleI will try this script on my computer soon. Good job 😃
In the U1.py file, there is a function which is used to select d2o, d2i, DofusInvoker and VERSION files, we can add some or remove if not needed
def is_file_interesting(file):
name = file.Name().decode("utf-8")
if "DofusInvoker.swf" in name or ".d2o" in name or".d2i" in name or "VERSION" in name:
return True
return False
No, i'll remove it
I haven't seen this lib before, it would have saved me some time of work on the Ankama Launcher lol. I've made an updater in nodeJS so i just translated it
You tell me if u prefer to merge it and then enhance it or the opposite way
I like the idea of building a second repo tho i'm not sure i know how to make a python library efficiently
I'll add them back, i was annoyed by the git diff and... it didnt solve anything, let me clean it up.
Ankama Launcher uses an RPC library called flatbuffers for its updater so i recreated their schema (U1/schema.fbs) and with a single command i can generate the Cytrus folder. This has been really handy since my nodejs updater uses the same schema file !
Merged #39 instead
Hi,
This PR aims to replace the old U1 job (using UIPath) with a new one reproducing how the ankama launcher works. The CI seems to be working on my fork so i guess this is ready to merge.
I also added data folders into the gitignore file since they are automatically generated.
I look forward to seeing your critics on the code i wrote since i'm not used to code in python.