Banner
Views: 854,443,870
Time:
10 users online: dacin, Infinity, Jead, kamekku14,  KevinM, monkey03297, Narcologer, PokerFace, RPG Hacker, westslasher2 - Guests: 66 - Bots: 67 Users: 47,161 (2,476 active)
Latest: migattenobenjai
Tip: Bad things to do in the title demo: Enter a door or a pipe, activate a P-switch or a star, complete the level, hit a message block, or die. These will either glitch the music, or force the player into an endlessly looping title level until they reset the game.Not logged in.
How do you insert a block without the map16 file?
Forum Index - SMW Hacking - SMW Hacking Help - How do you insert a block without the map16 file?
Pages: « 1 »
I want to use the aftertouch shatter block:
https://www.smwcentral.net/?p=section&a=details&id=12608

I've placed the ASM in the blocks folder within GPS, and directed to a specific value in the list.txt (in this case, 70C). GPS confirms that all blocks were inserted successfully, but all the tiles in the map 16 are still blank as if they were never modified. I cannot import the tile as there is no map16 file to insert.

Been following this tutorial, but it doesn't cover this issue.
https://www.smwcentral.net/?p=viewthread&t=88423

So, how do I get the block into the ROM?
Originally posted by giu
I want to use the aftertouch shatter block:
https://www.smwcentral.net/?p=section&a=details&id=12608

I've placed the ASM in the blocks folder within GPS, and directed to a specific value in the list.txt (in this case, 70C). GPS confirms that all blocks were inserted successfully, but all the tiles in the map 16 are still blank as if they were never modified. I cannot import the tile as there is no map16 file to insert.

Been following this tutorial, but it doesn't cover this issue.
https://www.smwcentral.net/?p=viewthread&t=88423

So, how do I get the block into the ROM?


Open GPS's list.txt, locate the block, copy the id, select an block on the Map16 editor, and edit the Act as to be the same as the block's id. And remember: if the block has an custom ExGFX, you will have to put manually.

--------------------


Paper World!
My YouTube Channel

Coming soon!

That doesn't do anything. The entire map16 page is blank. I'm just asking a grey cement block to act as another grey cement block.
Nothing changes when setting the "act as". The block I want is not in the ROM can cannot be imported. The ExGFX has already been inserted, but does not appear.
So here's the deal like Batata Douce to insert a block into a hack you follow these steps.

Open list.txt
add you blocks file to the list
run GPS on your rom
If no errors it's done.

Your issue has nothing to do with GPS it's working as intended your issue with with graphics and map16 which is all manual and has nothing to do with GPS.
Now the one issue you might be running into is inserting the block onto 70C while making it act as 70C which won't really work you need to make it act like say 130 for solid 25 of non-solid 7 for vine so on so fourth.

The reason that tutorial you are following doesn't cover map16 or graphics is because those are independent of actually inserting blocks.
Originally posted by Ninja Boy
Open list.txt
add you blocks file to the list
run GPS on your rom
If no errors it's done.


I've done this multiple times, but there is no block. Putting the colon in the list.txt will change the behavior of the tile, but the block itself is not there. I can't get the graphics or functionality of any downloaded blocks.

What do I need to do?
Didn't you read the other posts? They explicitely mentioned that GPS insert code and code only and you still have to edit the graphics inside Lunar Magic (I can also go the other way and ask why my On/Off solid doesn't work even if the graphics are set up Lunar Magic but I never used a block insertion tool).

Keep in mind that Aftertouch Shatter doesn't just requires the block but also the included sprite to work as it's more complicated than a simple block and not SA-1 compatible. Insert a simple block at first to see that GPS is working at all before you go to complain in the forums that something doesn't work because you didn't read the instructions.

--------------------
Okay, my layout looks ugly.
Please don't be so rude. My question is that I don't know how to insert the block in the first place. Nothing I do will overwrite the blank tile in the map16, and I can't find a "simple block" as previously stated. Every one comes with either a sprite or some other special condition to make them function. At this point I just want to see the block appear at all.
Originally posted by giu
Nothing I do will overwrite the blank tile in the map16

