For advanced programmers (HELP)

Douglas Farias

Expert
Licensed User
hi all, i need to open/edit a .dat file, this is encrypted (ps.dat)
for decrypt this file i need this code

B4X:
const unsigned char key[0x32] ={
    0x3B, 0x21, 0x6B, 0x2E, 0x61, 0x7A, 0x22, 0x4D, 0x41, 0x45, 0x6A, 0x68, 0x67, 0x61, 0x73, 0x62,
    0x75, 0x62, 0x65, 0x31, 0x38, 0x33, 0x34, 0x30, 0x2D, 0x66, 0x5A, 0x2C, 0x3B, 0x61, 0x73, 0x41,
    0x4F, 0x4A, 0x4D, 0x2E, 0x6A, 0x6F, 0x71, 0x77, 0x41, 0x73, 0x65, 0x66, 0x46, 0x73, 0x46, 0x6A,
    0x64, 0x00

};

const unsigned char* Getkey(int &pKeyLen){
    pKeyLen = 0x31;
    return key;
}
void DecriptBinary_lod(unsigned char* output, int keylen,const unsigned char* input ,int length){
    const unsigned char* key = Getkey(keylen);
    if (length  == 0){
        return NULL;
    }
    int randomlen =  length;
    for(int i = 0; i < length; i++){
        int bKey = key[(randomlen) % keylen];
        int bData = input[i];
        bKey = (bKey ^ bData) << 0x10;
        int bResult = (length -i)& 0x80000007;
        if(! bResult){
            bResult--;
            bResult = bResult | 0xFFFFFFF8;
            bResult++;
        }
        bKey = bKey << (unsigned char)7 - bResult;
        int  reusult  = bKey;
        bKey = bKey >> 0x10;
        reusult = reusult >> 0x18;
        output[i] = (unsigned char)(reusult | bKey);
        randomlen += 0x17;
    }
}
i have put the file attached on the post
ps.dat = encrypt
ps.txt = decrypt

how can i open this file on B4J? i need to decrypt - open - edit some lines - and encrypt again back
how is this code on b4a? this code is c++ or c# i really dont know


