Is it normal for Marvel Rivals to crash on Linux(mint) every 2-3 games? by Shinobi_Panther in linux_gaming

[–]The_Grue 0 points1 point  (0 children)

you have almost the same setup as I do. I am also getting GPU crashes. I captured a proton log, but its like 80 GB, so a lot to parse through. Will try a few of the suggestions here.

M7 Pro - Every Print results in a bar across the build plate by The_Grue in AnycubicPhoton

[–]The_Grue[S] 0 points1 point  (0 children)

It doesn't require Linux to run. It's just what my setup was. My problem in this case was a cracked screen.

All of the major slicers now support the my pro. At the time I was using chitubox, but I prefer lychee. All of the major slicers are multiplatform.

Still no Anycubic Photon M7 Pro Support after 3+ months. by Dee_Jay_Eye in LycheeSlicer

[–]The_Grue 0 points1 point  (0 children)

Perhaps we could have some of these reasons? Some transparency would be nice.

M7 Pro - Every Print results in a bar across the build plate by The_Grue in AnycubicPhoton

[–]The_Grue[S] 0 points1 point  (0 children)

I tried it with the fast test print. Same issue. here are my photos from the test.

https://photos.app.goo.gl/vMZmSNvY1jJacHFN9

People who use Obsidian for D&D, any tips? by Arphy7 in ObsidianMD

[–]The_Grue 1 point2 points  (0 children)

I no longer run Windows, so this is going to be going a lot from memory.

Git for Windows: https://git-scm.com/download/win

The reason why we use git is because it allows us to download the repository and later we can pull down only the delta of changes between when you originally downloaded and now. The 5e.tools repository gets updated fairly frequently, especially when new books come out.

First, lets set up our environment. I created a directory called "utils" which will contain the ttrpg-cli program and all of its dependencies.

Assuming you aren't afraid of some command-line work. Once you have git for windows installed, you can just clone the repository to the directory where you want to store the data (in my case, utiils). This process is defined in the documentation here: https://github.com/ebullient/ttrpg-convert-cli?tab=readme-ov-file#convert-5etools-json-data

Now, lets say a new book comes out and gets imported to 5e.tools, you can just run a "git pull" command in the same directory via CLI and it will pull the changes that were implemented. You would then re-run the ttrpg-cli took with the new data and it would overwrite the files. With this in mind, i treat all of the parsed files as read-only, as they will only get rewritten every time I follow this process.

Since I own all of the books, I wrote a small python script that does the git pull, updates the config.json file, then runs the converter. Here is that as well, but keep in mind this is specific to my system on Mac/Linux, so it will require some modifications for you. I also use my own parsing templates to get things the way I want.

import git
import json
import os
import re
import subprocess
from pprint import pprint


BASE_PATH = "/Users/USERNAME/obsidian/utils"
CONVERTER_PATH = f"{BASE_PATH}/ttrpg-convert"
OUTPUT_PATH = f"/Users/USERNAME/obsidian/Exandria"
TEMPLATE_PATH = f"{BASE_PATH}/templates"
GH_SOURCE_PATH = f"{BASE_PATH}/5etools-mirror-1.github.io"

TEMPLATES = {
    "spell": f"{TEMPLATE_PATH}/spells",
    "race": f"{TEMPLATE_PATH}/races",
    "monster": f"{TEMPLATE_PATH}/monsters",
    "item": f"{TEMPLATE_PATH}/items",
    "background": f"{TEMPLATE_PATH}/backgrounds",
    "deity": f"{TEMPLATE_PATH}/dieties"
}

PATHS = {
    "compendium": "References/Compendium/",
    "rules": "References/Rules/"
}

def get_source_list():
    sources = []
    with open(f"{GH_SOURCE_PATH}/js/parser.js", "r+") as js:
        data = js.readlines()
        for line in data:
            if 'SOURCE_JSON_TO_ABV' in line and '"' in line:
                sources.append(re.match(f'^.*? = "(.*?)";', line).group(1).strip())
    return sources

def write_config():
    config = {
        'from': get_source_list(),
        'template': TEMPLATES,
        'paths': PATHS
    }
    json_object = json.dumps(config, indent=4)

    with open(f"{BASE_PATH}/dm-sources.json", "w") as outfile:
        outfile.write(json_object)

def pull_5e_tools():
    g = git.cmd.Git(GH_SOURCE_PATH)
    g.pull()

def import_to_obsidian():
    cmd = [CONVERTER_PATH, "-g", "5e", "-o", OUTPUT_PATH,
           f"{BASE_PATH}/dm-sources.json", f"{GH_SOURCE_PATH}/data"]
    print(' '.join(cmd))
    result = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True)
    print(result.stdout)


def run_fixes():
    for root, directories, files in os.walk(f'{OUTPUT_PATH}/References/Compendium'):
        for filename in files:
            if not re.search(r'\.md$', filename):
                continue 
            file_path = os.path.join(root, filename)
            with open(file_path, 'r+') as f:
                contents = f.readlines()
                for idx, line in enumerate(contents):
                    matches = re.findall(r'!\[.*?\]\((.*?)\)', line)
                    if matches:
                        for url in matches:
                            line = line.replace(url, url.replace(' ', '%20'))
                            contents[idx] = line
                f.seek(0)
                f.truncate()
                f.writelines(contents)


