Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - mechaskrom

#1
I've been quite busy lately, so I haven't had time to submit any github requests. It looks like it wasn't necessary though, as SuperSnes9x now has everything I need to create mapping scripts.

If I find the time, I'll submit github requests for a few "nice-to-have" (but not essential) features, like that screenshot canvas thing I mentioned earlier.
#2
Awesome! It's exciting to see more emulators with script support.

I tried porting some of my scripts and most seemed to work fine. Some things are missing, such as the ability to specify a file path in emu.screenshot() and functions for toggling layers on or off, but it's a good start.

I'll definitely keep an eye on this emulator and maybe make some feature requests via its github.
#3
Quote from: ReyVGM on October 17, 2026, 11:38:46 AMI'll add it to the requests, but it can be a bit complicated to grasp especially since none of us use those tools. Could you make a short video showing how it works and how you want that canvas thing to work? Although, it feels like this is getting a bit to close to image-editor territory.
There are already quite a lot of guides and videos for emulator scripting. Some examples:
How to Write Lua Scripts for Video Games with the BizHawk Emulator
Bizhawk: Intro to Lua Scripting
CPS2/3 Romhacking: The basics of LUA
Scripting is basically an interface (API) the emulator provides that makes it possible to programmatically interact with the emulator and the emulated game. Lua is commonly used as the programming language in these scripts.

The in memory canvas thing would only need these four script functions for my use cases:
canvas = create(width, height) //New canvas with specified dimensions in pixels.
canvas.clear(color) //Clear whole canvas with specified color.
canvas.copyFromScreen(screenX, screenY, width, height, canvasX, canvasY) //Copy rectangular part of screen to canvas.
canvas.saveToFile(filepath) //Save canvas as a PNG-file.
The canvas is just a 2D array of RGB pixels. A big screenshot made up of many normal screenshots you could say. This is where the screenshots are stitched together into a map.

So it's not really an image editor. However you probably want/need some basic graphic functions in the script API so you can display text and other things. I often make scripts that show info about tilemaps, sprites and hidden items in the emulator's screen (script overlay) for example. A canvas window is useful for displaying more complicated stuff. Like this script for SimCity that displays the whole city in a canvas:
SimCity SNES map viewer script


Quote from: ReyVGM on October 17, 2026, 11:38:46 AMQuestion, if SuperSNES9x adds LUA support, is there a script you can use or does the emu author have to write its own script?
Users write the scripts (they are just txt-files the emulator can open). You can probably even get an AI to help write one for you today. There exists many scripts, but unfortunately they are generally not compatible between different emulators. You often have to rewrite them a bit to get them working in another emulator.


Quote from: ReyVGM on October 17, 2026, 11:38:46 AMThere is a debugger in the works and once that's added, scripting can also be added.
As SuperSNES9X is a fork of Snes9X, maybe it's possible to copy the lua scripting implementation from Snes9X Rerecording (snes9x rr)?
https://github.com/gocha/snes9x-rr


Quote from: ReyVGM on October 17, 2026, 11:38:46 AMI see you've written tools too. Can't you write your own tool and add it to SS9X once scripting is available? That way you can make the tool exactly how you (and other mappers) would like it.
Probably depends on how much functionality the emulator exposes in its scripting API. With enough functionality you could probably write most tools, like a debugger, in scripts if you wanted too.

You can do a lot of crazy stuff with emulator scripting and that's why I love it :). Like give Mega Man laser eyes or Mario a jetpack:
Best Scripts for Nintendo NES Emulator FCEUX!
#4
Cyartog959 is right that there are many games that do not run in an emulator. They can still be mapped, but it's harder. The problem with games like Blaster Master Zero is rather that they use many graphical effects and scrolling layers which is difficult to map.

It's easier to map old 8- and 16-bit games using an emulator, which is why I suggest that beginners start there.

