HOME WORLD FORUMS WIKI VIDEOS
8024 members and stacking!
     Welcome guest, please login or sign up

5 Pages V  1 2 3 > »   
Reply to this topicStart new topic
> Minimal Tetris Friends: Reducing lag as much as possible, Version 4.7.1 (updated 2017-07-15)
morningpee
post Dec 21 2013, 05:08 PM
Post #1


Tetris Specialist
Group Icon
Posts: 269
Joined: 1-October 13



IPB Image

Version 4.7.1, last updated 2017-07-15

Description
This is a script that removes everything from the page except for the game itself (and the nice-looking background). This reduces lag significantly.

Games currently supported:
Arena
Sprint
Ultra
Survival
Marathon

How to install

Before you begin, install uBlock Origin! This step reduces lag quite a bit by itself.

Step 1: Get a Userscript Manager
If you have Firefox, download the Minimal Tetris Friends Firefox add-on.
If you have Chrome, download the Minimal Tetris Friends Chrome extension.
If you have Opera, download the Minimal Tetris Friends Opera add-on.

If you have Edge, get Tampermonkey.
If you have Safari, get Tampermonkey.

Step 2: Get the script
Go to this page. A dialog will pop up, click accept, and the script is installed.

How to use
Visit the Tetris Friends Arena, and the script will do the rest. The DAS URL hack does work with this.

What it should look like
Without the script installed, it will look something like this:
IPB Image

If the Minimal Tetris Arena script works, the page will look like this:
IPB Image

So anyway, try it out and post results.

Download for Firefox
last updated 2017-07-15

Download for Chrome
last updated 2017-07-15

Download for Opera
last updated 2017-07-15

Download for Edge or Safari
last updated 2017-07-15

Source code: https://github.com/morningpee/mtf
User is offlinePM
Go to the top of the page
+Quote Post
dotamistern
post Dec 21 2013, 10:49 PM
Post #2


Tetris Novice
Group Icon
Posts: 95
Joined: 31-March 13



Wua, this is awesome dude! Thanks mate :3
User is offlinePM
Go to the top of the page
+Quote Post
Intendant
post Dec 22 2013, 12:37 AM
Post #3


Hot Dog Grand Master
Group Icon
Posts: 85
Joined: 29-June 13



When i have it activated, my site doesn't load at all D: only backround :/


--------------------
Intendant, you have a voice that makes me wanna play tetris!
- yotipo, approved by Mucho
User is offlinePM
Go to the top of the page
+Quote Post
djackallstar
post Dec 22 2013, 01:41 AM
Post #4


Tetris Apprentice
Group Icon
Posts: 125
Joined: 29-October 13



QUOTE(Intendant @ Dec 22 2013, 12:37 AM) *

When i have it activated, my site doesn't load at all D: only backround :/


same here
IPB Image

but if I do this:

var bodyStr=...;
alert('aaa'); // wait a couple of seconds
...(the following unchanged)

then the script works; the Flash object is a little too high, though.
IPB Image


--------------------
User is offlinePM
Go to the top of the page
+Quote Post
morningpee
post Dec 22 2013, 02:05 AM
Post #5


Tetris Specialist
Group Icon
Posts: 269
Joined: 1-October 13



QUOTE(Intendant @ Dec 22 2013, 12:37 AM) *

When i have it activated, my site doesn't load at all D: only backround :/

I just uploaded a new version. If you install that, it should work now. Still working on the Opera fix.
User is offlinePM
Go to the top of the page
+Quote Post
morningpee
post Dec 22 2013, 05:01 AM
Post #6


Tetris Specialist
Group Icon
Posts: 269
Joined: 1-October 13



Fixed the extension for Opera, the script should now be running correctly in all browsers. See the first post for links.
User is offlinePM
Go to the top of the page
+Quote Post
Intendant
post Dec 22 2013, 03:35 PM
Post #7


Hot Dog Grand Master
Group Icon
Posts: 85
Joined: 29-June 13



awesome work man Grin.png keep it up


--------------------
Intendant, you have a voice that makes me wanna play tetris!
- yotipo, approved by Mucho
User is offlinePM
Go to the top of the page
+Quote Post
morningpee
post Dec 23 2013, 04:40 PM
Post #8


Tetris Specialist
Group Icon
Posts: 269
Joined: 1-October 13



For anyone who has tried Minimal Tetris Arena, do you think it should also set the Flash quality to low, to reduce lag even further? The version of this script that I use (not the current public version) does do this, and it makes all the games on Tetris Friends run like a dream. However, the "low" Flash quality setting also makes everything look like poop. Thoughts?
User is offlinePM
Go to the top of the page
+Quote Post
Alexsweden
post Dec 23 2013, 05:38 PM
Post #9


Tetris Professional
Group Icon
Posts: 522
Joined: 9-November 10



QUOTE(morningpee @ Dec 23 2013, 05:40 PM) *

For anyone who has tried Minimal Tetris Arena, do you think it should also set the Flash quality to low, to reduce lag even further? The version of this script that I use (not the current public version) does do this, and it makes all the games on Tetris Friends run like a dream. However, the "low" Flash quality setting also makes everything look like poop. Thoughts?


