Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Fri Mar 29, 2024 12:27 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Thu Feb 21, 2008 9:46 am 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
I suposse all the raydium collaborators already know that the number of files in the main folder of raydium is high. Maybe too much.(More than 700 in my case)
The first time i open that folder from nautilus it take around 20 seconds!!! in my core duo+1GB ram machine.

So i think we have to (MUST) re-structurate all this in folders, even if we have to modify all the code of the examples and maniadrive.

Also i have an experimental code that Xfennec and myself was using for a parallel project (using raydium) that can allow us clean all this a bit.

Whay do you say?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 21, 2008 12:19 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

Here my rep is 283Meg for 383 files.

It's acceptable.

Perhaps we need to add a zip dependency fonctionnality to handle media file in one extension pack ?

Have a nice day.

Ouille.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 22, 2008 12:12 pm 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
Good idea the container.
But It should be an alternative way, letting the coder use real files as usual.

And the format of container should be zip? tar?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 22, 2008 9:40 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

I prefer Zip, there is there a libzip somewhere ?

Directory structure need to be inprooved anyway.

Have a nice day

Ouille.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 09, 2008 10:29 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
The VFS thing came into my mind a few times, but after thinking about it, I don't see any positive point until you release your application. When you write an application, you NEED to be able to modify a texture, a mesh or anything without being forced to extract an archive. And it costs memory, CPU time, ... at runtime.

To make it short: I'm not interested in this feature :) And we wont solve our directory structure with a bunch of zip files ;)

But I'm OK : Raydium root directory is ugly.

Two solutions, IMHO :
- A huge one: we change everything (without breaking everything)
- A simple one : we try to use a lot more an useful feature : "file path API" (see raydium/headers/path.h). If we make a better use of this thing, we can move all application's data to a dedicated directory ... No more TGA, TRI and other things like that in the root directory.

I'm not sure to be clear :) Let me know what you think of all this.

edit: fixed a few typos :)


Last edited by Xfennec on Mon Mar 10, 2008 2:04 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 09, 2008 11:23 pm 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
The second one (file path API) is fine for me also.
But a VFS could be fine (as a contrib maybe)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 24 guests


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:  
cron
Powered by phpBB® Forum Software © phpBB Group