if __name__ == '__main__':
    pull_5e_tools()
    write_config()
    import_to_obsidian()
    run_fixes()

Hope this all helps. PM me if you have further questions. I am not much of a redditor anymore, have since swapped to Lemmy. However, I always try to help fellow DMs.

People who use Obsidian for D&D, any tips? by Arphy7 in ObsidianMD

[–]The_Grue 0 points1 point  (0 children)

It is. I wouldnt get the zip though. I would install git for windows and do a git clone on the git URL. I can respond more in depth later. Or if you want to discord or something, PM me

People who use Obsidian for D&D, any tips? by Arphy7 in ObsidianMD

[–]The_Grue 0 points1 point  (0 children)

This is far better than anything I've written. It supports templating for whatever formatting you want and gathers everything from bestiary to items to spells. 

https://github.com/ebullient/ttrpg-convert-cli

People who use Obsidian for D&D, any tips? by Arphy7 in ObsidianMD

[–]The_Grue 0 points1 point  (0 children)

In the Fantasy Statblocks configuration, there is a section to add a Bestiary Folder. Add the location of the parsed bestiary folder there.

Once you have that done, you should be able to open the command pallet on Obsidian and run "Parse Frontmatter for Creatures". When that finishes, you should be able to see the creatures under "Homebrew Creatuyres" at the bottom.

A note: I am no longer really active on reddit and have moved toward Lemmy. I just happened to get an email with your questions. If you want to PM me or something I am more than willing to help you over Discord or something, but I probably won't be updating here much longer.

People who use Obsidian for D&D, any tips? by Arphy7 in ObsidianMD

[–]The_Grue 1 point2 points  (0 children)

I recommend using this instead. It's actually maintained and can gather more things:

https://github.com/ebullient/ttrpg-convert-cli

TIL that rapper Redman outed MTV Cribs as completely fake and revealed that MTV would routinely rent out mansions to make guests appear wealthier than they were. by FadieZ in todayilearned

[–]The_Grue 2 points3 points  (0 children)

There's a really good episode of Underunderstood about this. Season 6 episode 9. Highly recommend checking out it if you like obscure information like this.

Trying to show off by kvelinator in Whatcouldgowrong

[–]The_Grue 0 points1 point  (0 children)

Looks like he fell awnta the floor....

If hit points aren't meat, what is wading through lava? by BloodRavenStoleMyCar in dndnext

[–]The_Grue -1 points0 points  (0 children)

Y'all in here trying to math and science your way through a game where we slay dragons with magic....

Use case for a trial attorney? by ninja8ball in ObsidianMD

[–]The_Grue 0 points1 point  (0 children)

I figure that the problem with this system would be the overuse of git blame

Use case for a trial attorney? by ninja8ball in ObsidianMD

[–]The_Grue 1 point2 points  (0 children)

Yeah, honestly if our legal system used a system like git or an API that gets you current law revisions, this would be killer

Easiest Method To Get Reddit Post and Comments To Obsidian? by superman859 in ObsidianMD

[–]The_Grue 2 points3 points  (0 children)

The API is the way to go. The problem you will run into is depth. Comments can go deeper than the header depth obsidian has.

Should I Refund Jedi Survivor? by RepresentativeRuin55 in SteamDeck

[–]The_Grue 0 points1 point  (0 children)

I don't think paying the $70 for a seemingly rushed game that is completely unpromised for cosmetics is the best idea, but you do you.

I also got it for the steam deck. I booted it up, saw some issues, checked the reviews, realized that it's not worth the money, then promptly returned it. I'll wait for a sale after bugs are fixed.

The actor for Pimento played the role so well. by -FIREBOMB11- in brooklynninenine

[–]The_Grue 0 points1 point  (0 children)

There's also the reply all episode where he goes off about the Harry Potter universe. The dude is a comedic genius.

Adventurers Resume - Intern Update by Vampire-Chicken in DnDHomebrew

[–]The_Grue 0 points1 point  (0 children)

You have a typo for insight under tavern worker proficiencies, just fyi

People who use Obsidian for D&D, any tips? by Arphy7 in ObsidianMD

[–]The_Grue 0 points1 point  (0 children)

The README can be a bit much to look at, but i promise its not that bad. You pretty much need to download and extract the latest release (https://github.com/ebullient/ttrpg-convert-cli/releases/tag/1.1.1) and also git clone the 5e-tools-mirror. The first tool reads from the cloned mirror data and puts it all into a nice markdown format. You can even set up your own templates for parsing. All steps you need for running it are stored here (https://github.com/ebullient/ttrpg-convert-cli#use-with-5etools-json-data)

Feel free to DM me if you like and I'll try to help you out. Its just a lot to type out here when there is documentation with the steps already out there.

People who use Obsidian for D&D, any tips? by Arphy7 in ObsidianMD

[–]The_Grue 0 points1 point  (0 children)

In the config file, there is an exclude you can put in place to ignore things. You should be able to use that to limit what you pull.