Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: theatrx on Mon 23/01/2006 20:41:50

Title: Sprite preview not working (SOLVED) (Chris)
Post by: theatrx on Mon 23/01/2006 20:41:50
I'm using version 2.71.631 with sprite compression and the Sprite Preview does not work now.  Is this supposed to happen in this version?  I've been testing the game to see if they look all right but this is sort of time consuming. 
Title: Re: Sprite Preview Question
Post by: SSH on Mon 23/01/2006 21:23:23
How do you mean "doesn't work"? The previews are corrupted, a window appears with no preview or nothing happens at all when you hit preview?
Title: Re: Sprite Preview Question
Post by: theatrx on Mon 23/01/2006 23:58:50
The top bar goes grey and nothing happens.

Edit by strazer:

No need to quote the post directly above you! ::)
Title: Re: Sprite Preview Question
Post by: Pumaman on Tue 24/01/2006 19:17:54
Seems fine to me, has anyone else had a problem with the View Preview?

Does it happen with all views or just one?
Title: Re: Sprite Preview Question
Post by: Barbarian on Tue 24/01/2006 19:35:06
I've been using the same AGS version for a while now with my current game-in-production, and been using the sprite-compression option, and I've never had any sprite type of problems.

Then again, maybe I don't fully understand (it's not a clear explaination) what the problem is supposed to be?
Title: Re: Sprite Preview Question
Post by: Gilbert on Wed 25/01/2006 01:10:39
How large are your sprites theatrx?
Title: Re: Sprite Preview Question
Post by: theatrx on Wed 25/01/2006 02:54:29
Sprites are about half the whole game which is 63 mg uncompressed.

It was smaller before I put 36 AGS gif files in for a little treat. But, it was worth it.Ã,  It looks awesome seeing everyone in the same room with Chris.

I'm dealing with it at the moment.

I have one job left to do other than the little mess that I
made with the new two language text bar.Ã,  I'm asking for the moon and I'm going to get it!
Title: Re: Sprite Preview Question
Post by: Gilbert on Wed 25/01/2006 03:08:39
Well I think that file size might be helpful to Chris, I was asking about the dimension of your sprites though.
Title: Re: Sprite Preview Question
Post by: theatrx on Wed 25/01/2006 08:48:55
Ahh.  the sprite folder is a little over 43 mg.

As far as the actual sprites they range in size from very small about 7 to some very large sprites which are half the size of the page which is 640 x 480.  Actually there is one set of sprites about 40 of them which are the whole room size.  Hope this helps and thanks for the interest. Steve
Title: Re: Sprite Preview Question
Post by: Pumaman on Wed 25/01/2006 19:09:45
Quote from: Pumaman on Tue 24/01/2006 19:17:54
Does it happen with all views or just one?
Title: Re: Sprite Preview Question
Post by: theatrx on Fri 27/01/2006 08:30:07
All views.  In the present state I cannot use the sprite preview at all.
Title: Re: Sprite Preview Question
Post by: Pumaman on Fri 27/01/2006 20:17:09
I don't know what to suggest, really. I've never seen this problem and it's never been reported by anyone else to my knowledge. You could make sure that your DirectX is up to date, but other than that I'm stumped.

Have you tried restarting your computer just in case theres some sort of resource leak?
Title: Re: Sprite Preview Question
Post by: theatrx on Fri 27/01/2006 20:20:41
I tried restarting...

I have the latest DirectX.

I've tried reinstalling AGS.

Everything else works except the sprite preview.

It's got me stumped too.Ã,  Oh well.Ã,  I finished the game without it so it didn't hold me back too much.Ã,  It's just that it's a really nice feature.
Title: Re: Sprite Preview Question
Post by: Daniel Thomas on Mon 30/01/2006 04:04:57
Had the same problem.. I fixed it by removing ags from the windows-register.
To do this:
1) Run 'regedit.exe'
2) delete: HKEY_CURRENT_USER\Software\Adventure Game Studio

That should fix it.
Title: Re: Sprite Preview Question
Post by: theatrx on Mon 30/01/2006 05:44:16
This worked perfectly... I'll let the moderators know.Ã,  Thank you so much... This will make things so much easier. Steve
Title: Re: Sprite preview not working (SOLVED) (Chris)
Post by: Pumaman on Mon 30/01/2006 19:45:19
That's strange -- I don't suppose you'd have a copy of the contents of the registry key
HKEY_CURRENT_USER\Software\Adventure Game Studio
before you deleted it?
Title: Re: Sprite preview not working (SOLVED) (Chris)
Post by: Daniel Thomas on Mon 30/01/2006 21:34:23
No, sorry.. It hit me after sometime I answered this that I should have told him to save it for bugtracking..

I can give you some hints though, when this happend to me I thought it just was my project, so I opened another project and tried the preview in that, it then said something like: The player is already opened.. Just like it was playing but didnt show up. Hope it helps.
Title: Re: Sprite preview not working (SOLVED) (Chris)
Post by: Kweepa on Tue 31/01/2006 04:12:47
Most likely the preview window was off screen. (I guess that was obvious, but no-one said it.)
Did you change resolution, and/or monitor, recently?
Title: Re: Sprite preview not working (SOLVED) (Chris)
Post by: theatrx on Tue 31/01/2006 12:17:54
Nope.  Didn't change a thing.  It happened right after I switched to sprite compression which also means after I switched to the new version of AGS.  Deleteting the registry key worked.  When I would ask for a preview the 'bar' at the top of the screen went 'grey'. I could continue with whatever else I wanted to do but no preview. I didn't really go in a look at any details for the h-key I deleted.  I probably should have so at least you guys would know what happened... at least on my computer.  I could probably reinstall again and see if I get the same problem if that would help.
Title: Re: Sprite preview not working (SOLVED) (Chris)
Post by: Scorpiorus on Wed 01/02/2006 17:48:45
Quote from: SteveMcCrea on Tue 31/01/2006 04:12:47
Most likely the preview window was off screen.

Hmm, I'd guess that may well be a possibility considering that its position stored in the registry: ViewPreviewX and ViewPreviewY respectively.
Title: Re: Sprite preview not working (SOLVED) (Chris)
Post by: Pumaman on Wed 01/02/2006 19:30:16
Ah ok that makes more sense, I mis-read your original problem as "the view preview window goes grey" rather than "the AGS Editor title bar goes grey", but this way makes sense.