[REFERENCE] Hardcoded paths & files

Discussion in 'Mod Discussions' started by Raevn, June 27, 2013.

  1. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Hardcoded paths & files
    Alpha Disclaimer: This information is based on PA Build 50083 and may change
    See PA Modding Changes for any changes that may have been made after this build.


    The following is a list of hardcoded paths and files found in the PA executable. Modders can use this as a references for files they should be carefull of modding, or as clues as to how to mod certain parts of the game.

    Misc
    Misc references:
    Code:
    /user/log/
    /ui/
    /user/localstore
    version.txt
    Units
    The unit_list.json file that specifies all the units in the game is hardcoded:
    Code:
    /pa/units/unit_list.json
    Effects & Sky
    Code:
    /pa/effects/textures/ThreeOctaveCloudNoise.png
    /pa/effects/textures/wreckage_noise.png
    /pa/effects/textures/CloudNoise.png
    /pa/effects/textures/particles/uncompressed/no_ramp.png
    /pa/effects/textures/particles/default_particle.png
    
    /pa/terrain/sky/textures/skybox_01.json
    
    /pa/effects/specs/default_radius_indicator.json
    /pa/effects/specs/default_launch_target.json
    /pa/effects/specs/default_click.json
    Sound References
    Not having these sound events in the sound bank will crash the game.
    Code:
    /SE/UI/UI_commander_launch
    /SE/UI/UI_Error
    /SE/UI/UI_Building_place
    /SE/UI/UI_Command_Move
    /SE/UI/UI_Command_Attack
    /SE/UI/UI_Command_Assist
    /SE/UI/UI_Command_Patrol
    /SE/UI/UI_Command_Reclaim
    /SE/UI/UI_Command_Repair
    /SE/UI/UI_Unit_UnSelect
    /SE/UI/UI_Unit_Select_commander
    /SE/UI/UI_Unit_Select_engineer
    /SE/UI/UI_Unit_Select
    /SE/UI/UI_escape_command_mode
    /SE/UI/UI_Command_Stop
    /SE/UI/UI_Command_Build
    The location of the audio files is also hardcoded, as is the name of the FMOD event file:
    Code:
    PA.fev
    /pa/audio/
    Strategic Icons
    Code:
    alpha/icon_atlas/special_icon_atlas.html
    alpha/icon_atlas/icon_atlas.html
    alpha/cursor_atlas.html
    Start Screen
    Code:
    alpha/start/start_alpha.html
    Shaders
    Code:
    /shaders/
    
    /shaders/sun.fx
    /shaders/particle_add_distort.fx
    /shaders/particle_transparent_distort.fx
    /shaders/particle_add_ramp.fx
    /shaders/particle_transparent_ramp.fx
    /shaders/particle_add.fx
    /shaders/particle_transparent.fx
    /shaders/PostFX.fx
    /shadowtest/shadowtest.fx
    /shaders/range_ring_resolve.fx
    /shaders/range_ring.fx
    /shaders/fog_of_war_resolve.fx
    /shaders/fog_of_war.fx
    /shaders/light.fx
    /shaders/skybox.fx
    /shaders/textured_unlit_add.fx
    /shaders/textured_unlit_transparent_wrap.fx
    /shaders/textured_unlit_transparent_colored.fx
    /shaders/textured_offset.fx
    /shaders/textured_unlit_transparent_bgra_colorized.fx
    /shaders/textured_unlit_transparent_bgra.fx
    /shaders/textured_unlit_transparent.fx
    /shaders/textured_unlit_wrap.fx
    /shaders/textured_unlit.fx
    /shaders/asteroid_detail.fx
    /shaders/asteroid.fx
    /shaders/decal.fx
    /shaders/vplanet.fx
    /shaders/planet.fx
    /shaders/vtextured_normal.fx
    /shaders/textured_normal.fx
    /shaders/vtextured.fx
    /shaders/textured.fx
    /shaders/skinned_pa_unit_ghost.fx
    /shaders/pa_unit_ghost.fx
    /shaders/skinned_pa_unit_dead.fx
    /shaders/pa_unit_dead.fx
    /shaders/skinned_pa_unit_fab.fx
    /shaders/pa_unit_fab.fx
    /shaders/skinned_pa_unit.fx
    /shaders/pa_unit.fx
    /shaders/skinned_textured.fx
    /shaders/liquid_flow.vs
    /shaders/liquid_flow.fs
    /shaders/planet_liquid_transparent.fx
    /shaders/vertex_unlit.fx
    /shaders/position_color_normal_uv_lit.vs
    /shaders/vertex_lit_transparent.fx
    /shaders/vvertex_lit.fx
    /shaders/vertex_lit.fs
    /shaders/vertex_lit.fx
    /shaders/skinned_solid.fx
    /shaders/skinned_solid_unlit.fx
    /shaders/solid.fx
    /shaders/solid_unlit_hack.fx
    /shaders/solid_unlit_transparent.fx
    /shaders/solid_unlit_add.fx
    /shaders/solid_unlit.fx
    /shaders/range_ring_resolve.fs
    /shaders/range_ring_capsule.fs
    /shaders/range_ring.fs
    /shaders/fog_of_war_resolve.fs
    /shaders/fog_of_war_capsule_debug.fs
    /shaders/fog_of_war_capsule.fs
    /shaders/fog_of_war.fs
    /shaders/light_shadow_map_fixup.fs
    /shaders/light_shadow_map_reduce.vs
    /shaders/light_shadow_map_reduce.fs
    /shaders/light_shadow_map_feedback.fs
    /shaders/light_fog.vs
    /shaders/light_fog.fs
    /shaders/light_capsule.vs
    /shaders/light_point_debug.fs
    /shaders/light_point_fast.vs
    /shaders/light_point_fast.fs
    /shaders/light_box_noshadow.fs
    /shaders/light_box_gobo_shadow_fast.fs
    /shaders/light_box_gobo_fast.fs
    /shaders/light_box_debug.fs
    /shaders/light_box.vs
    /shaders/light_box.fs
    /shaders/light_directional.vs
    /shaders/light_directional.fs
    /shaders/prelight_virtual.vs
    /shaders/prelight_virtual.fs
    /shaders/prelight_skinned_4bone_dead.vs
    /shaders/prelight_skinned_4bone_fab.vs
    /shaders/prelight_skinned_4bone.vs
    /shaders/shadowmap_pa_unit_dead.vs
    /shaders/shadowmap_pa_unit_ghost.fs
    /shaders/shadowmap_pa_unit_fab.vs
    /shaders/shadowmap_pa_unit_fab.fs
    /shaders/shadowmap_skinned_4bone_tex.vs
    /shaders/shadowmap_skinned_4bone.vs
    /shaders/shadowmap_tex_batch.vs
    /shaders/shadowmap_tex.vs
    /shaders/shadowmap_batch.vs
    /shaders/shadowmap.vs
    /shaders/shadowmap.fs
    /shaders/prelight_pa_unit_ghost.fs
    /shaders/prelight_pa_unit_dead.fs
    /shaders/prelight_flat_fab.vs
    /shaders/prelight_pa_unit_fab.fs
    /shaders/prelight_pa_unit.fs
    /shaders/prelight_vertex_color_batch.vs
    /shaders/prelight_vertex_color.vs
    /shaders/prelight_vertex_color.fs
    /shaders/prelight_solid.fs
    /shaders/prelight_flat_batch.vs
    /shaders/prelight_flat.vs
    /shaders/prelight_flat.fs
    /shaders/prelight_normal_batch.vs
    /shaders/prelight_normal.vs
    /shaders/prelight_normal.fs
    /shaders/prelight_material_batch.vs
    /shaders/prelight_material.vs
    /shaders/prelight_material.fs
    /shaders/specular_light_only.fs
    /shaders/diffuse_light_only.fs
    /shaders/light_only.fs
    /shaders/textured_point.fs
    /shaders/normalmapdetail.fs
    /shaders/shownormalmap.fs
    /shaders/black.fs
    /shaders/vt_renderpage_decal.vs
    /shaders/vt_renderpage_decal.fs
    /shaders/vt_renderpage_color.vs
    /shaders/vt_renderpage_color.fs
    /shaders/vt_renderpage_plain.fs
    /shaders/vt_renderpage_flat.fs
    /shaders/vt_renderpage.vs
    /shaders/vt_renderpage.fs
    /shaders/vt_pagemapping.vs
    /shaders/vt_pagemapping.fs
    /shaders/vt_default.vs
    /shaders/vt_default.fs
    /shaders/planet.fs
    /shaders/textured_normal.fs
    /shaders/textured.fs
    /shaders/post_vertical_blur.fs
    /shaders/post_horizontal_blur.fs
    /shaders/post_glow.fs
    /shaders/post_scale.fs
    /shaders/post_radialbloom.fs
    /shaders/post_copy.fs
    /shaders/vertex_color_unlit.fs
    /shaders/solid.fs
    /shaders/solid_unlit_transparent.fs
    /shaders/solid_unlit.fs
    /shaders/difference.fs
    /shaders/shadowed.fs
    /shaders/shadowed.vs
    /shaders/depth.fs
    /shaders/depth.vs
    /shaders/sun.fs
    /shaders/sun.vs
    /shaders/skinned_4bone.vs
    /shaders/position_tangent_uv.vs
    /shaders/position_normal_uv.vs
    /shaders/position_normal.vs
    /shaders/particle_distort.fs
    /shaders/particle.fs
    /shaders/particle.vs
    /shaders/skybox_background.fs
    /shaders/skybox_background.vs
    /shaders/skybox_black.fs
    /shaders/skybox.fs
    /shaders/textured_unlit_bgra_colorized.fs
    /shaders/textured_unlit_bgra.fs
    /shaders/textured_unlit.fs
    /shaders/textured_unlit_shadowmap.fs
    /shaders/textured_offset.vs
    /shaders/position_uniformcolor_uv.vs
    /shaders/position_color_normal.vs
    /shaders/position_color_uv.vs
    /shaders/position_color.vs
    /shaders/position.vs
    Uber Working Files
    I expect these won't stick around in later releases ;)
    Code:
    file:///C:/work/pa/main/ui/alpha/live_game/live_game_alpha.html
    file:///C:/work/pa/main/ui/alpha/start/start_alpha.html
    Quitch likes this.

Share This Page