Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Story Description Image[Solved]
Noj Offline
Junior Member

Posts: 11
Threads: 2
Joined: Oct 2010
Reputation: 0
#1
Story Description Image[Solved]

Created a image (PNG format) and set it to be used as imgfile, it is in the same folder as the custom_story_settings.cfg file.

<Main
...
ImgFile = "screen3.png"
...
/>

but the Game crashes when I click on the story name to load it, the hpl2 documents say almost nothing on this image that I can find so im guessing maybe this picture has to be a certain resolution? format? or compression? why is this image causing the game to crash?
10-01-2010, 06:11 AM
Find
Equil Offline
Member

Posts: 94
Threads: 8
Joined: Sep 2010
Reputation: 0
#2
RE: Story Description Image

Try using .jpg
10-01-2010, 06:17 AM
Find
Noj Offline
Junior Member

Posts: 11
Threads: 2
Joined: Oct 2010
Reputation: 0
#3
RE: Story Description Image

(10-01-2010, 06:17 AM)Equil Wrote: Try using .jpg

I tried just changing the file type to .jpg the decription and such loaded but the image didint it was still default. I then re-loaded the png image in GIMP and re-exported it into a .jpg but it crashed again. :/
10-01-2010, 06:26 AM
Find
Equil Offline
Member

Posts: 94
Threads: 8
Joined: Sep 2010
Reputation: 0
#4
RE: Story Description Image

What are the dimensions of the image?
10-01-2010, 06:41 AM
Find
Noj Offline
Junior Member

Posts: 11
Threads: 2
Joined: Oct 2010
Reputation: 0
#5
RE: Story Description Image

W949 X H702
10-01-2010, 06:56 AM
Find
Equil Offline
Member

Posts: 94
Threads: 8
Joined: Sep 2010
Reputation: 0
#6
RE: Story Description Image

I just tested an image at those dimensions, and yes it didn't display. I then changed them to 300x600 and it worked, give that a try.
10-01-2010, 07:21 AM
Find
Alienchild Offline
Junior Member

Posts: 38
Threads: 8
Joined: Dec 2009
Reputation: 0
#7
RE: Story Description Image

I tried a 1024x768 image earlier, and that worked fine.
10-01-2010, 07:39 AM
Find
Noj Offline
Junior Member

Posts: 11
Threads: 2
Joined: Oct 2010
Reputation: 0
#8
RE: Story Description Image

(10-01-2010, 07:21 AM)Equil Wrote: I just tested an image at those dimensions, and yes it didn't display. I then changed them to 300x600 and it worked, give that a try.

(10-01-2010, 07:39 AM)Alienchild Wrote: I tried a 1024x768 image earlier, and that worked fine.

Thanks alot 1024X768 Works and it looks way better then I thought it would turn out. (Figured i would have to recolor and shade it alot)
10-01-2010, 07:51 AM
Find




Users browsing this thread: 2 Guest(s)