procedure CurStepChanged(CurStep: TSetupStep); begin If CurStep=ssPostInstall then begin SaveStringToFile(ExpandConstant('{app}')+'\fsgame.ltx', '$app_data_root$=true|false|' + ExpandConstant('{app}') + '\save\' + #13, True); SaveStringToFile(ExpandConstant('{app}')+'\fsgame.ltx', '$game_data$=false|true|$fs_root$|gamedata\' + #13, True); SaveStringToFile(ExpandConstant('{app}')+'\fsgame.ltx', '$game_ai$=true|false|$game_data$|ai\' + #13, True); SaveStringToFile(ExpandConstant('{app}')+'\fsgame.ltx', '$game_spawn$=true|false|$game_data$|spawns\' + #13, True); SaveStringToFile(ExpandConstant('{app}')+'\fsgame.ltx', '$game_anims$=true|true|$game_data$|anims\' + #13, True); SaveStringToFile(ExpandConstant('{app}')+'\fsgame.ltx', '$game_levels$=true|false|$game_data$|levels\' + #13, True); SaveStringToFile(ExpandConstant('{app}')+'\fsgame.ltx', '$game_meshes$=true|true|$game_data$|meshes\' + #13, True); SaveStringToFile(ExpandConstant('{app}')+'\fsgame.ltx', '$game_dm$=true|true|$game_data$|meshes\' + #13, True); SaveStringToFile(ExpandConstant('{app}')+'\fsgame.ltx', '$game_shaders$=true|true|$game_data$|shaders\' + #13, True); SaveStringToFile(ExpandConstant('{app}')+'\fsgame.ltx', '$game_sounds$=true|true|$game_data$|sounds\' + #13, True); SaveStringToFile(ExpandConstant('{app}')+'\fsgame.ltx', '$game_textures$=true|true|$game_data$|textures\' + #13, True); SaveStringToFile(ExpandConstant('{app}')+'\fsgame.ltx', '$game_scripts$=true|false|$game_data$|scripts\' + #13, True); SaveStringToFile(ExpandConstant('{app}')+'\fsgame.ltx', '$game_config$=true|false|$game_data$|config\' + #13, True); SaveStringToFile(ExpandConstant('{app}')+'\fsgame.ltx', '$level$=false|false|$game_levels$' + #13, True); SaveStringToFile(ExpandConstant('{app}')+'\fsgame.ltx', '$game_saves$=true|false|$app_data_root$|savedgames\' + #13, True); SaveStringToFile(ExpandConstant('{app}')+'\fsgame.ltx', '$logs$=true|false|$app_data_root$|logs\' + #13, True); SaveStringToFile(ExpandConstant('{app}')+'\fsgame.ltx', '$screenshots$=true|false|$app_data_root$|screenshots\' + #13, True); end; end; |