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!
This is really interesting, pheraps a brand new .exe with more customizability will come?
just wondering
Re: LunaDLL - SMBX Extension Module
Posted: Tue Feb 04, 2014 9:30 am
by zlaker
I have it and it's preety useful. You guys should download it..
Re: LunaDLL - SMBX Extension Module
Posted: Tue Feb 04, 2014 9:32 am
by Emral
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.)
Re: LunaDLL - SMBX Extension Module
Posted: Tue Feb 04, 2014 10:41 am
by litchh
When I tryed to play ASMBXT, game crashed on some levels. I guess SMBX crashes with any modified level on my PC.
Re: LunaDLL - SMBX Extension Module
Posted: Tue Feb 04, 2014 7:13 pm
by FallingSnow
I'm pretty sure ASMBXT used it, yes. You had to get their own exe for it if I recall.
Re: LunaDLL - SMBX Extension Module
Posted: Tue Feb 04, 2014 11:04 pm
by Graham
Yes, LunaDLL only works with the ASMBXT executable. A few levels do use It in the game, and they're certainly worth checking out.
Re: LunaDLL - SMBX Extension Module
Posted: Wed Feb 05, 2014 7:31 am
by Chill Pingu
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.
Re: LunaDLL - SMBX Extension Module
Posted: Thu Feb 06, 2014 12:36 pm
by leif_erikson
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.
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.
Re: LunaDLL - SMBX Extension Module
Posted: Thu Feb 06, 2014 11:23 pm
by ffffff
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?
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
Re: LunaDLL - SMBX Extension Module
Posted: Sun Feb 09, 2014 11:07 am
by zlaker
I'll probably show you guys how to use this stuff.
Re: LunaDLL - SMBX Extension Module
Posted: Wed Feb 12, 2014 11:31 am
by icemario12
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.
Re: LunaDLL - SMBX Extension Module
Posted: Wed Feb 19, 2014 3:23 am
by Veudekato
emm..anyone know how to install and use this ?
Re: LunaDLL - SMBX Extension Module
Posted: Wed Feb 19, 2014 6:05 am
by zlaker
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..
Re: LunaDLL - SMBX Extension Module
Posted: Wed Feb 19, 2014 10:25 am
by FanofSMBX
Finishing your project will take a long time! I need this now!