Jump to content


Photo

Reducing install time


3 replies to this topic

#1 ALIENQuake

ALIENQuake
  • Modders
  • 409 posts
  • Gender:Male
  • Location:Poland

Posted 05 March 2017 - 12:30 AM

Hello DavidW,

 

during my infinite amount of Mega Installations, I notice that SCS install time was greatly increased between 28-30, it could be also results of new weidu fixes/changes etc. I've using the same PC for last 3 years, (i5, 2xSSD, 16GB) and SCS part of installation take huge amount of time when the AI code is trying to modify all creatures from other mods. Could you take some time to improve installation times, atleast for EE engine? Could you use lua language to replace some weidu macros to gain speed? K4thos already did it for EET to reduce amount of memory which weidu use so maybe it could serve also for speed?

 


You cannot have progress without changes...


#2 DavidW

DavidW
  • Gibberlings
  • 4311 posts
  • Gender:Male

Posted 05 March 2017 - 08:49 AM

Hello DavidW,
 
during my infinite amount of Mega Installations, I notice that SCS install time was greatly increased between 28-30, it could be also results of new weidu fixes/changes etc. I've using the same PC for last 3 years, (i5, 2xSSD, 16GB) and SCS part of installation take huge amount of time when the AI code is trying to modify all creatures from other mods. Could you take some time to improve installation times, atleast for EE engine? Could you use lua language to replace some weidu macros to gain speed? K4thos already did it for EET to reduce amount of memory which weidu use so maybe it could serve also for speed?


The short answer is probably not.

The long answer is that I test SCS on clean or lightly-modded versions of vanilla BG2 and BGEE/BG2EE, and if the install time stays below 20 minutes or so on a reasonably fast PC, I'm contentthat it's not a serious issue and I'd rather prioritise other things. Active support for a short install on megamodded installations is a bit beyond what I really support - I don't have megamodded installs as my main target. That said, if someone looks at the code and identifies specific ways to speed any given bit up, I'm happy to listen. (Though I don't recommend anyone puts the time in until v31 comes out as there are some significant under-the-hood changes - some of which will probably speed things up, others not!)

#3 Ikki

Ikki
  • Members
  • 45 posts

Posted 05 March 2017 - 10:08 AM

Hello DawidW
 
I m seconding alien wish : with EET and some mod the install time of Stratagems is important ( some hours ), and give sometimes "out of memory" error
 
K4tos seems to have find a way of reducing memory usage using LUA

 

I don't know if it is applicable to Stratagems but it (quoting K4thos) "call lua.exe from within weidu to handle all regexp stuff for BAF and D files during installation"



#4 DavidW

DavidW
  • Gibberlings
  • 4311 posts
  • Gender:Male

Posted 05 March 2017 - 10:20 AM

Hello DawidW
 
I m seconding alien wish : with EET and some mod the install time of Stratagems is important ( some hours ), and give sometimes "out of memory" error


See my reply to Alien. I don't use megamod installations myself and supporting quick installs on them is not a priority, absent detailed and specific advice as to how.
 

K4tos seems to have find a way of reducing memory usage using LUA

I don't know if it is applicable to Stratagems but it (quoting K4thos) "call lua.exe from within weidu to handle all regexp stuff for BAF and D files during installation"


But I don't know any lua and I'm not likely to learn any time soon.

Edited by DavidW, 05 March 2017 - 10:23 AM.




Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users