Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #1  
Old 17-05-2022, 08:44
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 547
Thanks: 560
Thanked 559 Times in 206 Posts
Carldric Clement is on a distinguished road
Progress: CIU Designer

Previous here https://fileforums.com/showpost.php?...&postcount=167

This is might take longer to finish. I lost the project before cause my laptop was stolen. Don't worry it would post updates here as well as I can. Coming soon.
Attached Images
File Type: jpg Screenshot 2022-05-17 234253.jpg (343.4 KB, 205 views)
File Type: jpg Screenshot 2022-05-17 234314.jpg (421.8 KB, 205 views)
__________________
EDM Producer.
Reply With Quote
The Following 9 Users Say Thank You to Carldric Clement For This Useful Post:
Cesar82 (17-05-2022), fabrieunko (17-05-2022), Gehrman (17-05-2022), Grumpy (19-05-2022), JustFun (22-05-2022), lolaya (19-05-2022), mausschieber (17-05-2022), Prettyboy099 (18-05-2022), Razor12911 (18-05-2022)
Sponsored Links
  #2  
Old 17-05-2022, 17:27
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 799
Thanks: 1,309
Thanked 1,702 Times in 580 Posts
Cesar82 is on a distinguished road
Smile CIU Designer... Nice!

@Carldric Clement, very good!
This will be very helpful!
If you need any information about Setup.ini keys or images in CIU send me PM.
Soon I'll share a new source code with some new features like 3 slider for volume control for songs/videos, so if you need the source code in advance to be able to work on it, just ask me.
Thank you!
Reply With Quote
The Following 4 Users Say Thank You to Cesar82 For This Useful Post:
Carldric Clement (17-05-2022), fabrieunko (17-05-2022), Grumpy (19-05-2022), houcine80 (21-05-2022)
  #3  
Old 17-05-2022, 22:04
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 547
Thanks: 560
Thanked 559 Times in 206 Posts
Carldric Clement is on a distinguished road
Day 2: Moving Image with following Left & Top

Moving Image with following Left & Top
Attached Images
File Type: gif My Video1.gif (1.91 MB, 200 views)
__________________
EDM Producer.
Reply With Quote
The Following 6 Users Say Thank You to Carldric Clement For This Useful Post:
Cesar82 (18-05-2022), Grumpy (19-05-2022), houcine80 (21-05-2022), KaktoR (19-05-2022), mausschieber (18-05-2022), Razor12911 (18-05-2022)
  #4  
Old 19-05-2022, 06:29
lolaya lolaya is offline
Banned
 
Join Date: Jul 2011
Location: still life
Posts: 138
Thanks: 156
Thanked 38 Times in 29 Posts
lolaya is on a distinguished road
nice work
Reply With Quote
The Following User Says Thank You to lolaya For This Useful Post:
Carldric Clement (20-05-2022)
  #5  
Old 21-05-2022, 11:43
Gupta Gupta is offline
Registered User
 
Join Date: Aug 2016
Location: India
Posts: 397
Thanks: 139
Thanked 705 Times in 229 Posts
Gupta is on a distinguished road
nice
__________________
XD
Reply With Quote
The Following User Says Thank You to Gupta For This Useful Post:
Carldric Clement (24-05-2022)
  #6  
Old 27-05-2022, 08:20
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 547
Thanks: 560
Thanked 559 Times in 206 Posts
Carldric Clement is on a distinguished road
1st Issue: Music Button was not the same as the Autorun installer. I will try to figure it out later.
Attached Images
File Type: jpg Screenshot 2022-05-27 231703.jpg (407.7 KB, 100 views)
File Type: jpg Screenshot 2022-05-27 231745.jpg (150.2 KB, 110 views)
__________________
EDM Producer.
Reply With Quote
The Following 4 Users Say Thank You to Carldric Clement For This Useful Post:
Cesar82 (27-05-2022), fabrieunko (27-05-2022), mausschieber (27-05-2022), Razor12911 (28-05-2022)
  #7  
Old 27-05-2022, 13:15
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 799
Thanks: 1,309
Thanked 1,702 Times in 580 Posts
Cesar82 is on a distinguished road
@Carldric Clement, in CIU the "MusicIcon" button when positioned over the "MusicButton" button (RectInRect) is set to disabled, so the actions of the "MusicButton" button change the state of "MusicIcon", but it behaves only visually (no Click or OnMouse actions ).
The same goes for MusicIconAR (together with MusicARButton) and also for MusicIconSI (together with SmallMusicButton).

- "MusicIconAR", "MusicIcon" and "MusicIconSI" is a normal Botva2 pot with 4 images (idle, selected, clicked, disabled) arranged vertically in an image (in the CIU theme example, only the disabled icon was created because it does not use the other images).
- "MusicButtonAR", "MusicButton" and "SmallMusicButton" is a CstmButtom by Yener90 with 4 images separately.

