Description: It's archive, posting new is here viewforum.php?f=11
You missed up: in the code algorithm is:Kevsoft wrote:Digging in the commit which Wohlstand posted, the code checks first for a gif and then for the PNG. It should be the other way round, as the png overrides the gif and not the other way around.
Code: Select all
RequestName - a default filename (npc-4.gif or npc-4m.gif)
//... Oh, shit! I had idea to prevent applying of a masks if PNG has been detected,
//I have an-idea: reject loading of mask file if detected "xm.gif" and "x.png" exists
FirstName - find this file first!
BackupName - find this if not empty and if first was not found
if RequestName ends with ".gif", put RequestName to BackupName and put RequestName with replacement of end to "png" into FirstName (then, PNG will be looked up before GIF)
if RequestName ends with ".png", put RequestName to FirstName and put RequestName with replacement of end to "gif" into BackupName
3) if FirstName not exists and BackupName is not empty, find BackupName, and if not exist - return default path. If exist - return found path.
Please redownload PGE now because I applied some minor changes and updated it. It also contains support of both PNG and gifs CGFX with priority to PNG,Sambo wrote:Well, whatever is going on, it isn't working. Here's what happens when I use PNGs:
This is how it's supposed to look:
PGE supports PNG natively and everything works already. Are you got right update? (are you ran RIGHT version or you accidentally launched legacy build?)Sambo wrote:I just tried it, and the custom PNGs still aren't showing. Before I accuse you of not fixing it, though, I'll ask you this: Is the fix for this in the core of the program, or is it in the libraries and I need to get a full build? Or do ALL GFX, even the defaults, have to be PNGs?
Code: Select all
I just updated my PGE-online dowloader and used it to get the new version less than a week ago, so unless it runs a legacy build automatically, it should be the newest.PGE supports PNG natively and everything works already. Are you got right update? (are you ran RIGHT version or you accidentally launched legacy build?)
Ah, I switched it all back to GIFs and I don't have one with PNGs. I just have a small level for testing an API I'm working on where I tried to use PNGs for CGFX.Anyway, are you can send me your level with all included CGFXs? (episode+custom) to let me check it myself
Mayby you ranned shortcut on desktop which linked to legacy build, please find fresh in the Start menu -> Programs (or just walk through folders C:\Program files (x86)\PGE and make new shortcut yourself). By default installer installs into that folder if you not defined another install path.Sambo wrote:I just updated my PGE-online dowloader and used it to get the new version less than a week ago, so unless it runs a legacy build automatically, it should be the newest.
Is it supposed to say something different here?
I think, you had legacy installer and I long time ago updated it to fix some serious troubles which are was caused with it's bugsSambo wrote:I only have one installation. Maybe the online installer is broken or something. It has happened before. I'll just try to manually download PGE and see if that helps.
That part is in works. So, later Editor will spawn notify about available updates (you even would find a greyed checkbox "check every startup" in the "help"->"Check for updates" menu)Sambo wrote:You should make it so the installer can show a warning if it needs updated. Anyway, it is fixed now.
Users browsing this forum: 1 guest