 |
 |
 |
|
 |
 |
 |
|
 |
 |
Reoccuring Issue- Ridiculously Simple? |
|
1 2 |
|
|
06:24:12 13 September 2012 |
|
The_Duke
(Novice) On forum: 09/13/2012
Messages: 4
|
Reoccuring Issue- Ridiculously Simple?
Beginner modder here, trying to achieve something basic. Cheers fellas.
Following the generic instructions for modding/implementing mods I did the following essentials:
- Created a new gamedata folder.
- Changed "false" to "true" for the gamedata line in fsgame.ltx.
Theoretically something should be uploadable now. I use 1.0005 by the way, have played it plain, and have reinstalled it multiple times in my struggle with implementing mods.
To get at the dbx files, I extracted the necessary one to an outside folder, changed a subfile (simple addition of starter money- I AM a beginner), and uploaded that single subfile, with correct path I think, into gamedata. Game will start (sigh of relief, in previous attempts it used to crash at initiation), start new game and... crash with XR_3DA not responding.
Fatal report as such:
[error]Expression : header().graph_guid() == ai().game_graph().header().guid()
[error]Function : CALifeSpawnRegistry::load
[error]File : E:\stalker\sources\trunk\xr_3da\xrGame\alife_spawn_registry.cpp
[error]Line : 167
[error]Description : Spawn doesn't correspond to the graph : REBUILD SPAWN!
Why is this coming around? Now I'll delete the gamedata folder to see if rest is ok... nope, now it persists. What on earth?
Aid would be appreciated,
Duke |
13:03:05 13 September 2012 |
|
Storm Shadow
A machine, a Shadow Machine. (Resident)
 On forum: 11/14/2007
 Message edited by: Storm Shadow 09/13/2012 13:12:53
Messages: 1430
|
bro, 1st of all - welcome to the forums and good to see another keen modder join our fading community.
you sound like you've made a good start. im not sure what you've edited to get that error, but the only way to change the starting amount of money is to de-compile the all.spawn, then open up alife_l01_escape.ltx and find section_name = actor, then scroll down to:
; cse_alife_trader_abstract properties
money = 80 and change that value as you see fit. then you will need to re-compile the all.spawn and start a new game for any changes to take effect.
this is quite a complex process for the beginner, but there are tutorials on it around.
which is why i will advise that the easiest way to give yourself any stuffs at the start of the game is to edit what Wolf gives you when you start the 1st quest.
to do this, open up escape_dialog.script and do a search for fox (i know this sounds weird, but the code for wolf isnt commented and its right below the code for fox, this is the easiest way to find it), then scroll down to:
function give_weapon_to_actor (trader, actor)
dialogs.relocate_item_section(trader, "wpn_pm", "in")
dialogs.relocate_item_section(trader, "ammo_9x18_fmj", "in")
dialogs.relocate_item_section(trader, "ammo_9x18_fmj", "in")
dialogs.relocate_item_section(trader, "wpn_knife", "in")
end and just add in any new lines of any equip that you want. if you want money, then add in the line:
dialogs.relocate_money(second_speaker, 1500, "in") setting the amount as you see fit.
hope this helps, shad.
PS - if you absolutely want to start with the money (or other items), then this is how i edit the all.spawn (with active pearl):
Editing all.spawn
http://sdk.stalker-game.com/en/index.php?title=Editing_all.spawn
I have heard that you can now edit it with the SDK, which might actually be a bit esier (i havnt done this my self tho):
Editing all.spawn file with xrSpawner
http://sdk.stalker-game.com/en/index.php?title=Editing_all.spawn_file_with_xrSpawner
EDIT:
to answer your question; that CTD (crash to desktop) can be caused by either:
loading a saved game from a different mod.
making certain / massive changes to your all.spawn, then loading a previous save game
using an all.spawn file from a different patch version, whether you started a new game or not (make sure that you patched your game before you extracted your db files).
maybe other reasons i cant think of right now too.
_________________________________________________________________
STALKER Rebalanced v1.2
An Evolution in Stalker Gameplay
http://www.moddb.com/mods/rebalanced
|
13:59:51 13 September 2012 |
|
angrydog
Senior Resident
 On forum: 09/01/2009