here is the ps.dat decrypt
persistent extern user INDEX con_iLastLines=(INDEX)5;
tmp_af[0]=(FLOAT)0;
tmp_af[1]=(FLOAT)0;
tmp_af[2]=(FLOAT)0;
tmp_af[3]=(FLOAT)0;
tmp_af[4]=(FLOAT)0;
tmp_af[5]=(FLOAT)0;
tmp_af[6]=(FLOAT)0;
tmp_af[7]=(FLOAT)0;
tmp_af[8]=(FLOAT)0;
tmp_af[9]=(FLOAT)0;
tmp_af[10]=(FLOAT)0;
tmp_af[11]=(FLOAT)0;
tmp_af[12]=(FLOAT)0;
tmp_af[13]=(FLOAT)0;
tmp_af[14]=(FLOAT)0;
tmp_af[15]=(FLOAT)0;
tmp_af[16]=(FLOAT)0;
tmp_af[17]=(FLOAT)0;
tmp_af[18]=(FLOAT)0;
tmp_af[19]=(FLOAT)0;
tmp_ai[0]=(INDEX)0;
tmp_ai[1]=(INDEX)0;
tmp_ai[2]=(INDEX)0;
tmp_ai[3]=(INDEX)0;
tmp_ai[4]=(INDEX)0;
tmp_ai[5]=(INDEX)0;
tmp_ai[6]=(INDEX)0;
tmp_ai[7]=(INDEX)0;
tmp_ai[8]=(INDEX)0;
tmp_ai[9]=(INDEX)0;
persistent extern user INDEX tmp_i=(INDEX)0;
persistent extern user FLOAT tmp_fAdd=(FLOAT)0;
persistent extern user INDEX fil_bPreferZips=(INDEX)0;
persistent extern user INDEX fil_iReportStats=(INDEX)0;
persistent extern user INDEX gam_iMaxSaveGameSize=(INDEX)4194304;
persistent extern user INDEX g_bRenderDecoration=(INDEX)1;
persistent extern user FLOAT ter_fLODMul=(FLOAT)1;
persistent extern user FLOAT g_fChaLODMul=(FLOAT)1;
persistent extern user INDEX g_iUseBloom=(INDEX)0;
persistent extern user INDEX g_iShadowDetail=(INDEX)3;
persistent extern user INDEX g_iReflectionDetail=(INDEX)3;
persistent extern INDEX g_iCountry=(INDEX)7;
persistent extern INDEX g_iEnterChat=(INDEX)1;
persistent extern INDEX g_iShowName=(INDEX)5;
persistent extern INDEX g_iShowNameItem=(INDEX)2;
persistent extern INDEX g_iAutoAttack=(INDEX)1;
persistent extern INDEX g_iShowHelp1Icon=(INDEX)0;
persistent extern INDEX g_iSaveID=(INDEX)1;
persistent extern user CTString g_strSaveID="walletman987";
persistent extern INDEX g_iRejectExchange=(INDEX)0;
persistent extern INDEX g_iRejectParty=(INDEX)0;
persistent extern INDEX g_iQuestBookOpen=(INDEX)1;
persistent extern INDEX g_iZoomInMap=(INDEX)12;
persistent extern INDEX g_iOpacityInMap=(INDEX)75;
persistent extern INDEX g_iXPosInMap=(INDEX)581;
persistent extern INDEX g_iYPosInMap=(INDEX)256;
persistent extern INDEX g_iXPosInInventory=(INDEX)865;
persistent extern INDEX g_iYPosInInventory=(INDEX)219;
persistent extern INDEX g_iXPosInInvenSlot1=(INDEX)200;
persistent extern INDEX g_iYPosInInvenSlot1=(INDEX)276;
persistent extern INDEX g_iXPosInInvenSlot2=(INDEX)945;
persistent extern INDEX g_iYPosInInvenSlot2=(INDEX)227;
persistent extern INDEX g_iXPosInInvenSlot3=(INDEX)434;
persistent extern INDEX g_iYPosInInvenSlot3=(INDEX)508;
persistent extern INDEX g_iXPosQuickSlotEX1=(INDEX)827;
persistent extern INDEX g_iYPosQuickSlotEX1=(INDEX)886;
persistent extern INDEX g_iXPosQuickSlotEX2=(INDEX)827;
persistent extern INDEX g_iYPosQuickSlotEX2=(INDEX)849;
persistent extern INDEX g_bQuickSlotEX1=(INDEX)1;
persistent extern INDEX g_bQuickSlotEX2=(INDEX)1;
persistent extern INDEX g_bQuickSlot1HorOrVer=(INDEX)1;
persistent extern INDEX g_bQuickSlot1Lock=(INDEX)0;
persistent extern INDEX g_bQuickSlot2HorOrVer=(INDEX)1;
persistent extern INDEX g_bQuickSlot2Lock=(INDEX)0;
persistent extern INDEX g_iXPosInCharInfo=(INDEX)249;
persistent extern INDEX g_iYPosInCharInfo=(INDEX)71;
persistent extern INDEX g_iXPosInQuest=(INDEX)358;
persistent extern INDEX g_iYPosInQuest=(INDEX)255;
persistent extern INDEX g_iXPosInPetInfo=(INDEX)100;
persistent extern INDEX g_iYPosInPetInfo=(INDEX)100;
persistent extern INDEX g_iXPosInWPetInfo=(INDEX)100;
persistent extern INDEX g_iYPosInWPetInfo=(INDEX)100;
persistent extern INDEX g_iXPosInMessanger=(INDEX)532;
persistent extern INDEX g_iYPosInMessanger=(INDEX)181;
persistent extern INDEX g_iXPosInSystemMenu=(INDEX)962;
persistent extern INDEX g_iYPosInSystemMenu=(INDEX)391;
persistent extern INDEX g_iXPosInNPCScroll=(INDEX)20;
persistent extern INDEX g_iYPosInNPCScroll=(INDEX)100;
persistent extern INDEX g_bSlaveNoTarget=(INDEX)0;
persistent extern INDEX g_bTestClient=(INDEX)0;
persistent extern INDEX g_iTempFlag=(INDEX)0;
persistent extern user INDEX inp_iKeyboardReadingMethod=(INDEX)2;
persistent extern user INDEX inp_bAllowMouseAcceleration=(INDEX)1;
persistent extern user FLOAT inp_fMouseSensitivity=(FLOAT)1;
persistent extern user INDEX inp_bMousePrecision=(INDEX)0;
persistent extern user FLOAT inp_fMousePrecisionFactor=(FLOAT)4;
persistent extern user FLOAT inp_fMousePrecisionThreshold=(FLOAT)10;
persistent extern user FLOAT inp_fMousePrecisionTimeout=(FLOAT)0.25;
persistent extern user INDEX inp_bInvertMouse=(INDEX)0;
persistent extern user INDEX inp_bFilterMouse=(INDEX)0;
persistent extern user INDEX inp_bAllowPrescan=(INDEX)1;
persistent extern user INDEX inp_i2ndMousePort=(INDEX)0;
persistent extern user INDEX inp_bInvert2ndMouse=(INDEX)0;
persistent extern user INDEX inp_bFilter2ndMouse=(INDEX)0;
persistent extern user FLOAT inp_f2ndMouseSensitivity=(FLOAT)1;
persistent extern user INDEX inp_b2ndMousePrecision=(INDEX)0;
persistent extern user FLOAT inp_f2ndMousePrecisionFactor=(FLOAT)4;
persistent extern user FLOAT inp_f2ndMousePrecisionThreshold=(FLOAT)10;
persistent extern user FLOAT inp_f2ndMousePrecisionTimeout=(FLOAT)0.25;
persistent extern user INDEX inp_bMsgDebugger=(INDEX)0;
persistent extern user INDEX inp_iMButton4Up=(INDEX)131072;
persistent extern user INDEX inp_iMButton4Dn=(INDEX)131136;
persistent extern user INDEX inp_iMButton5Up=(INDEX)65536;
persistent extern user INDEX inp_iMButton5Dn=(INDEX)65568;
persistent extern user INDEX inp_ctJoysticksAllowed=(INDEX)8;
persistent extern user INDEX inp_bForceJoystickPolling=(INDEX)0;
persistent extern user INDEX inp_bAutoDisableJoysticks=(INDEX)0;
persistent extern user INDEX ogl_bUseCompiledVertexArrays=(INDEX)101;
persistent extern user INDEX ogl_bExclusive=(INDEX)1;
persistent extern user INDEX ogl_bAllowQuadArrays=(INDEX)1;
persistent extern user INDEX ogl_iTextureCompressionType=(INDEX)1;
persistent extern user INDEX ogl_iMaxBurstSize=(INDEX)0;
persistent extern user INDEX ogl_bGrabDepthBuffer=(INDEX)0;
persistent extern user INDEX ogl_bHardFinish=(INDEX)0;
persistent extern user INDEX ogl_iFinish=(INDEX)0;
persistent extern user INDEX ogl_bTruformLinearNormals=(INDEX)1;
persistent extern user INDEX ogl_bAlternateClipPlane=(INDEX)0;
persistent extern user INDEX d3d_bUseHardwareTnL=(INDEX)1;
persistent extern user INDEX d3d_iMaxBurstSize=(INDEX)0;
persistent extern user INDEX d3d_iVertexRangeTreshold=(INDEX)99;
persistent extern user INDEX d3d_bAlternateDepthReads=(INDEX)0;
persistent extern user INDEX d3d_iFinish=(INDEX)0;
persistent extern user INDEX d3d_iVertexBuffersSize=(INDEX)1024;
persistent extern INDEX d3d_bFastUpload=(INDEX)1;
persistent extern user INDEX gap_iUseTextureUnits=(INDEX)4;
persistent extern user INDEX gap_iTextureFiltering=(INDEX)222;
persistent extern user INDEX gap_iTextureAnisotropy=(INDEX)1;
persistent extern user FLOAT gap_fTextureLODBias=(FLOAT)-0.5;
persistent extern user INDEX gap_bAggressiveAnisotropy=(INDEX)0;
persistent extern user INDEX gap_bAllowGrayTextures=(INDEX)1;
persistent extern user INDEX gap_bUseOcclusionCulling=(INDEX)1;
persistent extern user INDEX gap_bOptimizeStateChanges=(INDEX)1;
persistent extern user INDEX gap_iOptimizeDepthReads=(INDEX)1;
persistent extern user INDEX gap_iOptimizeClipping=(INDEX)1;
persistent extern user INDEX gap_iSwapInterval=(INDEX)0;
persistent extern user INDEX gap_iRefreshRate=(INDEX)0;
persistent extern user INDEX gap_iDithering=(INDEX)2;
persistent extern user INDEX gap_iDepthBits=(INDEX)0;
persistent extern user INDEX gap_bForceTruform=(INDEX)0;
persistent extern user INDEX gap_iTruformLevel=(INDEX)0;
persistent extern user INDEX mdl_bRenderDetail=(INDEX)1;
persistent extern user INDEX mdl_bRenderSpecular=(INDEX)1;
persistent extern user INDEX mdl_bRenderReflection=(INDEX)1;
persistent extern user INDEX mdl_bAllowOverbright=(INDEX)1;
persistent extern user FLOAT mdl_fLODMul=(FLOAT)1;
persistent extern user FLOAT mdl_fLODAdd=(FLOAT)0;
persistent extern user INDEX mdl_iLODDisappear=(INDEX)1;
persistent extern user INDEX mdl_iShadowQuality=(INDEX)3;
persistent extern user FLOAT ska_fLODMul=(FLOAT)1;
persistent extern user FLOAT ska_fLODAdd=(FLOAT)0;
persistent extern user INDEX ska_bUseHardwareShaders=(INDEX)1;
persistent extern user INDEX ska_iMaxWeightsPerVertex=(INDEX)4;
persistent extern user INDEX ska_bAllowBonesAdjustment=(INDEX)1;
persistent extern user INDEX login_bSkipSelect=(INDEX)0;
persistent extern user INDEX sha_iResetConstRegisters=(INDEX)0;
persistent extern user INDEX sha_iOptimizeShaders=(INDEX)2;
persistent extern user INDEX ter_bUseHardwareShaders=(INDEX)1;
persistent extern user INDEX ter_bUseTopMap=(INDEX)1;
persistent extern user INDEX ter_bUpdateTopMapOnEdit=(INDEX)0;
persistent extern user FLOAT gfx_tmProbeDecay=(FLOAT)30;
persistent extern user INDEX gfx_iProbeSize=(INDEX)256;
persistent extern user INDEX gfx_bClearScreen=(INDEX)0;
persistent extern user INDEX gfx_bDecoratedText=(INDEX)1;
persistent extern user INDEX gfx_bSeparateTripleHead=(INDEX)0;
persistent extern user INDEX gfx_bDisableMultiMonSupport=(INDEX)1;
persistent extern user INDEX gfx_bDisableWindowsKeys=(INDEX)1;
persistent extern user INDEX tex_iNormalQuality=(INDEX)0;
persistent extern user INDEX tex_iAnimationQuality=(INDEX)11;
persistent extern user INDEX tex_bFineEffect=(INDEX)1;
persistent extern user INDEX tex_bFineFog=(INDEX)1;
persistent extern user INDEX tex_iNormalSize=(INDEX)11;
persistent extern user INDEX tex_iAnimationSize=(INDEX)9;
persistent extern user INDEX tex_iEffectSize=(INDEX)7;
persistent extern user INDEX tex_iFogSize=(INDEX)7;
persistent extern user INDEX tex_bCompressGrayscale=(INDEX)1;
persistent extern user INDEX tex_bCompressAlphaChannel=(INDEX)0;
persistent extern user INDEX tex_bAlternateCompression=(INDEX)0;
persistent extern user INDEX tex_bAggressiveCompression=(INDEX)1;
persistent extern user INDEX tex_bDynamicMipmaps=(INDEX)1;
persistent extern user INDEX tex_iDithering=(INDEX)5;
persistent extern user INDEX tex_iFiltering=(INDEX)-2;
persistent extern user INDEX tex_iEffectFiltering=(INDEX)3;
persistent extern user INDEX tex_bProgressiveFilter=(INDEX)0;
persistent extern user INDEX shd_iStaticSize=(INDEX)8;
persistent extern user INDEX shd_iDynamicSize=(INDEX)8;
persistent extern user INDEX shd_bFineQuality=(INDEX)1;
persistent extern user INDEX shd_iAllowDynamic=(INDEX)1;
persistent extern user INDEX shd_bDynamicMipmaps=(INDEX)1;
persistent extern user INDEX shd_iFiltering=(INDEX)3;
persistent extern user INDEX shd_iDithering=(INDEX)1;
persistent extern user FLOAT shd_tmFlushDelay=(FLOAT)30;
persistent extern user FLOAT shd_fCacheSize=(FLOAT)16;
persistent extern user INDEX shd_bCacheAll=(INDEX)0;
persistent extern user INDEX shd_bAllowFlats=(INDEX)1;
persistent extern INDEX shd_iForceFlats=(INDEX)0;
persistent extern user INDEX gfx_iLensFlareQuality=(INDEX)3;
persistent extern user INDEX wld_bTextureLayers=(INDEX)111;
persistent extern user INDEX wld_bRenderMirrors=(INDEX)1;
persistent extern user FLOAT wld_fEdgeOffsetI=(FLOAT)0;
persistent extern user FLOAT wld_fEdgeAdjustK=(FLOAT)1;
persistent extern user INDEX wld_iDetailRemovingBias=(INDEX)3;
persistent extern user INDEX wed_bUseBaseForReplacement=(INDEX)0;
persistent extern user INDEX dbg_bShowFreeMemory=(INDEX)0;
persistent extern user INDEX dbg_bShowDeletedObjectsFromStock=(INDEX)0;
persistent extern user FLOAT gfx_fBrightness=(FLOAT)0;
persistent extern user FLOAT gfx_fContrast=(FLOAT)1;
persistent extern user FLOAT gfx_fGamma=(FLOAT)1;
persistent extern user FLOAT gfx_fBiasR=(FLOAT)1;
persistent extern user FLOAT gfx_fBiasG=(FLOAT)1;
persistent extern user FLOAT gfx_fBiasB=(FLOAT)1;
persistent extern user INDEX gfx_iLevels=(INDEX)256;
persistent extern user INDEX gfx_iStereo=(INDEX)0;
persistent extern user INDEX gfx_bStereoInvert=(INDEX)0;
persistent extern user INDEX gfx_iStereoOffset=(INDEX)10;
persistent extern user FLOAT gfx_fStereoSeparation=(FLOAT)0.25;
persistent extern user FLOAT snd_fSoundVolume=(FLOAT)0;
persistent extern user FLOAT snd_fMusicVolume=(FLOAT)0;
persistent extern user INDEX snd_bLinearVolume=(INDEX)1;
persistent extern user FLOAT snd_tmMixAhead=(FLOAT)0.2;
persistent extern user INDEX snd_iInterface=(INDEX)1;
persistent extern user INDEX snd_iDevice=(INDEX)-1;
persistent extern user INDEX snd_iFormat=(INDEX)3;
persistent extern user INDEX snd_iMaxExtraChannels=(INDEX)32;
persistent extern user FLOAT snd_tmOpenFailDelay=(FLOAT)0.5;
persistent extern user INDEX snd_iMaxVoices=(INDEX)20;
persistent extern user INDEX snd_iMaxSameSounds=(INDEX)5;
persistent extern user INDEX snd_bUseHeadphones=(INDEX)0;
persistent extern user INDEX snd_bUseEnvironmentFX=(INDEX)1;
persistent extern user INDEX snd_iEmulationType=(INDEX)0;
persistent extern user INDEX gam_bPretouch=(INDEX)0;
persistent extern user CTString cmd_cmdOnTick="";
persistent extern user CTString cmd_cmdOnChat="";
persistent extern user INDEX ent_bReportSpawnInWall=(INDEX)0;
persistent extern user CTString net_strLocalHost="";
persistent extern user CTString net_strLocationCode="";
persistent extern user INDEX net_bLookupHostNames=(INDEX)0;
persistent extern user INDEX net_iCompression=(INDEX)1;
persistent extern user INDEX net_bReportPackets=(INDEX)0;
persistent extern user INDEX net_iMaxSendRetries=(INDEX)10;
persistent extern user FLOAT net_fSendRetryWait=(FLOAT)0.5;
persistent extern user INDEX net_bReportTraffic=(INDEX)0;
persistent extern user INDEX net_bReportICMPErrors=(INDEX)0;
persistent extern user INDEX net_bReportMiscErrors=(INDEX)0;
persistent extern user INDEX ser_bClientsMayPause=(INDEX)1;
persistent extern user INDEX ser_bEnumeration=(INDEX)1;
persistent extern user FLOAT ser_tmKeepAlive=(FLOAT)0.1;
persistent extern user FLOAT ser_tmPingUpdate=(FLOAT)3;
persistent extern user INDEX ser_bWaitFirstPlayer=(INDEX)0;
persistent extern user INDEX ser_iMaxAllowedBPS=(INDEX)10000;
persistent extern user CTString ser_strIPMask="";
persistent extern user CTString ser_strNameMask="";
persistent extern user INDEX ser_bInverseBanning=(INDEX)0;
persistent extern user CTString ser_strMOTD="";
persistent extern user FLOAT ser_fPositionTreshold=(FLOAT)0.05;
persistent extern user FLOAT ser_fOrientationTreshold=(FLOAT)0.15;
persistent extern user INDEX ser_iMaxBufferSize=(INDEX)262144;
persistent extern user INDEX cli_iSendBehind=(INDEX)3;
persistent extern user INDEX cli_iMaxBPS=(INDEX)75000;
persistent extern user INDEX cli_iMinBPS=(INDEX)100;
persistent extern user FLOAT cli_fTickDropRate=(FLOAT)0;
persistent extern user INDEX cli_iFPSLimit=(INDEX)30;
persistent extern user INDEX net_iGraphBuffer=(INDEX)100;
persistent extern user INDEX gam_iPrecachePolicy=(INDEX)2;
persistent extern user FLOAT inp_fIFeelGain=(FLOAT)1;
persistent extern INDEX sam_bFullScreen=(INDEX)0;
persistent extern INDEX sam_iScreenSizeI=(INDEX)1280;
persistent extern INDEX sam_iScreenSizeJ=(INDEX)1024;
persistent extern INDEX sam_iDisplayDepth=(INDEX)0;
persistent extern INDEX sam_iDisplayAdapter=(INDEX)0;
persistent extern INDEX sam_iGfxAPI=(INDEX)1;
persistent extern INDEX sam_bFirstStarted=(INDEX)0;
persistent extern INDEX sam_bAutoAdjustAudio=(INDEX)0;
persistent extern user INDEX sam_bWideScreen=(INDEX)0;
persistent extern user FLOAT sam_fPlayerOffset=(FLOAT)0;
persistent extern user INDEX sam_bAutoPlayDemos=(INDEX)1;
persistent extern user INDEX sam_iMaxFPSActive=(INDEX)500;
persistent extern user INDEX sam_iMaxFPSInactive=(INDEX)10;
persistent extern user INDEX sam_bPauseOnMinimize=(INDEX)1;
persistent extern user FLOAT sam_tmDisplayModeReport=(FLOAT)5;
persistent extern user CTString sam_strNetworkSettings="";
persistent extern user CTString sam_strIntroLevel="Levels\\Intro.wld";
persistent extern user CTString sam_strGameName="serioussam";
persistent extern user INDEX sam_iVideoSetup=(INDEX)1;
persistent extern user INDEX g_iPCMinBrightness=(INDEX)64;
persistent extern user INDEX g_iChaLightModifyValue=(INDEX)30;
persistent extern user INDEX gam_iBlood=(INDEX)2;
persistent extern user INDEX gam_bGibs=(INDEX)1;
persistent extern user FLOAT ctl_fButtonRotationSpeedH=(FLOAT)300;
persistent extern user FLOAT ctl_fButtonRotationSpeedP=(FLOAT)150;
persistent extern user FLOAT ctl_fButtonRotationSpeedB=(FLOAT)150;
persistent extern user FLOAT ctl_fAxisStrafingModifier=(FLOAT)1;
persistent extern user INDEX hud_bShowLatency=(INDEX)0;
persistent extern user INDEX hud_iShowPlayers=(INDEX)-1;
persistent extern user INDEX hud_iSortPlayers=(INDEX)-1;
persistent extern user INDEX hud_bShowWeapon=(INDEX)1;
persistent extern user INDEX hud_bShowMessages=(INDEX)1;
persistent extern user FLOAT hud_fScaling=(FLOAT)1;
persistent extern user FLOAT hud_fOpacity=(FLOAT)0.75;
persistent extern user INDEX hud_bShowFloatingScore=(INDEX)1;
persistent extern user FLOAT hud_tmWeaponsOnScreen=(FLOAT)3;
persistent extern user FLOAT hud_tmLatencySnapshot=(FLOAT)1;
persistent extern user FLOAT plr_fBreathingStrength=(FLOAT)0;
persistent extern user INDEX hud_bShowMatchInfo=(INDEX)1;
persistent extern user INDEX dbg_bShowEnemyBodyPoint=(INDEX)0;
persistent extern user FLOAT plr_fFOV=(FLOAT)60;
persistent extern user FLOAT plr_fFrontClipDistance=(FLOAT)0.25;
persistent extern user FLOAT plr_fFarClipDistance=(FLOAT)500;
persistent extern user FLOAT gfx_fTripleHeadFOVBias=(FLOAT)1.4;
persistent extern user INDEX plr_bRenderPicked=(INDEX)0;
persistent extern user INDEX plr_bRenderPickedParticles=(INDEX)0;
persistent extern user INDEX plr_bOnlySam=(INDEX)0;
persistent extern user INDEX ent_bReportBrokenChains=(INDEX)0;
persistent extern user FLOAT ent_tmMentalIn=(FLOAT)0.5;
persistent extern user FLOAT ent_tmMentalOut=(FLOAT)0.75;
persistent extern user FLOAT ent_tmMentalFade=(FLOAT)0.5;
persistent extern user FLOAT gfx_fEnvParticlesDensity=(FLOAT)1;
persistent extern user FLOAT gfx_fEnvParticlesRange=(FLOAT)1;
persistent extern user INDEX hud_bCrosshairFixed=(INDEX)0;
persistent extern user INDEX hud_bCrosshairColoring=(INDEX)1;
persistent extern user FLOAT hud_fCrosshairScale=(FLOAT)1;
persistent extern user FLOAT hud_fCrosshairRatio=(FLOAT)0.5;
persistent extern user FLOAT hud_fCrosshairOpacity=(FLOAT)1;
persistent extern user INDEX hud_bShowPlayerName=(INDEX)1;
persistent extern user INDEX hud_bShowCoords=(INDEX)0;
persistent extern user FLOAT plr_tmSnoopingTime=(FLOAT)1;
persistent extern user FLOAT plr_tmSnoopingDelay=(FLOAT)1;
persistent extern user INDEX hud_iFPSGraphSpeed=(INDEX)4;
persistent extern user INDEX hud_iFPSGraphMax=(INDEX)100;
persistent extern user INDEX hud_bShowTime=(INDEX)0;
persistent extern user INDEX hud_bShowClock=(INDEX)0;
persistent extern user INDEX hud_bShowNetGraph=(INDEX)0;
persistent extern user INDEX dem_iProfileRate=(INDEX)5;
persistent extern user FLOAT dem_fMotionBlurStrength=(FLOAT)0.5;
persistent extern user FLOAT gam_fManaTransferFactor=(FLOAT)0.5;
persistent extern user FLOAT gam_fExtraEnemyStrength=(FLOAT)0;
persistent extern user FLOAT gam_fExtraEnemyStrengthPerPlayer=(FLOAT)0;
persistent extern user INDEX gam_iInitialMana=(INDEX)100;
persistent extern user INDEX gam_iScoreLimit=(INDEX)100000;
persistent extern user INDEX gam_iFragLimit=(INDEX)20;
persistent extern user INDEX gam_iTimeLimit=(INDEX)0;
persistent extern user INDEX gam_ctMaxPlayers=(INDEX)8;
persistent extern user INDEX gam_bWaitAllPlayers=(INDEX)0;
persistent extern user INDEX gam_bFriendlyFire=(INDEX)0;
persistent extern user INDEX gam_bPlayEntireGame=(INDEX)1;
persistent extern user INDEX gam_bRespawnInPlace=(INDEX)1;
persistent extern user FLOAT gam_tmSpawnInvulnerability=(FLOAT)3;
persistent extern user INDEX gam_bUseExtraEnemies=(INDEX)1;
persistent extern user INDEX gam_iStartDifficulty=(INDEX)1;
persistent extern user INDEX gam_iStartMode=(INDEX)0;
persistent extern user CTString gam_strGameSpyExtras="";
persistent extern user CTString gam_strCustomLevel="Levels\\LevelsMP\\1_0_InTheLastEpisode.wld";
persistent extern user CTString gam_strSessionName="Unnamed session";
persistent extern user INDEX gam_bEnableAdvancedObserving=(INDEX)0;
persistent extern user FLOAT con_fHeightFactor=(FLOAT)0.5;
persistent extern user FLOAT con_tmLastLines=(FLOAT)5;
persistent extern user CTString gam_strJoinAddress="serveraddress";
persistent extern user INDEX g_iNPCMinBrightness=(INDEX)32;
persistent extern user FLOAT wed_fFrontClipDistance=(FLOAT)0.5;
persistent extern user INDEX gui_bEnableRequesterThumbnails=(INDEX)1;
persistent extern user INDEX gam_iJpgScreenShot=(INDEX)1;
 

Attachments

Top