[x]Blackmoor Vituperative

Tuesday, 2021-08-17

Remove Proton from Firefox 91

Filed under: Software,The Internet — bblackmoor @ 17:13

Winaero has a step-by-step tutorial on how to revert Firefox (more or less) to its pre-Proton user interface. I am giving it a try. I have been using Chrome as my default browser for the past day, and I like it better than Protonic Firefox, but not as much as pre-Protonic Firefox.

Wednesday, 2021-07-14

Stop downloading images as webp

Filed under: Software,The Internet — bblackmoor @ 09:08

If you are annoyed that you download images in Firefox and they save as “*.webp”, install this addon.
https://addons.mozilla.org/en-US/firefox/addon/dont-accept-webp/

Tuesday, 2021-06-01

Change Firefox tabs back to old style

Filed under: Software,The Internet — bblackmoor @ 10:21

If Firefox has updated and now your tabs are huge and you can’ t tell which tab is open by looking at them, you can switch it back. Type “about:config” in the address bar, search for “proton“, and change the “true” values to “false“.

Sunday, 2021-04-18

Rounding to significant digits in LibreOffice Calc

Filed under: Software — bblackmoor @ 12:24

Here is a formula for rounding a number to a specified number of significant digits.

=if(A1=0,0,round(10^(floor(B1-LOG(abs(A1))))*A1)/(10^(FLOOR(B1-log(abs(A1))))))

In this formula, A1 is the cell with the number, and B1 is the cell with the number of significant digits.

Monday, 2021-03-01

Karelia, version 7

Filed under: Art,Gaming,Software — bblackmoor @ 09:37

Current version of Karelia map, for my maybe-I-will-maybe-I-won’t D&D game. I like the overall look, but I am bumping into limitations in Inkarnate (which is what I used to draw this). namely, there is no way to group objects into, say, “Labels”, or “Rivers”, and change the size, colour, font, etc. in a simple way. Photoshop can do that fairly easily (no great surprise), so I am thinking about doing the landmasses in Inkarnate (which is easy to do with its built-in textures and POI icons) and then doing the rivers and labels in Photoshop.

Alternately, I am playing with the idea of loading this map into Campaign Cartographer (from ProFantasy), and re-drawing it in that program. Campaign Cartographer is a much more powerful mapping program than Inkarnate, and can do everything (or nearly everything) I would like to do in Photoshop. I have owned Campaign Cartographer for literally decades, and have subscribed to their monthly “Cartographer’s Annual” since 2007, but I have never taken the dive into learning it. It has a steep learning curve.

On the other other hand, I am wondering if perhaps I have gone down a rabbit hole on this whole map thing. Maybe I should just declare it “good enough”, and move on to planning the actual game. Maybe.

Friday, 2020-06-05

MyMedia under screen

Filed under: Linux,Movies,Software — bblackmoor @ 11:47

I use a Python application called MyMedia to stream videos from my Ubuntu media server to my Roku boxes.

I installed Ubuntu 20 yesterday. The painfully slow navigation problem (caused by the slow but inevitable deprecation of python 2) re-appeared, and I tried to re-create the fix. Initially, I just succeeded in preventing MyMedia from running at all.

Here is what actually worked.

  1. First, I copied all of my backed up MyMedia files to /usr/local/bin/mymedia
  2. Then I installed python 2.7…
  3. sudo apt-get install python2
  4. Then I installed pip, but first I had to install curl…
  5. sudo apt-get install curl
  6. curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
  7. sudo python2 get-pip.py
  8. Then I installed Pillow
  9. sudo python2 -m pip install --upgrade Pillow
  10. It might not have been necessary, but I installed several image libraries…
  11. sudo apt-get install libjpeg-dev
  12. sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib
  13. sudo apt-get install zlib1g-de
  14. sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib
  15. In common.py, I made sure that this…
  16. import Image
  17. … had been replaced with this…
  18. #import Image
    from PIL import Image

Huge success!

Note that during this process, I got several warnings about Python 2.7 being deprecated, like this one:

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support

It’s only a matter of time before MyMedia becomes unusable. I would love to get access to the git repository and try to update it for Python 3, if that’s possible. I’ve asked, but the original developer is no longer associated with the project. It may be that I’ll have to find a new solution to this problem in a year or so.