Messages: 3341
|
---QUOTATION--- you sound like you've made a good start. im not sure what you've edited to get that error, but the only way to change the starting amount of money is to de-compile the all.spawn ---END QUOTATION---
you don't need to edit the all.spawn to change the starting money.
open up the \gamedata\config\gameplay\character_desc_general.xml
find the
<reputation>0</reputation>
<visual>actors\hero\stalker_novice</visual>
lines in the actor section
add in this line
<money min="100000" max="100000" infinitive="0"/>
you can change the money value to whatever you like
so it looks like this:
<reputation>0</reputation>
<money min="100000" max="100000" infinitive="0"/>
<visual>actors\hero\stalker_novice</visual>
save the file and start a new game |
14:32:11 13 September 2012 |
|
angrydog
Senior Resident
 On forum: 09/01/2009
 Message edited by: angrydog 09/13/2012 14:38:44
Messages: 3341
|
---QUOTATION--- you don't need to edit the all.spawn to change the starting money.
open up the \gamedata\config\gameplay\character_desc_general.xml
yeah, you're right. i just thought that wouldnt work for moneys cos it dosnt work for items. but it does work for money, and is much simpler. ---END QUOTATION---
you can't change the start items in the character_desc_general.xml because the actor section in the all.spawn has a [dont_spawn_character_supplies] line in the custom data. if you remove that line then you can use the character_desc_general.xml to spawn starting supplies.
as you said, editing the all spawn is an advanced skill. editing the escape_dialog.script, as you suggested, is a less complicated way for beginners to mod the items you get in the opening tasks of the game; and it can be used without a restart of the game. |
07:31:05 14 September 2012 |
|
The_Duke
(Novice) On forum: 09/13/2012
Messages: 4
|
What a welcome! Thanks guys.
Your suggestion to change what Wolf gives you at the beginning was spot on. I read about it here (Atrocious, 3rd post): http://forums.filefront.com/s-t-l-k-e-r-soc-modding-mapping-editing/362105-tutorial-how-edit-trader-files.html#post4342355
Really simple thing I figured, and I think I did it all correctly- got paths right and such.
"EDIT:
to answer your question; that CTD (crash to desktop) can be caused by either:
loading a saved game from a different mod.
making certain / massive changes to your all.spawn, then loading a previous save game
using an all.spawn file from a different patch version, whether you started a new game or not (make sure that you patched your game before you extracted your db files).
maybe other reasons i cant think of right now too."
Could I just have a faulty disc or something? I did none of the above, though I'll try patching and extracting in that order. Means re-installation (again). I've since updated to 1.06 and still a new game won't start, whether there's a gamedata folder or not.
Given my spawn error- should I delve into allspawn on my next go and edit a file that might fix it?
Cheers,
Duke |
08:10:12 14 September 2012 |
|
Storm Shadow
A machine, a Shadow Machine. (Resident)
 On forum: 11/14/2007
 Message edited by: Storm Shadow 09/14/2012 8:25:16
Messages: 1430
|
---QUOTATION--- Could I just have a faulty disc or something? I did none of the above, though I'll try patching and extracting in that order. Means re-installation (again). I've since updated to 1.06 and still a new game won't start, whether there's a gamedata folder or not. ---END QUOTATION---
We're glad to help bro. Look i really dont know what caused your crash. i would recommend:
1. uninstall
2. reinstall
3. patch to v1.0005
4. extract db files
5. start modding.
note that patch 1.0006 was recalled for being really really shit and causing errors. therefore 1.0005 is the latest official version, and the version that i use and many other modders do too. some modders prefer v1.0004 tho (seems especially Russian modders). so, its up to you which patch version you use. just dont use 1.0006.
sweet bro.
edit: maybe you fucked up your fsgame.ltx file. below is from the tweak guide:
---QUOTATION--- To use modified files with STALKER, you will first need to open your fsgame.ltx file found under the \Program Files\THQ\S.T.A.L.K.E.R. - Shadow of Chernobyl directory. Open this file with a text editor like Notepad, and find the following line:
$game_data$ = false| true| $fs_root$| gamedata
Change the false to true, i.e.:
$game_data$ = true| true| $fs_root$| gamedata
This will tell STALKER to first load up any game asset files which exist in appropriate subdirectories under \Program Files\THQ\S.T.A.L.K.E.R. - Shadow of Chernobyl, before loading them up from the archived .db* files. In other words this allows you to extract files from the archives, modify them, and have STALKER recognize and load them instead of the original versions. If you've downloaded a mod, follow the directions which come with each mod as to where it should be placed. Typically all you need to do is just extract it to the directory above and it will create the appropriate subdirectories. ---END QUOTATION---
http://www.tweakguides.com/STALKER_4.html
note that although the tweak guide still contains lots of usefull info, it is rather out of date now. it still recommends the 1.0006 patch, even tho that was recalled and some of its reference links are long since dead.
enjoy 
_________________________________________________________________
STALKER Rebalanced v1.2
An Evolution in Stalker Gameplay
http://www.moddb.com/mods/rebalanced
|
19:31:29 14 September 2012 |
|
SacriPan
Senior Resident
 On forum: 09/20/2009