Yes! I dont care what it looks like as long as its fast! Smile.png

Great work btw! I love it!
User is offlinePM
Go to the top of the page
+Quote Post
morningpee
post Dec 23 2013, 07:46 PM
Post #10


Tetris Specialist
Group Icon
Posts: 269
Joined: 1-October 13



QUOTE(Alexsweden @ Dec 23 2013, 05:38 PM) *

Yes! I dont care what it looks like as long as its fast! Smile.png

Great work btw! I love it!

Okay, I've updated it to set the Flash quality to "low", to decrease lag even further. Also, the Opera extension now works in Opera 18.

Thanks for the support, everyone!
User is offlinePM
Go to the top of the page
+Quote Post
djackallstar
post Dec 24 2013, 02:32 AM
Post #11


Tetris Apprentice
Group Icon
Posts: 125
Joined: 29-October 13



QUOTE(morningpee @ Dec 21 2013, 05:08 PM) *

How to install
Step 1: Get a Userscript Manager
If you have Chrome, get Tampermonkey.
If you have Firefox, get Greasemonkey
If you have Opera, you can skip this step.

For Fx/Iceweasel users, install any of these: ((1)'s been mentionsed in the quote):
(1) Greasemonkey: https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/
(2) Scriptish: https://addons.mozilla.org/en-US/firefox/addon/scriptish/
(3) Lubemonkey: https://addons.mozilla.org/en-US/firefox/addon/lubemonkey/

Both (2) and (3) are forks of (1), and they claim to have superior performance to (1) in some aspects.

For Maxthon users, install Violentmonkey:
http://extension.maxthon.com/detail/index.php?view_id=1680

For Opera users, if your version can't run this userscript, try install:
https://addons.opera.com/en/extensions/deta...violent-monkey/
QUOTE(morningpee @ Dec 23 2013, 07:46 PM) *

Okay, I've updated it to set the Flash quality to "low", to decrease lag even further. Also, the Opera extension now works in Opera 18.

Furthermore, you might also want to remove CSS, JS, images, or other annoyances
https://www.squarefree.com/bookmarklets/zap.html


--------------------
User is offlinePM
Go to the top of the page
+Quote Post
MuchoExito
post Dec 24 2013, 05:47 PM
Post #12


Tetris Novice
Group Icon
Posts: 19
Joined: 18-May 12



Holy Freking Crap Man!!!
How Do You Change The Epic Ultra Low Definition Back To Normal???

I updated it and now it looks like if it was an unfinished art from ...

How Do I change it back to high definition?

(EDIT) Thx for your time doing this morningpee...
It actually minimizes a large portion of lagg. ^^
But Plz Tell Me How To Return To Normal Def. =)

(EDIT) Never mind...
I found it... '<param name="quality" value="low">'
I just had to change the "low" to "high"...
User is offlinePM
Go to the top of the page
+Quote Post
yotipo91
post Dec 24 2013, 06:31 PM
Post #13


Tetris Specialist
Group Icon
Posts: 276
Joined: 16-May 10



Thanks much! I always wanted to lower the flash quality but I didnt know how


--------------------


Sprints: Nullpo-26.78 (4/0), TF-35.97, TOPW-29.461 (065-15), C2-36.58 (4.5/0)
TOP Stats

User is offlinePM
Go to the top of the page
+Quote Post
morningpee
post Dec 24 2013, 10:11 PM
Post #14


Tetris Specialist
Group Icon
Posts: 269
Joined: 1-October 13



QUOTE(MuchoExito @ Dec 24 2013, 05:47 PM) *

Holy Freking Crap Man!!!
How Do You Change The Epic Ultra Low Definition Back To Normal???

I updated it and now it looks like if it was an unfinished art from ...

Sorry about that. I'm glad you figured it out eventually. If you want a compromise between performance and not-looking-like-poop, try setting the Flash quality to "medium".

I'm thinking of making Minimal Tetris Arena a fully-fledged browser extension so you can choose page quality as a setting before the page loads.

QUOTE(djackallstar @ Dec 24 2013, 02:32 AM) *

For Opera users, if your version can't run this userscript, try install:
https://addons.opera.com/en/extensions/deta...violent-monkey/

Thanks, I've been looking a userscript manager extension for Opera but couldn't find one.

QUOTE(djackallstar @ Dec 24 2013, 02:32 AM) *

Furthermore, you might also want to remove CSS, JS, images, or other annoyances
https://www.squarefree.com/bookmarklets/zap.html

There are no images or CSS left on the page from the original Tetris Friends code. I added the background back in for ęsthetics, which shouldn't affect performance. I suppose there are still a few JS listeners still on the page if you don't use AdBlock. I'll do something about that in the next update, thanks for the suggestion.
User is offlinePM
Go to the top of the page
+Quote Post
MuchoExito
post Dec 25 2013, 12:14 AM
Post #15


Tetris Novice
Group Icon
Posts: 19
Joined: 18-May 12



Thx you morningpee
User is offlinePM
Go to the top of the page
+Quote Post

5 Pages V  1 2 3 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

©2009-2017 Hard Drop Community & Forum
harddrop.com is not sponsored or endorsed by The Tetris Company or its subsidiaries.