Author Topic: Instant updates  (Read 1891 times)

0 Members and 1 Guest are viewing this topic.

Offline Centurion

  • Flagrunner
  • ****
  • Posts: 699
Instant updates
« on: May 02, 2010, 04:56:46 am »
For beta version updating: I wish there was a way to update the beta version faster without soldat restarting and downloading newer updates and then restarting again. etc...

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Instant updates
« Reply #1 on: May 02, 2010, 05:13:34 am »
But then Soldat.exe can't be overwritten.
/end

Offline -Major-

  • Veteran
  • *****
  • Posts: 1419
Re: Instant updates
« Reply #2 on: May 02, 2010, 07:32:50 am »
But then Soldat.exe can't be overwritten.
/end
isn't it only the final soldat.exe that is important (if there are newer .dll, the latest ones could just be downloaded)?
I do not see how that would be an argument....

eitherway it's just a waste of time to fix that.

Offline SpiltCoffee

  • Veteran
  • *****
  • Posts: 1579
  • Spilt, not Split!
    • SpiltCoffee's Site
Re: Instant updates
« Reply #3 on: May 02, 2010, 07:43:50 am »
isn't it only the final soldat.exe that is important (if there are newer .dll, the latest ones could just be downloaded)?
If you're changing things within the binary itself (most common - you rarely ever modify DLLs), then you need to close the process before overwriting it.
When life hands you High Fructose Corn Syrup, Citric Acid, Ascorbic Acid, Maltodextrin, Sodium Acid Pyrophosphate,
Magnesium Oxide, Calcium Fumarate, Yellow 5, Tocopherol and Less Than 2% Natural Flavour... make Lemonade!

Offline -Major-

  • Veteran
  • *****
  • Posts: 1419
Re: Instant updates
« Reply #4 on: May 02, 2010, 08:07:42 am »
isn't it only the final soldat.exe that is important (if there are newer .dll, the latest ones could just be downloaded)?
If you're changing things within the binary itself (most common - you rarely ever modify DLLs), then you need to close the process before overwriting it.
once yes... but I don't see the need to overwrite EVERY time, just download the latest patch and then restart, instead of download, restart, download, restart.

Offline SpiltCoffee

  • Veteran
  • *****
  • Posts: 1579
  • Spilt, not Split!
    • SpiltCoffee's Site
Re: Instant updates
« Reply #5 on: May 02, 2010, 08:09:30 am »
isn't it only the final soldat.exe that is important (if there are newer .dll, the latest ones could just be downloaded)?
If you're changing things within the binary itself (most common - you rarely ever modify DLLs), then you need to close the process before overwriting it.
once yes... but I don't see the need to overwrite EVERY time, just download the latest patch and then restart, instead of download, restart, download, restart.
Ah, I get you now... that would be handy, you'd just make it so you leap between updates that need to occur (like, it's not just Soldat.exe being updated).
When life hands you High Fructose Corn Syrup, Citric Acid, Ascorbic Acid, Maltodextrin, Sodium Acid Pyrophosphate,
Magnesium Oxide, Calcium Fumarate, Yellow 5, Tocopherol and Less Than 2% Natural Flavour... make Lemonade!

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: Instant updates
« Reply #6 on: May 02, 2010, 11:09:11 am »
well you can do it so that the exe just contains the update code, and then have everything game code related in a dll. then you can download the dll and "restart" without actually restarting the exe.

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Instant updates
« Reply #7 on: May 02, 2010, 08:36:20 pm »
Does this need to apply to Linux? Under Linux you can edit/replace/move files that are open/running.
There are other worlds than these