Author Topic: Yitzi's unofficial SMAX patch 2.4c  (Read 6723 times)

0 Members and 1 Guest are viewing this topic.

Offline Yitzi

Yitzi's unofficial SMAX patch 2.4c
« on: December 08, 2013, 07:22:28 PM »

Re: Yitzi's unofficial SMAX patch 2.4c
« Reply #1 on: December 09, 2013, 04:26:43 PM »
Thanks for working on this. I've tried this out for the first time on this patch, no issues to report.

Offline Dio

Re: Yitzi's unofficial SMAX patch 2.4c
« Reply #2 on: December 25, 2013, 03:08:04 AM »
I have found a bug. This bug occurs when you start a game on a customized random map and then start using the scenario editor. Once you start applying terrain to the map in the scenario editor, the terrain selection interface freezes and you cannot select any other terrain type or any other menu selection.

Offline BFG

Re: Yitzi's unofficial SMAX patch 2.4c
« Reply #3 on: December 25, 2013, 04:16:42 AM »
Wow, you've been BUSY!  Thank you, yitzi.
(I just came back to SMAC/X after a lengthy hiatus.  I had no idea there was so much work being done on a patch.)

Could someone quickly summarize the intent of Yitzi's patch-work?  Specifically, which of the following would best describe it:
(1) Limited to correcting obvious errors, crashes, etc. that remained in the last official patch
(2) Attempts to rework/rebalance various problematic aspects of the game have been added
(3) Attempts to improve the AI in certain areas have been added
(4) Some combination of the above


I'd also be curious if anyone's made use of my new tech icons but that's a different discussion :)

Offline Geo

Re: Yitzi's unofficial SMAX patch 2.4c
« Reply #4 on: December 25, 2013, 11:53:46 AM »
I have found a bug. This bug occurs when you start a game on a customized random map and then start using the scenario editor. Once you start applying terrain to the map in the scenario editor, the terrain selection interface freezes and you cannot select any other terrain type or any other menu selection.

It works for me.

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 2.4c
« Reply #5 on: December 25, 2013, 12:55:18 PM »
I have found a bug. This bug occurs when you start a game on a customized random map and then start using the scenario editor. Once you start applying terrain to the map in the scenario editor, the terrain selection interface freezes and you cannot select any other terrain type or any other menu selection.

I'll look into it, but if it works for Geo it's very possible I won't be able to replicate it and then I can't really help you unless you provide any files you've changed from standard.

Wow, you've been BUSY!  Thank you, yitzi.
(I just came back to SMAC/X after a lengthy hiatus.  I had no idea there was so much work being done on a patch.)

Could someone quickly summarize the intent of Yitzi's patch-work?  Specifically, which of the following would best describe it:
(1) Limited to correcting obvious errors, crashes, etc. that remained in the last official patch
(2) Attempts to rework/rebalance various problematic aspects of the game have been added
(3) Attempts to improve the AI in certain areas have been added
(4) Some combination of the above


I'd also be curious if anyone's made use of my new tech icons but that's a different discussion :)

It's a bit of (1), and (3) if I happen to run across it and it's really obviously a mistake, but mostly (2), but with a twist: Because many of these "problematic aspects" are unclear whether they're a problem and if so what the fix is, I don't change them, but rather create a new option in alphax.txt that lets people customize to rebalance as they want.  No clue about the new tech icons; I haven't touched them, though I don't think .exe coding is needed to use them...

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 2.4c
« Reply #6 on: December 25, 2013, 04:23:50 PM »
Dio, I can't replicate your problem, so without files and an exact description of what you do to cause it, I can't really do anything about it.

Offline BFG

Re: Yitzi's unofficial SMAX patch 2.4c
« Reply #7 on: December 27, 2013, 01:59:16 AM »
No clue about the new tech icons; I haven't touched them, though I don't think .exe coding is needed to use them...

It's no big deal.  I just created a couple of SMAC-like icons for "Inertial Damping" and "Global Energy Theory" since, while most of the assets--audio, config file, etc.--made it into the final game for those techs, the icons were lost somewhere along the way.
(The tech024.pcx and tech070.pcx files corresponding to these two technologies are duplicates of others.)

Offline Dio

Re: Yitzi's unofficial SMAX patch 2.4c
« Reply #8 on: December 27, 2013, 09:12:11 PM »
I found a bug in the code. This bug involves the faction energy bonus (abbreviated FACTENERGY) in the script file and the associated code for it in the game. For some reason it is not showing up in the faction budget screen (pop up screen that appears when you press F3).

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 2.4c
« Reply #9 on: December 29, 2013, 04:35:33 AM »
I found a bug in the code. This bug involves the faction energy bonus (abbreviated FACTENERGY) in the script file and the associated code for it in the game. For some reason it is not showing up in the faction budget screen (pop up screen that appears when you press F3).