Not even creating the graphics yourself?

Originally posted by giu
Every one comes with either a sprite or some other special condition to make them function.

This applies to only 1% of our blocks and 95% of them are by HammerBrother so avoid them.

Here is a list of simple (which also are the most useful blocks to hace) blocks:

All you need to do is to customise them (i.e. open the ASM file and play with the defines) and insert them with GPS. No sprite, no UberASM, just GPS is required.

If none of these work, the problem is somewhere else but if these work then Aftertouch Shatter also work if you follow its instructions.

--------------------
Okay, my layout looks ugly.
Thanks for the blocks, I was actually looking for the sprite solid, but didn't know the name. At risk of sounding like a total idiot, I still have the same issue:
I don't know how to get the ASM file from notepad into the Lunar Magic map16.

My problem is that there is no block to edit. All the FG/BG tiles that I download come with a file that can be imported, and from there, made to act as another existing tile and/or have its graphics changed.
However, in the case of blocks, there is nothing to import.



Putting a colon and tile number into the list.txt changes behavior of the grey cement block to that of the desired tile. Where I run into trouble is that I can only copy the behavior of a tile already in the map16.
I don't know how to create anything from scratch. I feel like I am missing a preliminary step before I run GPS or any other tool.
GPS should generate a DSC file (same name as the ROM) with all block descriptions (behaviour still should exist in ROM). These only are loaded if you load a ROM, not when you switch levels. Make sure that you have the DSC file in the same folder as the ROM. You then go to #lm{recent} and select your ROM.

Originally posted by giu
My problem is that there is no block to edit. All the FG/BG tiles that I download come with a file that can be imported, and from there, made to act as another existing tile and/or have its graphics changed.
However, in the case of blocks, there is nothing to import.

All graphics come with graphics. However, blocks typically don't come in with appropriate graphics unless otherwise and that simply means "create the graphics yourself" or "use existing graphics".

Originally posted by giu
I don't know how to create anything from scratch. I feel like I am missing a preliminary step before I run GPS or any other tool.

And that "another tool" is Lunar Magic which not only handles levels and overworld but also graphics (at least in insertion): Have you ever noticed the widgets on the left in the Map16 editor? These aren't just for deco but allows you to edit the selected Map16 tile (yes, you can select even multiple tiles on the Map16 editor). For better control of the graphics, you can select individual 8x8 tiles with #lm{8xt}. Be sure to select #lm{8x} which allows you to paste the tiles from a minimal 8x8 editor into the Map16 editor.

There is no dedicated tool to create Map16 tiles, it just doesn't exist because Lunar Magic has got all the features a Map16 editor requires.

Edit: Wording.

--------------------
Okay, my layout looks ugly.
Originally posted by MarioFanGamer
Make sure that you have the DSC file in the same folder as the ROM. You then go to and select your ROM.

That was it! Now the tiles have their proper functions. The editors in Lunar Magic I already know.
Thank you.
All the complains because Lunar Magic didn't display the correct description?! The blocks were inserted just fine, you should have checked them in-game first. Only then you're absolutely sure the blocks work just fine.

The same applies to AMK and PIXI: They too can generate descriptions for music and sprites, respectively but they are absolutely not required (in fact, PIXI can't even generate descriptions if the configurations is a CFG file, not JSON).
This also was the case with certain blocks, namely FuSoYa's screen scrolling pipes (not used anymore as they're incompatible with GPS). Unless you noticed that you have to copy the content of pipes.dsc into the ROM's .dsc, you had to "guess" the pipe's behaviour and Lunar Magic tells you otherwise the acts like (namely cement blocks) but not the pipe behaviour themselves (source: this happened to me).

Case point: Delete your ROM (or move it somewhere), create a new one with the same name as the old one and insert the "custom block" in Lunar Magic. You'll see that the custom block don't work despite Lunar Magic telling you otherwise.
Alternatively: Remove the DSC file after running GPS. Custom blocks still work despite Lunar Magic telling you that it acts like a cement block. See, it's just a damn description!

--------------------
Okay, my layout looks ugly.
Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - How do you insert a block without the map16 file?

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


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

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