LunaDLL - SMBX Extension Module

This is where we'll store the "best" topics that have ever existed on the forums, as well as community events that are no longer relevant. Read at your own risk.
Forum rules
Read at your own risk.
User avatar
Valtteri
Larry Koopa
Larry Koopa
Posts: 2156
Joined: Sun Dec 01, 2013 1:16 pm

LunaDLL - SMBX Extension Module

Postby Valtteri » Tue Feb 04, 2014 8:41 am

Not nearly everyone knows about this thing. Basically, it lets you do all sorts of neat stuff you couldn't do with 1.3. It requires scripting skills and I personally haven't got into it but I sure hope people here start taking advantage of it and realize the possibilities this module gives you. To my knowledge, the only person here who's using the thing for his episode is the zlakerboy guy who used it to create a Double Cherry power-up. Correct me if I'm wrong.

I found these two threads on Raocow's Talkhaus, the first one being a help thread that includes a godlike tutorial, they say, and the second link just being some older thread. Experiment! Great things can be done with it, I think!

http://talkhaus.raocow.com/viewtopic.php?f=36&t=14271
http://talkhaus.raocow.com/viewtopic.php?f=44&t=13469

Videos:
Spoiler: show
A Super Mario Bros. X Thing uses LunaDLL, too.

Download
Installer

Also check out Lua, an extension for LunaDLL which brings more scripting possiblities: http://www.supermariobrosx.org/forums/v ... =69&t=6973
Image

User avatar
Darkonius Mavakar
Boom Boom
Boom Boom
Posts: 1667
Joined: Fri Dec 27, 2013 2:45 pm
Flair: Pizza
Current Project: None as of now.
Contact:

Re: LunaDLL - SMBX Extension Module

Postby Darkonius Mavakar » Tue Feb 04, 2014 9:24 am

This is really interesting, pheraps a brand new .exe with more customizability will come?

just wondering

User avatar
zlaker
Ludwig von Koopa
Ludwig von Koopa
Posts: 2827
Joined: Fri Dec 20, 2013 1:46 pm

Re: LunaDLL - SMBX Extension Module

Postby zlaker » Tue Feb 04, 2014 9:30 am

I have it and it's preety useful. You guys should download it..
ImageImageImageImageImageImageImageImageImageImage
I make art lol

User avatar
Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 7613
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: LunaDLL - SMBX Extension Module

Postby Enjl » Tue Feb 04, 2014 9:32 am

