Views: 865,154,903
19 users online: Albert1234, anonimzwx, Blizzard Buffalo, Dark Prince,  DeppySlide, DesvaroNicky, Felipe xD, Gamma V, Gammed Z,  KevinM, M9wA, mikairanutshack, Misterfan2000, Natsuz2, pat94plus, PSYotta,  Teows, Tommitalia,  xHF01x - Guests: 42 - Bots: 68 Users: 47,907 (2,072 active)
Latest: DesvaroNicky
Tip: Stay up-to-date with new tool and resource releases on the SMW hacking scene by viewing this forum.Not logged in.
Posts by JVyrn
JVyrn's Profile - Posts by JVyrn
Pages: « 1 2 3 »
Suggestion: Have a preprocessor macro sort of thing that lets you JSL into either the init or main of another levelASM file (inserted or not, just add it to the queue if not)


This is a biiiit late but it's just a last-minute might-as-well-release-this-thing sort of deal. Most info is in the link in my sig, the relevant new stuff is explained in the demo itself.

Have fun!



So I made this a while back...

Sorry, no video, less than 45 minutes left on C3 etc.

o_o that effect is g l o r i o u s


This is a fork of asar with some additional features (and fixes) useful as part of a ROMhacking toolchain (and probably elsewhere.)

Fixes and features so far:
- Defines are now evaluated in numeric comparisons so it doesn't just spit "invalid number" at you
+ import <file>: includes a file from a specified directory (default ./lib/) relative to the ROM; assumes .asm if no extension given
+ assertdef <define>: if define doesn't exist, create it with value 0 (useful for checking for flags set by macros/libraries)
+ undef <define>: deletes a define

(precompiled binaries coming soon)

Originally posted by Alcaro
Originally posted by JVyrn
- Defines are now evaluated in numeric comparisons so it doesn't just spit "invalid number" at you

When would that be possible to trigger? 'Numeric comparisons' sounds like stuff like 'if', and those commands run after expanding the defines. Please post a code that triggers that bug.
The "elseif !_LIB_VERSION_<name> < <version>" was throwing invalid-number for no apparent reason and now it isn't, so...

...huh. right. *pokes at code*

edit: fixed properly this time! ...I think

One small-but-big thing LM really needs to make the toolchain approach I've been using viable for everything is the ability to use specific functions from the command line; stuff like inserting graphics/map16/etc., applying initial hooks (though if you're building into a clean rom you could just do this with an IPS patch for the base rom) and, perhaps most importantly... autoinserting .mwl levels from a given folder. (perhaps level number denoted by, say, [14E] or [01A] anywhere in the filename so that you can also label the individual files for ease of finding...)

Either adding the functionality to LM itself, including a separate commandline tool or just exposing such code in a library would be a massive help to what I'm trying to do (namely, having a full build process that will effectively take a clean ROM and insert everything, patches, music, blocks/sprites, graphics, levels etc. so you end up with the full hack, cleanly built every time)

here's a build that's a bit more friendly to asar-tc (passes the rom filename so import works)

binary coming once I've given asar-tc a proper binary release (have a couple things to look at adding first)

Originally posted by zacmario
My Windows has failed, looking for information on hacking with Linux.
Do programs such as pixi, gps, asar work?

All three of those are open-source and can be compiled just like anything else (though cmake may be required for some).

Pages: « 1 2 3 »
JVyrn's Profile - Posts by JVyrn

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2020 - SMW Central
Legal Information - Privacy Policy - Link To Us


Follow Us On

  • YouTube
  • Twitch
  • Twitter


  • Super Mario Bros. X Community
  • Mario Fan Games Galaxy