[ New messages · Members · Forum rules · Search · RSS ]
Page 2 of 3«123»
Forum moderator: Daddio, Cichor 
Forum » Cossacks I » Modding » Help with the interface
Help with the interface
ab_99Date: Sunday, 21/July/2013, 2:58 PM | Message # 11
Count
Group: Modders
Messages: 126
Awards: 1
Reputation: 1
Status: Offline
EbelAngel

I do not know why, smile earlier experimented and settled on this mode.
 
Antr4citeDate: Sunday, 21/July/2013, 5:00 PM | Message # 12
Knight
Group: Checked
Messages: 17
Awards: 0
Reputation: 0
Status: Offline
Ok, now I'm having problems with the main menu interface.

Neither "Full Apha" or "Packed Gradient" works.

I've tested the following original files without modifications:

INTERFACE+AN_START_DISABLE.gp
INTERFACE+ANM_START_1_OFF.gp
INTERFACE+ANM_START_1_ON.gp
INTERFACE+ANM_START_OFF.gp
INTERFACE+ANM_START_ON.gp

I extracted them to BMP lists and converted them to GP using the already mentioned profiles.

The GDView result is ok but when I test them in the game this is what I see:

Full Apha



Packed Gradient



It seems there's no difference between the two and they are both broken.

ab_99, can you do more of your magic?




I didn't know this already existed. Where is the download available?

EbelAngel, about your Full Alpha question - are you saying that you didn't have problems with the frame 16 after extracting the attached border.gp to bmp and convert it back to gp with the "packed gradient"? How is that possible?

And about the thing you said related to AKABR.gp - What version/edition do you have? 

---------

Files attached (names changed by the attach feature - same order as mentioned)


Message edited by Antr4cite - Sunday, 21/July/2013, 8:32 PM
 
ab_99Date: Sunday, 21/July/2013, 8:46 PM | Message # 13
Count
Group: Modders
Messages: 126
Awards: 1
Reputation: 1
Status: Offline
Quote (Antr4cite)
ab_99, can you do more of your magic?


It is a pity that Harry Potter does not attend the forum. smile

Original files shows distorted. But I remember that the menu is used to display a different palette. Try to change the palette.
 
Antr4citeDate: Monday, 22/July/2013, 2:23 AM | Message # 14
Knight
Group: Checked
Messages: 17
Awards: 0
Reputation: 0
Status: Offline
Quote (ab_99)
Original files shows distorted. But I remember that the menu is used to display a different palette. Try to change the palette.


Tested:

Full Alpha (0,1,2,3) - unsuccessful
Packed Gradient (0,1,2,3) - unsuccessful
Simple Packed (0,1,2,3) - unsuccessful

I don't know what to do anymore. If someone figures this out let me know. Thank you both.
 
ab_99Date: Monday, 22/July/2013, 9:51 AM | Message # 15
Count
Group: Modders
Messages: 126
Awards: 1
Reputation: 1
Status: Offline
Antr4cite

You can try two variants:
get a screen in the game ( F11),
cut the desired part of the image.
packed with palettes (1 ... 4)
view game

2. in the folder c: \ gparch is the palette:
0agew_1.pal, 1agew_1.pal, 2agew_1.pal, 3agew_1.pal
try to rename them to "agew_1.pal"

experiment, experiment, experiment ... Harry Potter will not come. smile
 
EbelAngelDate: Monday, 22/July/2013, 12:20 PM | Message # 16
Site Administrator
Group: Administrators
Messages: 980
Awards: 7
Reputation: 12
Status: Offline
Quote (Antr4cite)
I didn't know this already existed. Where is the download available?