Messages: 319
|
---QUOTATION--- so, its up to you which patch version you use. just dont use 1.0006. ---END QUOTATION---
Hey Shad, could you be more specific about those issues, cause Ive been using this patch for some years now and I never had any weird issues with it. I already had this argument with Insanelazarez, as he reported strange behavior with Nimble in cordon (for example), but it NEVER happened to me.
I'd be happy to hear from you on that, unless you don't have the details and youve just heard of it. Or maybe a link that sum up those so called problems.
Thanks |
00:20:36 16 September 2012 |
|
The_Duke
(Novice) On forum: 09/13/2012
 Message edited by: The_Duke 09/16/2012 0:49:52
Messages: 4
|
Yeah, I've been precise about changing that folder. No mistakes there.
The problem is with the gamedata folder simply existing, even without a byte of info in it. I went step by step, with each change or addition starting the game and creating a new game. Patched to 1.05 is good, works. Creation of the gamedata folder (empty): crash on a new game. Deletion of that empty gamedata folder? Crash on new game.
Checked log after all this, without so much as a change to an LTX or any other file. The addition of a gamedata folder results in:
[error]Expression : header().graph_guid() == ai().game_graph().header().guid()
[error]Function : CALifeSpawnRegistry::load
[error]File : E:\stalker\sources\trunk\xr_3da\xrGame\alife_spawn_registry.cpp
[error]Line : 167
[error]Description : Spawn doesn't correspond to the graph : REBUILD SPAWN!
Really?! What does one have to do to simply mod?
Cheers and thanks,
Duke
PS Anyone have a list of all the places Stalker loads itself onto your computer? Registry and such? Not very familiar with this, but I'm thinking I'd like to purge this system of all previous references to the game for the next re-install. |
01:03:07 16 September 2012 |
|
angrydog
Senior Resident
 On forum: 09/01/2009
 Message edited by: angrydog 09/16/2012 23:37:40
Messages: 3341
|
---QUOTATION--- Yeah, I've been precise about changing that folder. No mistakes there.
The problem is with the gamedata folder simply existing, even without a byte of info in it. I went step by step, with each change or addition starting the game and creating a new game. Patched to 1.05 is good, works. Creation of the gamedata folder (empty): crash on a new game. Deletion of that empty gamedata folder? Crash on new game.
Checked log after all this, without so much as a change to an LTX or any other file. The addition of a gamedata folder results in:
[error]Expression : header().graph_guid() == ai().game_graph().header().guid()
[error]Function : CALifeSpawnRegistry::load
[error]File : E:\stalker\sources\trunk\xr_3da\xrGame\alife_spawn_registry.cpp
[error]Line : 167
[error]Description : Spawn doesn't correspond to the graph : REBUILD SPAWN!
Really?! What does one have to do to simply mod?
Cheers and thanks,
Duke
PS Anyone have a list of all the places Stalker loads itself onto your computer? Registry and such? Not very familiar with this, but I'm thinking I'd like to purge this system of all previous references to the game for the next re-install. ---END QUOTATION---
Duke,
Are you running Win 7? if so then the VirtualStore function might be causing your problems. more info here in NatVac's post:
https://www.gsc-game.com/index.php?t=community&s=forums&s_game_type=xr&thm_page=177&thm_id=21240&sec_id=16&page=1
basically you need to delete all this VirtualStore stuff and make sure you are running STALKER under full Admin privileges. you can get more info about VirtualStore thru Google |
20:34:35 17 September 2012 |
|
SacriPan
Senior Resident
 On forum: 09/20/2009
Messages: 319
|
So no real problems with 1.6 for a singleplayer experience then ... |
00:56:13 18 September 2012 |
|
The_Duke
(Novice) On forum: 09/13/2012
Messages: 4
|
AngryDog: That did the trick. Thanks a great deal! Curious why googling this issue did not result with VirtualStore. Ridiculously simple?
-Duke |
|
1 2 |
|
|
|
» » |
|
All short dates are in Month-Day-Year format. |
 |
|
 |
|
|
|
 |
 |
 |