ewigl's Projects and Guides

website·Indexed 30 days ago

https://ewigl.github.io

A collection of personal projects, technical guides, and modifications. Content includes a Gofile enhanced batch downloader, Telegram Bot creation tutorials, OpenWrt custom build instructions, Lineage OS installation for Sony Xperia 1 V, and various game mods such as Indestructible Weapons and Custom Buildzone Sizes.

Tokens
3.6K
Snippets
17
Records
34
Agent score
75%

What's inside ewigl

  1. Overview of Gofile Enhanced download capabilities

    Gofile Enhanced enables batch downloading of files and folder contents from Gofile. It supports direct link downloads and integration with several download managers: AB Download Manager (ABDM), Internet Download Manager (IDM), and any Aria2-based downloaders (e.g., Motrix Next).
  2. Create a Telegram Bot and obtain an API Token

    To create a new Telegram Bot, interact with @BotFather on Telegram. Follow the prompts provided by BotFather to complete the setup and receive your Bot API Token. Ensure this token is stored securely.
  3. Create a custom initialization script via uci-defaults

    Scripts placed in /rom/etc/uci-defaults/ are executed during the first boot of the image to apply initial system configurations. This is useful for setting the hostname, root password, LAN IP, and wireless settings using the uci command-line tool.
    # Beware! This script will be in /rom/etc/uci-defaults/ as part of the image.
    
    host_name="Licht_AX"
    wlan_name="Licht_AX_5G"
    wlan_password="Licht150886."
    root_password="Licht150886."
    lan_ip_address="192.168.8.1/24"
    
    # log potential errors
    exec >/tmp/setup.log 2>&1
    
    if [ -n "$root_password" ]; then
      (echo "$root_password"; sleep 1; echo "$root_password") | passwd > /dev/null
    fi
    
    # Set hostname & timezone & Time Format
    if [ -n "$host_name" ]; then
      uci set system.@system[0].hostname="$host_name"
      uci set system.@system[0].timezone='CST-8'
      uci set system.@system[0].zonename='Asia/Shanghai'
      uci set system.@system[0].clock_hourcycle='h23' 
      uci commit system
    fi
    
    # Configure LAN
    if [ -n "$lan_ip_address" ]; then
      uci set network.lan.ipaddr="$lan_ip_address"
      uci commit network
    fi
    
    # Configure WLAN
    if [ -n "$wlan_name" -a -n "$wlan_password" -a ${#wlan_password} -ge 8 ]; then
      uci set wireless.@wifi-device[1].disabled='0'
      uci set wireless.@wifi-device[1].country='US'
      uci set wireless.@wifi-device[1].cell_density='2'
      uci set wireless.@wifi-device[1].channel='64'
      uci set wireless.@wifi-device[1].htmode='HE160'
      uci set wireless.@wifi-iface[1].disabled='0'
      uci set wireless.@wifi-iface[1].encryption='psk2'
      uci set wireless.@wifi-iface[1].ssid="$wlan_name"
      uci set wireless.@wifi-iface[1].key="$wlan_password"
      uci commit wireless
    fi
    
    echo "All done!"
  4. Pass Play Integrity (PIF) on Sony Xperia 1 V

    To fix Play Integrity, install the following modules in the exact order listed, then reboot the device:

    1. ReZygisk
    2. Treat Wheel
    3. Play Integrity Fix
    4. TEESimulator
    5. Tricky Addon Enhanced
  5. Download Gofile files via Direct Links

    To use direct link downloads, you must enable 'Pop-ups and redirects' permissions in the Gofile website settings. Note: This method is not recommended for a large number of files, as it will open many browser windows simultaneously.
  6. Run and manage the Mihomo process

    Mihomo can be started in two modes:

    • Background: Double-click mihomo.start.vbs.
    • Foreground: Double-click mihomo.start.bat (opens a command prompt window).

    To stop the program:

    • If running in the background: Run mihomo.stop.bat, mihomo.stop.vbs, or terminate the mihomo.exe process via Task Manager.
    • If running in the foreground: Close the command prompt window.

    Once running, the control panel is accessible at http://localhost:9090/ui.

  7. Deploy automated check-in tasks using GitHub Actions

    To set up an automated check-in task from a provided example repository, follow these steps:

    1. Fork the Repository: Click the 'Fork' button on the top-right of the target repository to copy it to your own GitHub account.
    2. Enable Actions: Navigate to the 'Actions' tab in your forked repository and enable the Workflows.
    3. Configure Secrets: Go to 'Settings' > 'Secrets and variables' to configure the required Actions variables. Refer to the specific project's README for the exact variable names and values needed.

    For projects supporting Telegram notifications, you will need a Bot Token and Chat ID.

  8. Make Champion weapons, Master Sword, and Hylian Shield indestructible

    To give Champion weapons, the Master Sword, and the Hylian Shield infinite durability, locate the IsLifeInfinite parameter within the corresponding weapon's GeneralParamList and set its value to true.

    Modify IsLifeInfinite to true in the following paths:

    • Actor/Pack/Weapon_Bow_028.sbactorpack/Actor/GeneralParamList/
    • Actor/Pack/Weapon_Lsword_054.sbactorpack/Actor/GeneralParamList/
    • Actor/Pack/Weapon_Shield_037.sbactorpack/Actor/GeneralParamList/
    • Actor/Pack/Weapon_Spear_050.sbactorpack/Actor/GeneralParamList/
    • Actor/Pack/Weapon_Sword_052.sbactorpack/Actor/GeneralParamList/