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
.tga appears white on GUI terminal
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#1
.tga appears white on GUI terminal

Hello,

[Image: d0aVdpm.jpg]

I made a .tga with alpha in photoshop and I would like if someone can help me implement it without this white error block. The image is located under graphics/inventory in my mod. I'm using Apocalypse's GUI Tutorials for the image.

Tga file attached down below...

https://drive.google.com/folderview?id=0...sp=sharing
(This post was last modified: 11-08-2015, 01:46 PM by A.M Team.)
11-08-2015, 01:25 PM
Find
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#2
RE: .tga appears white on GUI terminal

not an expert in this area, but I would say a good start would be to add an image from main game first. That way you will know if the problem lies with your .tga, or with how you implemented it.
11-08-2015, 05:32 PM
Find
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#3
RE: .tga appears white on GUI terminal

I tested it it is definitely my graphic.
11-08-2015, 06:02 PM
Find
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#4
RE: .tga appears white on GUI terminal

did you make sure to add your mod graphics folder in the resources.cfg?
11-08-2015, 06:06 PM
Find
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#5
RE: .tga appears white on GUI terminal

Yep. It's in there.
11-08-2015, 06:30 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#6
RE: .tga appears white on GUI terminal

Your picture resolution is friggin 5000x5000. That's pretty crazy.

Make it 512x512.

11-08-2015, 07:25 PM
Find
Danarogon AP Offline
Member

Posts: 139
Threads: 4
Joined: Dec 2013
Reputation: 20
#7
RE: .tga appears white on GUI terminal

What mudbill said. The image size is freaking insane. it's a 5000x5000 and it almost takes 1MB of space.

11-08-2015, 08:15 PM
Find
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#8
RE: .tga appears white on GUI terminal

k updating...
11-08-2015, 11:18 PM
Find
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
#9
RE: .tga appears white on GUI terminal

Your image is way too big. The game doesn't like it when you try to load images over 1020x1020. But when you do try and do that, the game will actually give you that error, so I don't think that's what's happening in this particular case.

Where are you keeping your image file - in your mod folders or in the SOMA folders? If the former, then that might be your issue. The DevBat only loads your map file, not your mod's resource.cfg. Unless you've edited SOMA's resource.cfg to also include your mod's folders, nothing in there will be referenced, and therefore can't be loaded.

When I took your image, shrunk it down to 512x512, and added it to SOMA's graphics folder, I was able to get my terminal to load your image just fine.

Spoiler below!
[Image: 7C0EABA2DBC1743CC25DEDB219064B013E3CB779]

Try loading your map with the ModLauncher and see if you get the same error.
11-09-2015, 01:45 AM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#10
RE: .tga appears white on GUI terminal

I'm sure you mean 1024x1024?

11-09-2015, 02:20 AM
Find




Users browsing this thread: 2 Guest(s)