There's no available download for this. Its kind of embarrassing, but when i saw your image with your unorthodox translation, i realized I had already done this, so I looked for it. Seems I have been messing around with it too last year. Oddly enough I didn't remember when you first asked, and I can't remember how I did it. If i'm lucky I may have written something down about it in my logs. What I can tell you about it is that its from an experiment with updated colour palettes ( look at the terrain textures and mill wheat, its not from cossacks that.) Just from comparing both pictures i see that my images of the resources are a bit more , orangy, yours are darker. I'm not sure why this is, but i'm guessing we went on about it in different ways.

Quote (Antr4cite)
about your Full Alpha question - are you saying that you didn't have problems with the frame 16 after extracting the attached border.gp to bmp and convert it back to gp with the "packed gradient"? How is that possible?


No that's not what i was saying, I didn't try the border one this week (yet). I just tried both ways (full alpha and packed gradient) on a normal building, because Ab_99 got me curious there with his different settings.

Quote (Antr4cite)
And about the thing you said related to AKABR.gp - What version/edition do you have?

My version is the one available on the site here. I got it from Gexozoid years ago. But i'm fairly certain all versions out there are one and the same, they may be packed up differently though.

Quote (Antr4cite)
I don't know what to do anymore. If someone figures this out let me know. Thank you both.


Don't give up on it yet. If GSC managed to get it in game then it can be done. We may not figure it out today, but perhaps tomorrow. Keep posting your expirements though, it may be usefull. I remember when i got the CII graphic tools first i couldnt get it to work either, it took a lot of expirementing to get it to work.

I will have a look aswell later today. The only thing that comes to mind right now is, have you tried adding folder 2 from the game into the gp arch to pack?


 
ab_99Date: Monday, 22/July/2013, 1:38 PM | Message # 17
Count
Group: Modders
Messages: 126
Awards: 1
Reputation: 1
Status: Offline
Quote (EbelAngel)
The only thing that comes to mind right now is, have you tried adding folder 2 from the game into the gp arch to pack?

I should clarify.
Replacing palette (0agew_1.pal, 1agew_1.pal, 2agew_1.pal, 3agew_1.pal)  in "agew_1.pal" in order to see their GpView.
After unpacking the search palette MegaPack.

PS. I compared 3agew_1.pal = agew_1.pal. All you have to check the other three. smile


Message edited by ab_99 - Monday, 22/July/2013, 1:41 PM
 
Antr4citeDate: Monday, 22/July/2013, 4:18 PM | Message # 18
Knight
Group: Checked
Messages: 17
Awards: 0
Reputation: 0
Status: Offline
Where are these files?

0agew_1.pal, 1agew_1.pal, 2agew_1.pal, 3agew_1.pal

I don't have them in my GPArch folder.
 
EbelAngelDate: Monday, 22/July/2013, 4:19 PM | Message # 19
Site Administrator
Group: Administrators
Messages: 980
Awards: 7
Reputation: 12
Status: Offline
Right so, i did a dozen or so tests on those "INTERFACE+ANM_START_ON.gp " files and i havent made much progress.

What i did do and not sure if it will help but i looked in the source what its doing with those .gp's.

This is how it looks in the engine:

