#๐Ÿ”’ OSR gif text generator

327 messages ยท Page 1 of 1 (latest)

rotund cipher
#

I need help using a runescape text gif generator thing I found on github แ—œหฌแ—œ

pliant pathBOT
#

@rotund cipher

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

rotund cipher
barren valley
#

the readme section has the instructions given

rotund cipher
#

I am completely unaware of what any of it means

#

I have zero background in any of this unfortunately

barren valley
#

oh

#

do u see that big green button named "code"

rotund cipher
#

yes

ember cairn
#

you press the button

#

and then it says download ZIP

#

and you download that

barren valley
#

yep

ember cairn
#

and paste it where you need it

#

like in your project folder or something

#

OP are you on linux?

rotund cipher
#

I am on windows

ember cairn
#

if you are you could just git clone the project

#

oh never mind

#

anyways follow through the readme

#

and you should be good to go.

barren valley
#

also there is an alternative to use it as an import as well

import runescape_text as rst

img = rst.parse_string("wave:glow1:Hello World")
if(len(img)==1):
    rst.single_frame_save(img[0], file="out.png")
else:
    rst.multi_frame_save(img, file="out.gif")
ember cairn
barren valley
ember cairn
rotund cipher
ember cairn
#

did you try to just copy and paste all the lines at once

rotund cipher
barren valley
#

op do u have any ide?

#

like vscode or pycharm?

ember cairn
#

just open up a notepad window and paste the command geez

#

no need for ide

#

use gnu nano if you really want one

barren valley
rotund cipher
#

wait so I can just open a notepad file, paste that stuff above, save it as .py and it's good?

#

or am I misinterpreting that

ember cairn
#

yes

#

But if you haven't downloaded the above mentioned package

#

then you will have certain problems.

#

you also need to place it inside the project folder

#

so python can find it

#

or just place it where all your packages are

#

like the site-packages folder for example

ember cairn
rotund cipher
rotund cipher
#

yep

ember cairn
#

by pressing on the green code button

#

yeah great

#

run the script

rotund cipher
#

setup?

ember cairn
#

No

#

your script

#

the program you wanted to write

#

is it not available on pip?

rotund cipher
#

what is pip

ember cairn
#

the default package manager for python

#

with that you can download such packages without pressing the green button every damn time,

#

did you run your program?

#

did it work?

rotund cipher
#

unfortunately not, gonna be honest I think I'm just gonna take this as a sign to go and try learn this stuff from scratch because I am so completely clueless about any of this

ember cairn
#

what error did you get

rotund cipher
#

they just open and immediately close

ember cairn
#

-_-

#

open a terminal

#

also the reason it closes automatically is because it has done everything you wanted it to do.

#

if you run it inside a terminal you can see the output it gives you

rotund cipher
#

this is a terminal right

ember cairn
#

nope nope

#

that

#

is python

#

go to the folder

#

in which your project is

#

and press open in terminal

vale smelt
ember cairn
vale smelt
ember cairn
#

never mind

rotund cipher
ember cairn
#

no

#

your file

#

the thing you wrote

#

gosh It is night time here

#

I am gonna sleep

#

@vale smelt please take over

#

night night

vale smelt
#

have a good night

#

i will do it

#

anyway @rotund cipher

#

i don't even know your issue

rotund cipher
rotund cipher
ember cairn
rotund cipher
#

but I know quite literally nothing about any of this

ember cairn
#

I forgor to turn off notifications.

ember cairn
#

once I was nooby like you

#

then I work hard

vale smelt
ember cairn
#

then I get good

#

then I become nooby again

#

then I work more hard

#

then I get good again.

vale smelt
#

i managed somehow to land on fedora 40 i3 wm

ember cairn
#

๐Ÿ‘€

#

fedora user spotted

#

anyways OP

rotund cipher
ember cairn
#

download the GitHub thingy

#

set it up

#

paste it in path

vale smelt
ember cairn
#

Create a new file

#

import it

#

and get your meme

vale smelt
#

yes

ember cairn
#

simple gnome

vale smelt
vale smelt
ember cairn
#

oh yes

vale smelt
#

i was on gnome 2 days ago

ember cairn
#

it's the best choice

vale smelt
#

yaru icon theme is pretty good

ember cairn
#

it's considerably more stable

#

than arch

#

which just breaks when trying to install gnome

vale smelt
#

fedora gnome is a solid choice too, depends of preferences

#

anyway @rotund cipher

#

are you still here?

rotund cipher
#

I am yes

vale smelt
ember cairn
#

goodnight folks

vale smelt
#

๐Ÿซก

ember cairn
#

sudo poweroff

barren valley
rotund cipher
rotund cipher
vale smelt
rotund cipher
#

yes

vale smelt
#

ok

#

go to the directory

#

you extracted

#

create a python file

rotund cipher
#

in here?

vale smelt
#

yk what

#

don't create a file

#

go in runscape_text

rotund cipher
#

here

vale smelt
#

yea

#

right click anywhere where there is no files

