📧 Message Board Archive

Legend of Prnu Beta 2 - Starting Problems
Legend of Prnu Beta 2 - Starting Problems



My computer kicks me back to Windows when starting lopb2 It just loads the screen with the name, author and version, then it goes back.



I've found the problem:

The logfile gives these errors during the startup:



Dink:Sprite_load_pak error:  Couldn't load rune-01.bmp.

Dink:Sprite_load_pak error:  Couldn't load itemr-01.bmp.

Dink:Sprite_load_pak error:  Couldn't load but1-01.bmp.



But that's not the real problem, the last debugline is this one:



Dink:Script main is entered at offset 0.



So I check the main.d file in the story dir, it's 0 bytes! So in other words, the file main.d doesn't exist. Dink detected that problem and stops. :(



Simeon
Re: Legend of Prnu Beta 2 - Starting Problems
Legend of Prnu Beta 2 - Starting Problems



In addition to my previous message, I'd like add something. I've noticed that these files are also 0 bytes:



ERIC.d

HOME.d

LEARN.d

MAIN.d



The problem is the ASCII set Dink uses. When the compiler compiles, the .c files are changed in .d files. The compression format need the ASCII characters from 128 to 255 so 'difficult' characters aren't supported. For example, a german character (looks like a B, don't know how to type it now) isn't supported.

If a script contains any, compile.exe won't compile and create an empty script - if you used compall.bat, you'll not see the error. All the global variables are in main.d, so Timo has used a global variable with a character which the compiler didn't support.



So this is my advice:



Timo, you'll need to edit the files I just named and look for the variable that causes the problem. Then change them into a variable with supported characters.



Simeon
Re: Legend of Prnu Beta 2 - Starting Problems
: Legend of Prnu Beta 2 - Starting Problems

: In addition to my previous message, I'd like add something. I've noticed that these files are also 0 bytes:

: ERIC.d

: HOME.d

: LEARN.d

: MAIN.d

: The problem is the ASCII set Dink uses. When the compiler compiles, the .c files are changed in .d files. The compression format need the ASCII characters from 128 to 255 so 'difficult' characters aren't supported. For example, a german character (looks like a B, don't know how to type it now) isn't supported.

: If a script contains any, compile.exe won't compile and create an empty script - if you used compall.bat, you'll not see the error. All the global variables are in main.d, so Timo has used a global variable with a character which the compiler didn't support.

: So this is my advice:

: Timo, you'll need to edit the files I just named and look for the variable that causes the problem. Then change them into a variable with supported characters.

: Simeon

can u guys tell me when this is sorted out, as, I have downloaded this game and I have the same problem, I keep going back to windows.

I wanna play...so tell me what to do, or, inform me that u have made whatever changes have to be made...do I have to download again?
Re: Legend of Prnu Beta 2 - Starting Problems
Legend of Prnu Beta 2 - Starting Problems



can u guys tell me when this is sorted out, as, I have downloaded this game and I have the same problem, I keep going back to windows.

I wanna play...so tell me what to do, or, inform me that u have made whatever changes have to be made...do I have to download again?



Well, the .d files are 0 bytes so there's nothing in them. You can't play because of the fact that Dink detected that main.d is empty, then it stops and goes back to Windows. There's nothing do about it for you, only Timo who has the original .c files can change them and compile them to correct .d files. Needless to say that you don't have to download it again, it's not a downloadproblem, it's only a problem with those files. All you can do is wait till Timo has fixed it.



Simeon
Re: Legend of Prnu Beta 2 - Starting Problems
Thanks!

:)
Re: Legend of Prnu Beta 2 - Starting Problems
: Thanks!

: :)



You should also look for any words with unsupported characters (so not only variables), they can also let the compiler refuse to compile.



Simeon