NOTE: You are browsing an archive of the Super Mario Bros. X forums from July 21, 2014.

Super Mario Bros. X Forums

Forums for SMBX
It is currently Thu Apr 19, 2018 6:50 pm

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Major Lag Problem
PostPosted: Sat Jul 12, 2014 4:54 pm 
Offline
Cheep-Cheep
Cheep-Cheep
User avatar

Joined: Sat Jul 05, 2014 12:58 am
Posts: 13
Location: Long Island, New York (US)
Alright so I am making this really long level and I cannot even test it because the lag is so bad I have to wait minutes to see the next frame. So far it uses 18 sections and there is custom music in every section. The music is generally the same except for 3 or 4 sections. I use two custom graphics (Hammer Bro and SMB3 ? Block) I have tested other levels and they work perfectly fine with no lag most of the time. However, my computer is really slow (It has 6 gigs of memory left and it runs everything very slow. It took me 3 minutes to load google after the internet browser was already open) I was thinking about moving SMBX and my levels over to my laptop. It has a lot of free space and much better ram (My sister plays multiple games from steam without any lag). Is it my computer or is it the level that is making this horrid lag? If you need any more info just ask. But I just want to know because I can't even play the darned level. :cry:


Top
 Profile  
 
 Post subject: Re: Major Lag Problem
PostPosted: Sat Jul 12, 2014 5:00 pm 
Offline
Grinder
Grinder
User avatar

Joined: Fri Dec 20, 2013 1:35 pm
Posts: 1196
Location: Germany (Deutschland)
Can you show your PC Specs like how the informations are? You said that you have a slow PC, that can be the case. SMBX is not very easy to run especially with weaker PC's like on my own Windows XP Labtop which only lags if there are a lot of objects on the screen and/or Level.

_________________
You can ask me via private message if you want a video request on SMBX custom levels, projects, episodes and so on.

Image
Image

My YouTube Channel ~ bossedit8

Image
Spoiler: show
Image


Top
 Profile  
 
 Post subject: Re: Major Lag Problem
PostPosted: Sun Jul 13, 2014 6:57 am 
Offline
Grinder
Grinder
User avatar

Joined: Fri Dec 27, 2013 8:36 am
Posts: 1139
Location: Italy. I must say other?
There are many things which causes the lag. Delete some custom music, because you have too much of them. Also, try to search for some giant sizeables, bacause they make some lags, and, if you have some custom playable, delete them.

_________________
Welcome to the hell...
My project: The Star of Subcon
My channel
I discovered what's castlewars' CC8 level's name by saying random things.
I am a member on reghrhre's forum. I support that, so I put a link.
Below other links of forums I support.
Knux's forum
SMBXtreme forum
<m4sterbr0s>But yeah, some people on the forums need to mature more.


Top
 Profile  
 
 Post subject: Re: Major Lag Problem
PostPosted: Sun Jul 13, 2014 7:14 am 
Offline
Pokey
Pokey
User avatar

Joined: Fri Dec 20, 2013 3:12 pm
Posts: 235
Location: Germany
Answer those questions and we might be able to help you:

-When was the last time you turned your computer off? Usually, when a computer is active for too long, its capacity decreases until it was restarted.
-Did you have any programs open while playing? Such as Skype, paint, or maybe a music or browser?
-Try to disconnect your computer from the internet temporarily, then play. That's what I always do in extreme cases.
-As bossedit said, show your specs. It's possible that your computer/laptop is too weak for smbx. In that case you'll have to leave a tick on "disable frameskip" when starting smbx.
-Show your debugger. Even strong computers can cause lag if the level is severely overloaded with stuff.
-Does your level have a lot of animation in it? Such as lava or other stuff.
-Does your level have a custom playable? Those are a common cause for lag as well, since they have a bunch of frames. Too much animation in one screen is a common cause for lag, and that especially applies for animation with CGFX. With that amount of animation a custom playable has, it's no surprise that smbx causes lag, especially for a weak engine. And unfortunately smbx is quite weak.
-Does your level have a lot of infinite event sequences? Those usually cause a lot of lag because smbx usually focuses on displaying what's on the screen, but also has to focus on infinite event sequences even if those aren't even on the screen.
-Too much CGFX and CSFX can cause lag as well. You could possibly try to delete some when they aren't too necessary.

_________________
"Inherited will. The destiny of the age and the dream of its people. These will not be stopped. As long as people continue to pursue the meaning of freedom, they will never cease to be."


NNID & Skype: Xx1Kyo (If you're going to send me a friend request in any of those, make sure I can recognize who you are or I'll decline.)
Correct pronouncement of my name: Key - o
<wingedblueyoshi> do you even logic

Since I am an attention-horny pig, I'll advertise my project in my signature from now on.


Top
 Profile  
 
 Post subject: Re: Major Lag Problem
PostPosted: Mon Jul 14, 2014 4:27 pm 
Offline
Cheep-Cheep
Cheep-Cheep
User avatar

Joined: Sat Jul 05, 2014 12:58 am
Posts: 13
Location: Long Island, New York (US)
bossedit8 wrote:
Can you show your PC Specs like how the informations are? You said that you have a slow PC, that can be the case. SMBX is not very easy to run especially with weaker PC's like on my own Windows XP Labtop which only lags if there are a lot of objects on the screen and/or Level.

Yea I have Windows XP and almost everything I run on this computer lags.

Christian07 wrote:
There are many things which causes the lag. Delete some custom music, because you have too much of them. Also, try to search for some giant sizeables, bacause they make some lags, and, if you have some custom playable, delete them.

What is custom playable? And I think all the custom music is a part of the problem but not entirely.


Last edited by GhostHawk on Tue Jul 15, 2014 9:43 am, edited 1 time in total.
Don't double post please, just edit your original post.


