SpeckyYT / ANMT

Video to Geometry Dash!
23 stars 0 forks source link

Error: Couldn't find module file (./lib../pckp_libraries/canvas) #12

Closed Rafa69420 closed 1 year ago

Rafa69420 commented 1 year ago

not this error

Rafa69420 commented 1 year ago

now gives error Parsing ... Reading savefile... Building script ... ———————————————————————————

Error: Couldn't find module file (./lib../pckp_libraries/canvas) ╭─[example.spwn:1:1] │ 1 │ import './lib/' · ───────┬─────── · ╰───────── Error when running this library/module ───╯

C:\Users\Asus\Downloads\ANMT-master\ANMT-master> imagem_2023-02-19_220344790

Rafa69420 commented 1 year ago

and there folder imagem_2023-02-19_220746113

Rafa69420 commented 1 year ago

and other imagem_2023-02-19_220815025

Rafa69420 commented 1 year ago

HELP ME @SpeckyYT

SpeckyYT commented 1 year ago

Follow this exactly:

1) in pckp.yaml, remove the # on "dependencies" 2) also remove the # on the first "url" 3) run spwn build example.spwn 4) delete the pckp_temp folder that got generated 5) add # to the first url 6) remove # from the second url 7) run spwn build example.spwm 8) add # on dependencies 9) add # on the second url

Rafa69420 commented 1 year ago

what?? imagem_2023-02-20_101732911 Captura de ecrã 2023-02-20 101701

Rafa69420 commented 1 year ago

@SpeckyYT

SpeckyYT commented 1 year ago

As the error says, you need to do spwn build example.spwn --allow readfile

Rafa69420 commented 1 year ago

@SpeckyYT now appeter this imagem_2023-02-20_122551194

SpeckyYT commented 1 year ago

there is an indentation before dependencies, remove that

Rafa69420 commented 1 year ago

imagem_2023-02-20_122922107 @SpeckyYT

SpeckyYT commented 1 year ago

you didn't save

Rafa69420 commented 1 year ago

i did all steps @SpeckyYT imagem_2023-02-20_123336643

SpeckyYT commented 1 year ago

did you change the path/filename in example.spwn to the .txt output?

Rafa69420 commented 1 year ago

@SpeckyYT i dont understand

Rafa69420 commented 1 year ago

@SpeckyYT imagem_2023-02-20_123750773

SpeckyYT commented 1 year ago

line 6 in example.spwn,

filename = './videos/output/file.txt',

change the string to the path of your output .txt file

Rafa69420 commented 1 year ago

i dont have output @SpeckyYT imagem_2023-02-20_123928708

SpeckyYT commented 1 year ago

the .txt file

SpeckyYT commented 1 year ago

'./videos/iShowSpeed Gets Jump Scared Reacting To Clips.txt'

Rafa69420 commented 1 year ago

@SpeckyYT like this imagem_2023-02-20_124134615

Rafa69420 commented 1 year ago

my_video = @ANMT::new( filename = './videos/iShowSpeed Gets Jump Scared Reacting To Clips.txt', x = -120, y = 30, scaling = 0.3, repeatable = false, use_lookup = true, use_groups = false, // uses groups instead of color channels for canvas groups = [screen], )

SpeckyYT commented 1 year ago

you need to save

itsmebombie commented 1 year ago

the world if discord

Rafa69420 commented 1 year ago

@SpeckyYT it not apper in level imagem_2023-02-20_133110359

SpeckyYT commented 1 year ago

close gd entirely, then build the script, and when it finished completely (the green text saying that you can open gd), then open gd

SpeckyYT commented 1 year ago

I assume it's functional, so I'll close this issue, reopen this issue if needed.