Torchlight II – God Mode Console

Refer: https://steamcommunity.com/sharedfiles/filedetails/?id=126856835
Refer: https://support.arcgames.com/hc/en-us/articles/360017560214-How-to-open-the-in-game-console-on-Mac-OS-X

On MacBook

/Users/mruckman/Library/Application Support/Steam/steamapps/common/Torchlight II/my games/runic games/torchlight 2/save/76561198320634829/settings_sdl2.txt

Change CONSOLE :0 to CONSOLE :1

[Option]+[r] or [Option] + [r] on mapped keyboard

Open Console on Ubuntu

gedit "/home/mruckman/.steam/steam/steamapps/common/Torchlight II/my games/runic games/torchlight 2/save/76561198320634829/settings_sdl2.txt"

gedit "/home/mruckman/.steam/debian-installation/steamapps/common/Torchlight II/my games/runic games/torchlight 2/save/76561198320634829/settings_sdl2.txt"

[Insert] Key

Note: Replace “###” with numbers, and remove all parentheses, and quotation marks.

GOD : Toggles invincibility on/off.
GODSPEED : Toggles invincibility and extra speed on/off.
LEVELUP : Gain XP to level up.
AIFREEZE : Toggles Monster AI on/off.
PLAYERNOTARGET : Toggles Monster targeting on/off. (Ghost Mode)
KILLALL : Kills all monsters.
ALWAYSCRIT : Player always hits critically.
ASCEND : Goes down a floor.
DESCEND : Goes up a floor.
MONEY ### : Sets amount of gold to “###”.
ALLITEMS : Spawns all items.
CLS : Clears console history.
SETTIME ### : Sets the time of day to “###”.
SETTIMESCALE ### : Sets the timescale for time of day to “###”.
ROOM : Returns the room the player currently is in.
FPS : Shows the frame rate and other information.
SPEED : Toggles additional speed for the character.
DAMAGE SHAPES : toggles damage shapes on and off.
STATPOINTS ### : Gives you stat points set to “###”.
STRENGTH ### : Gives you melee points set to “###”.
DEXTERITY ### : Gives you ranged points set to “###”.
MAGIC ### : Gives you magic points set to “###”.
DEFENSE ### : Gives you defense points set to “###”.
ALLSTATS ### : Gives you the count to all stats to “###”.
FAME ### : Gives you fame points set to “###”.
SKILLPOINTS ### : Gives you skill points set to “###”.
SETPETLEVEL : Sets the pet’s level set to “###”
DISABLEPET : Disables/enables the player’s pet.
RELOAD : Reloads textures.
PATHING : Toggles pathing debug display.
COMBATLOG : Toggles combat log.
SOUNDDEBUG : Toggles sound debug.
CLEARHISTORY : Clears level history.
MISSILETRAILS : Shows missile trails.
DEBUGLOGIC : Toggles if the logic events are fired to the ogre log.
NOXP : Player doesn’t gain XP.
ANIMATIONSPEED ### : Changes the animation of everything to match the FPS.
HURTME ### : Reduces the player and the player’s pet HP by the given percent.
RESETSTATS : Resets the player’s stat points.
RESETSKILLS : Resets the player’s skills.
RESETPLAYERLEVEL : Resets the player’s level to 1.
RESETPETLEVEL : Resets pet’s level to 1.
RESETPLAYER : Resets player’s stats, skills, and level.
CAMERADISTANCE ### : The ### the camera will be from the player.
DIFFICULTY: Displays the current game difficulty.
SETDIFFICULTY ### : Sets the current difficulty, values range from (0) Easy to (3) Very Hard.
SKILL name/index = type just skill to see a list of skills. Type the number or the name of the skill to make active on the player.
SKILLTEST = different in the command skill, this will allow you to execute any skill even if it wasn’t intended for your character.
ITEM index,count = the params are option. Type items to see indexes of all monsters in the game.
ITEM itemName,count = creates count of itemName.
ALLITEMS unittype = spawns all items of a given unittype (use “_” for spaces)
IDENTIFYALL identify all items in the player’s inventory.
ANY index,count = the params are option. Type any to see indexes of all units in the game.
EDITOROBJECT objectName,count = Creates an object from the editor for testing memory use.
UNIT unitName,count = creates a unit by name and count.
SPAWNCLASS spawnclassName,count,level = just type spawnclass to see all the spawn classes listed. Pass in Zero or a negative number for level will use the dungeon depth as the level.
MONSTER index,count = the params are option. Type monster to see indices of all monsters in the game.
MONSTER monsterName,count = creates count of monsterName
MONSTERMEM MonsterName,### = the params are option. Creates and deletes a monster for memory testing.
MODEL modelpath,### = the params are optional. Creates and deletes a model for memory testing.
DUNGEON dungeonName = sets the current dungeon
CLEANUP = releases unused resources
CHARGEBARMULT = makes the charge by X percent easier to fill
UNITTYPES = displays all unittypes
RESTARTLEVEL = restarts the current level
QUESTS = lists all quests
QUESTACTIVE questName = sets a quest to active
QUESTSHOWACTIVE = Shows all the players active quests
QUESTCOMPLETE questName = sets a quest to complete
QUESTRESET questName = resets a quest to not be active or complete
QUESTSCOMPLETE = Lists all the quests complete
SHOWBLOOD = toggles blood particles
ACHIEVEMENTS = Lists the achievements and if they are complete
MEMORY = Dumps the memory allocation to the console.
TAGS = Dumps all tags used in the level and what got created.
ITEMBYMESH = Pass in part of a mesh name to spawn all items with that contain the string you passed.
UIREFRESH = forces a refresh on the UI.
MODIFYSIGHT = changes the sight distance of monsters activation. Pass 0 to reset.
MODIFYMOTION = changes the motion distance of monsters activation. Pass 0 to reset.
CHARACTER COUNT = returns the number of characters updating in the level
PLAYERANIMATION = Dumps to the console which animation the player is playing and stopping.
DOLLYMIN mindis = The min dolly distance for interaction.
BLOOM = Toggle fullscreen bloom.
LOGCONSOLE = Show the logging console.
CONNECTIONDATA = Dump a connection data file.
ADDFRIENDBYUSER = Add a friend by username or email.
DROPCONN = Drop the given connection id.

diceware – To generate passwords

Refer: http://manpages.ubuntu.com/manpages/bionic/man1/diceware.1.html

Sample Usage
Four words, and separate by dash

$ diceware -n 4 -d -

Installation
$ sudo apt-get update -y
$ sudo apt-get install -y diceware

 

Delish Mason Jar Ice Cream

Simple ice cream in a Mason jar

Refer: https://www.delish.com/cooking/recipe-ideas/recipes/a53547/mason-jar-ice-cream-recipe/

Yields: 1
Prep Time: 0 hours 10 mins
Total Time: 3 hours 10 mins

Ingredients

  • 1 c. heavy cream
  • 1 1/2 tbsp. granulated sugar
  • 1/2 tsp. pure vanilla extract
  • Pinch of salt

Directions

Pour cream, sugar, vanilla and salt into a 16 ounce mason jar and secure tightly with a lid. Shake the mason jar until the cream thickens and almost doubles in size, 4 to 5 minutes. It should be opaque and easily coat the back of a wooden spoon.

Freeze for 3 hours, or until hardened. Scoop out ice cream with a spoon and serve with your favorite ice cream toppings.

Install gTile and/or Gnome Extensions

Installing Gnome Extensions - Wanted for gTile

Usage Refer: https://github.com/gTile/gTile

Refer: https://linuxconfig.org/how-to-install-gnome-shell-extensions-on-ubuntu-20-04-focal-fossa-linux-desktop

$ sudo apt install gnome-shell-extensions
Logoff and Logon Again
Install Firefox extension: https://extensions.gnome.org/
Click on the gnome extension icond in Firefox
Search for gTile and install it

Allow MP4 to Play in Ubuntu 20.04

Refer: https://linuxconfig.org/unable-to-play-the-file-missing-decoder-on-ubuntu-20-04-lts-focal-fossa

Error Message when trying to play MP4:
Video mp4 dvd subpicture decoder is required to play the file but is not installed

sudo apt install -y vlc
sudo apt install ubuntu-restricted-extras
sudo apt install libdvdnav4 libdvd-pkg gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly
sudo reboot

Older notes: Don't think these fixed anything; however, you do need to install VLC standard

Refer: https://itsfoss.com/play-dvd-ubuntu-1310/

These commands don't really do the trick:

sudo add-apt-repository multiverse
sudo apt install -y libdvd-pkg
sudo dpkg-reconfigure libdvd-pkg

Important: You need to install VLC from command line and NOT Snap version

sudo apt install -y vlc

Ubuntu update error “waiting for unattended-upgr to exit”

Refer: https://techtips.easycloudsolutions.com/2018/05/15/ubuntu-update-error-waiting-for-unattended-upgr-to-exit/

Stop the automatic updater.

$ sudo dpkg-reconfigure -plow unattended-upgrades

At the first prompt, choose not to download and install updates.

Make a reboot. Make sure any packages in an unclean state are installed correctly.

$ sudo dpkg --configure -a

Get your system up-top-date.

$ sudo apt update && sudo apt -f install && sudo apt full-upgrade

Turn the automatic updater back on, now that the blockage is cleared.

$ sudo dpkg-reconfigure -plow unattended-upgrades

Select the package unattended-upgrades again.

Remove favicon Requests

Refer: https://stackoverflow.com/questions/60237402/python-flask-application-duplicate-http-requests

Chrome sends an extra GET request for a favicon. Add this to the head of your html to stop this request:

<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">