Go Back   Flash Flash Revolution: Community Forums > Flash Flash Revolution > FFR General Talk
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
Old 08-29-2007, 01:44 PM   #21
MRichards
FFR Player
 
MRichards's Avatar
 
Join Date: May 2006
Posts: 91
Default 85fps Full-Screen! FFR==SM

I don't know if anyone is using this tool, but here goes anyway...

Firstly, I've sorted out some issues with the program freezing. But mainly, the latest version now supports normal resolution rather than just low resolution, and allows full screen, perfectly smooth play.... but only if you've got a half-decent gaming rig. I tested it on this setup:

Intel 2.4Ghz Core Duo
2 Gig RAM
NVidia GeForce 7600GT (256Mb)
Using NView to stretch the desktop across two monitors

I ran the game in the second monitor, and my program in a full-screen window in the main monitor. I got silky smooth arrows at 85fps - just like StepMania \(^^)/

Look (2560x960 screenshot - FPS can be seen in window corner):
http://www.latent.demon.co.uk/images...creen_dual.jpg

The fps and resolution could have been higher, but I was using a pair of old CRT monitors. I used the latest beta Adobe Flash player, which gave a noticeable FPS increase: http://labs.adobe.com/technologies/flashplayer9/

Well, my work here is done... I hope some other people can get this working too:
http://www.latent.demon.co.uk/ffr_smooth.html

Time to start playing again...
__________________
MRichards is offline   Reply With Quote
Old 08-29-2007, 01:56 PM   #22
HeZe
FFR Veteran
FFR Veteran
 
HeZe's Avatar
 
Join Date: Jul 2006
Location: Finland
Posts: 556
Send a message via MSN to HeZe
Default Re: FFR Smoothing Tool

Hax
__________________

Quote:
Originally Posted by ilikexd View Post
Your strengths and weaknesses may never change, but they will still get better as you do, albeit disproportionately of course. You're bad at jumpstream, so just play jumpstream files. Play them for hours. Play ones you have to struggle to SDG, and play ones hard enough to make your hands and arms burn. Then play them some more. Then, the day after the next, play them again. If you aren't already doing this, you can't say you're stuck. Plateauing doesn't really exist, if you aren't improving it means you haven't put in the effort needed to improve, or your effort has been misapplied. It's more of a problem at really high levels, but never totally concrete.
HeZe is offline   Reply With Quote
Old 08-29-2007, 01:58 PM   #23
heyitsmee
FFR Player
FFR Veteran
 
heyitsmee's Avatar
 
Join Date: Sep 2006
Location: Israel
Posts: 2,042
Default Re: FFR Smoothing Tool

sounds good but i dont even get how this is possible to increase a given frame rate
your program duplicates the ffr window and shows it using your GPU or something but i think the actual frame rate movement of the arrows will remain the same it will only be shown in a nicer way
__________________

heyitsmee is offline   Reply With Quote
Old 08-29-2007, 02:39 PM   #24
MRichards
FFR Player
 
MRichards's Avatar
 
Join Date: May 2006
Posts: 91
Default Re: FFR Smoothing Tool

Although your scepticism is understandable, it *really* does increase the frame rate. On a decent machine, the program picks up 30fps from the FFR game running in Flash. The trick is to realise that all you have to do to generate the "missing" in-between frames is to scroll the arrows down a bit from the given frames.

ASCII Example:

FFR Frame 1 FFR Frame 2
+---------+
+---------+
| < . . . | | . . . . |
| . . . . | | . . . . |
| . . . . | | . . . . |
| . . . . | | < . . . |
| . . . . | | . . . . |
| < ^ v > | | < ^ v > |
+---------+ +---------+


The arrow has moved a considerable distance, generate extra frames in-between:
Generated A Generated B
+---------+
+---------+
| . . . . | | . . . . |
| < . . . | | . . . . |
| . . . . | | < . . . |
| . . . . | | . . . . |
| . . . . | | . . . . |
| < ^ v > | | < ^ v > |
+---------+ +---------+

Technically:
- Let's say the FFR frame rate is 1/30s and the monitor is at 90Hz, i.e. we ideally want one frame every 1/90s for perfect smoothness
- The speed of the arrows is known: 300pix/s at x1.0
- We copy a FFR frame - render it (not expecting another frame for 1/30s)
- The next monitor frame, 1/90s later, we don't have another FFR frame
- So generate one from the previous frame by moving the arrow area down by 300 x 1/90 pixels = 3.33 pixels.
- Note we move the entire area, there's no need to find where the arrows are. Also note that DirectX understands floating point movement like this
- Next monitor frame do the same, move area by another 3.33 pix (total 6.66pix)
- By the next monitor frame 1/30s has passed and we have another FFR frame - in which the arrows will have moved down by 300/30 = 10 pix
-Repeat...

There's more detail, not scrolling static text, dealing with uneven frame rates etc. etc., but you should see that this is a real generation of the frames needed to get a smooth frame rate

So there :P
__________________
MRichards is offline   Reply With Quote
Old 08-29-2007, 02:45 PM   #25
heyitsmee
FFR Player
FFR Veteran
 
heyitsmee's Avatar
 
