Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

12046 Posts in 1593 Topics- by 595 Members - Latest Member: KeelmHaxabefe

21. May 2013, 01:33:16 am
Xith3D CommunityGeneral CategoryFeature Requests & Brilliant Ideas (Moderators: Marvin Fröhlich, 'n ddrylliog)Asset management
Pages: [1]
Print
Author Topic: Asset management  (Read 1734 times)
hawkwind
Getting respectable
***
Offline Offline

Posts: 365



View Profile Email
« on: 21. February 2007, 12:49:54 am »

As I continually rework my game I am accruing numerous textures, OBJ etc. Tha I may or may not be using.  If the loaders were extend to support a "dumpAssets() method to list the contents of the texture cache for example, it would allow cleanup of a game.  Just a thought. Shocked
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4403


May the 4th, be with you...


View Profile
« Reply #1 on: 21. February 2007, 01:36:44 am »

As I continually rework my game I am accruing numerous textures, OBJ etc. Tha I may or may not be using.  If the loaders were extend to support a "dumpAssets() method to list the contents of the texture cache for example, it would allow cleanup of a game.  Just a thought. Shocked

Thanks. I/we will keep that in mind and implement by time. Please remind me, if it is not done in...say two weeks or so.

Marvin
Logged
'n ddrylliog
Moderator
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #2 on: 21. February 2007, 07:25:19 am »

As I continually rework my game I am accruing numerous textures, OBJ etc. Tha I may or may not be using.  If the loaders were extend to support a "dumpAssets() method to list the contents of the texture cache for example, it would allow cleanup of a game.  Just a thought. Shocked
Thanks. I/we will keep that in mind and implement by time. Please remind me, if it is not done in...say two weeks or so.
Man, we're in the way to implement every unix command in Java... after cat, ls...
Logged
hawkwind
Getting respectable
***
Offline Offline

Posts: 365



View Profile Email
« Reply #3 on: 21. February 2007, 12:24:10 pm »

Not the same thing at all.  I have numerous images within my game, not to mention the HUD related ones I use.  To minimize the overall size of the game jar I will need to strip non essential files.  I can either search through the code and manually copy paste or have the class responsible tell me whats in its cache.

As Xith improves, functionality I already had is appearing in the core project.  So I remove mine versions and use the core versions, the texture caching for example.  I did not think it was publicly accessible so either access to the cache is added, to dump contents, or dump contents is added to the class.

I would think you could also use asset management tools in your game, it looks resource intense.
Logged
'n ddrylliog
Moderator
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #4 on: 22. February 2007, 06:33:33 pm »

Not the same thing at all.  I have numerous images within my game, not to mention the HUD related ones I use.  To minimize the overall size of the game jar I will need to strip non essential files.  I can either search through the code and manually copy paste or have the class responsible tell me whats in its cache.

As Xith improves, functionality I already had is appearing in the core project.  So I remove mine versions and use the core versions, the texture caching for example.  I did not think it was publicly accessible so either access to the cache is added, to dump contents, or dump contents is added to the class.

I would think you could also use asset management tools in your game, it looks resource intense.
Absolutely Smiley I was just joking about the unix commands thingies...

So, does a resource watcher fits the bill ? I mean, a small program which shows a list of every texture ? (maybe even we can do preview thumbs Smiley ahah, sweet!) I can even tell you from where it has loaded (which Source file, which line). Then we can do an Eclipse plug-in which opens the declaration in the Editor.

What about that, man ?
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic