Umake v1.2.X

External tools, software and sites for creating or editing UT99 resources.
Buggie
Godlike
Posts: 2697
Joined: Sat Mar 21, 2020 5:32 am

Umake v1.2.X

Post by Buggie »

Little fix for Umake v1.2:

1. Multimonitor fix from here: viewtopic.php?f=58&t=13028
2. Added "Rebuild" button for call build process again.
Spoiler
I use Resource Hacker 5.1.7 for add:

Code: Select all

  object ButtonRebuild: TButton
    Left = 120
    Top = 53
    Width = 57
    Height = 25
    Anchors = [akTop, akRight]
    BiDiMode = bdLeftToRight
    Caption = '&Rebuild'
    Enabled = True
    ParentBiDiMode = False
    TabOrder = 5
    OnClick = FormShow
  end
Unfortunately attempt fix label with version break app. So it still labeled as 1.1 in About tab.
So now you can open script in editor, fix errors, switch back to umake and simple press "Rebuild".
Repeat until all compile error not eliminated.
scr_1595629006.png
scr_1595629006.png (9.53 KiB) Viewed 2028 times
Source: https://github.com/SeriousBuggie/unreal-umake
UMake-1-2-3.zip
(304.29 KiB) Downloaded 101 times
Spoiler
Caveats:
1. Do not use checkbox 'Always display details during compilation' or dialog will expand height on every "Rebuild" attempt.
2. If finally no errors happens, then errors block still same. So you need read label above progress bar.
3. Progress bar not work as intended for any rebuild.
4. Maybe something else. :noidea
UMake-1-2-1.zip
(264.27 KiB) Downloaded 156 times
Last edited by Buggie on Wed Feb 01, 2023 10:13 pm, edited 4 times in total.
User avatar
Chamberly
Godlike
Posts: 1963
Joined: Sat Sep 17, 2011 4:32 pm
Personal rank: Dame. Vandora
Location: TN, USA
Contact:

Re: Umake v1.2.1

Post by Chamberly »

3 and 4 - is it holding the old data reference and not using the new changes?
Image
Image
Image Edit: Why does my sig not work anymore?
Buggie
Godlike
Posts: 2697
Joined: Sat Mar 21, 2020 5:32 am

Re: Umake v1.2.1

Post by Buggie »

Progress bar stuck at end.
Error messages updates if error changed. But not disappear if current build without errors.
Better try yourself.
User avatar
x21
Posts: 2
Joined: Fri Mar 25, 2022 5:28 pm
Personal rank: -(DOG)-

Re: Umake v1.2.1

Post by x21 »

I was able to change the version to 1.2. I would suggest making the fixed version 1.3 as it's possible to do.
Umake 1.2.png
Umake 1.2.png (8.38 KiB) Viewed 1419 times

EDIT: I'll just make the change. Edit2: It appears there's only room to edit 11 characters in that field.
Umake 1.3.png
Umake 1.3.png (10.43 KiB) Viewed 1408 times

Automatically merged

I was just thinking about the possibility of abbreviating "Version 0.0" as "Ver. 0.0.00". This would give a lot more flexibility for different version numbers.
Attachments
Umake_v1.3.zip
--Changes--
Changed version number to 1.3
Changed version number in about tab to 1.3
Changed file version number to 1.3.0.0
Changed product version to 1.3
(255.51 KiB) Downloaded 64 times
User avatar
Barbie
Godlike
Posts: 2792
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Umake v1.2.1

Post by Barbie »

x21 wrote: Fri Mar 25, 2022 7:15 pm I was just thinking about the possibility of abbreviating "Version 0.0" as "Ver. 0.0.00". This would give a lot more flexibility for different version numbers.
Maybe take into account the usage described in Wikipedia (sadly no English version available - notify me if I should translate).
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
User avatar
x21
Posts: 2
Joined: Fri Mar 25, 2022 5:28 pm
Personal rank: -(DOG)-

Re: Umake v1.2.1

Post by x21 »

