Importing screens from NES screen tool [4.5]

Hey everyone!

With 4.5 we got 8x8 screen painting mode, but we lost the ability to import from NES screen tool in case you wanted to import a screen designed externally.
I have a workaround you can use for the current version.

Understand that this is a messy solution, and deals with modifying the screen data that Nesmaker generates before it compiles, so not really a great solution if you plan to make a ton of screens
this way. If you just need a handful though this should work, and its pretty easy to do.

How to manually import a screen:

In Nesmaker, make a new 8x8 screen on your Overworld/Underworld.
Make a screen in an external tool (keep to NES color limits) and import it to NES screen tool like normal.
Export the Tileset:
Export>Tileset as BMP
Depending on the complexity of the screen, it may not fit in one Main Graphics tileset.
You can use Double Main/Nohud to load the full size tileset (break it up into 2 mains and a screen)
If you do not need the last row, use normal Double Main.
In Nes screen tool Shift-click-drag select the entire screen, and export the nametable:
Nametable>Selection To clipboard> ASM code
Save it in a file somewhere you will remember(doesnt matter what you name it)
Import it to Nesmaker:
In nesmaker TestBat.bat add this line before the compile: (!!!!MAKE A BACKUP OF YOUR TestBat.bat!!!!!! If you mess it up then Nesmaker won't be able to compile anymore)
copy "C:\...\TestScreen.nam" "C:\...\NESmaker_4_5_6\GameEngineData\ScreenData\Nametables\Screen_Over_E1.nam"
Replace the ... with your correct paths, TestScreen.nam with whatever you named your file, and Screen_Over_E1.nam with the correct screen nametable.
(Get Screen number by counting on the map starting at 0. So if your last row is 8x8 tile screens then Screen 1,14 would be E(14), 1(1)

Now when you run your game from inside of nesmaker, you should get an extra line in the compiling that says it overwrote that screen, and it should load correctly.

How this could be improved:
This takes up a lot of your tileset space :(
In the future I will be looking at how to use one of the empty banks to store the tileset instead of the main tilesets.
 
Top Bottom