예제 #1
0
def save_OnClicked():
    cfg = crycore.load_settings(xsi)
    params = PPG.Inspected(0).Parameters
    cfg['rcpath'] = params('rcpath').Value
    cfg['check_version_on_startup'] = params('check_version_on_startup').Value
    cfg['check_version_timeout'] = params('check_version_timeout').Value
    cfg['gamefolder_name'] = params('gamefolder_name').Value
    crycore.save_settings(xsi, cfg)
예제 #2
0
def save_OnClicked():
    cfg = crycore.load_settings(xsi)
    params = PPG.Inspected(0).Parameters
    cfg['rcpath'] = params('rcpath').Value
    cfg['check_version_on_startup'] = params('check_version_on_startup').Value
    cfg['check_version_timeout'] = params('check_version_timeout').Value
    cfg['gamefolder_name'] = params('gamefolder_name').Value
    crycore.save_settings(xsi, cfg)
예제 #3
0
def Export_OnClicked():
    params = PPG.Inspected(0).Parameters
    config = crycore.load_settings(xsi)
    config['path'] = params('path').Value
    config['customnormals'] = params('customnormals').Value
    config['donotmerge'] = params('donotmerge').Value
    config['filetype'] = params('filetype').Value
    config['batch'] = params('batch').Value
    config['unit'] = params('unit').Value
    config['deluncompiled'] = params('deluncompiled').Value
    config['debugdump'] = params('debugdump').Value
    config['verbose'] = params('verbose').Value
    config['usespaces'] = params('usespaces').Value
    config['keyforspace'] = params('keyforspace').Value
    config['f32'] = params('f32').Value
    crycore.save_settings(xsi, config)
    export = andecryexport.Export(xsi, config)
    try:
        export.export()
    except SystemExit:
        return
    return
예제 #4
0
def Export_OnClicked():
    params = PPG.Inspected(0).Parameters
    config = crycore.load_settings(xsi)
    config['path'] = params('path').Value
    config['customnormals'] = params('customnormals').Value
    config['donotmerge'] = params('donotmerge').Value
    config['filetype'] = params('filetype').Value
    config['batch'] = params('batch').Value
    config['unit'] = params('unit').Value
    config['deluncompiled'] = params('deluncompiled').Value
    config['debugdump'] = params('debugdump').Value
    config['verbose'] = params('verbose').Value
    config['usespaces'] = params('usespaces').Value
    config['keyforspace'] = params('keyforspace').Value
    config['f32'] = params('f32').Value
    crycore.save_settings(xsi, config)
    export = andecryexport.Export(xsi, config)
    try:
        export.export()
    except SystemExit:
        return
    return