A few questions:
-Does this bug occur in Kyrub's patch?
-Do you still get the relevant energy interest/penalty, and it just isn't displayed, or does it not work at all?
-Can you provide the faction file of the faction you tested it with?

Offline Dio

Re: Yitzi's unofficial SMAX patch 2.4c
« Reply #10 on: December 29, 2013, 06:34:27 PM »
I found a bug in the code. This bug involves the faction energy bonus (abbreviated FACTENERGY) in the script file and the associated code for it in the game. For some reason it is not showing up in the faction budget screen (pop up screen that appears when you press F3).

A few questions:
-Does this bug occur in Kyrub's patch?
-Do you still get the relevant energy interest/penalty, and it just isn't displayed, or does it not work at all?
-Can you provide the faction file of the faction you tested it with?
This faction rule works as it should in game in both kyrub's SMAX patch and your most recent patch version. However, it does not show up in the faction budget screen in either version. I have tested it with this faction file.

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 2.4c
« Reply #11 on: December 30, 2013, 02:34:41 AM »
I found a bug in the code. This bug involves the faction energy bonus (abbreviated FACTENERGY) in the script file and the associated code for it in the game. For some reason it is not showing up in the faction budget screen (pop up screen that appears when you press F3).

A few questions:
-Does this bug occur in Kyrub's patch?
-Do you still get the relevant energy interest/penalty, and it just isn't displayed, or does it not work at all?
-Can you provide the faction file of the faction you tested it with?
This faction rule works as it should in game in both kyrub's SMAX patch and your most recent patch version. However, it does not show up in the faction budget screen in either version. I have tested it with this faction file.

Ok...I don't think it'll make the short list, but once I finish that (next up, by the way, is scaling support costs and a few support-related fixes, which I'm mostly done with), it's definitely a viable request.

Offline Dio

Re: Yitzi's unofficial SMAX patch 2.4c
« Reply #12 on: January 09, 2014, 08:41:21 PM »
After some testing and tweaking I have learned that the rainfall indicator in the scenario editor is taken directly from the level of cloudiness chosen for the map (sparse clouds=arid, average=moist and dense=rainy). In addition, the brush size selection in the scenario has more bugs than I intially thought. First, their are additional sizes of brushes that can only be selected by going to the brush selection menu under the edit map menu. Also, I have discovered that the the help boxes for the interface brush selection are being drawn from the script or labels file. Note: I am currently working on fixing this and it appears at the moment to me that it is incorrectly drawing the information from the script file.

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 2.4c
« Reply #13 on: January 10, 2014, 01:28:24 AM »
If you come up with a fix, feel free to share it with me (i.e. what section you changed and how), and I can work it into my next patch.

Offline Dio

Re: Yitzi's unofficial SMAX patch 2.4c
« Reply #14 on: January 14, 2014, 04:36:49 AM »
I figured out how to fix the brush help box display bug metioned above. First, go to address 0045B328 and change the constant 0F64 to 0ED4. Then go to address 0045B3E1 and change the constant 0F7C to 0EEC. Then save the changes to the executable file and the bug will be fixed.

The underlying issue was that the game was taking the incorrect labels from the labels.txt file and applying it to the mouse over help boxes. In addition, this particular label drew all the labels from within a certain range of constants and applied them to the interface. This caused the labeling procedure for this interface to function and appear differently from  some of the other labels that you find in the executable code.

 

* User

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Select language:

* Community poll

SMAC v.4 SMAX v.2 (or previous versions)
-=-
18 (6%)
XP Compatibility patch
-=-
9 (3%)
Gog version for Windows
-=-
77 (29%)
Scient (unofficial) patch
-=-
28 (10%)
Kyrub's latest patch
-=-
14 (5%)
Yitzi's latest patch
-=-
85 (32%)
AC for Mac
-=-
2 (0%)
AC for Linux
-=-
5 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
12 (4%)
Total Members Voted: 260
AC2 Wiki Logo

* Random quote

Observe the Razorbeak as it tends so carefully to the fungal blooms.. just the right bit from the yellow, then a swatch from the pink. Follow the Glow Mites as they gather and organize the fallen spores. What higher order guides their work? Mark my words: someone or something is managing the ecology of this planet.
~Lady Deirdre Skye 'Planet Dreams'

* Select your theme

*