aliens

Author Topic: Realod configuration and images during game  (Read 3781 times)

Offline CanadianBeaver

  • Colonel
  • ****
  • Posts: 184
    • View Profile
    • AwesomeGuns
Realod configuration and images during game
« on: September 03, 2016, 05:15:45 am »
I would like to propose the feature for mod developers. Let the game reloads the .rul files, images and sounds without exiting. it can be run by hotkey.

For example, mod developer has changed something in .rul file or images and game will reload these changing without exiting/restart.

Offline Arthanor

  • Commander
  • *****
  • Posts: 2488
  • XCom Armoury Quartermaster
    • View Profile
Re: Realod configuration and images during game
« Reply #1 on: September 03, 2016, 05:22:21 am »
Just exit to the main menu, go in options and turn a mod off and on again, the game will reload.

Offline CanadianBeaver

  • Colonel
  • ****
  • Posts: 184
    • View Profile
    • AwesomeGuns
Re: Realod configuration and images during game
« Reply #2 on: September 03, 2016, 05:37:06 am »
Just exit to the main menu, go in options and turn a mod off and on again, the game will reload.

And where is the profit? it is much slow instead of exit and restart...

PS: you forgot about to abandon the game

Offline Arthanor

  • Commander
  • *****
  • Posts: 2488
  • XCom Armoury Quartermaster
    • View Profile
Re: Realod configuration and images during game
« Reply #3 on: September 03, 2016, 06:09:42 am »
I thought you wanted to keep the game running and reload mods. I don't think there could be a much faster way to reload mods than exit and relaunch provided that your launch setup is fast. Most of the time spent launching the game is loading assets already. I don't see where you could save. Except if you could reload only a specific mod instead of reloading them all.

Offline CanadianBeaver

  • Colonel
  • ****
  • Posts: 184
    • View Profile
    • AwesomeGuns
Re: Realod configuration and images during game
« Reply #4 on: September 03, 2016, 06:44:26 am »
I would like, the changes made in files to be apply without restart the program. Ideal - without dialogues, just by keyboard shortcut.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8631
    • View Profile
Re: Realod configuration and images during game
« Reply #5 on: September 03, 2016, 09:24:18 am »
The restart is necessary, sorry.
Also, as Arthanor said, even without restart, it would take almost the same time to apply changes.

Offline CanadianBeaver

  • Colonel
  • ****
  • Posts: 184
    • View Profile
    • AwesomeGuns
Re: Realod configuration and images during game
« Reply #6 on: September 03, 2016, 11:45:37 pm »
Is it really hard to do it? Just reload images...

Offline hellrazor

  • Commander
  • *****
  • Posts: 2011
  • Deep Ruleset Digger & Bughunter
    • View Profile
    • Github Account
Re: Realod configuration and images during game
« Reply #7 on: September 03, 2016, 11:59:50 pm »
You have to reload the yaml files and the referenced resource files in them.
The bigger your yaml files, the more lines they have the longer the loadtime.