P.S: You can see the code at the end of the ButtonsTextures procedure in the CIU script.
Code:
  BtnGetPosition(hMusicAR, Rt.Left, Rt.Top, Rt.Bottom, Rt.Right);
  Rt.Bottom := Rt.Top + Rt.Bottom;
  Rt.Right:= Rt.Left + Rt.Right;
  if BtnY(MusicARBtn, CstmBtnInt) then
    BtnSetEnabled(hMusicAR, not RectInRect(Rt, BoundsToRect(CstmBtn[CstmBtnInt].AreaX, CstmBtn[CstmBtnInt].AreaY, CstmBtn[CstmBtnInt].AreaW, CstmBtn[CstmBtnInt].AreaH)));

  BtnGetPosition(hMusic, Rt.Left, Rt.Top, Rt.Bottom, Rt.Right);
  Rt.Bottom := Rt.Top + Rt.Bottom;
  Rt.Right:= Rt.Left + Rt.Right;
  if BtnY(MusicBtn, CstmBtnInt) then
    BtnSetEnabled(hMusic, not RectInRect(Rt, BoundsToRect(CstmBtn[CstmBtnInt].AreaX, CstmBtn[CstmBtnInt].AreaY, CstmBtn[CstmBtnInt].AreaW, CstmBtn[CstmBtnInt].AreaH)));

  BtnGetPosition(hMusicSI, Rt.Left, Rt.Top, Rt.Bottom, Rt.Right);
  Rt.Bottom := Rt.Top + Rt.Bottom;
  Rt.Right:= Rt.Left + Rt.Right;
  if BtnY(MusicSmallBtn, CstmBtnInt) then
    BtnSetEnabled(hMusicSI, not RectInRect(Rt, BoundsToRect(CstmBtn[CstmBtnInt].AreaX, CstmBtn[CstmBtnInt].AreaY, CstmBtn[CstmBtnInt].AreaW, CstmBtn[CstmBtnInt].AreaH)));

  BtnGetPosition(hPauseSI, Rt.Left, Rt.Top, Rt.Bottom, Rt.Right);
  Rt.Bottom := Rt.Top + Rt.Bottom;
  Rt.Right:= Rt.Left + Rt.Right;
  if BtnY(PauseSmallBtn, CstmBtnInt) then
    BtnSetEnabled(hPauseSI, not RectInRect(Rt, BoundsToRect(CstmBtn[CstmBtnInt].AreaX, CstmBtn[CstmBtnInt].AreaY, CstmBtn[CstmBtnInt].AreaW, CstmBtn[CstmBtnInt].AreaH)));
end;
I don't want to be intrusive in your work, I just want to try to help you understand some things that are not so visible in CIU's behavior.

Last edited by Cesar82; 27-05-2022 at 13:22.
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Carldric Clement (28-05-2022)
  #8  
Old 28-05-2022, 00:21
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 547
Thanks: 560
Thanked 559 Times in 206 Posts
Carldric Clement is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
@Carldric Clement, in CIU the "MusicIcon" button when positioned over the "MusicButton" button (RectInRect) is set to disabled, so the actions of the "MusicButton" button change the state of "MusicIcon", but it behaves only visually (no Click or OnMouse actions ).
The same goes for MusicIconAR (together with MusicARButton) and also for MusicIconSI (together with SmallMusicButton).

- "MusicIconAR", "MusicIcon" and "MusicIconSI" is a normal Botva2 pot with 4 images (idle, selected, clicked, disabled) arranged vertically in an image (in the CIU theme example, only the disabled icon was created because it does not use the other images).
- "MusicButtonAR", "MusicButton" and "SmallMusicButton" is a CstmButtom by Yener90 with 4 images separately.

