LunaLua Offical Thread - SMBX Usermod Framework

This is the place for discussion and support for LunaLua and related modifications and libraries.

Shall I steam some LunaLua live development?

Yes
172
92%
No
15
8%
 
Total votes: 187
User avatar
StarBot
Cheep-Cheep
Cheep-Cheep
Posts: 12
Joined: Wed Mar 11, 2015 6:39 pm

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby StarBot » Mon Mar 23, 2015 8:10 pm

Kevsoft wrote:No, it is just a new version of Lunadll which contains the new lua module.

Oh okay! :mrgreen:
Kevsoft wrote:If you download the first time LunaLua I would recommend to download the whole package including all graphics and sounds.

oh... okay? :?:
Do you mean,
If you download LunaLua for the first time


Anyway, it's says I have to download the music and sounds, which I don't want to...
Last edited by StarBot on Wed Mar 25, 2015 1:25 pm, edited 1 time in total.

User avatar
Kevsoft
Ripper II
Ripper II
Posts: 373
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Kevsoft » Tue Mar 24, 2015 1:17 am

The sounds are ogg files and the music are sampled to 44100 Hz. The original files are not compatible with LunaLua.

User avatar
StarBot
Cheep-Cheep
Cheep-Cheep
Posts: 12
Joined: Wed Mar 11, 2015 6:39 pm

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby StarBot » Wed Mar 25, 2015 1:25 pm

Kevsoft wrote:The sounds are ogg files and the music are sampled to 44100 Hz. The original files are not compatible with LunaLua.

I personally don't understand any of this, but I'm going to download it anyway.

User avatar
Kevsoft
Ripper II
Ripper II
Posts: 373
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Kevsoft » Wed Mar 25, 2015 2:53 pm

ogg files are very small audio files. They often work better than mp3.

About the music: Every audio file has a "sample-rate" (or tick-rate) which is in Hz. If this rate is higher than 44100 Hz then the music plays too fast, if this rate is lower than 44100 Hz then the music plays too slow or dirty.

User avatar
StarBot
Cheep-Cheep
Cheep-Cheep
Posts: 12
Joined: Wed Mar 11, 2015 6:39 pm

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby StarBot » Wed Mar 25, 2015 4:03 pm

Kevsoft wrote:ogg files are very small audio files. They often work better than mp3.

About the music: Every audio file has a "sample-rate" (or tick-rate) which is in Hz. If this rate is higher than 44100 Hz then the music plays too fast, if this rate is lower than 44100 Hz then the music plays too slow or dirty.


Cool cool, err just one question....

Why do I need to download a sound and music file?
Is LunaLua is contain in these soundfiles? :?

User avatar
Kevsoft
Ripper II
Ripper II
Posts: 373
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Kevsoft » Wed Mar 25, 2015 5:04 pm

StarBot wrote:Why do I need to download a sound and music file?

What do you mean "file"?

The LunaLua "Full installation" contains all ogg sound files (the original sound files just converted to the ogg-format) and the 44100 Hz music files (the original music files just converted to 44100 Hz). Read here about the new music engine.

User avatar
StarBot
Cheep-Cheep
Cheep-Cheep
Posts: 12
Joined: Wed Mar 11, 2015 6:39 pm

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby StarBot » Wed Mar 25, 2015 7:41 pm

Kevsoft wrote:
StarBot wrote:Why do I need to download a sound and music file?

What do you mean "file"?

The LunaLua "Full installation" contains all ogg sound files (the original sound files just converted to the ogg-format) and the 44100 Hz music files (the original music files just converted to 44100 Hz). Read here about the new music engine.


Oh my mistake :|

User avatar
StarBot
Cheep-Cheep
Cheep-Cheep
Posts: 12
Joined: Wed Mar 11, 2015 6:39 pm

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby StarBot » Thu Mar 26, 2015 1:25 pm

Is there any video tutorial on how to install this. Trying to install this myself is getting really frustrated.

User avatar
Kevsoft
Ripper II
Ripper II
Posts: 373
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Kevsoft » Thu Mar 26, 2015 3:29 pm

Is it so hard?
Just download the "Full installation" with "Include complete standalone base game" checked, download it, unpack it and start the game.

User avatar
StarBot
Cheep-Cheep
Cheep-Cheep
Posts: 12
Joined: Wed Mar 11, 2015 6:39 pm

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby StarBot » Thu Mar 26, 2015 4:16 pm

Kevsoft wrote:Is it so hard?
Just download the "Full installation" with "Include complete standalone base game" checked, download it, unpack it and start the game.

Wait, you included a standalone version with the mod?

User avatar
Kevsoft
Ripper II
Ripper II
Posts: 373
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Kevsoft » Thu Mar 26, 2015 4:24 pm

Uhm... yes?
Spoiler: show
Image

User avatar
StarBot
Cheep-Cheep
Cheep-Cheep
Posts: 12
Joined: Wed Mar 11, 2015 6:39 pm

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby StarBot » Thu Mar 26, 2015 6:09 pm

Kevsoft wrote:Uhm... yes?
Spoiler: show
Image

Sorry if this sound confusing, but I know how to install it, just making it work it's the promblem

User avatar
Kevsoft
Ripper II
Ripper II
Posts: 373
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Kevsoft » Fri Mar 27, 2015 2:03 am

StarBot wrote:
Kevsoft wrote:Uhm... yes?
Spoiler: show
Image

