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: 579
Thanks: 579
Thanked 632 Times in 227 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, 677 views)
File Type: jpg Screenshot 2022-05-17 234314.jpg (421.8 KB, 672 views)
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: 1,016
Thanks: 1,721
Thanked 2,178 Times in 741 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: 579
Thanks: 579
Thanked 632 Times in 227 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, 668 views)
Reply With Quote
The Following 7 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), sajmon83 (21-09-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
Banned
 
Join Date: Aug 2016
Location: https://t.me/pump_upp
Posts: 399
Thanks: 139
Thanked 714 Times in 231 Posts
Gupta is on a distinguished road
Send a message via ICQ to Gupta Send a message via AIM to Gupta Send a message via Yahoo to Gupta
nice
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: 579
Thanks: 579
Thanked 632 Times in 227 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, 557 views)
File Type: jpg Screenshot 2022-05-27 231745.jpg (150.2 KB, 598 views)
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: 1,016
Thanks: 1,721
Thanked 2,178 Times in 741 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: 579
Thanks: 579
Thanked 632 Times in 227 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.
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: 1,016
Thanks: 1,721
Thanked 2,178 Times in 741 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: 579
Thanks: 579
Thanked 632 Times in 227 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 the project.

Progress: 22.1%.

EDIT: It might be a slow update when the code is not easy to create. DM me for a source if you would need my help.
Attached Files
File Type: 7z CIU Designer (PREVIEW 4).7z (2.67 MB, 20 views)

Last edited by Carldric Clement; 08-06-2023 at 07:16. Reason: Update 4
Reply With Quote
The Following 7 Users Say Thank You to Carldric Clement For This Useful Post:
ADMIRAL (30-05-2022), andreiutzu21 (05-06-2022), Cesar82 (29-05-2022), fabrieunko (08-07-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: 579
Thanks: 579
Thanked 632 Times in 227 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.
Reply With Quote
  #12  
Old 07-07-2022, 07:08
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 579
Thanks: 579
Thanked 632 Times in 227 Posts
Carldric Clement is on a distinguished road
It might take slow to make this software.
Attached Images
File Type: jpg Screenshot 2022-07-07 220741.jpg (284.1 KB, 448 views)
Reply With Quote
The Following 2 Users Say Thank You to Carldric Clement For This Useful Post:
Cesar82 (07-07-2022), mausschieber (07-07-2022)
  #13  
Old 07-07-2022, 15:13
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,016
Thanks: 1,721
Thanked 2,178 Times in 741 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Carldric Clement View Post
It might take slow to make this software.
Yes, we are aware that developing a designer for CIU is hard and time consuming work.
The CIU has a lot of features and settings (some rarely used, but useful in some cases).
But we hope you don't give up on the project, because a designer for the CIU will be welcome, but as long as it's just a designer to load the configs from the "Setup.ini" file and the "Setup" folder (That doesn't become a parallel project, keeping users free to read/search or change the script).

P.S: Two new images have been added for each trackbar (TrackBarImg.png, TrackBarDImg.png) (D = Disabled state image).
So thank you very much for continuing, and don't give up.
Also added a new Stretch= key in the trackbar sections to work with this image (as is done in the progressbar).
Attached is the list of files supported by CIU.
In the attached list the characters:
Code:
"*" = 1,2,3, etc (indefinitely as long as it exists)
"|" = <LANG> = All 36 languages supported by CIU.
"+" = (Check mask "*" like: Video*.+ = Video1.*, Video2.*, etc)
So thank you very much for continuing, and don't give up.
Attached Files
File Type: rar CIUFileList.rar (1.7 KB, 21 views)

Last edited by Cesar82; 07-07-2022 at 15:23.
Reply With Quote
The Following 4 Users Say Thank You to Cesar82 For This Useful Post:
Carldric Clement (08-07-2022), Gehrman (08-07-2022), mausschieber (08-07-2022), ScOOt3r (07-07-2022)
  #14  
Old 08-07-2022, 10:38
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 579
Thanks: 579
Thanked 632 Times in 227 Posts
Carldric Clement is on a distinguished road
the preview software was update here.
Attached Images
File Type: jpg Screenshot 2022-07-09 013639.jpg (277.5 KB, 417 views)
Reply With Quote
The Following 5 Users Say Thank You to Carldric Clement For This Useful Post:
andreiutzu21 (18-09-2022), Cesar82 (09-07-2022), fabrieunko (08-07-2022), houcine80 (09-07-2022), mausschieber (08-07-2022)
  #15  
Old 28-07-2022, 08:08
Grumpy's Avatar
Grumpy Grumpy is offline
Moderator
 
Join Date: Jun 2004
Location: Australia
Posts: 5,695
Thanks: 1,256
Thanked 1,836 Times in 809 Posts
Grumpy is on a distinguished road
I really like the way the buttons are shaped to fit the corners, very nice and such a good idea for some designs.
Attached Images
File Type: jpg LeftCnr.jpg (6.7 KB, 389 views)
File Type: jpg RightCnr.jpg (4.9 KB, 389 views)
__________________
Can't find a Game Conversion? Check the 'Conversion INDEX'
Reply With Quote
The Following User Says Thank You to Grumpy For This Useful Post:
Carldric Clement (30-07-2022)
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 03:09.


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