Frictional Games Forum (read-only)
Making custom story and error pops up - 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: Making custom story and error pops up (/thread-13817.html)

Pages: 1 2


Making custom story and error pops up - Sinthetic - 03-06-2012

Hello, I registered here to get hopefully some help :) I made a custom story, which worked fine and I actually finished it. Then after one night I decided to play the story to make sure it actually is complete. I chose the story
and started it. But now it pops an error.
http://imageshack.us/photo/my-images/441/blackboxf.png/
I already searched the forum but didn't find a solution :I
Here's some details:

hpl.log :

WARNING: No resources element found in 'custom_stories/Alex's Story/extra_english.lang'
ERROR: Could not open file C:/Program Files (x86)/Amnesia - The Dark Descent/redist/custom_stories/Alex's Story/story.png for reading!
ERROR: Texture manager Couldn't load bitmap 'C'



my .lang file:

Spoiler below!


<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">Alex on saanut uuden tietokoneen ja juoksee pain seinaa ja menettaa tajunsa.
Herattyaan han huomaa etta kone on kadonnut. Olisikohan Reijolla nappinsa pelissa?</Entry>
</CATEGORY>



<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_monsterdoorkey">"Avain kauheuksiin"</Entry>
<Entry Name="ItemName_monsterdoorkey">Reijon huoneen avain</Entry>

<Entry Name="ItemDesc_salaixuus">"Kokis huoneen avain"</Entry>
<Entry Name="ItemName_salaixuus">Avain Jumalten Nektaariin</Entry>

<Entry Name="ItemDesc_alexinavain">"Avain vittuun taalta"</Entry>
<Entry Name="ItemName_alexinavain">Tama on avain.</Entry>

<Entry Name="ItemDesc_scarekey">"Tama on myos avain"</Entry>
<Entry Name="ItemName_scarekey">piece of shizzle.</Entry>

<Entry Name="ItemDesc_truthkey">"Avain karmeaan totuuteen"</Entry>
<Entry Name="ItemName_truthkey">Totuuden avain</Entry>

<Entry Name="ItemDesc_jumpkey">"IRL-Avain"</Entry>
<Entry Name="ItemName_jumpkey">Avain elamaan, JUOKSE SAATANAN IDIOOTTI!</Entry>


</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Note_theletter_Name">Rakkaani...</Entry>
<Entry Name="Note_theletter_Text">Mun tietokone oli [br] TASSA! </Entry>

<Entry Name="Note_santunkirje_Name">Lihava poika</Entry>
<Entry Name="Note_santunkirje_Text"> Naulasin Santun tahan kun se ei hakenut mulle kokista ja peliaikani WoWista oli loppu...
[br] [br] Taytyy varmaan tuulettaa ettei mutsi huomaa...</Entry>

<Entry Name="Note_buddha_Name">Hihi</Entry>
<Entry Name="Note_buddha_Text">Kaveri pystyy polttaa kynttioi maassa! </Entry>


<Entry Name="Note_myyty_Name">Saatanan Idiootti</Entry>
<Entry Name="Note_myyty_Text">HAHHA! Vitun idiootti. [br] [br] Myin sun konees lol. Mites
nyt suu pannaan? [br] Terveisin Reiska Rage Reijo Veijo Teijo. [br] PS. Piilotin salaisuuden
viimeiseen huoneeseen.</Entry>

<Entry Name="Note_kokikset_Name">Anteeksi</Entry>
<Entry Name="Note_kokikset_Text">Join sun kokikset. Lol. [br] [br] BTW
Mun kasi on lattiassa jumissa :( HELP MEH![br] [br] Terveisin Saimi </Entry>

<Entry Name="Note_palaset_Name">Reijon viimeinen kirje</Entry>
<Entry Name="Note_palaset_Text">Enhan mina oikeasti konettasi myynyt. [br] [br]
Tassahan se on palasina lattialla, niinkuin varmaan huomasit. Hyvaa viikonloppua
sinullekkin. Muistathan ottaa avaimen lattialta, jonka avulla paaset tutustumaan
ns. Oikeaan elamaan. [br] -Reijo </Entry>

</CATEGORY>

<CATEGORY Name="Messages">
<Entry Name="Popup1">Kyllapas janottaa. Onneksi taman oven takaa loytyy
salainen kokis katko! :)</Entry>

