titanfall 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 319401f081a4feef20dc2d13ab15fc8ea172b423
4
- data.tar.gz: 49a94318eaebf03fc0368564211d3761988b4bc7
3
+ metadata.gz: 8e4c3c6d8de66adc88288209cc6d067ded0b6e51
4
+ data.tar.gz: cd9a27d5d0e457366596a9d24ae0a169aecaeaec
5
5
  SHA512:
6
- metadata.gz: 9f570fc0f53775684d37dfce724e6c39bf99aea64fd75e2faad3387486ee0bb89657ebdc103166b35254302ed982f12fa115ba9e05b0b2f133598c7790e154ec
7
- data.tar.gz: f01f2d9d795f72e8dbd38da4c984db823f3f0995ea2b0293755c14d11eb6c706fbf199667dd94bd01dee5413d7c7a8e2b379687db62aabbb90f170c2f6ee9094
6
+ metadata.gz: 1d604f4e17eae13fda98176106a58c6a87a17607e5e533d5ca9d24a56731f3d926932b0e84f56b6a422060eaa9fe4850d170498cb5d934e75791e80734cbedfa
7
+ data.tar.gz: d66fe976123ff494842f8198b4d0b6cfd922b1e8e5952d71ffa91de6e08e13ad3db2622c8716b839fc8ae88c6f583a344ed17c0ca54b63f9b2c25ad4032d969b
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Titanfall Ruby Gem
2
2
 
3
- [Titanfall](http://www.titanfall.com/) PC ([Origin](https://www.origin.com)) Ruby Gem - Version 0.0.1
3
+ [Titanfall](http://www.titanfall.com/) PC ([Origin](https://www.origin.com)) Ruby Gem - Version 0.0.2
4
4
 
5
5
  This gem is not endorsed, certified or otherwise approved in any way by Respawn Entertainment or any of its affiliates.
6
6
 
@@ -15,10 +15,10 @@ In your ruby file
15
15
  require 'titanfall
16
16
  t = Titanfall.new
17
17
 
18
- Note: If your local save files are not located at `C:\Users\[YOUR_WIN_USERNAME]\Documents\Respawn`, you will need to pass the path during initialization
18
+ Note: If your local save files are not located at `C:\Users\[YOUR_WIN_USERNAME]\Documents\Respawn`, you will need to pass the path (with proper string escaping) during initialization
19
19
 
20
20
  require 'titanfall
21
- t = Titanfall.new "C:\Storage\Other\Path\to\Respawn"
21
+ t = Titanfall.new "C:\\Storage\\Other\\Path\\to\\Respawn"
22
22
 
23
23
  ## Instance Methods
24
24
 
@@ -20,7 +20,7 @@ module Profile
20
20
  end
21
21
 
22
22
  def profile_cfg_file_path
23
- "#{path}\\TitanfallBeta\\profile\\profile.cfg"
23
+ "#{path}\\Titanfall\\profile\\profile.cfg"
24
24
  end
25
25
 
26
26
  end
@@ -43,7 +43,7 @@ module Settings
43
43
  end
44
44
 
45
45
  def settings_cfg_file_path
46
- "#{path}\\TitanfallBeta\\local\\settings.cfg"
46
+ "#{path}\\Titanfall\\local\\settings.cfg"
47
47
  end
48
48
 
49
49
  end
@@ -1,3 +1,3 @@
1
1
  module Version
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -23,7 +23,7 @@ module VideoConfig
23
23
  end
24
24
 
25
25
  def videoconfig_txt_file_path
26
- "#{path}\\TitanfallBeta\\local\\videoconfig.txt"
26
+ "#{path}\\Titanfall\\local\\videoconfig.txt"
27
27
  end
28
28
 
29
29
  end
@@ -0,0 +1,85 @@
1
+ bind "1" "weaponSelectPrimary0"
2
+ bind "2" "weaponSelectPrimary1"
3
+ bind "3" "weaponSelectOrdnance"
4
+ bind "4" "+scriptcommand4"
5
+ bind "a" "+moveleft"
6
+ bind "c" "+melee"
7
+ bind "d" "+moveright"
8
+ bind "e" "+use"
9
+ bind "f" "+offhand1"
10
+ bind "g" "+weaponPickup"
11
+ bind "q" "+offhand2"
12
+ bind "r" "+reload"
13
+ bind "s" "+back"
14
+ bind "t" "say"
15
+ bind "v" "+ability 1"
16
+ bind "w" "+forward"
17
+ bind "x" "+scriptCommand1"
18
+ bind "y" "say_team"
19
+ bind "z" "+pushtotalk"
20
+ bind "`" "toggleconsole"
21
+ bind "SPACE" "+ability 3"
22
+ bind "TAB" "+showscores"
23
+ bind "ESCAPE" "ingamemenu_activate"
24
+ bind "PAUSE" "pause"
25
+ bind "SHIFT" "+speed"
26
+ bind "CTRL" "+toggle_duck"
27
+ bind "F10" "jpeg"
28
+ bind "MOUSE1" "+attack"
29
+ bind "MOUSE2" "+zoom"
30
+ bind "MOUSE3" "+offhand2"
31
+ bind "MWHEELUP" "+weaponCycle"
32
+ bind "MWHEELDOWN" "+weaponCycle"
33
+ bind "A_BUTTON" "+ability 3"
34
+ bind "B_BUTTON" "+toggle_duck"
35
+ bind "X_BUTTON" "+useandreload"
36
+ bind "Y_BUTTON" "+weaponpickupandcycle"
37
+ bind "L_SHOULDER" "+offhand2"
38
+ bind "R_SHOULDER" "+offhand1"
39
+ bind "BACK" "+showscores"
40
+ bind "START" "ingamemenu_activate"
41
+ bind "STICK1" "+speed"
42
+ bind "STICK2" "+melee"
43
+ bind "UP" "+scriptcommand1"
44
+ bind "DOWN" "+ability 1"
45
+ bind "LEFT" "weaponselectordnance"
46
+ bind "L_TRIGGER" "+zoom"
47
+ bind "R_TRIGGER" "+attack"
48
+ anim_showPoseParamErrors "0"
49
+ cc_lang ""
50
+ cc_linger_time "1.0"
51
+ cc_predisplay_time "0.25"
52
+ cl_allowupload "1"
53
+ cl_ignore_vpk_assocation "0"
54
+ cl_minimal_rtt_shadows "1"
55
+ cl_showhelp "1"
56
+ cl_showpluginmessages "1"
57
+ cl_support_vpk_assocation "0"
58
+ cl_thirdperson "0"
59
+ dlight_default_falloff "0.3"
60
+ func_break_max_pieces "15"
61
+ lookspring "0"
62
+ lookstrafe "0"
63
+ m_acceleration "0"
64
+ m_sensitivity "5.617949"
65
+ mat_spewalloc "0"
66
+ mat_texture_list_content_path ""
67
+ name "xtaxta"
68
+ password ""
69
+ r_drawmodelstatsoverlaymax "1.5"
70
+ r_drawmodelstatsoverlaymin "0.1"
71
+ sound_num_speakers "2"
72
+ sound_volume_voice "0.000000"
73
+ sv_forcepreload "0"
74
+ sv_noclipspeed "5"
75
+ sv_specaccelerate "5"
76
+ sv_specnoclip "1"
77
+ sv_specspeed "3"
78
+ sv_voiceenable "1"
79
+ voice_forcemicrecord "1"
80
+ voice_mixer_boost "0"
81
+ voice_mixer_mute "0"
82
+ voice_mixer_volume "1.0"
83
+ voice_modenable "1"
84
+ voice_scale "1"
85
+ voice_vox "1"
@@ -0,0 +1,30 @@
1
+ "VideoConfig"
2
+ {
3
+ "setting.cl_fovScale" "1.0"
4
+ "setting.cl_gib_allow" "1"
5
+ "setting.cl_particle_fallback_base" "3"
6
+ "setting.cl_particle_fallback_multiplier" "2"
7
+ "setting.cl_ragdoll_maxcount" "8"
8
+ "setting.cl_ragdoll_self_collision" "1"
9
+ "setting.csm_enabled" "0"
10
+ "setting.csm_quality_level" "0"
11
+ "setting.dlight_enable" "0"
12
+ "setting.mat_antialias_mode" "1"
13
+ "setting.mat_depthfeather_enable" "0"
14
+ "setting.mat_forceaniso" "1"
15
+ "setting.mat_mip_linear" "1"
16
+ "setting.mat_monitorgamma" "2.2"
17
+ "setting.mat_monitorgamma_tv_enabled" "0"
18
+ "setting.mat_picmip" "3"
19
+ "setting.mat_vsync" "1"
20
+ "setting.particle_cpu_level" "0"
21
+ "setting.r_createmodeldecals" "1"
22
+ "setting.r_decals" "256.000000"
23
+ "setting.r_lod_switch_scale" "0.800000"
24
+ "setting.shadow_enable" "0"
25
+ "setting.defaultres" "1280"
26
+ "setting.defaultresheight" "720"
27
+ "setting.fullscreen" "1"
28
+ "setting.nowindowborder" "0"
29
+ "setting.configversion" "2"
30
+ }
@@ -0,0 +1,20 @@
1
+ aimassist_lookSensitivity "1"
2
+ autosprint "0"
3
+ cl_safearea "0"
4
+ closecaption "0"
5
+ eula_version_accepted "0"
6
+ gamepad_button_layout "0"
7
+ gamepad_buttons_are_southpaw "0"
8
+ gamepad_stick_layout "0"
9
+ intro_viewed "1"
10
+ joy_deadzone_look_disabled "0"
11
+ joy_inverty "0"
12
+ joy_rumble "1"
13
+ localClientPlayerCachedLevel "9"
14
+ m_invert_pitch "0"
15
+ sound_musicReduced "0"
16
+ sound_volume "1"
17
+ sound_volume_music "1"
18
+ training_hasEverBeenStarted "1"
19
+ training_hasEverFinished "0"
20
+ training_resumeChoice "-2"
@@ -5,11 +5,11 @@ describe Profile do
5
5
  context "profile configuration" do
6
6
 
7
7
  it "returns profile configurations" do
8
- test_profile_cfg_path = "#{File.dirname(__FILE__)}/../fixtures/Respawn/TitanfallBeta/profile/profile.cfg"
8
+ test_profile_cfg_path = "#{File.dirname(__FILE__)}/../fixtures/Respawn/Titanfall/profile/profile.cfg"
9
9
  allow_any_instance_of(Titanfall).to receive(:profile_cfg_file_path).and_return(test_profile_cfg_path)
10
10
 
11
11
  t = Titanfall.new
12
- expect(t.profile['training_hasEverFinished']).to eql "1"
12
+ expect(t.profile['training_hasEverFinished']).to eql "0"
13
13
  end
14
14
  end
15
15
 
@@ -6,7 +6,7 @@ describe Settings do
6
6
  let(:t) { Titanfall.new }
7
7
 
8
8
  before :each do
9
- test_settings_cfg_path = "#{File.dirname(__FILE__)}/../fixtures/Respawn/TitanfallBeta/local/settings.cfg"
9
+ test_settings_cfg_path = "#{File.dirname(__FILE__)}/../fixtures/Respawn/Titanfall/local/settings.cfg"
10
10
  allow_any_instance_of(Titanfall).to receive(:settings_cfg_file_path).and_return(test_settings_cfg_path)
11
11
  end
12
12
 
@@ -15,7 +15,7 @@ describe Settings do
15
15
  end
16
16
 
17
17
  it "returns settings configurations" do
18
- expect(t.settings['m_sensitivity']).to eql "5"
18
+ expect(t.settings['m_sensitivity']).to eql "5.617949"
19
19
  expect(t.settings['password']). to eql ""
20
20
  end
21
21
  end
@@ -3,7 +3,7 @@ require 'spec_helper'
3
3
  describe Titanfall::VERSION do
4
4
 
5
5
  it "returns correct version" do
6
- expect(Titanfall::VERSION).to eql "0.0.1"
6
+ expect(Titanfall::VERSION).to eql "0.0.2"
7
7
  end
8
8
 
9
9
  end
@@ -5,7 +5,7 @@ describe VideoConfig do
5
5
  context "video configuration" do
6
6
 
7
7
  it "returns video configurations" do
8
- test_videoconfig_path = "#{File.dirname(__FILE__)}/../fixtures/Respawn/TitanfallBeta/local/videoconfig.txt"
8
+ test_videoconfig_path = "#{File.dirname(__FILE__)}/../fixtures/Respawn/Titanfall/local/videoconfig.txt"
9
9
  allow_any_instance_of(Titanfall).to receive(:videoconfig_txt_file_path).and_return(test_videoconfig_path)
10
10
 
11
11
  t = Titanfall.new
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: titanfall
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rex Feng
@@ -70,6 +70,9 @@ files:
70
70
  - lib/titanfall/settings.rb
71
71
  - lib/titanfall/version.rb
72
72
  - lib/titanfall/videoconfig.rb
73
+ - spec/fixtures/Respawn/Titanfall/local/settings.cfg
74
+ - spec/fixtures/Respawn/Titanfall/local/videoconfig.txt
75
+ - spec/fixtures/Respawn/Titanfall/profile/profile.cfg
73
76
  - spec/fixtures/Respawn/TitanfallBeta/local/settings.cfg
74
77
  - spec/fixtures/Respawn/TitanfallBeta/local/videoconfig.txt
75
78
  - spec/fixtures/Respawn/TitanfallBeta/profile/profile.cfg
@@ -105,6 +108,9 @@ signing_key:
105
108
  specification_version: 4
106
109
  summary: titanfall gem
107
110
  test_files:
111
+ - spec/fixtures/Respawn/Titanfall/local/settings.cfg
112
+ - spec/fixtures/Respawn/Titanfall/local/videoconfig.txt
113
+ - spec/fixtures/Respawn/Titanfall/profile/profile.cfg
108
114
  - spec/fixtures/Respawn/TitanfallBeta/local/settings.cfg
109
115
  - spec/fixtures/Respawn/TitanfallBeta/local/videoconfig.txt
110
116
  - spec/fixtures/Respawn/TitanfallBeta/profile/profile.cfg