(shouting)

LunaDLL/LunaLUA help thread

The second SMBX collab!
Kil
Posts: 13
Joined: 15 years ago

Re: LunaDLL help thread

Post by Kil »

Make sure you have the updated a2mbxt.exe from the dev kit and lunadll, that's all you're supposed to need.
DON'T PM me. Ask your question in the help thread so everyone can be answered.
User avatar
Maiku Wotaharu
Karaoke Enthusiast and Honorary Armless Bipedal Cycloptic Demon
Posts: 434
Joined: 11 years ago
First name: You'll figure it out.
Location: Sharing a bunk bed with Pily

Re: LunaDLL help thread

Post by Maiku Wotaharu »

Well, I had to install VisualStudio because the program kept telling me I was missing MSVCP110.dll in order for it to run. LunaDLL is now working for me.
The best part of waking up is...knowing where you are.

FINALLY, SOME MOSTS USERBARS!
Image
Image
Image
Image
Image
Image
Image
Image
Kil
Posts: 13
Joined: 15 years ago

Re: LunaDLL help thread

Post by Kil »

I thought MSVCP110.dll was in the dev kit. Or if it isn't it should be.
DON'T PM me. Ask your question in the help thread so everyone can be answered.
Demolition
Posts: 0
Joined: 11 years ago

Re: LunaDLL help thread

Post by Demolition »

Maiku Wotaharu wrote: the program kept telling me I was missing MSVCP110.dll in order for it to run.
I got the same error. I just kept using the earlier devkit.
Image
Image
Doctor Shemp
Banned
Posts: 0
Joined: 11 years ago

Re: LunaDLL help thread

Post by Doctor Shemp »

Seeing the collab suggestion for the SMB1-styled episode made me wonder: is it possible to use LunaDLL to disable spinjumping?
Kil
Posts: 13
Joined: 15 years ago

Re: LunaDLL help thread

Post by Kil »

If you put this in lunadll.txt for every level, spinjump will just do a normal jump

Code: Select all

#0
PlayerMemSet,0,0x50,0,0,0,w
#END
DON'T PM me. Ask your question in the help thread so everyone can be answered.
User avatar
Menshay
Posts: 2
Joined: 13 years ago
Location: Italy

Re: LunaDLL help thread

Post by Menshay »

Is there any way to filter out powerups only for certain characters?
TiKi
Posts: 709
Joined: 10 years ago

Re: LunaDLL help thread

Post by TiKi »

Is it just me, or is this way more hands on and dirty than anything default SMBX (events, custom NPCs) has? I was thinking of using this once publicly released, but it sounds prohibitively non-user friendly.
User avatar
ztarwuff
What the heck is a flair and why am I being asked to write one for my profile?
Posts: 550
Joined: 10 years ago
Location: Within 2 miles of the Imperial Crypt of Napoleon III

Re: LunaDLL help thread

Post by ztarwuff »

TiKi wrote:Is it just me, or is this way more hands on and dirty than anything default SMBX (events, custom NPCs) has? I was thinking of using this once publicly released, but it sounds prohibitively non-user friendly.
No more so than creating custom graphics. Mind you, if you want to do anything really complex, then yeah... not user-friendly. However, if you all you want is some of the stuff that kil has already set out in his guide, then it's fine.
Kil
Posts: 13
Joined: 15 years ago

Re: LunaDLL help thread

Post by Kil »

It's definitely not user friendly. It's more for doing things that are literally impossible in the confines of the editor. Otherwise, just use the editor.
DON'T PM me. Ask your question in the help thread so everyone can be answered.
User avatar
docopoper
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla non pharetra enim, nec maximus odio.
Posts: 78
Joined: 12 years ago
First name: Shane Farrell
Pronouns: they/he
Location: Ireland

Re: LunaDLL help thread

Post by docopoper »

Yes - I am very much a fan of it. Custom code is exactly what I wanted loads of times during ASMBXT.
The first thing I would do with infinite power would be to make myself a cave where I could look at my shadow forever.

Image <- Go team Yeah Doctor Shemp.!
Image <- That's everyone being nice to me. ^^

I made a game called Utter Confusion! Play it! :D
It's a lot of fun and has been incredibly popular at every indie game dev party I've brought it to.
User avatar
raocow
the death of the incredible huge
Posts: 4078
Joined: 15 years ago
Location: maybe the Wizards are the most complex, and the sales guys are up their daily
https://raocow.talkhaus.com/

Re: LunaDLL help thread

Post by raocow »

Think of it as the equivalent to asm in mario hacking. You are pretty much coding.
the chillaxest of dragonsImage
Image
Image
TiKi
Posts: 709
Joined: 10 years ago

Re: LunaDLL help thread

Post by TiKi »