Top
 Profile  
 
 Post subject: Re: Major Lag Problem
PostPosted: Mon Jul 14, 2014 4:34 pm 
Offline
Boom Boom
Boom Boom
User avatar

Joined: Sun Dec 22, 2013 1:01 pm
Posts: 1629
You know how Valtteri Island 3 had SMW Mario and Luigi instead of SMB3? Those are custom playables.

_________________
My graphics pack!
First to discover:
Spark
Eerie
Grinder
Rainbow Shell
Birdo
Image
Image


Top
 Profile  
 
 Post subject: Re: Major Lag Problem
PostPosted: Mon Jul 14, 2014 4:40 pm 
Offline
Cheep-Cheep
Cheep-Cheep
User avatar

Joined: Sat Jul 05, 2014 12:58 am
Posts: 13
Location: Long Island, New York (US)
Kyo wrote:
Answer those questions and we might be able to help you:

-When was the last time you turned your computer off? Usually, when a computer is active for too long, its capacity decreases until it was restarted.
-Did you have any programs open while playing? Such as Skype, paint, or maybe a music or browser?
-Try to disconnect your computer from the internet temporarily, then play. That's what I always do in extreme cases.
-As bossedit said, show your specs. It's possible that your computer/laptop is too weak for smbx. In that case you'll have to leave a tick on "disable frameskip" when starting smbx.
-Show your debugger. Even strong computers can cause lag if the level is severely overloaded with stuff.
-Does your level have a lot of animation in it? Such as lava or other stuff.
-Does your level have a custom playable? Those are a common cause for lag as well, since they have a bunch of frames. Too much animation in one screen is a common cause for lag, and that especially applies for animation with CGFX. With that amount of animation a custom playable has, it's no surprise that smbx causes lag, especially for a weak engine. And unfortunately smbx is quite weak.
-Does your level have a lot of infinite event sequences? Those usually cause a lot of lag because smbx usually focuses on displaying what's on the screen, but also has to focus on infinite event sequences even if those aren't even on the screen.
-Too much CGFX and CSFX can cause lag as well. You could possibly try to delete some when they aren't too necessary.

1) It lags even if I just turned it on
2) I tried closing everything. It helped a bit, but most parts of the levels were still unplayable.
3) I'll try that.
4) Chances are this computer is far too weak for the level (It runs most of the others fine) I was wondering what "disable frameskip" does. So I will try that too.
5) Yea I knew the level was gonna be really long so I kept checking the debugger as I went on. The blocks is half full, backgrounds is 25%, not a lot of npcs, and like 25 warps.
6) Yea in some of the rooms it is set to underwater or has a pretty big chunk of lava (those lag especially)
7) I don't have any custom playables.
8) Yea it has like 3 or 4 infinite event sequences. I'll see what I can do about that. I didn't know that SMBX focused on running those even when you can't see them
9) I think I'm fine with custom graphics (only use two) and I don't use custom sfx.
If all of this together doesn't reduce the lag (make the level at least playable) I will just switch to a laptop and run everything from that.

EDIT: Well I just gave the "Disable Frameskip" a shot and it works wonders. If I knew that I could get rid of lag all together like this before that would've been awesome! I don't think I will need to try any of the other suggestions now that I got this. Sure the game runs slower overall now but at least it doesn't lag. It's a small price to pay. Thank you for your help!


Last edited by GhostHawk on Tue Jul 15, 2014 9:42 am, edited 1 time in total.
Don't double post please, just edit your original post.


Top
 Profile  
 
 Post subject: Re: Major Lag Problem
PostPosted: Mon Jul 14, 2014 5:35 pm 
Offline
Pokey
Pokey
User avatar

Joined: Fri Dec 20, 2013 3:12 pm
Posts: 235
Location: Germany
No problem. I'm glad Redigit implemented the disable frameskip option so that people with weaker devices are able to play levels with a lot of stuff in them. By the way, optionally, when disable frameskip is enabled, you can go to test setting and tick Show FPS. At the top left your framerate will be shown. 65 is standard. The framerate is usually tolerable when it doesn't go lower than 40.

Have fun!

_________________
"Inherited will. The destiny of the age and the dream of its people. These will not be stopped. As long as people continue to pursue the meaning of freedom, they will never cease to be."


NNID & Skype: Xx1Kyo (If you're going to send me a friend request in any of those, make sure I can recognize who you are or I'll decline.)
Correct pronouncement of my name: Key - o
<wingedblueyoshi> do you even logic

Since I am an attention-horny pig, I'll advertise my project in my signature from now on.


Top
 Profile  
 
 Post subject: Re: Major Lag Problem
PostPosted: Tue Jul 15, 2014 6:45 am 
Offline
Grinder
Grinder
User avatar

Joined: Fri Dec 27, 2013 8:36 am
Posts: 1139
Location: Italy. I must say other?
May did you try to search if you have really expanded sizables? They cause lag too.

_________________
Welcome to the hell...
My project: The Star of Subcon
My channel
I discovered what's castlewars' CC8 level's name by saying random things.
I am a member on reghrhre's forum. I support that, so I put a link.
Below other links of forums I support.
Knux's forum
SMBXtreme forum
<m4sterbr0s>But yeah, some people on the forums need to mature more.


Top
 Profile  
 
 Post subject: Re: Major Lag Problem
PostPosted: Tue Jul 15, 2014 2:51 pm 
Offline
Cheep-Cheep
Cheep-Cheep
User avatar

Joined: Sat Jul 05, 2014 12:58 am
Posts: 13
Location: Long Island, New York (US)
Yea I went over the whole level and I only used sizables like three times. They were pretty small too.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Back to Super Mario Bros. X