P.S: You can see the code at the end of the ButtonsTextures procedure in the CIU script.
Code:
  BtnGetPosition(hMusicAR, Rt.Left, Rt.Top, Rt.Bottom, Rt.Right);
  Rt.Bottom := Rt.Top + Rt.Bottom;
  Rt.Right:= Rt.Left + Rt.Right;
  if BtnY(MusicARBtn, CstmBtnInt) then
    BtnSetEnabled(hMusicAR, not RectInRect(Rt, BoundsToRect(CstmBtn[CstmBtnInt].AreaX, CstmBtn[CstmBtnInt].AreaY, CstmBtn[CstmBtnInt].AreaW, CstmBtn[CstmBtnInt].AreaH)));

  BtnGetPosition(hMusic, Rt.Left, Rt.Top, Rt.Bottom, Rt.Right);
  Rt.Bottom := Rt.Top + Rt.Bottom;
  Rt.Right:= Rt.Left + Rt.Right;
  if BtnY(MusicBtn, CstmBtnInt) then
    BtnSetEnabled(hMusic, not RectInRect(Rt, BoundsToRect(CstmBtn[CstmBtnInt].AreaX, CstmBtn[CstmBtnInt].AreaY, CstmBtn[CstmBtnInt].AreaW, CstmBtn[CstmBtnInt].AreaH)));

  BtnGetPosition(hMusicSI, Rt.Left, Rt.Top, Rt.Bottom, Rt.Right);
  Rt.Bottom := Rt.Top + Rt.Bottom;
  Rt.Right:= Rt.Left + Rt.Right;
  if BtnY(MusicSmallBtn, CstmBtnInt) then
    BtnSetEnabled(hMusicSI, not RectInRect(Rt, BoundsToRect(CstmBtn[CstmBtnInt].AreaX, CstmBtn[CstmBtnInt].AreaY, CstmBtn[CstmBtnInt].AreaW, CstmBtn[CstmBtnInt].AreaH)));

  BtnGetPosition(hPauseSI, Rt.Left, Rt.Top, Rt.Bottom, Rt.Right);
  Rt.Bottom := Rt.Top + Rt.Bottom;
  Rt.Right:= Rt.Left + Rt.Right;
  if BtnY(PauseSmallBtn, CstmBtnInt) then
    BtnSetEnabled(hPauseSI, not RectInRect(Rt, BoundsToRect(CstmBtn[CstmBtnInt].AreaX, CstmBtn[CstmBtnInt].AreaY, CstmBtn[CstmBtnInt].AreaW, CstmBtn[CstmBtnInt].AreaH)));
end;
I didn't expect that code before. they just joined with some other point-like
(Bottom = Top + Bottom) and (Right = Left + Right).

I'm gonna try to do with these code on Designer.
__________________
EDM Producer.
Reply With Quote
  #9  
Old 28-05-2022, 09:30
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 799
Thanks: 1,309
Thanked 1,702 Times in 580 Posts
Cesar82 is on a distinguished road
I think I put it inverted (Rt.Bottom and Rt.Right) in BtnGetPosition. lol
I just realized this now, I'll fix it here.
BtnGetPosition(hMusicAR, Rt.Left, Rt.Top, Rt.Right, Rt.Bottom);
BtnGetPosition(hMusicSI, Rt.Left, Rt.Top, Rt.Right, Rt.Bottom);
BtnGetPosition(hPauseSI, Rt.Left, Rt.Top, Rt.Right, Rt.Bottom);
As the CIU CloseButton had the same Width and Height dimensions it worked, but it was wrong.

Last edited by Cesar82; 28-05-2022 at 09:35.
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
Carldric Clement (29-05-2022), houcine80 (30-05-2022)
  #10  
Old 29-05-2022, 08:14
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 547
Thanks: 560
Thanked 559 Times in 206 Posts
Carldric Clement is on a distinguished road
CIU Designer - PREVIEW (Dev)

In case you guys need this app, well you got more bugs. Feel free to use it until it's finished this project.

Progress: 11%.
Attached Files
File Type: 7z CIU Designer (PREVIEW).7z (2.36 MB, 30 views)
__________________
EDM Producer.

Last edited by Carldric Clement; 29-05-2022 at 10:27.
Reply With Quote
The Following 6 Users Say Thank You to Carldric Clement For This Useful Post:
ADMIRAL (30-05-2022), andreiutzu21 (05-06-2022), Cesar82 (29-05-2022), Gehrman (29-05-2022), houcine80 (30-05-2022), mausschieber (29-05-2022)
  #11  
Old 29-05-2022, 10:28
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 547
Thanks: 560
Thanked 559 Times in 206 Posts
Carldric Clement is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
I think I put it inverted (Rt.Bottom and Rt.Right) in BtnGetPosition. lol
I just realized this now, I'll fix it here.
BtnGetPosition(hMusicAR, Rt.Left, Rt.Top, Rt.Right, Rt.Bottom);
BtnGetPosition(hMusicSI, Rt.Left, Rt.Top, Rt.Right, Rt.Bottom);
BtnGetPosition(hPauseSI, Rt.Left, Rt.Top, Rt.Right, Rt.Bottom);
As the CIU CloseButton had the same Width and Height dimensions it worked, but it was wrong.
It's ok as long as you need to correction code.
__________________
EDM Producer.
Reply With Quote
Reply

Tags
ciu designer, ciu v3

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Game Installer Designer by altef_4 altef_4 Conversion Tutorials 236 28-05-2021 02:54
Repetitive vs Stretching Progress Bar Cuttlas Conversion Tutorials 0 10-11-2020 07:14
Unpack files with progress in batch gozarck Conversion Tutorials 3 29-06-2016 12:38
Progress bar for Tasks danswano PC Games - CD/DVD Conversions 22 09-03-2013 12:09



All times are GMT -7. The time now is 16:01.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2000-2020, FileForums @ https://fileforums.com