Frictional Games Forum (read-only)

Full Version: Picture
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello i tried to add a photo in the mod launcher for soma following the guide on the wiki

but it doenst work, does somebody know how to get it working ??


LauncherPic="Photo.png"
LanguageFolder="config/lang"
InitCfg="config/main_init.cfg"
/>
<?xml version="1.0" encoding="UTF-8"?>
<Content Version="1.0"
Type="StandAlone"
Title="your cs"
Author="you"
Description="your description"
LauncherPic="Photo.png"

InitCfg="config/main_init.cfg"
/>

COPY THIS ENTIRE THING INTO THE ENTRY.HPC.
(11-04-2015, 06:59 PM)TheDoctorPoo Wrote: [ -> ]<?xml version="1.0" encoding="UTF-8"?>
<Content Version="1.0"
Type="StandAlone"
Title="your cs"
Author="you"
Description="your description"
LauncherPic="Photo.png"

InitCfg="config/main_init.cfg"
/>

COPY THIS ENTIRE THING INTO THE ENTRY.HPC.

Yeah i already got this

<?xml version="1.0" encoding="UTF-8"?>
<Content Version="1.0"

Author="Sovjet (Level Design) IxDOPExI (Script writing)"
Title="The Victim"
Type="StandAlone"
Description="Komt nog"
LauncherPic="Photo.png"
LanguageFolder="config/lang"
InitCfg="config/main_init.cfg"
/>

But it doesnt work somehow
is the file called entry.hpc

is it included in the MAIN folder of your cs? not the config?

try renaming your picture mod_launch.png or mod_launch.jpeg
(11-04-2015, 07:38 PM)TheDoctorPoo Wrote: [ -> ]is the file called entry.hpc

is it included in the MAIN folder of your cs? not the config?

try renaming your picture mod_launch.png or mod_launch.jpeg

Yep its in the main folder of the map i will try to rename the file Smile and its called entry.hpc otherwise it wont work
What's the name of your picture, and is it a .png format image?
(11-05-2015, 10:02 AM)Modulator Wrote: [ -> ]What's the name of your picture, and is it a .png format image?

Then name is somaphoto.png at the moment and yes its a .png photo
If that's the case, in your entry.hpc file, change the LauncherPic attribute to this:

Code:
LauncherPic="somaphoto.png"

That should work.
(11-05-2015, 04:14 PM)Romulator Wrote: [ -> ]If that's the case, in your entry.hpc file, change the LauncherPic attribute to this:

Code:
LauncherPic="somaphoto.png"

That should work.

it doesnt, it still says no image

maybe the image cant be larger the .... pixels ?
I don't think the dimensions can cause an error, but I got mine working a while ago (http://puu.sh/kJJbw/a250ae0263.png) and has not had any problems since, so I know the function works.

If you want to see if the dimensions are a problem though, you can try 482x226, which is identical to the image I have in my template. If you want to try, try downloading this image (Right Click > Save Image As...) and change it to suit your mod. Make sure your LauncherPic in the entry.hpc matches your file name for your image.

[Image: cea5524a10.png]

If it still doesn't work, pack up your Campaign and upload it to a service like Dropbox or Mediafire and I'll take a look and see if I can find the issue.
Pages: 1 2