View unanswered posts | View active topics It is currently Thu Jan 16, 2025 5:02 am



This topic is locked, you cannot edit posts or make further replies.  [ 31 posts ]  Go to page 1, 2, 3  Next
 Speeding up loading 
Author Message
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Post Speeding up loading
I think it would speed up loading time if Data implemented a compression format for mods.

Most games don't load straight from bmp files, maybe there could be a way to compress graphics and sounds into some sort of format that is somehow still readable to CC.

This is just an idea and I don't really know what I'm talking about on this subject, if anyone else does just say how this would be done.

It might be too hard to do for Data to do quickly, for say, build 25.


Last edited by CrazyMLC on Mon Jul 06, 2009 11:52 pm, edited 1 time in total.



Mon Jul 06, 2009 11:40 pm
Profile WWW
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Post Re: Form of compression for mods?
That would complicate, well... Pretty much everything...


Mon Jul 06, 2009 11:48 pm
Profile

Joined: Sat Feb 03, 2007 7:11 pm
Posts: 1496
Post Re: Form of compression for mods?
When it starts up, it isn't reading the .bmps, .luas, or the sounds. All it is reading is the .inis.


Mon Jul 06, 2009 11:51 pm
Profile WWW
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Post Re: Speeding up loading
Data could put in a reader that opened things in an editor.... nah.

Well, what ways could we improve loading times?

Well, maybe we could have the ini files compressed so it wasn't FilePath but instead was Uy76s or something (Less for CC to read, you know), and data had a compressor and de-compressor.
It wouldn't have to be compressed to be readable, so you could have mods uncompressed so you can edit them, then compress them when you are done.
It would also help if you could put in a code when it compressed so people couldn't steal your mods and stuff.


Last edited by CrazyMLC on Tue Jul 07, 2009 12:01 am, edited 2 times in total.



Mon Jul 06, 2009 11:53 pm
Profile WWW
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Post Re: Speeding up loading
Maybe if CC used all CPU cores rather just one?
Or does it already work that way? I highly doubt it.


Mon Jul 06, 2009 11:56 pm
Profile
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Post Re: Speeding up loading
Actually, compression and decompression would just make it take longer. That's not a good plan. It just saves transfer time, which is a different thing.
Also, chances of there being multiple core use is unlikely.


Tue Jul 07, 2009 12:19 am
Profile WWW
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Post Re: Speeding up loading
Well, no, it like CC can just under stand it, it isn't decompressing it as it loads...
Well, I don't know. :/


Tue Jul 07, 2009 12:21 am
Profile WWW
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Post Re: Speeding up loading
TheLastBanana wrote:
Also, chances of there being multiple core use is unlikely.


That's a real shame...
It would improve CC so much... Just imagine all the crazy ♥♥♥♥ you could do and experience little to no lag...
One can only dream.. :(


Tue Jul 07, 2009 12:28 am
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Post Re: Speeding up loading
CrazyMLC wrote:
It would also help if you could put in a code when it compressed so people couldn't steal your mods and stuff.

Wouldn't really help things, since every code can be cracked eventually inb4 military-class encryption. Sends the wrong message too.


Tue Jul 07, 2009 12:29 am
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Post Re: Speeding up loading
Meh, okay.

So a nice single core is the best for CC. :/


Tue Jul 07, 2009 12:38 am
Profile WWW
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Post Re: Speeding up loading
TheLastBanana wrote:
Also, chances of there being multiple core use is unlikely.

Task Manager wrote:
13 Threads

I think you meant for the physics engine, not CC as a whole.


Tue Jul 07, 2009 12:39 am
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Post Re: Speeding up loading
CrazyMLC wrote:
So a nice single core is the best for CC. :/

Strangely enough, I have great performance on a dual-core with each core being 1.6GHz, while I had poor performance on a single 2.0GHz.
[speculation]I think it has to do with what other applications do when Cortex starts up. With dual-cores, the other processes switch over to the other processor while Cortex monopolizes the one.[/speculation]


Tue Jul 07, 2009 12:41 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Post Re: Speeding up loading
CC uses bitmaps because allegro reads bitmaps by default. It'd take more work (and take longer) to read a compressed image format.

As far as sounds, .ogg is a high quality and low-loss format. And .ini compression is just dumb.

Anyways the game maxes out at 50% CPU usage AKA one core on every dual core I've ever used.


Tue Jul 07, 2009 12:49 am
Profile
User avatar

Joined: Sat Jun 13, 2009 2:22 am
Posts: 17
Location: OKC, OK, USA
Post Re: Speeding up loading
As mentioned earlier, compression would not help. However, if the scripts were compiled into native language files for Windows and Mac, they would load and run faster. The down side would be the loss of flexibility that Lua provides.
--
TAZ


Tue Jul 07, 2009 1:44 am
Profile
User avatar

Joined: Mon Oct 06, 2008 2:04 am
Posts: 1559
Post Re: Speeding up loading
I really only mind the loading time when I'm trying to make mods and switch stuff out, readjust and repeat.

My solution was to install another CC in a different place and strip it down as much as I could while still keeping what I needed. Basically it just loads Base, Dummy,Tutorial, and comments out almost everything else.

It allows me full access to the Gibbing/Actor editors, and an in-game test via the tutorial.

10 second load time.


Tue Jul 07, 2009 3:05 am
Profile
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 31 posts ]  Go to page 1, 2, 3  Next

Who is online

Users browsing this forum: Google [Bot]


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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.033s | 15 Queries | GZIP : Off ]