Skip to content

Introduce DODIRepacks provider and update AnkerGames menu integration#161

Closed
shubhamharlalka-stack wants to merge 1 commit into
Y0URD34TH:mainfrom
shubhamharlalka-stack:shubhamharlalka-stack-patch-1
Closed

Introduce DODIRepacks provider and update AnkerGames menu integration#161
shubhamharlalka-stack wants to merge 1 commit into
Y0URD34TH:mainfrom
shubhamharlalka-stack:shubhamharlalka-stack-patch-1

Conversation

@shubhamharlalka-stack

Copy link
Copy Markdown
Contributor

1. DODIRepacks.lua (New Provider)
A fully automated, end-to-end integration for dodi-repacks.site.

  • Advanced Protection Bypass: Integrates dynamic Cloudflare and cPGuard bypasses, spawning browsers to solve Turnstile/captchas seamlessly.
  • Smart Mirror Handling & Automation: Extracts torrent mirrors (Up-4ever, Swiftuploads, File-me) and automates the navigation/button-clicking through custom injected JavaScript to bypass timers and redirects.
  • Torrent to Magnet Conversion: Intercepts .torrent downloads, converts them to magnet links, and automatically injects the best dynamic trackers (fetched live from ngosang's trackerslist) to ensure optimal download speeds.
  • Silent Installation System: Automatically detects install time, spawns the DODI setup executable silently, and automatically adds the detected shipping/game executable to the GLD Game Library once finished.

2. AnkerGames.lua (v1.3.1 Update)
Quality-of-life improvements and variable isolation to prevent UI/global conflicts.

  • Menu Standardization: Updated generic menu inputs (Anker Game Dir, Pass, Delete After Extraction) to provider-specific names (AnkerGames Dir, Password AnkerGames, Delete After Extraction AnkerGames) for better UI clarity in the client.
  • Naming Conventions: Standardized callback function names (e.g., on_beforedownload to onbeforedownload) to match the project's broader coding style and avoid global scope pollution.
  • Notification Polish: Refined push notification texts from generic labels like "Anker Script" to the proper "AnkerGames" branding.

DODIRepacks.lua (New): Built from scratch to add support for this provider.
AnkerGames.lua (Updated): Uploaded the newest version to replace the old one.
@qiracy

qiracy commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

Hey there, the DODI script does find results correctly, but it isn't getting the actual download links at all. Do not rely on Anker script's logic for getting links because its very different for DODI's site

@shubhamharlalka-stack

Copy link
Copy Markdown
Contributor Author

Hey!!
Will you please tell me what game you tried to download using the DODI Script. I used it to download and install multiple games in my and some of my friends system and did thorough check before posting.

I know the AnkerGames and DODI site are different and therefore you can see the logic that I have used are also different.

If possible will you please share the log so that I can understand where it is failing and can resolve it.

Thank you.

@Y0URD34TH

Y0URD34TH commented Jun 5, 2026

Copy link
Copy Markdown
Owner

@shubhamharlalka-stack give an look on the 1337x dodi one. dodi uses inno setup, Wich gld can hook an provide the path user used to install and when it finishes. Use it instead of relying if setup is still running.
(On the exec or file.exec you can put true on is inno setup and it'll automatically hook it, then you can just listen to the callback on_setupcompleted)

@Y0URD34TH

Copy link
Copy Markdown
Owner

Also, if u did resolvers for Up-4ever, Swiftuploads and File-me, I would love if you add they as resolvers and also do an pr including they at the Resolver Manager script.

@shubhamharlalka-stack

Copy link
Copy Markdown
Contributor Author

Hey @Y0URD34TH, I tried hooking up the inno dll but it was not working with the DODI setup exe.
I am planning to add them as a resolvers but give me a day or two as I am working on certain more resolvers and I will add them all together.
Once this DODIRepacks will be approved, I am also wokring for the direct download link for dodi for the next update in this script.

@Y0URD34TH

Y0URD34TH commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Hey @Y0URD34TH, I tried hooking up the inno dll but it was not working with the DODI setup exe.
I am planning to add them as a resolvers but give me a day or two as I am working on certain more resolvers and I will add them all together.
Once this DODIRepacks will be approved, I am also wokring for the direct download link for dodi for the next update in this script.

Cause you need to hook the setup.tmp not .exe.
Here the example:
exec(setupPath, 5000, "", true, "Setup.tmp")
)
client.add_callback("on_setupcompleted", setupcompletedf)

Do this when executing the setup downloaded.

@shubhamharlalka-stack

Copy link
Copy Markdown
Contributor Author

Hey @Y0URD34TH, I tried hooking up the inno dll but it was not working with the DODI setup exe.
I am planning to add them as a resolvers but give me a day or two as I am working on certain more resolvers and I will add them all together.
Once this DODIRepacks will be approved, I am also wokring for the direct download link for dodi for the next update in this script.

Cause you need to hook the setup.tmp not .exe

Ok. I will do the required changes and upload the file again. Thank you.

@shubhamharlalka-stack shubhamharlalka-stack deleted the shubhamharlalka-stack-patch-1 branch June 5, 2026 13:26
@Y0URD34TH

Copy link
Copy Markdown
Owner

Hey @Y0URD34TH, I tried hooking up the inno dll but it was not working with the DODI setup exe.
I am planning to add them as a resolvers but give me a day or two as I am working on certain more resolvers and I will add them all together.
Once this DODIRepacks will be approved, I am also wokring for the direct download link for dodi for the next update in this script.

Cause you need to hook the setup.tmp not .exe

Ok. I will do the required changes and upload the file again. Thank you.

I gave an example I hope it helps

@qiracy

qiracy commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

Hey!! Will you please tell me what game you tried to download using the DODI Script. I used it to download and install multiple games in my and some of my friends system and did thorough check before posting.

I know the AnkerGames and DODI site are different and therefore you can see the logic that I have used are also different.

If possible will you please share the log so that I can understand where it is failing and can resolve it.

Thank you.

I mostly just tried games from the homepage - silksong, dispatch, hades 2, etc. Download never started, and it seems to have only gotten the page link. If you right click on the download button and select the open link option, itll open it in GLD browser or your default browser and you can see if it's really a download link or just the page link. For every game I tried it only showed the game page, not the actual download links

@shubhamharlalka-stack

Copy link
Copy Markdown
Contributor Author

Hey!! Will you please tell me what game you tried to download using the DODI Script. I used it to download and install multiple games in my and some of my friends system and did thorough check before posting.
I know the AnkerGames and DODI site are different and therefore you can see the logic that I have used are also different.
If possible will you please share the log so that I can understand where it is failing and can resolve it.
Thank you.

I mostly just tried games from the homepage - silksong, dispatch, hades 2, etc. Download never started, and it seems to have only gotten the page link. If you right click on the download button and select the open link option, itll open it in GLD browser or your default browser and you can see if it's really a download link or just the page link. For every game I tried it only showed the game page, not the actual download links

Right now I am making all the resolver script and with that I will make changes in my DODIRepacks script and make it more streamline and might include direct download option in it as today I did my first test and direct download was working flawlessly. Once I am done with everything, I will raise pr with the new script. Test that and help me out with the debugging. Thank you.

@shubhamharlalka-stack

Copy link
Copy Markdown
Contributor Author

@Y0URD34TH Hey!! I want your help in one thing. The GUI of the application has an option to paste multiple links and then we can start the download and it will add all the parts to one while downloading. Can we do the same with script?

@Y0URD34TH

Copy link
Copy Markdown
Owner

@Y0URD34TH Hey!! I want your help in one thing. The GUI of the application has an option to paste multiple links and then we can start the download and it will add all the parts to one while downloading. Can we do the same with script?

Yes, it's only an visual thing. Just add the parts and they will show as 1 too on the ui, monitor the downloads till last part is downloaded or extract the parts as it downloads (could be an nice way to save space and time)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants