My fixes/improvements (Updated for 1.30013)

General talk about Lost Alpha dream project

Moderators: jwknaggs, CruxMDQ, Nemo

My fixes/improvements (Updated for 1.30013)

Postby valsorim77 » Thu May 01, 2014 9:25 am

Previously I was posting my fixes in this thread: http://www.gsc-game.com/index.php?t=community&s=forums&s_game_type=xr&thm_page=1&thm_id=22402&sec_id=19, but from now I will post them here.

You can ask questions and propose improvements regarding my fixes in this thread. But only the serious issues please.

Important ! You must first have clean installation of 1.3000, then apply the 1.30013 patch and only after that apply my patches.
The first two were created with 1.3001, but the affected files were not changed between 1.3001 and 1.30013

Repair / Upgrade dialog fix 0.9 for 1.30013:
https://drive.google.com/file/d/0B2IUe5 ... sp=sharing
Previous version of this fix is included (but slightly modified) in 1.30013.
These modifications returned some problems which were fixed, so I have created this patch

Fixed:
- crashes when upgrage config is missing, for example wpn_vintorez_m4
- repairing of not-upgradeable weapons and outfits (fixed in different way, so that it respects that they are not upgradeable)

Additional advanced video options 0.7 for 1.30013:
https://drive.google.com/file/d/0B2IUe5MgSdC2OXhmcmxSMnVSUmc/edit?usp=sharing
Added these:
    r2_mblur - The intensity of motion blur
    r2_tonemap_middlegray - The intensity of the HDR
    r2_sun_lumscale - The brightness of the sun
    r2_sun_lumscale_hemi - Background illumination outdoors
    r2_sun_lumscale_amb - Background illumination indoors
    r2_ls_bloom_threshold - The bloom threshold
    r2_gloss_factor - The gloss factor
    fov - The field of view
See the readme.txt inside for my recommendation how to set them

Improved dynamic weather manager 0.6 for 1.30013
https://drive.google.com/file/d/0B2IUe5MgSdC2OVNKUUtWQzRaVFE/edit?usp=sharing
I have changed the way how the probabilities for changing the weather are interpreted.
And I have adjusted the probabilities to match the new interpretation in a way in which I think it was intended.

See the comments in the [weather_manager] section of lost_alpha_cfg.ltx for details.
Before it was confusing and there was only around 6 % chance to change to some other weather from clear.

Next planned things:
More stats for weapons, ammo and upgrades
CTDs caused by errors in scripts, xml or ltx files reported in http://www.dezowave.com/forum/viewtopic.php?f=3&t=1762
Repair kits
Last edited by valsorim77 on Sat May 03, 2014 12:46 pm, edited 12 times in total.
valsorim77
Newbie
 
Posts: 10
Joined: Thu May 01, 2014 6:35 am

Re: My fixes/improvements

Postby Kalanos » Thu May 01, 2014 4:53 pm

Thanks for this. :)
Kalanos
Newbie
 
Posts: 18
Joined: Tue Apr 29, 2014 8:49 pm

Re: My fixes/improvements

Postby ghostx » Thu May 01, 2014 10:25 pm

repair fix wont affect repair kit when using it game still crashes at least Fox can fix guns however upgrades not avaliable
ghostx
Newbie
 
Posts: 15
Joined: Mon Apr 28, 2014 9:30 pm

Re: My fixes/improvements

Postby CruxMDQ » Thu May 01, 2014 10:50 pm

Sir, you're awesome. :D Linking this on bugtracker!
Got bugs? Read this before posting a report: viewtopic.php?f=3&t=1771

ANY bug reporting threads that fail to fulfill these conditions WILL BE CLOSED.
CruxMDQ
Moderator
 
Posts: 124
Joined: Sun Apr 27, 2014 9:43 pm
Location: Mar del Plata, Buenos Aires, Argentina, South America, Earth, Milky Way, Local Cluster, Multiverse

Re: My fixes/improvements

Postby greenfish » Thu May 01, 2014 11:18 pm

CruxMDQ wrote:Sir, you're awesome. :D Linking this on bugtracker!


where is the bugtracker?

also

Expression : 0
Function : CPhraseDialog::SayPhrase
File : PhraseDialog.cpp
Line : 152
Description : No available phrase to say, dialog[yantar_sakharov_start_talk]

After getting the "wire" for the scientist. Instant CTD after quest complete.

I'm also using a community fix but the issue is still not resolved

"Yantar Dialogue Fix" DOES NOT FIX THE ISSUE

Crux dixit: the bug you mention has already been added to the categorized list. Please post any further reports there.
greenfish
Newbie
 
Posts: 28
Joined: Mon Apr 28, 2014 7:34 pm

Re: My fixes/improvements

Postby CruxMDQ » Fri May 02, 2014 12:42 am

My bad. I meant the bug tracking thread. Poor choice of words.
Got bugs? Read this before posting a report: viewtopic.php?f=3&t=1771

ANY bug reporting threads that fail to fulfill these conditions WILL BE CLOSED.
CruxMDQ
Moderator
 
Posts: 124
Joined: Sun Apr 27, 2014 9:43 pm
Location: Mar del Plata, Buenos Aires, Argentina, South America, Earth, Milky Way, Local Cluster, Multiverse

Re: My fixes/improvements

Postby MOHCTP » Fri May 02, 2014 2:20 am

Expression : m_foot_bones[leg_type] != BI_NONE
Function : CStepManager::get_foot_position
File : step_manager.cpp
Line : 196
Description : foot bone had not been set