Well I apologize prematurely for this imprudence, but I use SMBX so I don't HAVE TO code :lol: Sorry guys.
I guess this isn't really like SMBX 1.3.1 or something?
User avatar
docopoper
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla non pharetra enim, nec maximus odio.
Posts: 78
Joined: 12 years ago
First name: Shane Farrell
Pronouns: they/he
Location: Ireland

Re: LunaDLL help thread

Post by docopoper »

Except you get to use C++ instead of assembly (or is that just a weird naming convention and you can actually use something higher level?) - because that's a big improvement.
The first thing I would do with infinite power would be to make myself a cave where I could look at my shadow forever.

Image <- Go team Yeah Doctor Shemp.!
Image <- That's everyone being nice to me. ^^

I made a game called Utter Confusion! Play it! :D
It's a lot of fun and has been incredibly popular at every indie game dev party I've brought it to.
User avatar
ztarwuff
What the heck is a flair and why am I being asked to write one for my profile?
Posts: 550
Joined: 10 years ago
Location: Within 2 miles of the Imperial Crypt of Napoleon III

Re: LunaDLL help thread

Post by ztarwuff »

TiKi wrote:Well I apologize prematurely for this imprudence, but I use SMBX so I don't HAVE TO code :lol: Sorry guys.
I guess this isn't really like SMBX 1.3.1 or something?
Well, that's fine. You don't NEED to use LunaDLL. With the exception of the one level where I needed a timer but could find no real alternative to actually putting one in, I had to use LunaDLL.

All the other levels I use LunaDLL in are merely to put a boss name in the top-right hand corner.
TiKi
Posts: 709
Joined: 10 years ago

Re: LunaDLL help thread

Post by TiKi »

What are all the command (Kill, InfiniteFlying, etc.) names? I couldn't find them in the tutorial.
Kil
Posts: 13
Joined: 15 years ago

Re: LunaDLL help thread

Post by Kil »

http://www.gamearchaeology.com/LunaDLL.html

But I really need to update it with all the commands...
DON'T PM me. Ask your question in the help thread so everyone can be answered.
TiKi
Posts: 709
Joined: 10 years ago

Re: LunaDLL help thread

Post by TiKi »

So I downloaded SMBX 1.3.0.1 + LunaDLL, and now I tested a level. What does "Demos" mean, and can similar stuff be added to the HUD? I noticed it went to "1/1" when I died.
EDIT: When I clicked "Reset Game" in the editor, the star count reset but the Demos didn't. What gives?
User avatar
Willhart
Stalker, Doxxer, and Sexual Harasser
Banned
Posts: 2434
Joined: 13 years ago
Location: Finland

Re: LunaDLL help thread

Post by Willhart »

TiKi wrote:So I downloaded SMBX 1.3.0.1 + LunaDLL, and now I tested a level. What does "Demos" mean, and can similar stuff be added to the HUD? I noticed it went to "1/1" when I died.
EDIT: When I clicked "Reset Game" in the editor, the star count reset but the Demos didn't. What gives?
That is a thing that counts how many times you have died. It should be possible to reset it somehow for let's play purposes. The number is saved in a separate file if I remember correctly.
Kil
Posts: 13
Joined: 15 years ago

Re: LunaDLL help thread

Post by Kil »

There's a custom cheat to reset the death counter "formatcdrive"
DON'T PM me. Ask your question in the help thread so everyone can be answered.
TiKi
Posts: 709
Joined: 10 years ago

Re: LunaDLL help thread

Post by TiKi »

Thanks!
So from my reckoning, a custom cheat basically takes something like "InfiniteFlying" and makes it permanent after a certain text string is entered?
Kil
Posts: 13
Joined: 15 years ago

Re: LunaDLL help thread

Post by Kil »

You could do that yeah.
DON'T PM me. Ask your question in the help thread so everyone can be answered.
TiKi
Posts: 709
Joined: 10 years ago

Re: LunaDLL help thread

Post by TiKi »

If it wouldn't be too hard, could I please have a version of 1.3.0.1 LunaDLL edition, that doesn't have the "DEMOS" counter? If it's possible for me to change that myself, could I please have a tutorial then?
Kil
Posts: 13
Joined: 15 years ago

Re: LunaDLL help thread

Post by Kil »

Yeah I already made one since someone else asked for the same thing. http://www.gamearchaeology.com/SMBX1301+Luna.zip

only lunadll needs to be overwritten
DON'T PM me. Ask your question in the help thread so everyone can be answered.
User avatar
Goomba98
Posts: 4
Joined: 13 years ago
Location: I dunno.

Re: LunaDLL help thread

Post by Goomba98 »

You should really update the devkit to include MSVCP110.dll.
No signature ideas right now.
Post Reply