I tried using it before, but the ASMBXT exe is marked as a virus to my pc and my antivirus program wouldn't let me start it and thus I couldn't use it to modify my levels. (I've had added stuff like a mystery house timer, custom music and sound effects, etc.)
ImageImageImageImage
ImageImageImageImageImageImage

User avatar
litchh
Koopa Shell
Koopa Shell
Posts: 621
Joined: Sun Dec 29, 2013 6:10 am

Re: LunaDLL - SMBX Extension Module

Postby litchh » Tue Feb 04, 2014 10:41 am

When I tryed to play ASMBXT, game crashed on some levels. I guess SMBX crashes with any modified level on my PC.

User avatar
FallingSnow
Ninji
Ninji
Posts: 822
Joined: Sat Dec 21, 2013 4:32 am

Re: LunaDLL - SMBX Extension Module

Postby FallingSnow » Tue Feb 04, 2014 7:13 pm

I'm pretty sure ASMBXT used it, yes. You had to get their own exe for it if I recall.

Graham
Shy Guy
Shy Guy
Posts: 9
Joined: Wed Jan 08, 2014 3:10 pm

Re: LunaDLL - SMBX Extension Module

Postby Graham » Tue Feb 04, 2014 11:04 pm

Yes, LunaDLL only works with the ASMBXT executable. A few levels do use It in the game, and they're certainly worth checking out.

User avatar
Chill Pingu
Fighter Fly
Fighter Fly
Posts: 61
Joined: Fri Dec 20, 2013 2:28 pm

Re: LunaDLL - SMBX Extension Module

Postby Chill Pingu » Wed Feb 05, 2014 7:31 am

it would be good if somebody makes a download link of asmbxt.exe but with smbx 1.3.0.1 graphics. that way lunadll would be a global thing and we won't need to have two exes.

leif_erikson
Hoopster
Hoopster
Posts: 167
Joined: Thu Feb 06, 2014 12:23 pm
Current Project: DON'T PM me. Post your questions in the help thread so that others may benefit from the answers.
Contact:

Re: LunaDLL - SMBX Extension Module

Postby leif_erikson » Thu Feb 06, 2014 12:36 pm

Chill Pingu wrote:it would be good if somebody makes a download link of asmbxt.exe but with smbx 1.3.0.1 graphics. that way lunadll would be a global thing and we won't need to have two exes.
Yes the .exe is kind of a problem, because it has a lot of stuff that's aimed at ASMBXT only. So if you want to use it, you might end up with some hardcoded graphics you don't want, changed cheat codes, etc. If someone could "undo" the asmbxt.exe changes back to the old hardcoded graphics and stuff, that'd be very helpful.

For whoever's having problems with virus warnings, you should set an exception for the .exe in your virus scanner program. The way lunadll works is I basically inserted 3 hooks right into the middle of SMBX which jump to LunaDLL.dll each time the game processes a new frame. I also changed the dll import table but left the old one in there (unpointed to) and virus scanners find that really suspicious. This is similar to how a virus might modify a program to hijack it, so some bad scanners can think it's actually a virus.

Here's some videos of weird stuff you can do with it:
https://www.youtube.com/watch?v=oT-B6VN8gmI
https://www.youtube.com/watch?v=KFEJg0NY7MM
https://www.youtube.com/watch?v=uVu_IwuNyxM
https://www.youtube.com/watch?v=b8GLzKGM74Y
https://www.youtube.com/watch?v=jtgi4JubJk4
DON'T PM me. Post your questions in the help thread so that others may benefit from the answers.

User avatar
Shadow Yoshi
Dark Knight
Dark Knight
Posts: 4302
Joined: Sun Dec 01, 2013 12:56 pm

Re: LunaDLL - SMBX Extension Module

Postby Shadow Yoshi » Thu Feb 06, 2014 3:49 pm

Are you Kil? Welcome, and great job on this.

How is LunaDLL coded? Were you able to grab object/class data from SMBX?

leif_erikson
Hoopster
Hoopster
Posts: 167
Joined: Thu Feb 06, 2014 12:23 pm
Current Project: DON'T PM me. Post your questions in the help thread so that others may benefit from the answers.
Contact:

Re: LunaDLL - SMBX Extension Module

Postby leif_erikson » Thu Feb 06, 2014 7:09 pm

Joey wrote:Are you Kil? Welcome, and great job on this.

How is LunaDLL coded? Were you able to grab object/class data from SMBX?
Thanks. I was able to reverse engineer some object/class data. You can check the source code (old-ish until i upload the new stuff) here http://www.gamearchaeology.com/LunaDllPackage.zip

LunaDLL is pretty much like an overlord that allows you to change things and control what happens in the game by changing the memory of SMBX.
But since the object interactions are all super hardcoded in smbx, you can't really add anything new to the game with it. You can mostly control and change things on a frame by frame basis. Also you can call some functions I found in smbx, like the Print() thing that allows you to print random strings onto the screen using the classic in game font.

I looked quite a while for things in smbx memory objects like function pointers to interaction routines for sprites and blocks, but there actually aren't any. All NPCS, blocks, and visible objects act solely according to their ID numbers, so you can't just overwrite them with custom functions. You can change their ID numbers in realtime, but then you change the entire sprite - how it looks, behaves, interacts with others, spawns, and dies. All of the raw assembly code for them looks really ugly too, so probably no one will ever be able to modify them without the source code.
DON'T PM me. Post your questions in the help thread so that others may benefit from the answers.

ffffff
Spiny
Spiny
Posts: 40
Joined: Sat Dec 21, 2013 1:42 am

Re: LunaDLL - SMBX Extension Module

Postby ffffff » Thu Feb 06, 2014 11:23 pm

leif_erikson wrote:
Joey wrote:Are you Kil? Welcome, and great job on this.

How is LunaDLL coded? Were you able to grab object/class data from SMBX?
http://www.gamearchaeology.com/LunaDllPackage.zip
program have virus
Sorry for my bad English.I'm Chinese.
I also love sign language.

JOIN MY FORUM!!!
Image
Image

leif_erikson
Hoopster
Hoopster
Posts: 167
Joined: Thu Feb 06, 2014 12:23 pm
Current Project: DON'T PM me. Post your questions in the help thread so that others may benefit from the answers.
Contact:

Re: LunaDLL - SMBX Extension Module

Postby leif_erikson » Fri Feb 07, 2014 10:43 pm

ffffff wrote:
leif_erikson wrote:
Joey wrote:Are you Kil? Welcome, and great job on this.

How is LunaDLL coded? Were you able to grab object/class data from SMBX?
http://www.gamearchaeology.com/LunaDllPackage.zip
program have virus
http://www.supermariobrosx.org/forums/v ... 1009#p6941
DON'T PM me. Post your questions in the help thread so that others may benefit from the answers.

User avatar
meowflash
Blooper
Blooper
Posts: 194
Joined: Mon Jan 20, 2014 3:27 pm

Re: LunaDLL - SMBX Extension Module

Postby meowflash » Sat Feb 08, 2014 8:41 pm

How do you make custom powers ups using LunaDLL?
Mah Staph: I Support The Following Below...
Spoiler: show
Image
Image
Image
Image
Image
Image
Image

leif_erikson
Hoopster
Hoopster
Posts: 167
Joined: Thu Feb 06, 2014 12:23 pm
Current Project: DON'T PM me. Post your questions in the help thread so that others may benefit from the answers.
Contact:

Re: LunaDLL - SMBX Extension Module

Postby leif_erikson » Sun Feb 09, 2014 12:36 am

meowflash wrote:How do you make custom powers ups using LunaDLL?
Tough question. You're creating some new interactions from the ground up. You can't really add one but you can kinda trick the game into thinking it's a new power up. The two best options are: replacing an existing powerup, or using an axe (only one per section can exist). I'll try to write a tutorial for that at some point, but for now there's only this http://www.gamearchaeology.com/TUTORIAL.txt
DON'T PM me. Post your questions in the help thread so that others may benefit from the answers.

User avatar
zlaker
Ludwig von Koopa
Ludwig von Koopa
Posts: 2827
Joined: Fri Dec 20, 2013 1:46 pm

Re: LunaDLL - SMBX Extension Module

Postby zlaker » Sun Feb 09, 2014 11:07 am

I'll probably show you guys how to use this stuff.
ImageImageImageImageImageImageImageImageImageImage
I make art lol

icemario12
Hoopster
Hoopster
Posts: 157
Joined: Thu Dec 26, 2013 5:49 pm
Current Project: The art of getting good grades
Chat Username: iceyboi
Contact:

Re: LunaDLL - SMBX Extension Module

Postby icemario12 » Wed Feb 12, 2014 11:31 am

Lolololol too compicated! Best if I'll use just the traditional custom graphics and npc codes!

I have a big new item list with codes. Nothing special, but a lil' more...gimmicky.
Like the Pound Switch?
Also, I wouldn't risk myself. I've got a HUGE project right now and I don't to mess anything up.
Image

HEY, THIS GAME SERIES IS FUN.

You could even say that...
it's li- gets kicked in the shin

User avatar
Veudekato
Ripper II
Ripper II
Posts: 394
Joined: Tue Feb 18, 2014 8:14 am
Current Project: in progress

Re: LunaDLL - SMBX Extension Module

Postby Veudekato » Wed Feb 19, 2014 3:23 am

emm..anyone know how to install and use this ?
My channel (news about PlatGEnWohl , PlatGEnWohl tutorials,LunaDll ,and SMBX tests):
http://www.youtube.com/channel/UC6h-42umT14iR1wa3VkOs3Q





Image






If you want to make full screenshot of your level (big screenshot - screen of whole section) , just tell me via PM!

User avatar
zlaker
Ludwig von Koopa
Ludwig von Koopa
Posts: 2827
Joined: Fri Dec 20, 2013 1:46 pm

Re: LunaDLL - SMBX Extension Module

Postby zlaker » Wed Feb 19, 2014 6:05 am

Veudekato wrote:emm..anyone know how to install and use this ?
Me and leif_eirikson are probably the only one in this forum that knows how to use this stuff. It's pretty hard in beginning like the event system in SMBX, but it gets easier when you've learned the basic. I'll make topic how to use this stuff, but I gotta finish of my project first.
Meow..
ImageImageImageImageImageImageImageImageImageImage
I make art lol

User avatar
FanofSMBX
Bowser
Bowser
Posts: 3834
Joined: Sun Dec 22, 2013 12:01 pm

Re: LunaDLL - SMBX Extension Module

Postby FanofSMBX » Wed Feb 19, 2014 10:25 am

Finishing your project will take a long time! I need this now! ;)

I believe in Jesus Christ as my Lord and Savior. If you do, put this in your signature.
My graphics pack!
Supporting forums:

Spoiler: show
SMBX Galaxy forum by Pivot40Channel
http://smbxgalaxy.prophpbb.com/
Come to the SMBX+ forums by illias3000. There is a whole forum category dedicated to the boss rush series with official rushes, submit bosses, and fan boss rushes! It is still open but AirSeus Forums is now open:
http://nsmbx.prophpbb.com/
AirSeus Forums the new home of the Boss Rush series:
http://smbxairseusforums.prophpbb.com/
Spoiler: show
First to discover:
Spark
Eerie
Grinder
Rainbow Shell
Birdo
Boom Boom
Image
Image
Image
Image
Image
KINGBOWSER112 RULES!



Return to “Archives”

Who is online

Users browsing this forum: No registered users and 1 guest