Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
MESS GUI software picker changes #3916 08/20/04 08:43 PM
Joined: Nov 1999
Posts: 661
B
Bletch Offline OP
Senior Member
OP Offline
Senior Member
B
Joined: Nov 1999
Posts: 661
Last night, I've committed some long due changes to the MESS GUI software picker. Before, the software picker would work like this:

1. On startup or when a system is selected, it would scan through all software directories and identify all files with certain extensions and also ZIP files. This would block, meaning that if there were a ton of files, the UI would freeze until this is completed.

2. Files would get an icon depending on their extension, or a question mark icon if they were zips.

3. During the idling process, it would open up the ZIPs and give them a new icon based on the extension of the first file in the ZIP.

4. All files would also have their hashes checked, so that the "goodname" information could be identified.

This had a few problems:

1. People did not like the UI locking up for even a half second if many images were present.

2. People were unable to have ZIP files containing multiple images.

I've done a rewrite of the software picker code. After this rewrite, you should be able to place all of your iamges in a single ZIP if you wish. Additionally, the process is fully asynchronous and images loaded and saved while in emulation should not be touched. As with all major changes, there are probably bugs, so I'd like people to try it out so that it can be solid by the time MESS 0.86 comes out.

Re: MESS GUI software picker changes #3917 08/21/04 06:15 AM
Joined: Aug 2002
Posts: 225
H
ht1848 Offline
Senior Member
Offline
Senior Member
H
Joined: Aug 2002
Posts: 225
Messgui crash:
1. Open open mess
2. Select a system with more than a screen full of software files.
3. As it starts to scan, quickly scroll to near bottom and select one that it has not scanned.
4. Crash to desktop.

mmmm...still testing...

(on XP SP2)

Re: MESS GUI software picker changes #3918 08/21/04 11:24 AM
Joined: Oct 2002
Posts: 82
D
dannonew Offline
Member
Offline
Member
D
Joined: Oct 2002
Posts: 82
I'm not getting that, and the picker redraw error when returing to the gui after exiting a game is now fixed.

I'm running XP sp1. I'm willing to bet it XP sp2, and not Mess. XP sp2 is a horrible train wreck of over compensation for previous OS security flaws.

Re: MESS GUI software picker changes #3919 08/21/04 02:19 PM
Joined: Mar 2004
Posts: 109
bobz Offline
Senior Member
Offline
Senior Member
Joined: Mar 2004
Posts: 109
No crash for me anymore too (SP 1). smile
Just a word about the cool "all of your images in a single ZIP" feature. It does not work in the "device view->mount" menu of the GUI and in the "device->mount" menu during emulation. frown
In fact, "mount" shows a simple file choosing box, not a full Bletch-powered picker.
OK it is maybe not very important but I think it has to be added to the todo list.

Re: MESS GUI software picker changes #3920 08/21/04 09:47 PM
Joined: Nov 1999
Posts: 661
B
Bletch Offline OP
Senior Member
OP Offline
Senior Member
B
Joined: Nov 1999
Posts: 661
XP SP2 is unlikely to be the problem; I run XP SP2 on my laptop and have been using it to develop.

Did you do a clean build?

Re: MESS GUI software picker changes #3921 08/21/04 11:12 PM
Joined: Aug 2002
Posts: 225
H
ht1848 Offline
Senior Member
Offline
Senior Member
H
Joined: Aug 2002
Posts: 225
I got all the updates from CVS then I deleted obj directory before starting the compiling.

Does that make it clean? or is there something else I should do.

Re: MESS GUI software picker changes #3922 08/22/04 01:44 AM
Joined: Nov 1999
Posts: 661
B
Bletch Offline OP
Senior Member
OP Offline
Senior Member
B
Joined: Nov 1999
Posts: 661
That should make it clean... can you try to narrow down the problem a bit more? Or get a stack trace from a debug version with symbols (do build this, do: make -f makefile.mes DEBUG=1 SYMBOLS=1)

Re: MESS GUI software picker changes #3923 08/22/04 03:26 AM
Joined: Aug 2002
Posts: 225
H
ht1848 Offline
Senior Member
Offline
Senior Member
H
Joined: Aug 2002
Posts: 225
I think the problem is on my side. I am getting mixed versions. Debug functioned differently and without crash. My non-debug version is not happy though and looks to not include the new stuff. Getting clean code off of CVS now. That should get me going.

False alarm.

Re: MESS GUI software picker changes #3924 08/22/04 01:07 PM
Joined: Nov 2003
Posts: 804
S
smf Offline
Senior Member
Offline
Senior Member
S
Joined: Nov 2003
Posts: 804
Quote:
Originally posted by dannonew:
XP sp2 is a horrible train wreck of over compensation for previous OS security flaws.
sp1 = bad because of flaws, sp2 = bad because they fixed flaws...

are you sure you're being objective?

IMO sp2 rocks, improved 802.11 support is worth it in itself.

smf

Re: MESS GUI software picker changes #3925 08/22/04 09:03 PM
Joined: Nov 1999
Posts: 661
B
Bletch Offline OP
Senior Member
OP Offline
Senior Member
B
Joined: Nov 1999
Posts: 661
Agreeed smf... frankly drastic measures are necessary when the largest supercomputers in the world are networks of spambots on compromised Win9x computers with full cable connections.

Page 1 of 2 1 2

Who's Online Now
1 registered members (Carbon), 278 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,734
Posts114,829
Members4,879
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.3