Regarding paint.net settings, in addition to "aliased rendering", I also like to set the "tolerance" level to 0% so that only identical pixels are bucket filled or magic wand selected.
#5
Pretty much what everyone have already said, but I just wanted to add one feature that I REALLY want in an emulator for mapping and that's scripting. It's extremely useful for automating the screenshot+stitch process and saves a lot of time and work. Sadly, very few emulators have script-support. BizHawk is one of the few that does, which is why it's my goto emulator for mapping games. Plus it has many other excellent features/tools.
https://tasvideos.org/Bizhawk/LuaFunctions

Some other emulators with scripting that I know of is FCEUX, Lsnes and Snes9X Rerecording (snes9x rr).

Scripting exposes an API to the emulator so you get great control of the emulated game. My scripts usually just use the memory read/write functions to change the camera position in the emulated game and then the take screenshot function.

Something BizHawk lacks in its scripting and I would like to see is an in memory drawing canvas that you can blit copy a rectangular part of the current screen to. The canvas could then be used to stitch together the map into and then saved to file. Currently I have to call an external tool that takes a txt-file with blit commands from the BizHawk script that stitches together all taken screenshot files. It works, but it would be nicer if this could be done entirely inside the script.

BizHawk has a canvas (LuaCanvas object), but it's a GUI desktop window and as far as I know it's not possible to close or hide it which is annoying. Especially when stitching a really big map. Plus you cannot copy from the screen to the canvas, only from image files.
#6
Welcome!

It sounds like you're on the right track. Most maps are made by basically taking many screenshots with an emulator and then stitching them together in an image editor.

My normal process for mapping a game look like this (in broad strokes):
-Thoroughly familiarize myself with the game, play it, read guides, and so on.  Create many emulator save states while playing, so I can quickly "jump" to different parts of the game.

-Search for memory addresses/codes useful for mapping the game. For example codes for the camera position, freezing animations/sprites, etc. Emulators often have memory/code search functions and hex editors. Otherwise I use the Cheat Engine program.

-Write a script or an external bot to automate the screenshot+stitch process using the addresses I found in the previous step. Sadly, very few emulators have script-support. BizHawk is one of the few that does, which is why it's my goto emulator for mapping games. Plus it has many other excellent features/tools. Creating a bot for emulators that lack scripting is more work and has other drawbacks. Still better than manually screenshot+stitch everything though. I made a post here with a link to a BizHawk script that you can look at as an example:
https://www.vgmaps.com/forums/index.php?topic=4211.msg23860#msg23860

-Put together the final map using a custom program I made and the Paint.NET image editor. Here I add text, icons, arrows and other annotations to the map.


But to get started, I suggest you choose a simple 2D game you like and just start taking screenshots and stitching them together into a map. You'll learn the more advanced stuff later. You probably want to look into memory/code search first as that is very useful and often needed for screenshotting parts of a map that you normally cannot reach.

#7
Map Gab / Re: Wizards and Warriors 2 for Nes??
September 27, 2026, 09:37:39 PM
Good job on improving KingKuros maps and making them more complete. I played all three Wizard & Warriors NES games a lot when I was young. Despite their difficulty and clunky controls I like them. Never managed to beat Ironsword though. The final boss fight against the four elementals at Icefire peak is hard.
#8
Gaming / Ys 1 and 2 releases collage
September 19, 2026, 10:52:55 PM
All the different Ys 1&2 releases are quite confusing so I made a collage of all of them (I hope) from 1987 to 1991 to give me a better overview. It's a bit simplified with one entry per platform. The FM-7 got an extra release of Ys 1 for the more powerful FM77AV with better sound for example. And Ys 2 was only released for the Sharp X1 turbo and Fujitsu FM77AV (hence its nicer title screen). Finding details of all the different Ys 1&2 releases is hard though.

I've played a lot of different Ys 1&2 versions and I think that TG16 Book 1&2 is superior to all of them. Good graphics, good controls, voiced dialogs, not that grindy or difficult and awesome music. The TG16 music is even better than what modern versions have in my opinion. It's really strange that no remake used it as far as I know. Maybe some licensing issue?

