Auto download Module

magic

Active Member
3rd Party Tool Dev
Joined
Mar 5, 2018
Refering to this suggession.

I create a tool to automatically download several modules into ..\modules_ext\*.*

The tool is https://github.com/zomagic/Cerberus_Modext

WARNING!! All existing module that share the same name will be replace by the new version if you run with -update.
Please backup your modules if necessary.
 
Last edited:

magic

Active Member
3rd Party Tool Dev
Joined
Mar 5, 2018
Windows only?
Source code is in purebasic so no problem porting to mac and linux. I can port to mac soon but i don't have linux.

If a CX version of a module exists, you should refer to that
The list of Module is really draft. I just pick randomly from our forum. Actually, you can change it in "modext.txt". But if anyone know any CX module to include, I can add to the list.

The tool is just start. At this moment it can only download a module host from Github.
 

magic

Active Member
3rd Party Tool Dev
Joined
Mar 5, 2018
I improved the tool to be able to download from other sources (not just GutHub).
I also update the list of modules, with the modules reported here in this forum/UserModule
I make sure using version for CX but I not very sure about diddy, sdl2mixer and gif loader. Its seem like it still using MX ;(
 

MikeHart

Administrator
Staff member
Joined
Jun 19, 2017
Location
Germany
I make sure using version for CX but I not very sure about diddy, sdl2mixer and gif loader. Its seem like it still using MX ;(
What I ment was, when there is a CX version of a module like fantomX->fantomCX then link to the CX version.
 

magic

Active Member
3rd Party Tool Dev
Joined
Mar 5, 2018
What I ment was, when there is a CX version of a module like fantomX->fantomCX then link to the CX version.
I did it. For example on this latest list I change to fantomCX already. Mmm but may be I name the folder wrongly :(
 

MikeHart

Administrator
Staff member
Joined
Jun 19, 2017
Location
Germany
Mmm but may be I name the folder wrongly
No worries, works great so far. Downloading Vortex takes very long but I guess it is a slow connection.

To make this app even better, it should have a gui where someone can select the modules they want to install. anyway, great job so far.
 

MikeHart

Administrator
Staff member
Joined
Jun 19, 2017
Location
Germany
Awesome, thank you. Actually, I was thinking about the gui again. Better leave it like it is right now.
 

MikeHart

Administrator
Staff member
Joined
Jun 19, 2017
Location
Germany
Could you add some app parameters?
1. A flag which tells the app not to clear the target extraction folder
2. Setting the target extraction folder. Default is module_ext
 

magic

Active Member
3rd Party Tool Dev
Joined
Mar 5, 2018
A flag which tells the app not to clear the target extraction folder
Currently by default it didn't clear the folder. By default it replace any folder

Setting the target extraction folder. Default is module_ext
good idea
 

magic

Active Member
3rd Party Tool Dev
Joined
Mar 5, 2018
i really worry is someone say, have working hard improve diddy for himself, then my app come and replace for the original one. all his work would be gone. that not good. that why i put big warning.
 

magic

Active Member
3rd Party Tool Dev
Joined
Mar 5, 2018
I added a commandline
commandline:
modext.exe [-into=modulefolder][-update[=folder,folder,...]]
Use -into to give a folder name for your external module. If not supply default will use as modules_ext

If not supply -update in commandline(default) then the existing module will not be replace. Only new module will be download.

-update[=folder,folder,...]
If you didn't suply the list of folder, ALL module will be update. If supply, those list will be force to be update

both win an macos version is up to date
 

MikeHart

Administrator
Staff member
Joined
Jun 19, 2017
Location
Germany
What is missing from CX to port this to CX? I would like to add this tool to the official distribution.
 

magic

Active Member
3rd Party Tool Dev
Joined
Mar 5, 2018
I would like to add this tool to the official distribution.
YES, I agreed.
It is nice to run from Ted and output to CX console.
 

MikeHart

Administrator
Staff member
Joined
Jun 19, 2017
Location
Germany
I will only add it if an exe can be created with freely available software. Sadly Purebasic isn't.
I will look myself then what is missing in CX. Thanks anyway.
 

magic

Active Member
3rd Party Tool Dev
Joined
Mar 5, 2018
ok

btw...I update some bug that skip the copy/move command.
 
Top Bottom