Author Topic: Testers wanted: 25% loading times  (Read 3036 times)

0 Members and 1 Guest are viewing this topic.

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Testers wanted: 25% loading times
FS2 should now load everything a lot quicker than normal:Testing EXE

I didn't change too much, so there should only be a few bugs (if any). :nod:

Testing instructions:
Run the test EXE and make sure it doesn't go any slower and there aren't any new bugs as compared with the latest CVS build. Make sure you have pilot files already created, as the best indication of a bug will be that they don't show up.
« Last Edit: August 17, 2003, 09:25:22 pm by 374 »
-C

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Testers wanted: 25% loading times
it seems somewhat faster, though ever sence my new computer it has been just so much faster it's hard to tell,
what did you do?
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Testers wanted: 25% loading times
In cf_find_file_location, it was looking for the existence of a file in every subdir with a call to fopen()...I changed that to _findfirst().

Code: [Select]
for (i=CF_TYPE_ROOT; i {
if ( i != pathtype ) {
search_order[num_search_dirs++] = i;
}
}

#if defined WIN32
long findhandle;
_finddata_t findstruct;
#endif

for (i=0; i {
char longname[MAX_PATH_LEN];

cf_create_default_path_string( longname, search_order[i], filespec, localize );
#if defined _WIN32
findhandle = _findfirst(longname, &findstruct);
if (findhandle != -1) {
if ( size ) {
*size = findstruct.size;
}

_findclose(findhandle);
#elif defined unix
FILE *fp = fopen(longname, "rb" );
if (fp) {
if ( size ) {
struct stat statbuf;
fstat(fileno(fp), &statbuf);
*size = statbuf.st_size;
}

fclose(fp);

#endif
if ( offset ) *offset = 0;
if ( pack_filename ) {
strcpy( pack_filename, longname );
}
return 1;
}
}
-C

 
Testers wanted: 25% loading times
You were right about the pilot files. It didn't detect one of my multiplayer pilot files, but it did see the other pilot files.

Another bug: I can't delete pilot files! The Barracks will remove the pilot but when I go back it's still there.

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Testers wanted: 25% loading times
Does it detect any other multiplayer pilot files? Are you sure none of your pilot files are read only?
-C

 

Offline FreeTerran

  • Master of the apocalypse
    Reset count: 1
  • 210
Testers wanted: 25% loading times
Ok...
i start with the good it loading a bit faster

and now the bugs....

i have only found 2 bugs from te old shine exe i think you haven't use the new source from bob
Silva in lumine Lunae arcana est. Domos mea Silva in lumine Stellarum est.

 
Testers wanted: 25% loading times
No, none of my files are read only. All but one file are detected, other multi files are detected.

 

Offline Inquisitor

Testers wanted: 25% loading times
FT: I am not sure bob has committed the shine stuff to the main project.
No signature.

 

Offline FreeTerran

  • Master of the apocalypse
    Reset count: 1
  • 210
Testers wanted: 25% loading times
hmm but the shine works with WMCoolmon's  exe fine
Silva in lumine Lunae arcana est. Domos mea Silva in lumine Stellarum est.

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Testers wanted: 25% loading times
Quote
Originally posted by Support 1
No, none of my files are read only. All but one file are detected, other multi files are detected.

Try downloading http://members.cox.net/~wmcoolmon/fs2_open_w.zip and trying both EXEs and see if you get an error message for both. (the z version doesn't have the quickloading change).
-C

 

Offline Inquisitor

Testers wanted: 25% loading times
Sounds like this is getting close to being ready to commit :)
No signature.

  

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Testers wanted: 25% loading times
Quote
Originally posted by Inquisitor
FT: I am not sure bob has committed the shine stuff to the main project.


He has, and it's rather buggy. :shaking: The interface flickers a lot, the HUD flashes on and off in spasms, and sometimes the screen goes completely to black.  I've also had some null vector asserts come up occasionally.

Needless to say, this'll need a bit of work. :)

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
Testers wanted: 25% loading times
i fixed the flashing screen bits. they just needed zeroing out
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 
Testers wanted: 25% loading times
I have the _r version, and it detects all my files.

Phreak: The link in your sig is not working at the time of posting.

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Testers wanted: 25% loading times
Quote
Originally posted by Support 1
I have the _r version, and it detects all my files.

Phreak: The link in your sig is not working at the time of posting.


I don't know what exactly that version has in it; it could've been introduced by some other change. The _z version is identical to the _w version (in the zip) except that it uses the old loading code. Hopefully it's not the loading code, since I have no idea where that's called when deleting pilots. :confused:
-C

 

Offline Inquisitor

Testers wanted: 25% loading times
WM, a bunch of stuff has been committed in the last couple days, update if you haven't, that code might have made it in to the main branch.

I'll leave it to Bob or phreak to verify, but, c'est possible' :)
No signature.