Game Development Community

iTGB 1.2: Generate PVR does not prevent builder from copying png

by Marc Dreamora Schaerer · in iTorque 2D · 05/08/2009 (5:08 pm) · 10 replies

The builder generated projects (with the pvr generation active) include both png and pvr for images where a pvr is generated.
The build only should include the png if no corresponding pvr is present, otherwise the png isn't required and only wastes space

#1
05/08/2009 (7:37 pm)
Marc

Do you mean that you are using png in the builder but, when you build the project it converts them to pvr?

Or are you using png in the builder and then later converting all of your images to pvr manually?

If it's the latter, then I'm not sure why the builder would even know you were doing this or why it would be intelligent enough to know that you only intended to use the pvr versions and not the png versions. This is especially true as it's not guaranteed that others would want the builder making decisions on which graphics to copy over to the iphone based on their type. Some people may simply wish to mix png and pvr images. Your requested fix would work for you and potentially break the builder for everyone else.

sorry if I'm simply not understanding what you are saying.
#2
05/08/2009 (7:54 pm)
In either case it shouldn't happen.
If a pvr with the same name is present in the build, the png is defacto a waste of space in the app because it won't be used at any point in time.

That the png needs to be transfered if you do not have a pvr is clear.
#3
05/08/2009 (9:16 pm)
Peter, iTGB 1.2 now has a PVR generation option. That's what Marc is using.
#4
05/09/2009 (1:41 am)
Ah thanks for clarifying Ronny. I didn't notice it when I did a test run of my app at 2am in the morning (GMT).

This is a bug has anyone raised it to Michael?
#5
05/09/2009 (2:06 am)
Thats why I posted it as iTGB 1.2 bug in the bug section :)
#6
05/09/2009 (2:14 am)
Ah I haven't created a new thread in a while so I didn't realise they had added those check boxes. Obvious question then. How do readers of the forums know if they are reading a bug report or a general discussion?
#7
05/09/2009 (9:22 am)
You can click the category at the top. if you click general discussion, the bug reports don't appear.
#8
05/09/2009 (7:41 pm)
@Marc - Logged and I already know a fix for this. Should not be difficult to change the build process.

@Peter - Yup, hopefully posters will start using those checkboxes every time they make a new thread. That's why I posted the new "Forum Guidelines" sticky at the top of these forums.
#9
05/09/2009 (11:46 pm)
Thank you for logging Michael

As for checking the checkboxes: you can forget about that if you switch into the bugreporting section first and then start a new thread as the system works like "physical boards", which is one of the reasons I requested the "General Discussions"
#10
05/30/2009 (1:07 pm)
Logged for v1.2.x