Jump to content


Photo

Country flags


  • Please log in to reply
12 replies to this topic

#1 need my speed

need my speed

    For Soviet people!

  • Hosted
  • 1,290 posts
  • Location:European Union (Magna Batavia)

Posted 04 May 2009 - 12:05 PM

I can't find how to fix my problem, so...

I decided to replace the old flags with the new flags (otherwise, Canada had the Russian flag or something, so), and eevrything is fine (it has the right palette, etc), and in the mix files it shows up correctly too, but in game...Well, see this:

Posted Image

Posted Image

Does anyone know how to fix this? Normally I would think it was because of the size of the flags, but they really are the good size, I checked it in Paint Shop Pro and in SHP Builder...
Please, if you see a mistake in my posts - spelling, grammar, punctuation, or whatever else - point it out. How can one learn from mistakes, if one is not corrected?
There is no wealth like knowledge, no poverty like ignorance.

#2 Starkku

Starkku

    Putting the Pro' in 'Procrastination'

  • Hosted
  • 436 posts
  • Location:Finland
  • Projects:Project Phantom
  •  Developer of Project Phantom mod for C&C: Yuri's Revenge.

Posted 04 May 2009 - 01:33 PM

Be sure that your pcx file is 256-colors AKA 8-bit image. Another thing worth to mention is that pcx file format seems to have several subformats or such which probably depend on the software you used to save the image. If your flag is in wrong one, it appears weird ingame. I think saving it in Photoshop (not entirely sure about this but that's what i have heard) or opening XCC Mixer and selecting your flag pcx and then "Copy as PCX". One would think that this produces null effect but apparently this makes the image to be in correct subformat. Of course, all this is assuming that your flag image is in right size (i think it's 47x23 for YR atleast) and has correct amount of colors (256).

eWPQbKY.png


#3 need my speed

need my speed

    For Soviet people!

  • Hosted
  • 1,290 posts
  • Location:European Union (Magna Batavia)

Posted 04 May 2009 - 03:08 PM

It has the right color amount, the right palette, and the right size. I'll test your copy thingy with XCC Mixer now...

Sadly, it doesn't work. I go to XCC Mixer, right click on a flag, pressed "Copy as PCX", tried if I could past it in the mix file but I couldn't, then tried if I could past it in Paitn Sho Pro but I again couldn't, so I closed XCC Mixer, fired up Yuri's Revenge, and I see that the flags still are the same.

That's exactly what I did. Here is the image information I get in Jasc Paint Shop Pro, it's the same for all flags (atleast the color amount and the size, dunno about the rest, but maybe you can find something that is wrong).

Posted Image
Please, if you see a mistake in my posts - spelling, grammar, punctuation, or whatever else - point it out. How can one learn from mistakes, if one is not corrected?
There is no wealth like knowledge, no poverty like ignorance.

#4 Beowulf

Beowulf

    Shipgirl

  • Advisors
  • 7,219 posts
  •  Azur Lane Fangirl

Posted 06 May 2009 - 12:26 AM

Is your flag black or broken up? Since the images don't load, I can't really tell.
Either way, you usually need to resave the image over the top and try with it in the directory.

NZ.org | BBPCG
Discord: The Astronomer#1314
Steam


#5 need my speed

need my speed

    For Soviet people!

  • Hosted
  • 1,290 posts
  • Location:European Union (Magna Batavia)

Posted 06 May 2009 - 05:48 AM

Yes, my flags are messed up, like the Allied logo sort of cut in half, and the rest is also messed up...

Well, I did save it in Jasc Paint Shop Pro 2 times, then put it into expandmd whatever number I use.
I did save it in Jasc Paint Shop Pro 2 times, then put it into the MIX, and then saving it again in the MIX files (Copy as PCX).
Ad I did normally save it in Jasc Paint Shop Pro, put it in the MIX files, and do copy as PCX.

All didn't work...
Please, if you see a mistake in my posts - spelling, grammar, punctuation, or whatever else - point it out. How can one learn from mistakes, if one is not corrected?
There is no wealth like knowledge, no poverty like ignorance.

#6 Apollo

Apollo

    The bringer of doom

  • Hosted
  • 3,467 posts
  • Location:Core of Nexus
  • Projects:Robot Storm, Project Phantom
  •  1337 Modder

Posted 06 May 2009 - 06:21 AM

Forget PSP, it doesn't save the pcx quite as game expects it, I solve that all by saving in photoshop myself.
Posted Image

EAApoc wrote:
The only written law in a C&C game I ever saw is please Mr.Developer make it fun and give me a lot of **** to explode, o and don't you ever get another soul to play Kane but Joe Kucan. Aside from those two rules, all bets are off =) hehe
-APOC