Also, I have updated my init script (/etc/init.d/memedia), which runs mymedia in a screen

#!/bin/sh
### BEGIN INIT INFO
# Provides: minidlna
# Required-Start: $local_fs $network $remote_fs
# Required-Stop: $local_fs $network $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: mymedia server
# Description: mymedia media server.
### END INIT INFO

# Do NOT "set -e"

# PATH should only include /usr/* if it runs after the mountnfs.sh script
DESC="MyMedia media server"
MEDIAPATH=/var/media
DAEMONPATH=/usr/local/bin/mymedia/server
DAEMON=$DAEMONPATH/mymedia.py
SCRIPTNAME=/etc/init.d/mymedia
SCREENNAME=mymedia
USER=bblackmoor
GROUP=media
EXECUSER=root
EXECGROUP=media

case "$1" in
start)
chown -R $EXECUSER:$EXECGROUP $DAEMONPATH
chown -R $USER:$GROUP $MEDIAPATH
su - $USER -c "cd $DAEMONPATH; screen -dm -S $SCREENNAME python2 $DAEMON"
;;
stop)
su - $USER -c "screen -S $SCREENNAME -X quit"
su - $USER -c "screen -wipe"
;;
status)
su - $USER -c "screen -list | grep $SCREENNAME"
;;
*)
echo "Usage: $SCRIPTNAME {start|stop|status}" >&2
exit 3
;;
esac
:

Tuesday, 2019-12-17

Replace white background with transparency in Photoshop

Filed under: Gaming,Software — bblackmoor @ 13:48

I use a lot of found images in my online RPGs, to help set the scene. Sometimes, the image is almost, but not quite, what I want. Cropping, healing brush, and clone stamp solve most of those problems, but once in a while I find the perfect image… but it needs something more complex to make it what I want.

In this case, I found this illustration of a Pathfinder alchemist goblin, but I wanted the background to be black instead of white. So I looked for a tutorial on changing this in Photoshop, and found this one on StackExchange. The basic technique is to use the original image as its own layer mask. I’ll create a duplicate of the layer, desaturate and invert it, pasting the greyscale result into the original layer’s layer mask.

I start with my flattened image.

I then Desaturate the image.

I then duplicate this layer, Invert it, then select and fill white areas until everything I’d like to be opaque is white, and everything I want fully transparent is black. This was tricky, because I want the smoke translucent, but the goblin itself to be opaque.

Now I press CTRL+A to select the entire image, and CTRL+C to copy the combined greyscale result.

I then selected the layer with my original image, made sure nothing was selected in my image, and selected Layer > Layer Mask > Reveal All to create a layer mask on my original layer.

I then ALT+Clicked in the layer mask icon to enter direct edit mode, then pasted the greyscale image I had just copied into there.

I then clicked on my original layer to exit the layer mask direct edit, and tada, I have my semi-transparent goblin.

Now I just add a black background layer, and I am done. It’s not perfect, but it will do for my purposes.

Monday, 2016-03-28

Playing music into a Google Meet

Filed under: Music,Podcast,Software,The Internet,Windows — bblackmoor @ 11:04

Here is how I play music (MP3 files) into a Google Meet.

Hardware

Software

Setup

  1. Install “Audio Repeater Pro (64 bit)” and “VB Cable A+B”. Don’t mess with the settings. Just install them.
  2. Run “Audio Repeater Pro (64 bit)”. Use these settings:
    • Input Device: Microphone (Logitech G935 Gaming Headset)
    • Output Device: CABLE Input (VB-Audio Cable B)
    • Stream Format: Processing Format (default)
    • Stream Buffer: 40 milliseconds (default)
    • Process Audio: (not checked)
    • Stream Gain: 100%
    • Stream FX: FX Chain (default)
    • Bypass FX Chain: (not checked)
    • Click “Start”.
  3. In the task icon area of the taskbar, right-click the speaker, and select “Recording Devices”.
    1. Right-click Microphone (Logitech G935 Gaming Headset), and select “Set as Default Device”.
    2. Right-click Microphone (Logitech G935 Gaming Headset), and select “Properties”.
      • On the “Listen” tab, set to UN-check “Listen to this device”.
      • On the “Levels” tab, set to 90.
      • Click OK.
    3. Right-click CABLE-B Output, and select “Properties”.
      • On the “Listen” tab, CHECK “Listen to this device”.
      • On the “Listen” tab, set “Playback through this device” to “Speakers (Logitech G935 Gaming Headset)”.
      • On the “Levels” tab, set both to 100.
      • Click OK.
  4. In the “Playback” tab of the Sound application.
    • Right-click the headset, and select “Set as Default Communication Device”.
  5. Run Chrome.
  6. In Chrome, go to Google Meet, and join the meeting.
  7. When the Meet window opens, click the three dots in the bottom right corner and click “Settings”. On the Audio tab, use these settings:
    • Microphone: CABLE Output (VB-Audio Cable B).
    • Speakers: Speakers (Logitech G935 Gaming Headset).
  8. Open VLC Media Player.
    1. Add songs to the playlist.
    2. In the Audio menu, select Audio >> Audio Device >> CABLE Input (VB-Audio Cable B)
  9. Invite people to join the hangout.
  10. Play songs in VLC. Other people in the Hangout will hear them. To avoid drowning myself out, I set the VLC output level to about 80%.

Recording

Here are the settings I used to record in Flashback Express.

  1. In the Tools >> Options menu, look in the Sound section.
  2. Under Sound Source, select “PC Speakers (what you hear)”.
  3. In the drop-down under “PC Speakers (what you hear)”, select the headset.
  4. Now, when recording in Flashback Express…
    1. Under “Record”, select “Window”.
    2. Check “Record Sound”.
  5. Still in Flashback Express, in the sound section, check “Record Sound”, and for the source select “Speakers (Logitech G935 Headset)”.

When done with the hangout

  1. Close the Hangout window.
  2. Click “Stop” in “Audio Repeater Pro (64 bit)”, and close it.
  3. Close VLC Media Player.

Monday, 2015-12-21

Firefox add-ons

Filed under: Software,The Internet — bblackmoor @ 09:28

Here is what I am using now in Firefox:

Saturday, 2014-05-24

Campaign Cartographer Tutorials by Joe Sweeney

Filed under: Gaming,Software — bblackmoor @ 12:33

Campaign CartographerI purchased Campaign Cartographer years ago, and have purchased many of the Annuals and add-ons from ProFantasy, yet I have never made the time to actually learn to use the program. I intend to change that. This is a list of tutorials by Joe Sweeney. Unfortunately, YouTube makes it difficult to view these tutorials in order, so I have compiled this list for my own reference. This list is based on a blog post by Mike Summers.

Setting Up Your Mapping Environment

Note 1: When you install Campaign Cartographer, right click on CC3Setup.exe and choose Run as administrator (don’t just use an Admin account).

Note 2: Do not install Campaign cartographer under “Program Files” or “Program Files (x86)”. Doing so will make it more difficult to add or modify symbol libraries later. I suggest that you install CC3 under “C:\Profantasy\CC3\”.

Part 1: Installation of CC3 and patches [2009-09-22]
Part 2: Installing DD3 [2009-09-22]
Part 3a: Installing Legacy CC2 add-ons to CC3 [2009-09-24] (superseded by Cosmographer 3)
Part 3b: Installing the CSUAC files [2009-12-17] (superseded by these instructions)

Overland Mapping with Campaign Cartographer

Part A: Introduction [2008-09-15]
Part B: New Maps and Creating Land [2008-11-02]
Part C: Contours [2008-11-02]
Part D: Automate Artistic Talents with Sheets [2008-11-02]
Part E: Adding Mountains with the Symbols Function [2008-11-02]
Part F: Adding Rivers [2008-11-02]
Part G: Vegetation [2008-11-02]
Part H: Rivers using Sheets and Effects [2008-11-02]
Part I: Structures using Symbols [2008-11-02]
Part J1: Text [2008-11-04]
Part J2: Text [2008-11-04]
Part K: Borders and Political Symbols [2008-11-04]
Part L: Handout Maps [2008-11-04]
Part M: Handout Maps, part 2 [2008-11-04]
Part N: Finishing Up [2008-11-04]

