How to port your Telegram Desktop theme to Android
LKD70This is a small run through of how to port a tdesktop-theme file to an .attheme file so it can be used on Android.
In this I make use of a project called TDeskDroid by MrYadro, though eventually I may edit this to use a telegram bot or a website.
Download and Install Python 3
- Download Python 3.6.0 (NOT 2.7.13)
- Run the downloaded file and select: Customise Installation
3. Click Next until you reach the Advanced Options dialog; in here select Add Python to environment variables and click Install.
4. Check your install worked by opening a Command Prompt (WINkey+r) and typing: cmd Hit enter and a black box should appear, in this, type: python -V (Capital V). If all worked well, this will return: Pyth0n 3.6.0
Set up the TDeskDroid project
- Now download THIS project from GitHub and extract it in a folder somewhere...
- open the folder and right click on any blank space whilst holding the SHIFT key to show a menu rather like this one:
3. Click Open Command Window Here to open a new Command Prompt in that directory.
4. From here type the following: pip install -r requirements.txt This will install the required libraries for this to work.
5. Copy and paste your YOUR_THEME.tdesktop-theme file in to the folder.
6. In the command window you can now type: python main.py to run the program.
Et voila!
If you followed all the steps correctly, you should see something like this:
As you can see there's an attheme folder, in here is your converted theme.
I hope this helped you convert your theme; If so, don't forget to share it with us all in the Telegram Themes Group.
If you found an issue with this guide or come across an error, please contact @LKD70 on telegram. Do not contact me expecting me to convert a theme or set this up for you, thanks.
Happy Theming!