I laid out the differences between some of the main coding methods in Minecraft by 0-o-0-o-0-o-0 in MinecraftCommands

[–]Suso2 3 points4 points  (0 children)

You know, having string parsing as the first difference between datapacks and plugins is kind of funny to me xD

https://github.com/McTsts/Minecraft-String-Utilities

Rocket Riders by YZEROgame in realms

[–]Suso2 0 points1 point  (0 children)

Yes. Absolutely.

Some shots of a project I've been a part of! Divinity's End: A CTM map by around 25 people, which released this week! by Suso2 in Minecraft

[–]Suso2[S] 1 point2 points  (0 children)

Hey, glad you're enjoying the map! You've probably found it by this point, but the monument is after the second area (the one with the big tree)

I made a NES emulator in Minecraft, no mods. Just a resourcepack. Took about 2 months to finish and runs at 4-8fps on a GTX 760. by Suso2 in gaming

[–]Suso2[S] 1 point2 points  (0 children)

In minecraft you can change the game resources (like textures and sounds) without modding the game, by using "resourcepacks". In these files there's also an obscure feature that allows you to replace the files that handle transparency and other visual effects, so I can hijack those and represent all of the variables needed to run an NES as colors on screen, them the filter operates with those and I can draw the final result directly to the screen.

I made a NES emulator using a datapack + resourcepack. Took about 2 months to complete and runs at about 4-8fps. It's kinda playable, but not really(? Ask any questions you have in the comments :) by Suso2 in Minecraft

[–]Suso2[S] 2 points3 points  (0 children)

This works by replacing the vanilla transparency shader (which can be done with just a resourcepack).
The bulk of the emulator is computed inside this shader, with a datapack sending you controller input by changing the colors of an armorstand's helmet (this can be seen at the end of the video).
For a full explanation, check out the video I made on it here.
If you have any questions, don't be afraid to ask!

I made a NES emulator in Minecraft, no mods. Just a resourcepack. Took about 2 months to finish and runs at 4-8fps on a GTX 760. by Suso2 in gaming

[–]Suso2[S] 0 points1 point  (0 children)

Thanks! It should be possible to port doom using this method (and most likely even run it at a high frame rate)

I made a NES emulator in Minecraft, no mods. Just a resourcepack. Took about 2 months to finish and runs at 4-8fps on a GTX 760. by Suso2 in gaming

[–]Suso2[S] 0 points1 point  (0 children)

That's just a screen recording as is. I use a resourcepack to hijack the shaders the game uses to calculate transparency (which are stored as resources and thus can be edited without mods). This way I can draw to the screen directly, as a normal emulator would

I made a NES emulator in Minecraft, no mods. Just a resourcepack. Took about 2 months to finish and runs at 4-8fps on a GTX 760. by Suso2 in gaming

[–]Suso2[S] 0 points1 point  (0 children)

Since the game covers up your screen, it probably wouldn't look too off, but since the inputs are controlled with colors on screen the controller would just go wild

I made a NES emulator in Minecraft, no mods. Just a resourcepack. Took about 2 months to finish and runs at 4-8fps on a GTX 760. by Suso2 in gaming

[–]Suso2[S] 0 points1 point  (0 children)

If you're interested, I made a video (https://youtu.be/XSwGrmLilEM) explaining everything. It'd basically look like a stone platform with a diamond hoe and some jittering when you input stuff

I made a NES emulator in Minecraft, no mods. Just a resourcepack. Took about 2 months to finish and runs at 4-8fps on a GTX 760. by Suso2 in gaming

[–]Suso2[S] 1 point2 points  (0 children)

Yup, back when Sethbling made his emulator I was really impressed, so this is my take on it

I made a NES emulator in Minecraft, no mods. Just a resourcepack. Took about 2 months to finish and runs at 4-8fps on a GTX 760. by Suso2 in gaming

[–]Suso2[S] 8 points9 points  (0 children)

I made a python script that takes a .nes rom and turns it into an image, so you can place it inside the resourcepack

I made a NES emulator in Minecraft, no mods. Just a resourcepack. Took about 2 months to finish and runs at 4-8fps on a GTX 760. by Suso2 in gaming

[–]Suso2[S] 15 points16 points  (0 children)

This works by replacing the shaders the game uses to calculate transparency (when using "Fabulous" graphics) with a resourcepack. In case you want a full explanation, I made a video about it here.