Mapping an Entire Fantasy World with Fractal Terrains and Campaign Cartographer

Part 1: The Basics [2010-04-05]
Part 2: Outputting Multiple Maps at Different Levels of Scale [2010-07-26]
Part 3: Customizing Exported Maps [2010-08-02]

Dungeon Mapping with Dungeon Designer

Tutorial 1a: Basics [2008-11-04]
Tutorial 1b: Basics [2008-11-04]
Tutorial 1c: Basics [2008-11-04]
Tutorial 2a: Making a Battlemap [2008-12-02]
Tutorial 2b: Making a Battlemap [2008-12-02]
Tutorial 3a: Advanced Techniques [2009-01-12]
Tutorial 3b: Advanced Techniques [2009-01-13]
Tutorial 3c: Advanced Techniques [2009-01-13]
Tutorial 3d: Advanced Techniques [2010-01-31]
Mapping Dungeons, Part 1 [2013-08-18]
Mapping Dungeons, Part 2: Traps and Secret Rooms [2013-08-19]
Mapping Dungeons, Part 3: Grids [2013-08-20]

Battle Tiles

Essentials Part 1 (The New Templates) [2009-12-07]
Essentials Part 2 (Finishing Your First Room) [2009-12-07]
Essentials Part 3 (Printing) [2009-12-07]
The Crypt – Part 1 (The Entrance & Multipoly Tool) [2009-12-09]
The Crypt – Part 2 (Inner Walls & Adding Symbols) [2009-12-09]
The Crypt – Part 3 (Complex Room with Curved Alcoves) [2009-12-09]
The Crypt – Part 4 (Manually Drawing Walls) [2009-12-10]
The Crypt – Part 5 (Creating Secret Layers) [2009-12-10]
The Crypt – Part 6 (Last Two Rooms & Putting it All Together) [2009-12-10]
Raised Floors [2009-12-13]

Old School D&D Mapping

Part 1 [2013-02-15]
Part 2: Control Points [2013-02-20]
Part 3: Varicolor [2013-02-26]
Part 4: Exporting a Symbol Catalog [2013-02-27]
Part 5: Using Your New Symbols [2013-03-04]
Part 6: Creating Mapping Tools [2013-03-19]
Part 7: Create a Tool That Creates Floors and Walls [2013-03-20]
Part 8: Automating Grids [2013-04-04]

Starship Design and Mapping using Campaign Cartographer and Cosmographer

Part 1 [2010-12-26]
Part 2 [2010-12-26]

Star System Maps using Campaign Cartographer and Cosmographer

Part 1 [2011-01-15]
Part 2 [2011-01-15]
Part 3 [2011-01-16]
High-Space System Mapping Tutorial [2013-08-06]

High Space Battlemaps

Part 1: Creating A Guide Map [2012-06-19]
Part 2: Mapping the Command Deck [2012-06-19]
Part 3: Mapping The Bridge [2012-06-19]
Part 4: Printing and Outputting Maps for Play [2012-06-19]

Symbol Management

Changing the Size of Symbols [2010-03-31]
Creating custom symbol catalogs from PNG files [2012-06-01]
Attaching custom symbol catalogs to mapping buttons in Campaign Cartographer [2012-06-01]
Importing PNG files [2013-07-10]

Techniques

Aligning side view and floor plans [2013-01-26]
Understanding Layers and Sheets in Campaign Cartographer [2013-03-07]

Mapping Master Class for Campaign Cartographer

Sheets and Effects, Part 1 [2010-12-31]
Sheets and Effects, Part 2 [2011-01-01]
Sheets and Effects, Part 3 [2011-01-12]
Sheets and Effects, Part 4 [2011-01-12]
Sheets and Effects, Part 5 [2011-01-13]
Sheets and Effects, Part 6 [2011-01-13]

Speed Mapping

Creating an Sino-Block Orbital [2013-03-06]
Treasure Map [2014-01-22]
Into the Remnant [2014-01-26]
Creating a draft Dieselpunk Star Map [2014-01-27]
Creating a Space Station Construction Symbol Library [2014-01-31]

Next Page »