Lang file crashes custom story! - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Lang file crashes custom story! (/thread-24286.html) Pages:
1
2
|
Lang file crashes custom story! - Radical Batz - 01-04-2014 Everytime I click on my custom story! It just crashes the game after I edited the lang file! is there something wrong in it? this is the error message it gets when i click on my custom story! "Amnesia.exe EXCEPTION_ACCESS_VIOLATION caused in module MSVCR71.dll at 001B:7C3417B, strlen()+0038 byte(s) <LANGUAGE> <CATEGORY Name="CustomStoryMain"> <Entry Name="Description">Your name is Richard Anderson and you are a Reporter! Your Boss told you to take some photos of an Abandoned Castle, but when you got closer to the castle, a creature came out and quickly hit you which caused you to faint and then it trapped you inside the castle and there's no escape! You must explore and find a way to get out of the castle before it's too late!</Entry> </CATEGORY> <CATEGORY Name="Journal"> <Entry Name="Note_HiddenKey_Name">Hidden Key</Entry> <Entry Text="Note_HiddenKey_Name">Hello</Entry> </CATEGORY> <CATEGORY Name="Inventory"> <Entry Name="ItemName_TestItem">Food Storage Key</Entry> <Entry Name="ItemDesc_TestItem">This is the key of the "Food Storage"</Entry> </CATEGORY> <CATEGORY Name="Levels"> <Entry Name="MasterBedroom">Master Bedroom</Entry> <Entry Name="FoodStorage">Food Storage</Entry> </CATEGORY> <CATEGORY Name="CustomCatLevels"> <Entry Name="CustomEntryLevel">The "Master Bedroom" door is locked. You need the "Master Bedroom Key" to unlock it.</Entry> <Entry Name="CustomEntryLevel2">The "Food Storage" door is locked. You need the "Food Storage Key" to unlock it.</Entry> </CATEGORY> </LANGUAGE> RE: Lang file crashes custom story! - The chaser - 01-04-2014 Try replacing this: <CATEGORY Name="Inventory"> <Entry Name="ItemName_TestItem">Food Storage Key</Entry> <Entry Name="ItemDesc_TestItem">This is the key of the "Food Storage"</Entry> </CATEGORY> For this: <CATEGORY Name="Inventory"> <Entry Name="ItemName_TestItem">Food Storage Key</Entry> <Entry Name="ItemDesc_TestItem">This is the key of the Food Storage</Entry> </CATEGORY> The ("") might be the problem RE: Lang file crashes custom story! - Radical Batz - 01-04-2014 (01-04-2014, 01:52 AM)The chaser Wrote: Try replacing this:Still did not work (01-04-2014, 01:52 AM)The chaser Wrote: Try replacing this:The crash only started to happen is when i added this! <CATEGORY Name="Levels"> <Entry Name="MasterBedroom">Master Bedroom</Entry> <Entry Name="FoodStorage">Food Storage</Entry> </CATEGORY> <CATEGORY Name="CustomCatLevels"> <Entry Name="CustomEntryLevel">The "Master Bedroom" door is locked. You need the "Master Bedroom Key" to unlock it.</Entry> <Entry Name="CustomEntryLevel2">The "Food Storage" door is locked. You need the "Food Storage Key" to unlock it.</Entry> RE: Lang file crashes custom story! - WALP - 01-04-2014 I dont think "" is supported by amnesia lang, At least I got strange stuff in my notes when I used those and had to manage with "-word-" instead. RE: Lang file crashes custom story! - The chaser - 01-04-2014 By what I've seen, try replacing this: <CATEGORY Name="CustomCatLevels"> <Entry Name="CustomEntryLevel">The "Master Bedroom" door is locked. You need the "Master Bedroom Key" to unlock it.</Entry> <Entry Name="CustomEntryLevel2">The "Food Storage" door is locked. You need the "Food Storage Key" to unlock it.</Entry> For this: <CATEGORY Name="CustomCatLevels"> <Entry Name="CustomEntryLevel">The Master Bedroom door is locked. You need the Master Bedroom Key to unlock it.</Entry> <Entry Name="CustomEntryLevel2">The Food Storage door is locked. You need the Food Storage Key to unlock it.</Entry> This one doesn't have ("") in the text, for the reason The Mug said: The "" are not supported in entries in .lang files. RE: Lang file crashes custom story! - Radical Batz - 01-04-2014 (01-04-2014, 01:00 PM)The chaser Wrote: By what I've seen, try replacing this:ok, It's fixed but IO have another problem now, later I fixed the lang file I have another problem which is worse! I just posted a thread of it! it's called "hps file doesn't work after using the lang file! which is a strange error RE: Lang file crashes custom story! - daortir - 01-04-2014 MOAR THREADS FOR THE GOD OF THREADS ! RE: Lang file crashes custom story! - Radical Batz - 01-04-2014 (01-04-2014, 01:23 PM)daortir Wrote: MOAR THREADS FOR THE GOD OF THREADS ! I already tracked it, can't wait to play it! keep up the good work RE: Lang file crashes custom story! - daortir - 01-04-2014 (01-04-2014, 01:29 PM)Badcat5550 Wrote:(01-04-2014, 01:23 PM)daortir Wrote: MOAR THREADS FOR THE GOD OF THREADS ! Damn, now my signature is longer than some of my posts : x. Thanks for the support. I wish I could help you with your issue but I'm really bad with scripting and stuff >///<... RE: Lang file crashes custom story! - Radical Batz - 01-04-2014 (01-04-2014, 01:40 PM)daortir Wrote:(01-04-2014, 01:29 PM)Badcat5550 Wrote:(01-04-2014, 01:23 PM)daortir Wrote: MOAR THREADS FOR THE GOD OF THREADS ! I wish I could fix my problem, if there's no fix then I don't know what to do! |