Join Date: Sep 2006
Location: Israel
Posts: 2,042
Default Re: FFR Smoothing Tool

so the program really generates arrows ? impressive.

so how hard is it to build something that will "see" and play a perfect game

EDIT: i most say i just installed your program it really works impressive.
__________________


Last edited by heyitsmee; 08-29-2007 at 03:00 PM..
heyitsmee is offline   Reply With Quote
Old 08-29-2007, 03:00 PM   #26
MRichards
FFR Player
 
MRichards's Avatar
 
Join Date: May 2006
Posts: 91
Default Re: FFR Smoothing Tool

No, it doesn't generate arrows, it just scrolls the entire central area. It uses a pixel shader to identify pixels that didn't move in the last two FFR frames - it doesn't change these pixels. That way the static arrows and other text don' t get scrolled down. So there's no need to analyse the actual arrow positions.

Would it be possible to analyse the arrow positions? With a fair bit of work, I guess it would. However, it would become progressively more difficult/inaccurate as there were more and more, especially overlapping arrows. I've no intention of doing that, I play to hone my skill and keep my ageing brain from degenerating...
__________________
MRichards is offline   Reply With Quote
Old 08-29-2007, 03:11 PM   #27
heyitsmee
FFR Player
FFR Veteran
 
heyitsmee's Avatar
 
Join Date: Sep 2006
Location: Israel
Posts: 2,042
Default Re: FFR Smoothing Tool

why is the combo counter jumping ? its because the program generating arrows doing the copy paste?

i know about the cheating iam just asking because you seem to know alot in the field
and i have been told by other guys that it is possible also

very nice work ill use it
__________________

heyitsmee is offline   Reply With Quote
Old 08-29-2007, 05:30 PM   #28
MRichards
FFR Player
 
MRichards's Avatar
 
Join Date: May 2006
Posts: 91
Default Re: FFR Smoothing Tool

The combo counter only jumps a little when it fades in and out in the latest version (1.12).

The program moves the entire screen downwards to make the extra frames, including combo counter etc. That makes the combo counter jump. It used to do it all the time. It's smarter now, and can identify areas that shouldn't be moved. So the jumping is much reduced.

However, if your machine (video card) can't handle the pixel shaders, then it will use the old method and be very jumpy.
__________________
MRichards is offline   Reply With Quote
Old 08-30-2007, 02:15 PM   #29
MRichards
FFR Player
 
MRichards's Avatar
 
Join Date: May 2006
Posts: 91
Default Re: FFR Smoothing Tool

Just became a subscriber and noticed that this tool doesn't work for the subscriber-only beta versions. Upped a new version (1.13) to fix.
__________________
MRichards is offline   Reply With Quote
Old 09-12-2007, 03:08 PM   #30
MRichards
FFR Player
 
MRichards's Avatar
 
Join Date: May 2006
Posts: 91
Default Re: FFR Smoothing Tool

I've made another update for this FPS smoothing tool (1.14) - I've improved the stability, performance and browser compatibility. The program is now mainly targeted at those with better machines - NVidia 7-series or better, or equivalent ATI graphics - performance multimedia laptops only. These machines should be able to get 60-100 fps on the normal resoultion FFR R1 (over the usual 30fps). Dual monitors are now fully supported - and get the best results.

Older machines are still supported, but will not see such benefits...

Also provided it in a simple zip file, so it can be put on a memory stick or similar.

I've also improved it's behaviour with my other keymapping tool - a new version of that (1.09) is out to complement this release.

http://www.latent.demon.co.uk
__________________

Last edited by MRichards; 09-12-2007 at 05:03 PM..
MRichards is offline   Reply With Quote
Old 09-12-2007, 06:44 PM   #31
robyextreme
FFR Player
 
Join Date: Dec 2004
Posts: 85
Default Re: FFR Smoothing Tool

It's really f'in frusterating to get it on the right spot.
robyextreme is offline   Reply With Quote
Old 09-12-2007, 07:01 PM   #32
MRichards
FFR Player
 
MRichards's Avatar
 
Join Date: May 2006
Posts: 91
Default Re: FFR Smoothing Tool

If you mean lining up the window with the FFR game - that should happen automatically in the most popular current browsers. So...

- Use Firefox 2, IE 7 or Opera 9
- Make sure you start FFR in your browser before running FFR-Smooth
- Don't open multiple browsers (but you can use tabs)
- Choose the right version of FFR-Smooth depending on whether you use the low-res or normal-res (I call it high-res)
- If it still isn't lined up, go to the menus: (Settings->Track FFR Window)
- If this still doesn't work (though it should), remember you can use Shift+cursor keys to line up accurately.
__________________
MRichards is offline   Reply With Quote
Old 09-12-2007, 07:09 PM   #33
behanjc
stargroup & me are <3'ers
FFR Simfile AuthorFFR Veteran
 
behanjc's Avatar
 
Join Date: Jun 2006
Location: Ontario, Canada
Age: 28
Posts: 1,546
Send a message via MSN to behanjc
Default Re: FFR Smoothing Tool

Damn this sounds sweet. Too bad my comp's crap
behanjc is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 12:13 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution