ZSNES 1.42 not optimized?
Moderator: ZSNES Mods
ZSNES 1.42 not optimized?
Because of some issues with my controller, it is borderline impossible for me to use ZSNES without it being optimized. I've been told several times that the next official build (which is finally here! YES!) would "probably" be optimized, but it obviously isn't.
Now my question is how would I download the source and compile it myself so that it would be optimized?
Now my question is how would I download the source and compile it myself so that it would be optimized?
-
- Devil's Advocate
- Posts: 2293
- Joined: Mon Aug 02, 2004 7:51 pm
- Location: Hmo. Son.
Look, I'm 100% sure that it's because of it not being optimized. Every single build of ZSNES, every single WIP is incredibly slow for me. (And when I say incredibly slow, I mean five minutes to load a save state sometimes. It's not very fun) And it's not my specs, I have a 2ghz processor and 512mb of RAM.
That optimized WIP works PERFECTLY, no wait to start ZSNES, no wait to load, no wait for anything.
The thing is, I have no idea what the problem with my controller is. It's a PSX controller hooked up to my PC via a Rockfire USB converter. It seems to only cause trouble with ZSNES.
Anyway, I know I can compile it in some special way that takes 30 minutes or something (A dev specifically told me this on the forum months ago) so that it will run faster. All I'm asking is how I should do this.
That optimized WIP works PERFECTLY, no wait to start ZSNES, no wait to load, no wait for anything.
The thing is, I have no idea what the problem with my controller is. It's a PSX controller hooked up to my PC via a Rockfire USB converter. It seems to only cause trouble with ZSNES.
Anyway, I know I can compile it in some special way that takes 30 minutes or something (A dev specifically told me this on the forum months ago) so that it will run faster. All I'm asking is how I should do this.
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
All official builds are optimized using the insane method that takes half an hour to compile.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
You may want to look at your profile, there is something that lets you view your old posts... in one of the old posts... one of the devs have responded... so you need to check it out.Anyway, I know I can compile it in some special way that takes 30 minutes or something (A dev specifically told me this on the forum months ago) so that it will run faster. All I'm asking is how I should do this.
Well, it probably isn't your comp.. but I'm willing to bet you haven't deleted the .cfg and .dat files that get generated by ZSNES...(And when I say incredibly slow, I mean five minutes to load a save state sometimes. It's not very fun) And it's not my specs, I have a 2ghz processor and 512mb of RAM.
When some of the newer builds try to read older versions of ZSNES .cfg/.dat files, it tends to cause really nasty performance problems and/or compatibility issues.
Woah, thank you very much, Deathlike. That was actually it! It would never have occurred to me that it was the .dat and .cfg files.
Well, at least I know that this version of ZSNES works well with my controller.
But just so you know: On 1.36 I actually tried taking out the controller from the USB port, and then it worked fine, so there's some issue with that for sure. Doesn't matter now, though, since it works perfectly.
Well, at least I know that this version of ZSNES works well with my controller.
But just so you know: On 1.36 I actually tried taking out the controller from the USB port, and then it worked fine, so there's some issue with that for sure. Doesn't matter now, though, since it works perfectly.
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
It's only insane because of newgfx16.asm being insane in the first place...Nach wrote:All official builds are optimized using the insane method that takes half an hour to compile.

皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Maybe this would be asking too much, but I think updated zsnes builds should correctly work with older .dat/.cfgs.
Future builds could either automatically update the less compatible settings with the newer ones (upon notification), or if that's too complicated, at the least, have some "Reset Configuration" option somewhere.
While it's clear deleting .cfg and .dat files accomplishes the same thing, 90% of zsnes users would have no clue to do this.
Future builds could either automatically update the less compatible settings with the newer ones (upon notification), or if that's too complicated, at the least, have some "Reset Configuration" option somewhere.
While it's clear deleting .cfg and .dat files accomplishes the same thing, 90% of zsnes users would have no clue to do this.
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
That's too much unneeded work.. though the reset config wouldn't hurt though...Maybe this would be asking too much, but I think updated zsnes builds should correctly work with older .dat/.cfgs.
Future builds could either automatically update the less compatible settings with the newer ones (upon notification), or if that's too complicated, at the least, have some "Reset Configuration" option somewhere.
It'll be in the documentation in the next official version..While it's clear deleting .cfg and .dat files accomplishes the same thing, 90% of zsnes users would have no clue to do this.
Last edited by Deathlike2 on Fri Mar 04, 2005 12:42 am, edited 1 time in total.
-
- Devil's Advocate
- Posts: 2293
- Joined: Mon Aug 02, 2004 7:51 pm
- Location: Hmo. Son.
Ah... Is it too hard to click on an icon, right click for the menu and then just choose delete? is not like they have to do it via DOS commands or anything.daft wrote:While it's clear deleting .cfg and .dat files accomplishes the same thing, 90% of zsnes users would have no clue to do this.