Despite what everyone is saying, this is not fixed. g_actor_body is off, but moving backwards or sideways near Sin house causes game to crash.
MOHCTP
Newbie
 
Posts: 1
Joined: Fri May 02, 2014 2:18 am

Re: My fixes/improvements (Updating for 1.3001)

Postby dez » Sat May 03, 2014 9:13 am

you should download the latest patch 1.30013, but read the readme carefully, its not compatible with user made fixes, so you need to reinstall the game bfore that to get rid of the extra stuff you added in.
dez0wave developer
User avatar
dez
dez0wave developer
 
Posts: 1211
Joined: Tue Jun 24, 2008 9:22 am
Location: Hungary

Re: My fixes/improvements (Updated for 1.30013)

Postby Mordeth » Sat May 03, 2014 7:41 pm

@valsorim77
Don't know if it's just my install, but with your ui_mm_opt.xml, I got the following error when clicking "options" in main menu:
FATAL ERROR

[error]Expression : xml_doc.NavigateToNode(path,index)
[error]Function : CUIXmlInit::InitStatic
[error]File : ui\UIXmlInit.cpp
[error]Line : 169
[error]Description : XML node not found
[error]Argument 0 : tab_sound:check_eax
[error]Argument 1 : ui\ui_mm_opt.xml

Looking at the file in Notepad++, line 494 has "<!--" just above the eax sound check. Removed it, and all is well.
Clean install with your fixes/improvements added, new game. Haven't seen this reported elsewhere, just thought I'd let you know. THANK YOU for the improvements. The patch and your fixes/improvements make the game a lot better.
Mordeth
Newbie
 
Posts: 9
Joined: Tue Apr 29, 2014 1:18 am

Re: My fixes/improvements (Updated for 1.30013)

Postby valsorim77 » Sat May 03, 2014 8:06 pm

Mordeth wrote:@valsorim77
Don't know if it's just my install, but with your ui_mm_opt.xml, I got the following error when clicking "options" in main menu:
FATAL ERROR

[error]Expression : xml_doc.NavigateToNode(path,index)
[error]Function : CUIXmlInit::InitStatic
[error]File : ui\UIXmlInit.cpp
[error]Line : 169
[error]Description : XML node not found
[error]Argument 0 : tab_sound:check_eax
[error]Argument 1 : ui\ui_mm_opt.xml

Looking at the file in Notepad++, line 494 has "<!--" just above the eax sound check. Removed it, and all is well.
Clean install with your fixes/improvements added, new game. Haven't seen this reported elsewhere, just thought I'd let you know. THANK YOU for the improvements. The patch and your fixes/improvements make the game a lot better.


This looks like you have not installed the 1.30013 patch correctly. Look to file gamedata\scripts\ui_mm_opt_sound.script

In version 1.3000 there was this starting from line 25:
Code: Select all
--   c = xml:InitCheck("tab_sound:check_reverse",   self)
--   c:Enable(false)
   xml:InitCheck("tab_sound:check_eax",         self)

--   c = xml:InitSpinText("tab_sound:list_speakersetup",   self)
--   c:Enable(false)


In 1.30013 there is:
Code: Select all
--   c = xml:InitCheck("tab_sound:check_reverse",      self)
--   c:Enable(false)
--   xml:InitCheck("tab_sound:check_eax",            self)
   xml:InitStatic("tab_sound:cap_snd_device",         self)
   xml:InitComboBox("tab_sound:combo_snd_device",      self)
   xml:InitCheck("tab_sound:check_snd_accel",         self)

--   c = xml:InitSpinText("tab_sound:list_speakersetup",   self)
--   c:Enable(false)


So in 1.30013 they have commented out the line which is now causing your crash.

So I would recommend you to try the clean installation again. Best is to backup your saved games, uninstall the game completely and install it again (that is what I did)
valsorim77
Newbie
 
Posts: 10
Joined: Thu May 01, 2014 6:35 am

Re: My fixes/improvements (Updated for 1.30013)

Postby Mordeth » Sat May 03, 2014 8:13 pm

@valsorim77
Thank you...did as you suggested (actually did it right after my post...figured I'd messed something up), and everything works. :oops: Not sure how I messed up the uninstall, etc., but it works now. :D I really like the new video options.
Mordeth
Newbie
 
Posts: 9
Joined: Tue Apr 29, 2014 1:18 am

Re: My fixes/improvements (Updated for 1.30013)

Postby Gadjo » Sun May 04, 2014 1:10 am

Thank you. Adding sliders for lighting parameters is pure win. I can finally tweak until the game looks good on my monitor and settings. It's finally close to where I want it, and best of all, I can adjust on the fly to suit the current weather and level.
Gadjo
Newbie
 
Posts: 3
Joined: Mon Apr 28, 2014 11:59 pm

Re: My fixes/improvements (Updating for 1.3001)

Postby PQNY » Sun May 04, 2014 5:10 pm

dez wrote:you should download the latest patch 1.30013, but read the readme carefully, its not compatible with user made fixes, so you need to reinstall the game bfore that to get rid of the extra stuff you added in.


What do you do when the community fixes a bug before you do? Do you incorporate it into the next patch? Or do you take a look at it to get a hint in the right direction of fixing it properly?
PQNY
Newbie
 
Posts: 22
Joined: Mon Apr 28, 2014 12:33 am


Return to Lost Alpha

Who is online

Users browsing this forum: No registered users and 18 guests

cron