Sorry if this sound confusing, but I know how to install it, just making it work it's the promblem

Start the game and test if you see the LunaLua version on the top left corner of the game (in the menu).

alti0204 wrote: I wondering how can I use a variable for every levels in the espisode. Will it be save when I exit?

You can use the Data-Class.

alti0204 wrote: what is DOUBLE class? what is "respawn and centered?

Double class is just a float number like 3.1493
Respawn means a generator
Centered mean that the NPC will spawn in the middle of the x,y coordinates.

User avatar
Murphmario
Boom Boom
Boom Boom
Posts: 1790
Joined: Fri Dec 20, 2013 7:07 pm
Location: Smbxville, Murphmario's House

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Murphmario » Fri Mar 27, 2015 7:10 pm

You should REALLY fix the music. You see, people often use custom music, and the music issues are of bad benefit to those who want to play custom episodes, as they would have to manually make the music compatible, which is a waste of time. Not to mention that some of the default music also has this issue.

User avatar
Kevsoft
Ripper II
Ripper II
Posts: 373
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Kevsoft » Sat Mar 28, 2015 2:18 am

I see the problem, maybe I can make a resampler converting that in the background.

User avatar
Wohlstand
Birdo
Birdo
Posts: 1583
Joined: Tue Feb 11, 2014 4:44 pm
Current Project: Platformer Game Engine project
Location: Moscow, Russia
Contact:

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Wohlstand » Sat Mar 28, 2015 5:09 am

Hey, I made a small autotool which will fix all non-44100hz musics in all subfolders where you will put them:
https://drive.google.com/open?id=0B3QNP ... authuser=0

How to use:
1) unpack archive into "worlds" folder
2) run "MusicFixer.bat" file and wait while all musics will be fixed.
This thing will fix ALL musics in all installed SMBX episodes.
You also can edit "MusicFixer.bat" to define target episode folder which will be fixed.

Good Music Forever! Image
"PGE Project, my Media and supported projects": show
Support me on the Patreon
Image

PGE Project
PGE Project SMBX Topic
PGE Project Official Site and forums
Download fresh experimental builds HERE!
LunaLua
LunaLUA - is a LUA scripting add-on for a LunaDLL

My Media:
My MIDI-music
Pure HQ Music Pack for SMBX
Pure HQ Sound Pack for SMBX
SMBX OPL Sound pack (Created with Yamaha OPL chip and MIDI files)
SMBX38A is here
SMBX-38A download, help and support HERE (SMBX-38A (a.k.a. 1.4.x) - is Chinese unofficial continuation of SMBX)

I'm support:
Image
Image
Image


Image
P.S. I don't like huge signatures which would be annoying, therefore I put huge content into spoilers

SMBXzocker
Koopa Troopa
Koopa Troopa
Posts: 23
Joined: Tue Jan 06, 2015 4:56 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby SMBXzocker » Sat Mar 28, 2015 6:29 am

My virus scanner says this is a malicious file. Is that correct?

User avatar
Mable
Peach
Peach
Posts: 5921
Joined: Sat Dec 21, 2013 4:23 am
Current Project: Unknown
Location: Rapture
Chat Username: Chat Username
Contact:

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Mable » Sat Mar 28, 2015 6:37 am

No, it's not.
"All I had were questions. But questions get you killed."

User avatar
alti0204tri
Fighter Fly
Fighter Fly
Posts: 62
Joined: Sat Mar 28, 2015 7:51 am

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby alti0204tri » Sat Mar 28, 2015 10:20 am

Sorry.
I'm using lunalua.
The SDL mixers often mix the custom musics and make them to fast.
How can I use it if I want or disable if I don't?

User avatar
Wohlstand
Birdo
Birdo
Posts: 1583
Joined: Tue Feb 11, 2014 4:44 pm
Current Project: Platformer Game Engine project
Location: Moscow, Russia
Contact:

Re: LunaLua - Lunadll with lua [Now with Overworld]

Postby Wohlstand » Sat Mar 28, 2015 10:56 am

alti0204tri wrote:Sorry.
I'm using lunalua.
The SDL mixers often mix the custom musics and make them to fast.
How can I use it if I want or disable if I don't?

Reason of fast music is less than 44100 hz sample rate.
Apply this script to your episodes and everything will works file: viewtopic.php?p=131116#p131116

In the PGE Editor starts from 0.3.0 you can open level with wrong musics and go to "Tools -> External tools -> Convert audio (SoX)", then choice: music of current section or all connected musics to this level and click "start". Wait some minutes and all custom musics of this level will be fixed. PGE Editor uses SDL mixer too, therefore results of conversion you will hear instantly when conversion will be completed
"PGE Project, my Media and supported projects": show
Support me on the Patreon
Image

PGE Project
PGE Project SMBX Topic
PGE Project Official Site and forums
Download fresh experimental builds HERE!
LunaLua
LunaLUA - is a LUA scripting add-on for a LunaDLL

My Media:
My MIDI-music
Pure HQ Music Pack for SMBX
Pure HQ Sound Pack for SMBX
SMBX OPL Sound pack (Created with Yamaha OPL chip and MIDI files)
SMBX38A is here
SMBX-38A download, help and support HERE (SMBX-38A (a.k.a. 1.4.x) - is Chinese unofficial continuation of SMBX)

I'm support:
Image
Image
Image


Image
P.S. I don't like huge signatures which would be annoying, therefore I put huge content into spoilers


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 3 guests