<Entry Name="Kokistasaatana"> Nyt sita kolajuommoo tanne ja heti! :( </Entry>
<Entry Name="jumalautakokis"> JUMALAUTA! KAIKKI JUOTU?! :I </Entry>
</CATEGORY>

<CATEGORY Name="Ending">

<Entry Name="MainCredits">ALEX'S STORY [br][br][br] Mika oli tarinan moraali? [br] [br] Mun kahvi on kylmaa.
[br] Ja ettei Alexin tietokonetta saa rikkoa :(</Entry>

</CATEGORY>




</LANGUAGE>





I think there might be something wrong in the .lang file but I can't find out what :I
I would appreaciate if someone is able to help me:)








RE: Making custom story and error pops up - Nevicar - 03-06-2012

Quote:WARNING: No resources element found in 'custom_stories/Alex's Story/extra_english.lang'
ERROR: Could not open file C:/Program Files (x86)/Amnesia - The Dark Descent/redist/custom_stories/Alex's Story/story.png for reading!
ERROR: Texture manager Couldn't load bitmap 'C'

The only thing that I can think of, because of the error message, is that you may be trying to point to an image in your custom_story_settings.cfg file in your custom_stories/Alex's Story folder.

Maybe look in there and see if there's something trying to point to an image that doesn't exist?

Hope this helps. Sad


RE: Making custom story and error pops up - Sinthetic - 03-06-2012

There is a ''story.png'' image in the folder.. :I Thank you for trying still Smile

E: Forgot to mention, the error started to pop up after I copied the ''mapname.map'' file from desktop to the
map folder, because I couldn't see the .map file myself (but the mapeditor could still open it and I was able to play it) so I read some posts of this problem and the solution was to save the .map file to desktop and then copy it to
maps folder. So after I did that, the error started to show up :I


RE: Making custom story and error pops up - Nevicar - 03-06-2012

Bah, oh well, honestly if no one can help you here I'd say post it in Technical Support. Some of the Frictional Games team check the forums last I checked, and I'm sure he'd be able to shed some light on your problem.

But that's only if no one helps you here. Smile

Good luck! <3


RE: Making custom story and error pops up - Unearthlybrutal - 03-06-2012


Try this:

Kokeile tota .lang tiedostoon:


Spoiler below!

<LANGUAGE>




<RESOURCES>
</RESOURCES>


<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">Alex on saanut uuden tietokoneen ja juoksee pain seinaa ja menettaa tajunsa.
Herattyaan han huomaa etta kone on kadonnut. Olisikohan Reijolla nappinsa pelissa?</Entry>
</CATEGORY>



<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_monsterdoorkey">"Avain kauheuksiin"</Entry>
<Entry Name="ItemName_monsterdoorkey">Reijon huoneen avain</Entry>

<Entry Name="ItemDesc_salaixuus">"Kokis huoneen avain"</Entry>
<Entry Name="ItemName_salaixuus">Avain Jumalten Nektaariin</Entry>

<Entry Name="ItemDesc_alexinavain">"Avain vittuun taalta"</Entry>
<Entry Name="ItemName_alexinavain">Tama on avain.</Entry>

<Entry Name="ItemDesc_scarekey">"Tama on myos avain"</Entry>
<Entry Name="ItemName_scarekey">piece of shizzle.</Entry>

<Entry Name="ItemDesc_truthkey">"Avain karmeaan totuuteen"</Entry>
<Entry Name="ItemName_truthkey">Totuuden avain</Entry>

<Entry Name="ItemDesc_jumpkey">"IRL-Avain"</Entry>
<Entry Name="ItemName_jumpkey">Avain elamaan, JUOKSE SAATANAN IDIOOTTI!</Entry>


</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Note_theletter_Name">Rakkaani...</Entry>
<Entry Name="Note_theletter_Text">Mun tietokone oli [br] TASSA! </Entry>

<Entry Name="Note_santunkirje_Name">Lihava poika</Entry>
<Entry Name="Note_santunkirje_Text"> Naulasin Santun tahan kun se ei hakenut mulle kokista ja peliaikani WoWista oli loppu...
[br] [br] Taytyy varmaan tuulettaa ettei mutsi huomaa...</Entry>

<Entry Name="Note_buddha_Name">Hihi</Entry>
<Entry Name="Note_buddha_Text">Kaveri pystyy polttaa kynttioi maassa! </Entry>


<Entry Name="Note_myyty_Name">Saatanan Idiootti</Entry>
<Entry Name="Note_myyty_Text">HAHHA! Vitun idiootti. [br] [br] Myin sun konees lol. Mites
nyt suu pannaan? [br] Terveisin Reiska Rage Reijo Veijo Teijo. [br] PS. Piilotin salaisuuden
viimeiseen huoneeseen.</Entry>

<Entry Name="Note_kokikset_Name">Anteeksi</Entry>
<Entry Name="Note_kokikset_Text">Join sun kokikset. Lol. [br] [br] BTW
Mun kasi on lattiassa jumissa Sad HELP MEH![br] [br] Terveisin Saimi </Entry>

<Entry Name="Note_palaset_Name">Reijon viimeinen kirje</Entry>
<Entry Name="Note_palaset_Text">Enhan mina oikeasti konettasi myynyt. [br] [br]
Tassahan se on palasina lattialla, niinkuin varmaan huomasit. Hyvaa viikonloppua
sinullekkin. Muistathan ottaa avaimen lattialta, jonka avulla paaset tutustumaan
ns. Oikeaan elamaan. [br] -Reijo </Entry>
</CATEGORY>

<CATEGORY Name="Messages">
<Entry Name="Popup1">Kyllapas janottaa. Onneksi taman oven takaa loytyy
salainen kokis katko! Smile</Entry>

<Entry Name="Kokistasaatana"> Nyt sita kolajuommoo tanne ja heti! Sad </Entry>
<Entry Name="jumalautakokis"> JUMALAUTA! KAIKKI JUOTU?! :I </Entry>
</CATEGORY>

<CATEGORY Name="Ending">
<Entry Name="MainCredits">ALEX'S STORY [br][br][br] Mika oli tarinan moraali? [br] [br] Mun kahvi on kylmaa.
[br] Ja ettei Alexin tietokonetta saa rikkoa Sad</Entry>
</CATEGORY>

</LANGUAGE>






RE: Making custom story and error pops up - Sinthetic - 03-06-2012

(03-06-2012, 08:40 PM)Unearthlybrutal Wrote: Try this:

Kokeile tota .lang tiedostoon:


Spoiler below!











Alex on saanut uuden tietokoneen ja juoksee pain seinaa ja menettaa tajunsa.
Herattyaan han huomaa etta kone on kadonnut. Olisikohan Reijolla nappinsa pelissa?





"Avain kauheuksiin"
Reijon huoneen avain

"Kokis huoneen avain"
Avain Jumalten Nektaariin

"Avain vittuun taalta"
Tama on avain.

"Tama on myos avain"
piece of shizzle.

"Avain karmeaan totuuteen"
Totuuden avain

"IRL-Avain"
Avain elamaan, JUOKSE SAATANAN IDIOOTTI!





Rakkaani...
Mun tietokone oli [br] TASSA!

Lihava poika
Naulasin Santun tahan kun se ei hakenut mulle kokista ja peliaikani WoWista oli loppu...
[br] [br] Taytyy varmaan tuulettaa ettei mutsi huomaa...

Hihi
Kaveri pystyy polttaa kynttioi maassa!


Saatanan Idiootti
HAHHA! Vitun idiootti. [br] [br] Myin sun konees lol. Mites
nyt suu pannaan? [br] Terveisin Reiska Rage Reijo Veijo Teijo. [br] PS. Piilotin salaisuuden
viimeiseen huoneeseen.

Anteeksi
Join sun kokikset. Lol. [br] [br] BTW
Mun kasi on lattiassa jumissa Sad HELP MEH![br] [br] Terveisin Saimi

Reijon viimeinen kirje
Enhan mina oikeasti konettasi myynyt. [br] [br]
Tassahan se on palasina lattialla, niinkuin varmaan huomasit. Hyvaa viikonloppua
sinullekkin. Muistathan ottaa avaimen lattialta, jonka avulla paaset tutustumaan
ns. Oikeaan elamaan. [br] -Reijo



Kyllapas janottaa. Onneksi taman oven takaa loytyy
salainen kokis katko! Smile

Nyt sita kolajuommoo tanne ja heti! Sad
JUMALAUTA! KAIKKI JUOTU?! :I



ALEX'S STORY [br][br][br] Mika oli tarinan moraali? [br] [br] Mun kahvi on kylmaa.
[br] Ja ettei Alexin tietokonetta saa rikkoa Sad







Thank you (writing in english if it helps someone) I added the ''<RESOURCES> </RESOURCES> and got the same error, BUT now the hpl.log says only:

ERROR: Could not open file C:/Program Files (x86)/Amnesia - The Dark Descent/redist/custom_stories/Alex's Story/story.png for reading!
ERROR: Texture manager Couldn't load bitmap 'C'

So it removed one problem but two keeps remaining :I

Sorry for double post. I changed the .png image to .jpg image and now it shows the image BUT I still get an error which is slightly different than the first one:
http://imageshack.us/photo/my-images/861/blackbox2.png/


And my hpl.log doesnt give me any errors? I'm running out of ideas myself now .__.


RE: Making custom story and error pops up - Your Computer - 03-07-2012

Attach your custom story.


RE: Making custom story and error pops up - Sinthetic - 03-07-2012

(03-07-2012, 12:10 AM)Your Computer Wrote: Attach your custom story.
This may sound rude and annoying but how do I that? Confused
Sorry, new to scripting stuff, and appreciating your help! Smile


RE: Making custom story and error pops up - Your Computer - 03-07-2012

(03-07-2012, 06:09 AM)Sinthetic Wrote: This may sound rude and annoying but how do I that? Confused
Sorry, new to scripting stuff, and appreciating your help! Smile

By using the attachments feature of the forum. If the archive is too big or not allowed, then use a free file-hosting service.


RE: Making custom story and error pops up - Sinthetic - 03-07-2012

(03-07-2012, 08:10 AM)Your Computer Wrote:
(03-07-2012, 06:09 AM)Sinthetic Wrote: This may sound rude and annoying but how do I that? Confused
Sorry, new to scripting stuff, and appreciating your help! Smile

By using the attachments feature of the forum. If the archive is too big or not allowed, then use a free file-hosting service.
Hopefully I do this right :I


http://www.crocko.com/C25A12433B6B4DDDA9FE630D31276706/Alex's_Story.rar