#7 need my speed

need my speed

    For Soviet people!

  • Hosted
  • 1,290 posts
  • Location:European Union (Magna Batavia)

Posted 06 May 2009 - 01:53 PM

Damn, I don't have Photoshop...Here I come, legit websites ! AG: :p

But it works now! Stupid Jasc Paint Shop Pro...Just save the images again in Photoshop, put them into a MIX file, and it works!

need my speed: Yeah, indeed, I didn't even use illegal things...Besides a keygen, but that was to find my house keys...

Edited by need my speed, 07 May 2009 - 05:34 AM.

Please, if you see a mistake in my posts - spelling, grammar, punctuation, or whatever else - point it out. How can one learn from mistakes, if one is not corrected?
There is no wealth like knowledge, no poverty like ignorance.

#8 Alucard

Alucard

    Divinity(s) Dark Truth

  • Members
  • 442 posts
  • Location:Somewhere In The Darkness In the Void of Evil
  • Projects:EsoTen Productions Presents: Command & Conquer: Centrius Destimonia
  •  Die Schwarzen Reiter

Posted 06 May 2009 - 08:06 PM

Thats weird - all I ever use is PSP >> I have PSPX and never had any of those problems. Thats good to know if I run into that problem
Posted Image Posted Image
"When you refuse to give in with all your heart, only then do you transcend your humanity" -Alucard (HellSing)
"Lick the sounds that bleed from his mouth Rip the heavens with the horns of the south" -Deathstars
And on the eighth day, god created Tiberium.

WebMinon of the CNC Dynasty

#9 Beowulf

Beowulf

    Shipgirl

  • Advisors
  • 7,219 posts
  •  Azur Lane Fangirl

Posted 07 May 2009 - 01:08 AM

I have PSP7 and don't really run into that. I have before but it fixed it...

NZ.org | BBPCG
Discord: The Astronomer#1314
Steam


#10 need my speed

need my speed

    For Soviet people!

  • Hosted
  • 1,290 posts
  • Location:European Union (Magna Batavia)

Posted 07 May 2009 - 02:28 PM

Another question, where can I assign palettes to country flags? On the internet I can't find anything about it, as far as I know, and since there isn't anything in the rulesmd.ini or artmd.ini mentioning those flags, not even a small rule in the country section, I don't know where to search. I can of course load the flags with SHP Builder and select my own palette, which are both (the flag and the palette) saved into expandmdxx.mix, but well...I have no idea how I can specify that the Mexican flag needs to use mexicoflag.pal, and that all the GDI flags need to use GDI.pal, for example.
Please, if you see a mistake in my posts - spelling, grammar, punctuation, or whatever else - point it out. How can one learn from mistakes, if one is not corrected?
There is no wealth like knowledge, no poverty like ignorance.

#11 Beowulf

Beowulf

    Shipgirl

  • Advisors
  • 7,219 posts
  •  Azur Lane Fangirl

Posted 07 May 2009 - 11:15 PM

They don't have a palette. They just need to 256-color (8-bit) PCX files.

NZ.org | BBPCG
Discord: The Astronomer#1314
Steam


#12 need my speed

need my speed

    For Soviet people!

  • Hosted
  • 1,290 posts
  • Location:European Union (Magna Batavia)

Posted 08 May 2009 - 05:36 AM

SO it doesn't matter what color, as long as there are 256 colors? Thank you.
Please, if you see a mistake in my posts - spelling, grammar, punctuation, or whatever else - point it out. How can one learn from mistakes, if one is not corrected?
There is no wealth like knowledge, no poverty like ignorance.

#13 Apollo

Apollo

    The bringer of doom

  • Hosted
  • 3,467 posts
  • Location:Core of Nexus
  • Projects:Robot Storm, Project Phantom
  •  1337 Modder

Posted 08 May 2009 - 06:04 AM

Well, to nail it down... When you make PCX 256 colors, it will have palette on the PCX itself and all the Westwood miniflag pal files are probably some leftover when they used shp at some point or planned to.

You can just take any of existing miniflag pcx, raise its color amount above 256 to copy paste new stuff in and keep the background color unless add it yourself to own file and once done, reduce to 256 colors, save pcx. done.

Edited by Apollo, 08 May 2009 - 06:06 AM.

Posted Image

EAApoc wrote:
The only written law in a C&C game I ever saw is please Mr.Developer make it fun and give me a lot of **** to explode, o and don't you ever get another soul to play Kane but Joe Kucan. Aside from those two rules, all bets are off =) hehe
-APOC




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users