Ys I & II Chronicles is also quite good if you want something more modern, but it's missing the TG16 music and the graphics style, although very pretty, doesn't really capture the look of the old Ys games. That together with many other changes makes it feel like a new game rather than a remake of Ys 1&2.

Which Ys 1&2 versions have you played and which is your favorite?

#9
I just found these amazing artworks of the Toran and Dunan Castle headquarters in Suikoden 1 & 2. They're really cute and have a lot of cool details, so please check them out. Flik and Odessa together at the top in Toran Castle is just... (if you've played Suikoden 1, you know).

I attached some previews of the art, but all the original images (also individual floors) can be found here:
https://www.pixiv.net/en/artworks/54054581
https://www.pixiv.net/en/artworks/72159699

It's fun to compare them with my maps:
https://vgmaps.com/Atlas/PSX/Suikoden-ToranCastle(Lv4).png
https://vgmaps.com/Atlas/PSX/SuikodenII-Headquarters(Lv4).png
#10
Map Gab / Re: "Tom and Jerry: Frantic Antics"
July 06, 2026, 08:53:41 AM
Since no one finished the maps even though I'd already done much of the work I decided to do the rest myself. They were recently uploaded and can be found here https://vgmaps.com/Atlas/Genesis/index.htm#TomAndJerryFranticAntics
#11
Gaming / Re: "10 Games To Get To Know Me..."
March 17, 2026, 11:03:38 PM
Quote from: dark_lord_zagato on March 14, 2026, 05:44:27 PM
A friend of mine gave this to me back in the 1990s, when we were in highschool, and showed me the basics of how this game works. The graphics and sound are pathetic for an SNES game, and while the story is okay there isn't anything too special about it.

What really sold us was all the stuff you can do outside of storyline progress. You can just forget about your mission and screw around for years of in-game time. I wanted to explore all of Japan and find the towns that you have no real reason to go to. My friend liked recruiting all the generic characters just to sell their stuff and kick them out of the party. We both liked tracking down the characters that are hostile towards the hero, so we could challenge them to a duel and beat the CRAP out of them. Later on in the game I found out you could take spying and sabotage missions, and even help out in wars between provinces. I tried to turn the entire mini-map of Japan yellow (for Tokugawa Ieyatsu) but only conquered half of it before my generals were stretched too thin.
That was a nice story about how even bad games can entertain and influence you.  :)

If I had made a list of games that influenced me, it would probably only have been a bunch of NES games. One I could think of right now is Swords and Serpents, a not so great NES game. Borrowed it from a friend at school, he hated it, but I really liked it despite its many flaws. Just this thing about exploring a big mysterious dungeon, building characters and having to draw maps by hand. So it's a game that strongly contributed to my interest in RPGs and game maps today.
#12
Gaming / Re: "10 Games To Get To Know Me..."
March 14, 2026, 09:52:39 AM
Zagato, why did you pick Inindo: Way of the Ninja? I haven't played it, but it has really mixed reviews online and doesn't seem very good. Plus, it's made by Koei.  ;)

Is it worth playing anyway?
#13
I played a few stages in Super Mario World. Happy MAR10 day!
#14
Gaming / Re: "10 Games To Get To Know Me..."
February 25, 2026, 11:10:31 AM
Choosing just 10 games is hard, but I tried to pick some favorites from different genres that I really like.
Final Fantasy 6 (SNES)
Super Metroid (SNES)
Settlers IV (PC)
Silent Hill 3 (PS2)
Castlevania SOTN (PSX)
FlatOut 2 (PS2)
Secret of Mana (SNES)
Solomon's Key 2 / Fire 'n Ice (NES)
Guardian Legend (NES)
Super Probotector / Contra 3 (SNES)
#15
Gaming / Re: Crater, a Sokoban clone for MS-DOS
January 17, 2026, 04:07:55 PM
I thought the game was good enough to deserve a map. In order not to spoil the whole game, I left out the ending for now, but I might submit an update with the ending after 1-2 years.

If you're even remotely interested in puzzle games, you should give Crater a chance.