Barbie wrote: Fri Mar 25, 2022 8:49 pm
x21 wrote: Fri Mar 25, 2022 7:15 pm I was just thinking about the possibility of abbreviating "Version 0.0" as "Ver. 0.0.00". This would give a lot more flexibility for different version numbers.
Maybe take into account the usage described in Wikipedia (sadly no English version available - notify me if I should translate).
It should be quite possible to do that if we omit the build number and abbreviate the word Version to Ver. This allows us to have versions such as "Ver. 1.10.1". Attempting to add anything more to the current data shifts all the references in the binary.

Automatically merged

It is possible to change all the highlighted bytes without causing the program to break.
Umake1.PNG
Umake1.PNG (1.5 KiB) Viewed 1364 times
This gives us the ability to add another digit later on.
Umake2.PNG
Umake2.PNG (29.56 KiB) Viewed 1364 times

Automatically merged

Buggie wrote: Fri Mar 25, 2022 9:17 pm Not need translate. Visit: https://semver.org/
Based upon that link I still believe 1.3 works better as you did add a feature.
Buggie
Godlike
Posts: 2697
Joined: Sat Mar 21, 2020 5:32 am

Re: Umake v1.2.2

Post by Buggie »

v1.2.2

* Improve "Rebuild" button.
* Auto say "Yes" to all compatibility questions, instead of stuck build.
* Update version number
* Sources at: https://github.com/SeriousBuggie/unreal-umake

Update in first post: viewtopic.php?f=58&t=14044
User avatar
Barbie
Godlike
Posts: 2792
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Umake v1.2.2

Post by Barbie »

What compiler did you use? Lazarus? Delphi?
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
Buggie
Godlike
Posts: 2697
Joined: Sat Mar 21, 2020 5:32 am

Re: Umake v1.2.2

Post by Buggie »

Borland Delphi 7. Something wrong?
Eternity
Skilled
Posts: 166
Joined: Sat Nov 30, 2019 10:56 pm

Re: Umake v1.2.2

Post by Eternity »

With FPC no way to get such a modest file size, i guess... But we could have a build for Linux that way.
Buggie
Godlike
Posts: 2697
Joined: Sat Mar 21, 2020 5:32 am

Re: Umake v1.2.2

Post by Buggie »

Feel free adapt sources then.

There used OLE. And dcu from Delphi2 for this. So I think it not be super easy.
b1t5murf
Novice
Posts: 7
Joined: Sun Jan 08, 2023 3:30 am

Re: Umake v1.2.2

Post by b1t5murf »

Buggie wrote: Tue Nov 29, 2022 9:26 pm Borland Delphi 7. Something wrong?
Hello Buggie,

Long time UT player and active modern Delphi developer, new forum member here.

As I'm working on fixing some bugs and updating UMake to compile with the latest Delphi versions (Full unicode support, HighDPI improvements, modern language features etc) for DNF,
I don't want to t-bone the effort already done here, but I wanted to ask if there are outstanding issues with UMake which needs to be fixed while I'm at it working with the code?
More so there's a coordinated effort to keep the tool up to date? :)
I saw mentions of a wish for a Linux version as well?

Kind regards
b1t5murf
Buggie
Godlike
Posts: 2697
Joined: Sat Mar 21, 2020 5:32 am

Re: Umake v1.2.2

Post by Buggie »

No issues on which I aware of.

AFAIK it is already up-to-date. You can make PR to github repo if want.

Yes, some users ask for Linux version.
b1t5murf
Novice
Posts: 7
Joined: Sun Jan 08, 2023 3:30 am

Re: Umake v1.2.2

Post by b1t5murf »

Buggie wrote: Sun Jan 08, 2023 4:49 am No issues on which I aware of.

AFAIK it is already up-to-date. You can make PR to github repo if want.

Yes, some users ask for Linux version.
Okay, no worries!

Right out of the box, the code isn't able to compile with the latest Delphi 11 release (Sept 7, 2022) and needs a bit of TLC.

I'll open a PR once the code has been updated :)
Post Reply