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.
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!
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.)
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.
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.
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
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.
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..