Edit.- Unless they are using DOS (Which it's still a possibility) or Linux (That I don't now about, so it MIGHT be different) but I think those users might be really aware of how it works anyway.
*Sometimes I edit my posts just to correct mistakes.
Never overestimate the average computer user. That's all I'm going to say.Joe Camacho wrote: Ah... Is it too hard to click on an icon, right click for the menu and then just choose delete? is not like they have to do it via DOS commands or anything.
Again, I'm not expecting the "average" zsnes user to bother reading through documentation, although it wouldn't hurt to add though.Joe Camacho wrote: It'll be in the documentation in the next official version..
Still think something inside the program itself should be done.
ZSNES already checks the existence or non-existence of config and dat files. If they don't exist, it creates them. So maybe code could be added in there somewhere:
1. Config file exists?
2. No? Create files. Yes? What version of zsnes created these files?
3. No version number, or version number not current? Files are too old. Notify user to either clear all entries or continue to use config at user's own risk.
3. Version number is the same as current program? Continue with no notification.
In other words, add version numbers to the config/dat files, so that ZSNES knows what its dealing with.
1. Config file exists?
2. No? Create files. Yes? What version of zsnes created these files?
3. No version number, or version number not current? Files are too old. Notify user to either clear all entries or continue to use config at user's own risk.
3. Version number is the same as current program? Continue with no notification.
In other words, add version numbers to the config/dat files, so that ZSNES knows what its dealing with.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
The action is not difficult. It's that the user may not know it's necessary.Joe Camacho wrote:Ah... Is it too hard to click on an icon, right click for the menu and then just choose delete? is not like they have to do it via DOS commands or anything.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
-
- Trooper
- Posts: 535
- Joined: Wed Jul 28, 2004 3:26 am
What they should do is have a version flag in both the cfg and dat files and upon running zsnes it checks to see if the files are for this version. If not it tells the user and deletes them.
[code]<Guo_Si> Hey, you know what sucks?
<TheXPhial> vaccuums
<Guo_Si> Hey, you know what sucks in a metaphorical sense?
<TheXPhial> black holes
<Guo_Si> Hey, you know what just isn't cool?
<TheXPhial> lava?[/code]
<TheXPhial> vaccuums
<Guo_Si> Hey, you know what sucks in a metaphorical sense?
<TheXPhial> black holes
<Guo_Si> Hey, you know what just isn't cool?
<TheXPhial> lava?[/code]
-
- Lurker
- Posts: 165
- Joined: Wed Jul 28, 2004 3:15 am
- Location: The Land of Insanity
- Contact:
Me too. Which isn't very damned often.ipher wrote:The thing is, you don't have to delete the cfg files after every release. I keep my config files until ZSNES doesn't work right anymore.
It is better to be silent and thought a fool then to open your mouth and remove all doubt
I am Zophar, Master of Sh*t!
[url=http://archlyn.bravejournal.com]View my blog[/url]
I am Zophar, Master of Sh*t!
[url=http://archlyn.bravejournal.com]View my blog[/url]
I recommend this too cause between the 1.41 and 1.42 release I had the worse time forcing ZSNES to save the stupid dir for SRAMs and everything lol. It was fixed by deleting my config file since the settings changed a number times before 1.42 was released.pagefault wrote:I would recommend deleting the config files after every release though.
I build WIPS releasegrade style (I also build with CPU=pentium4 cause that's my chip) since I have no reason not to and it doesn't slow my computer down any bit even if my CPU tops out lol.
/Ieremiou
-
- Born to Rule... Impatiently
- Posts: 265
- Joined: Wed Nov 17, 2004 8:21 pm
- Location: Everywhere I want to be.
- Contact:
It was added to the FAQ after the release of 1.42. You'll see it when 1.43 is released.What evar wrote:At least add it to the FAQ.
I've been using ZSNES for years, and I had no idea AT ALL that deleting the .cfg and .dat files could make such an immense difference.

[url=http://board.zsnes.com/phpBB2/viewtopic.php?t=3298][color=brown]My [u]NES palette[/u][/color][/url] - better colors with any emulator.
"the more you know, and the more you can do... the more you are."
- [url=http://www.danielbohman.com][color=brown][u]daniel bohman[/u][/color][/url]
"the more you know, and the more you can do... the more you are."
- [url=http://www.danielbohman.com][color=brown][u]daniel bohman[/u][/color][/url]