Hay guyz,
http://johanneskopf.de/publications/pixelart/
How hard would it be to pull the sprites from a ROM at startup, depixelize them, save them to a hashmap or something, and render them instead of the original sprites?
Make emulators at movies beautiful.
Joined: 8/14/2009
Posts: 4090
Location: The Netherlands
Clock speed of the original console does not matter that much. There are many other factors in play for emulation speed, such as hardware quirks. For instance, emulating a SNES accurately costs about 3 GHz, despite the actual SNES processor clocking at only 3.58 MHz.
Sure, many emulators for e.g. NES are plenty fast, but I'm not sure you can find one today that runs at 60,000,000 FPS unthrottled on current computers.
http://www.youtube.com/Noxxa
<dwangoAC> This is a TAS (...). Not suitable for all audiences. May cause undesirable side-effects. May contain emulator abuse. Emulator may be abusive. This product contains glitches known to the state of California to cause egg defects.
<Masterjun> I'm just a guy arranging bits in a sequence which could potentially amuse other people looking at these bits
<adelikat> In Oregon Trail, I sacrificed my own family to save time. In Star trek, I killed helpless comrades in escape pods to save time. Here, I kill my allies to save time. I think I need help.
Joined: 4/17/2010
Posts: 11475
Location: Lake Chargoggagoggmanchauggagoggchaubunagungamaugg
Putting bitmaps on top of background takes little processing power. If the depixelized sprites are indeed taken from the ROM and saved separately, this is pretty doable (with some code tweaks probably):
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Ok, it's not impossible, but it would still require a lot of time because every game's sprites would have to be processed differently. Using a single method for rendering any game would be ineffective, not to mention that the render mothod(s) would be very arbitrary.
Also, emulators used for TASes are built in order to get emulation accuracy, in order to be the most faithful to the actual platform, so this topic has probably little to do with TASing.
Ok, it's interesting, but at this point wouldn't be better to work on DS/Wii ROM hacking?...
The pixel shading method is general. And for other sprites, individual HD models can be set. It shouldn't affect emulator performance. Even if it were to take forever to render, more beautiful movies could be made. It doesn't affect the game physics any. Viewers could choose to watch the original or the graphically enhanced TAS.
I can't speak for every system, but in many games, sprite data for characters is cut up into small chunks and only assembled on the screen at runtime, as seen here.
Running the smoothing algorithm on the individual sprite chunks would likely result in suboptimal results, as the algorithm doesn't know where edges are supposed to meet.
It's generally impossible to tell beforehand how sprites are supposed to combine ingame without applying game-specific knowledge. If you try to run the smoothing algorithm on the combined sprites at runtime, you still might not know which sprites are supposed to go together, like when Mario overlaps with a goomba.
For better results, you will have to develop a game-specific solution, and apply the new renderer into your emulator of choice. It gets unweildy very quickly if you want to do it for more than one game. You may be better served by just enabling HQ2X on your games, but that only does so much.
Yeah, sprites on the NES are actually 8x8, so accomplishing anything of significant size requires large numbers of sprites working in unison.
You'd then have the problem of the smoothing algorithm "smoothing" sprites into the background, I suspect.
That article you linked has been talked about here in the past; it made quite a splash the first time with people theorizing about how it might be applied to encodes. The fact that nobody followed through on it suggests that it's more difficult to achieve than you'd first think. I'm not saying it's impossible, nor that the prior discussions mean that a new discussion isn't worth having; I just want you to be aware.
Pyrel - an open-source rewrite of the Angband roguelike game in Python.
The HQx series is nowhere near the XBR series.
XBRZ and SuperXBR are the leaders for now, depending on what you are scaling.
Screenshot of Sonic 1 using 4xBRZ:
http://i.imgur.com/Ri9o177.png
Joined: 10/12/2011
Posts: 6439
Location: The land down under.
You know.
Just mainly because you completely avoided responding to a post that was especially made for you to respond to.
Since, I don't want to repeat it word for word, with a quote and because it was actually dedicated to that discussion at that place, and you're bringing it up here once more, I'll just link my post here about the original discussion and wait for your response.
Be sure to respond at the dedicated place which is where it all started, which is not this thread thanks.
Disables Comments and Ratings for the YouTube account.Something better for yourself and also others.
You seem to have some kind of attitude problem. The original poster asked about changing the graphics of games, and I expressed my disapproval of it. I find those modified graphics ugly to the extreme, and I believe I'm entitled to express my opinion.
What exactly do you want? Everybody to simply agree with it? Is disagreement not allowed here anymore? Who decides what is and isn't an appropriate topic to disagree with? You?
Joined: 11/13/2006
Posts: 2822
Location: Northern California
There's disagreeing with something and then there's beating people over the head with your disagreement until they agree just to shut you up. Take a moment to reflect on your actions and your experiences with the site and categorize yourself accordingly.
TASvideos Admin and acting Senior Judge 💙 Currently unable to dedicate a lot of time to the site, taking care of family.
Now infrequently posting on Bluesky
There's also twisting a conversation from the question asked by the poster to "hey, let me just step in for a moment to express my disapproval".
No.
Not, "Hey, should I ..." or "Would anyone be offended if I ...". This, specifically, isn't an opinion question as to the end result, it's an opinion question of the difficulty of the task.
I am still the wizard that did it.
"On my business card, I am a corporate president. In my mind, I am a game developer. But in my heart, I am a gamer." -- Satoru Iwata
<scrimpy> at least I now know where every map, energy and save room in this game is
Joined: 8/14/2009
Posts: 4090
Location: The Netherlands
This has nothing to do with emulation anymore.
http://www.youtube.com/Noxxa
<dwangoAC> This is a TAS (...). Not suitable for all audiences. May cause undesirable side-effects. May contain emulator abuse. Emulator may be abusive. This product contains glitches known to the state of California to cause egg defects.
<Masterjun> I'm just a guy arranging bits in a sequence which could potentially amuse other people looking at these bits
<adelikat> In Oregon Trail, I sacrificed my own family to save time. In Star trek, I killed helpless comrades in escape pods to save time. Here, I kill my allies to save time. I think I need help.
The best way I've found to achieve such a thing is to do it to the whole video. As mentioned by scrimpeh, sprites are often broken up into tiles and that causes quite a lot of abnormalities if you apply it on a per-sprite basis.
PointSize for AVISynth is very effective at doing this. xBRZ(scale=6) is what I use when I'm after this specific effect.
A while ago I often did personal encodes for my own viewing with one audio track and three video tracks - one with the original pixel output point-scaled up, one with xBRZ and one with a scanline/CRT simulated effect. It was time consuming, but I could switch through several ways of viewing the video as I watched it and I quite enjoyed that.
I'm not as active as I once was, but I can be reached here if I should be needed.
MOD EDIT: This sort of bickering is not helping anyone's case, so please drop this sub-conversation (this goes for each of you). Stick to the topic. -Mothrayas
Joined: 8/14/2009
Posts: 4090
Location: The Netherlands
High-definition textures, models, and particle effects don't come out of nowhere.
http://www.youtube.com/Noxxa
<dwangoAC> This is a TAS (...). Not suitable for all audiences. May cause undesirable side-effects. May contain emulator abuse. Emulator may be abusive. This product contains glitches known to the state of California to cause egg defects.
<Masterjun> I'm just a guy arranging bits in a sequence which could potentially amuse other people looking at these bits
<adelikat> In Oregon Trail, I sacrificed my own family to save time. In Star trek, I killed helpless comrades in escape pods to save time. Here, I kill my allies to save time. I think I need help.