Code
void ProcessCampagins(int Options){
   if(!CAMPAGINS.NCamp)return;
   KeyPressed=0;
   LastKey=0;
   LoadFog(2);
   //if(Options==-1)SlowUnLoadPalette("1\\agew_1.pal");
   SQPicture Back("Interface\\Background_Campaign_Menu.bmp");
   LocalGP BTNS("Interface\\Campaigns");
   LocalGP SCROL("Interface\\_Slider");
   LocalGP OK1("Interface\\anm_start_on");
   LocalGP OK2("Interface\\anm_start_off");
   LocalGP CANCEL1("Interface\\anm_cancel_on");
   LocalGP CANCEL2("Interface\\anm_cancel_off");
   LocalGP ENC1("Interface\\anm_enc_on");
   LocalGP ENC2("Interface\\anm_enc_off");
   LocalGP FONT("FONTS\\romw");
   RLCFont FontY(FONT.GPID);
   FontY.SetColorTable(3);
   LoadOptionalTable(3,"2\\orange.grd");

   //LocalGP FONT6("FONTS\\vin");
   //RLCFont FontI(FONT6.GPID);
   //FontI.SetColorTable(3);

   RLCFont FontW(FONT.GPID);
   FontW.SetWhiteColor();
   //LoadOptionalTable(4,"2\\white.grd");
   DialogsSystem MMenu(0,0);
   MMenu.OkSound=GetSound("START");
   LocalGP HFONT("FONTS\\rom10");
   RLCFont hfnt(HFONT.GPID);
   hfnt.SetWhiteColor();
   MMenu.HintFont=&hfnt;
   MMenu.HintY=701;
   MMenu.HintX=18;


Code
bool ProcessOneBattle(int BtlID){
   KeyPressed=0;
   LastKey=0;
   SQPicture Back("Interface\\Background_Historical_Battle_01.bmp");
   LocalGP BTNS("Interface\\Wars");
   LocalGP Mask("Interface\\Historical_mask");
   LocalGP SCROL("Interface\\_Slider");
   LocalGP OK1("Interface\\anm_start_on");
   LocalGP OK2("Interface\\anm_start_off");
   LocalGP CANCEL1("Interface\\anm_cancel_on");
   LocalGP CANCEL2("Interface\\anm_cancel_off");
   LocalGP ENC1("Interface\\anm_enc_on");
   LocalGP ENC2("Interface\\anm_enc_off");
   LocalGP FONT("FONTS\\romw");
   RLCFont FontY(FONT.GPID);
   FontY.SetColorTable(3);
   LoadOptionalTable(3,"2\\orange.grd");
   SQPicture Preview(WARS.Battles[BtlID].BigMap);


Code
int ProcessWars(){
   if(!WARS.NWars)return false;
   KeyPressed=0;
   LastKey=0;
   SQPicture Back("Interface\\Background_Historical_Wars.bmp");
   LocalGP BTNS("Interface\\Wars");
   LocalGP OCAM("Interface\\One_Campaign");
   LocalGP SCROL("Interface\\_Slider");
   LocalGP OK1("Interface\\anm_start_on");
   LocalGP OK2("Interface\\anm_start_off");
   LocalGP CANCEL1("Interface\\anm_cancel_on");
   LocalGP CANCEL2("Interface\\anm_cancel_off");
   LocalGP ENC1("Interface\\anm_enc_on");
   LocalGP ENC2("Interface\\anm_enc_off");
   LocalGP FONT("FONTS\\romw");
   RLCFont FontY(FONT.GPID);
   FontY.SetColorTable(3);
   LoadOptionalTable(3,"2\\orange.grd");


The interface file is like 16000 lines of code so i just posted the references (3) to "INTERFACE+ANM_START_ON.gp". It seems to look for an 'optional' table from folder 2, being orange.grd.
Not sure if it helps but it may be worth looking into.

Quote
Where are these files?

0agew_1.pal, 1agew_1.pal, 2agew_1.pal, 3agew_1.pal

I don't have them in my GPArch folder.


Yes you do, inside the folders 0, 1, 2. They also exist outside these folder inside the ALL.GSC ( or is it the main game folder?)




Message edited by EbelAngel - Monday, 22/July/2013, 4:21 PM
 
Antr4citeDate: Monday, 22/July/2013, 4:30 PM | Message # 20
Knight
Group: Checked
Messages: 17
Awards: 0
Reputation: 0
Status: Offline
Quote (EbelAngel)
Yes you do, inside the folders 0, 1, 2. They also exist outside these folder inside the ALL.GSC ( or is it the main game folder?)

I dont have the files named like that. I have "agew_1.pal" inside folders "0", "1" and "2" and in the ALL.GSC root.
 
Forum » Cossacks I » Modding » Help with the interface
Page 2 of 3«123»
Search: