Sprites Ramdisk

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
nort
Posts: 5
Joined: Tue Jul 13, 2004 8:57 am

Sprites Ramdisk

Post by nort »

Hello,


I work with background sprites (bmp or jpg) 100 - 300 KB. Mostly when a Picture was load g-force stand still for a 1/4 second. I don't know how I can fix the Problem.

My Idea was, to copy G-Foce to an RAM Disk but I can't see a way to change the Path that G-Force start on Disk Z: ore so.

Has anybody an idea how I can load background pics without G-Force stand still?


My System:
WinXP SR 2
AMD Athlon 64 3000+
250 GB SATA HD
1 GBRAM


nort

User avatar
andy55
Site Admin
Posts: 570
Joined: Sat May 01, 2004 4:38 pm
Contact:

Re: Sprites Ramdisk

Post by andy55 »

nort wrote:Hello,


I work with background sprites (bmp or jpg) 100 - 300 KB. Mostly when a Picture was load g-force stand still for a 1/4 second. I don't know how I can fix the Problem.

My Idea was, to copy G-Foce to an RAM Disk but I can't see a way to change the Path that G-Force start on Disk Z: ore so.

Has anybody an idea how I can load background pics without G-Force stand still?


My System:
WinXP SR 2
AMD Athlon 64 3000+
250 GB SATA HD
1 GBRAM


nort
When GF is sprite slideshow mode is on, G-Force does asynchronous file loading about 1.5 secs before the image is supposed to be shown, so the delay is most likely the result of the JPEG decompression when the image is supposed to be shown (ie, a RAM disk would have no affect on your problem). You're best bet is to downsample the images to a smaller resolution (G-Force has a nice up-sampling algorithm so see how small you can get the images before it's unsatisfactory to you.

If the sprite slideshow is disabled, then you'll definitely see a lag b/c GF has to go to disk as well as decompress the (large) image. In this case, the RAM disk may help you out. Try using the GF toolbar to specify a sprites folder on your RAM disk.

It's possible there's a bug in the async file loading, but it is unlikely. You can check that files are being loaded ahead of time of watching your disk light as G-Force is running. Be sure that you turn off all slideshows (except the sprite slideshow) and watch you disk light--you should see activity about a second before the image appears.

Andy

Post Reply