Error message when opening game in Love.exe

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Locked
Jessen85
Prole
Posts: 5
Joined: Fri Dec 15, 2023 4:51 pm

Error message when opening game in Love.exe

Post by Jessen85 »

Hello,

I have the 'your music puzzle' game in rar format.

When i try to open it in ''Love 11.5'' or older versions, i'm having this error:



Error



mylibs/musiclib.lua:27: cannot load module 'C:/Users/Fujitsu Laptop/Music/Your.Music.Puzzle/Your.Music.Puzzle/libnyquist_wrapper.dll': The specified module could not be found.







Traceback



[love "callbacks.lua"]:228: in function 'handler'

[C]: in function 'load'

mylibs/musiclib.lua:27: in main chunk

[C]: in function 'require'

main.lua:7: in main chunk

[C]: in function 'require'

[C]: in function 'xpcall'

[C]: in function 'xpcall'





Can someone please help me?

Thank you in advance.



When i unzip the ''your music puzzle.rar'' folder:
Folder screenshot
Folder screenshot
Untitled.png (20.19 KiB) Viewed 13963 times
Please see a screenshot attached about the contents of the folder.

Also, The ''mylibs'' folder contains a file ''musiclib.lua''

Thanks again if someone can help me.
User avatar
zorg
Party member
Posts: 3465
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: Error message when opening game in Love.exe

Post by zorg »

Hi,

First of all, stop using rar, and compress your project with regular zip instead, that's the only format supported in most places.

Second, dll and other libraries that aren't lua files won't ever work from compressed archives, you'd need to copy them out to the save folder for them to work.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Jessen85
Prole
Posts: 5
Joined: Fri Dec 15, 2023 4:51 pm

Re: Error message when opening game in Love.exe

Post by Jessen85 »

Hello,

Thanks for your reply.

I'm new to Love and don't have any knowledge in programming language, but i'll do my best to follow your steps cause i really want the game to work.

I received the file as '' Your.Music.Puzzle.rar ''. As per your instruction, i renamed the compressed file to '' Your.Music.Puzzle.zip ''

I then unzipped the file and got a folder named '' Your.Music.Puzzle ''

When i open the ''Your.Music.Puzzle'' folder, i get the dll files and subfolders (see screenshot from my post)

The ''l ove.exe '' app from the '' Your.Music.Puzzle '' is outdated to 11.2

I then downloaded and installed the latest version of 11.5. The new 11.5 Love.exe app is in the '' C:\ProgramData\Microsoft\Windows\Start Menu\Programs\LOVE ''

Then, prior to my research on the web, i did the following:

I dragged the folder named '' Your.Music.Puzzle '' to the 11.5 Love.exe app. ( It give me the right to '' + open with Love 11.5 '' )

Then i receive the '' The specified module could not be found '' along with the traceback.
1.png
1.png (77.14 KiB) Viewed 13552 times


Am i doing things the right way?

Thanks for your help.
Jessen85
Prole
Posts: 5
Joined: Fri Dec 15, 2023 4:51 pm

Re: Error message when opening game in Love.exe

Post by Jessen85 »

I attached the ''your.music.puzzle.zip'' in this post.

Do let me know and i'll follow the steps.

[edited: attachment removed since it's pirated softare. -slime]
Jessen85
Prole
Posts: 5
Joined: Fri Dec 15, 2023 4:51 pm

Re: Error message when opening game in Love.exe

Post by Jessen85 »

Hello guys,

Anyone can help me regarding the dll error?
User avatar
milon
Party member
Posts: 472
Joined: Thu Jan 18, 2018 9:14 pm

Re: Error message when opening game in Love.exe

Post by milon »

Jessen85 wrote: Sun Dec 17, 2023 8:49 am ...
I received the file as '' Your.Music.Puzzle.rar ''. As per your instruction, i renamed the compressed file to '' Your.Music.Puzzle.zip ''
...
You can't just change a file extension and expect it to work. You have to extract the entire thing and then re-compress as a .zip file. Also, there's some kind of corruption with the file you provided (maybe just having the wrong extension). I didn't investigate further because it seems like you got it from a site dedicated to cracking/pirating legit software. That's where my help ends unless you can demonstrate a legitimate source for this.
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
Jessen85
Prole
Posts: 5
Joined: Fri Dec 15, 2023 4:51 pm

Re: Error message when opening game in Love.exe

Post by Jessen85 »

Ok, i see.

Well, thanks for your help anyway.
Locked

Who is online

Users browsing this forum: Bing [Bot] and 2 guests