Skip to content

Instantly share code, notes, and snippets.

View David-Lor's full-sized avatar
🐍
entro.py

David Lorenzo David-Lor

🐍
entro.py
  • Vigo/Galiza/Spain
  • 13:03 (UTC +02:00)
View GitHub Profile
@David-Lor
David-Lor / AsusD541S_FanControl.py
Created December 1, 2017 08:22
AsusD541S_FanControl
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import psutil
import subprocess
import atexit
from time import sleep
CMD_START = "sudo echo 1 | sudo tee /sys/class/hwmon/hwmon4/pwm1_enable"
CMD_STOP = "sudo echo 0 | sudo tee /sys/class/hwmon/hwmon4/pwm1"
@David-Lor
David-Lor / README.md
Last active August 14, 2017 22:04
Run Assassin's Creed II & OpenTexMod

Run AC2 + OpenTexMod

These two Batch scripts will launch OpenTexMod and, then, launch Assassin's Creed II. The script will wait until you close AC2, then it closes OpenTexMod and the script itself. This is specially useful for launching a game and, beforehand, a dependency. In this case, OpenTexMod, which is used in games like Assassin's Creed for replacing textures.

How to use

Replace the routes for the game and OpenTexMod executables on the script! This script was made for being used with the Assassin's Creed 2 Overhaul Mod, which uses OpenTexMod, but you can modify the script for any other game or dependency.

YOU MUST FOLLOW THE INSTRUCTIONS FROM THE OVERHAUL MOD. Specifically where it says to make OpenTexMod auto-load the textures for AC2! Otherwise this script will be useless!