#

wait

#

on windows 10

#

it's different$

#

sorry

#

go on the top bar

#

erase everything and type cmd

rotund cipher
#

top bar meaning?

vale smelt
#

where there is the directory path

#

of your file

rotund cipher
#

this?

vale smelt
rotund cipher
#

and do this?

vale smelt
#

yes

#

press enter

rotund cipher
vale smelt
#

what do you want to generate?

rotund cipher
#

like the text?

vale smelt
#

explain me

rotund cipher
#

making this meme but instead of "plap" and "get pregnant" it's "F1" and "Get Votekicked", it's for the tf2 bot crisis and spreading awareness about using the kick feature to remove bots from lobbies by press f1 on votekicks

barren valley
#
python runescapetext.py wave:glow1:This will generate a convincing replica
#

try pasting this

vale smelt
#

@rotund cipher
python runescapetext.py wave:glow1:Text to replace

#

Replace the text to replace to your thing

rotund cipher
vale smelt
#

๐Ÿ’€

#

you didn't add python to your path

barren valley
#

lmao

rotund cipher
#

oops

#

how do I do that

vale smelt
barren valley
#

do u remember where ur python folder is?

normal dagger
#

try the "py" command instead of "python"

rotund cipher
barren valley
#

yeah that would be better but make sure to mark that checkbox which says add to path

normal dagger
#

no

rotund cipher
normal dagger
#

reinstalling is fine, or rerun the installer and modify it and make sure to add python ot PATH or "environment"

vale smelt
#

you can add it manually

normal dagger
#

I do not recommend people modifying their path manually

barren valley
#

yeah but he doesnt remember where his folder is

normal dagger
#

there are many things that can go worong with that

vale smelt
#

copy path

vale smelt
#

no it's actually fine

rotund cipher
#

is this it?

normal dagger
vale smelt
normal dagger
#

and there is a checkbox to check to fix it in the installer. that is so much easier.

barren valley
rotund cipher
#

I am here now

normal dagger
#

check both checkboxes

barren valley
#

yup

rotund cipher
#

done

#

install now or custom?

normal dagger
#

and that's it

#

normal

barren valley
#

1st option

normal dagger
#

not custom

rotund cipher
#

done

#

before closing

#

is there anything else

vale smelt
normal dagger
#

now if you restart all you cmd or powershell or whatever, python should be available

vale smelt
#

@rotund cipher and go back on the thing you were after

#

with the "cmd" on top bar

#

idk if you remember

#

(don't forget to restart the cmd)

rotund cipher
#

to restart do I just close it?

barren valley
#

yes

vale smelt
rotund cipher
#

I have other cmd windows open atm for network stuff, do I have to close those too?

barren valley
#

no that doesnt have anything to do with python

vale smelt
#

just the one where you need python

rotund cipher
#

alrighty

#

back here

#

and just run the command from before?

barren valley
#

yes

vale smelt
barren valley
#

yes

rotund cipher
vale smelt
#

python runescape_text.py wave:glow1:Text to replace

#

@rotund cipher sorry i forgot the underscore

#

try again

rotund cipher
#

all goods mate

#

different thing this time

vale smelt
rotund cipher
vale smelt
#

to run it

rotund cipher
vale smelt
#

python runescape_text.py wave:glow1:This will generate a convincing replica

#

try this one

#

example they provided

rotund cipher
#

exactly the same response I think

vale smelt
rotund cipher
#

no worries, take your time

#

thank you for all your help

vale smelt
#

back

rotund cipher
#

welcome back

vale smelt
#

so

#

let me check the issue

#

ah mb

#

you need to setup it i guess

#

cd ..

#

pip install setuptools

#

python setup.py

rotund cipher
#

run them seperately in that order?

vale smelt
#

on the same terminal

rotund cipher
#

correct?

vale smelt
#

yes

#

proceed to the next ones

rotund cipher
#

just to make sure, correct?

vale smelt
#

yes

#

proceed

rotund cipher
#

how's this looking?

vale smelt
#

the guy behind this didn't provide that much infos

#

wait

rotund cipher
#

unfortunate, I assume the only solution would be me reaching out to the guy

vale smelt
#

i found i think

rotund cipher
#

oh

vale smelt
#

cd runscape_text

rotund cipher
#

:< sadge

vale smelt
#

yk what , i download this project to check

rotund cipher
#

thank you for all the effort

vale smelt
#

after a little bit of investigation

#

the program is a little bit old

#

and one function changed by the time

rotund cipher
#

what does that mean?

vale smelt
#

i am patching the file

rotund cipher
#

woah

#

that's crazy

vale smelt
#

is obsolete

#

i need to manually fix everything

rotund cipher
#

ah man, sorry for the trouble

vale smelt
#

i recommend you to use another project

#

to do this

#

don't have enough time to review all the script

rotund cipher
#

absolute no problem man I understand, thank you so much for all the time you've given me

#

I really do appreciate it

vale smelt
#

๐Ÿ‘

pliant pathBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.