IPB

Welcome Guest ( Log In | Register )


> Known exe hacks, To be made modifyable in rules.ini
Bittah Commander
post Aug 10 2009, 09:41 PM
Post #1


Forum Administrator
Group Icon

Group: Administrators
Posts: 1,340
Joined: 1-October 06
From: The Netherlands
Member No.: 5
Alliance: GDI
Favorite game: Tiberian Sun



A first release of HyperPatch likely isn't far away... If modders who need to do certain hacks in Game.exe with a hex editor to get certain things to work for their mod decide to use it, they'll inevitably have to do those hacks again when they start using HyperPatch.
If they have to do these hacks again and again every time a new version of HyperPatch is released, it'll likely put people off (and some hacks possibly can't even be done again because the offset to do them at has changed and there's no ASCII text to search for), so I'm making a list of known hacks which should be made modifyable in rules.ini in so mods that use HP will remain compatible with every new version of HP that'll be released. If anyone knows of any known hacks (this means there's either mods that already use them or you or someone else knows how to do the hack) I didn't add to this list, please post them.
  • 32 facings
  • Max tech levels
  • DropPod infantry
  • AllowHiResModes enabled by default
  • SidebarCameoText default value (possibly make its default value modifiable in rules.ini)
  • UnitActionLines default (this is not really important, but I'd suggest you either disable this by default or make its default value modifiable in rules.ini)
  • IsScoreShuffle (enabled by default)
  • Filenames (rules.ini, art.ini, tibsun.mix, expand01.mix, etc.; low priority since they can always be easily found and replaced via ASCII search)
  • Theater names (low priority since they can always be easily found and replaced via ASCII search)
  • Theater template extensions (.sno/.tem; low priority since they can always be easily found and replaced via ASCII search)


--------------------
Go to the top of the page
 
: | +Quote Post
 
Start new topic
Replies
SeekSomethingNew
post Nov 1 2009, 06:57 PM
Post #2

Stealth Tank
Group Icon

Group: Members
Posts: 1,025
Joined: 31-October 06
Member No.: 208
Alliance: GDI
Favorite game: Tiberian Sun



QUOTE (The DvD @ Oct 29 2009, 12:02 AM) *
Would it be possible to edit the .exe so that it allows objects using unittem/unitsno.pal pallettes to be lighted? (Example: stuff using the terrain pallette gets a greenish hue when in the vicinity of a green light post or when the map lighting is green).

BTW, when the game switches to Ion Storm mode, the above already happens as far as the map lighting goes.


DvD!

I have looked at this before but i dont quite get how it works, and when you mean terrain objects, you mean Fona, Tib Trees, Trees etc?...


--------------------
Go to the top of the page
 
: | +Quote Post
Rampastring
post Nov 2 2009, 02:00 PM
Post #3


Tick Tank
Group Icon

Group: Members
Posts: 690
Joined: 4-June 07
From: Finland
Member No.: 957
Alliance: Nod
Favorite game: Tiberian Sun



QUOTE (CCHyper @ Nov 1 2009, 08:57 PM) *
DvD!

I have looked at this before but i dont quite get how it works, and when you mean terrain objects, you mean Fona, Tib Trees, Trees etc?...

I think he means the same as me; for example, civilian buildings get lighted green when there's a green lightpost near them. However, players' buildings do not.

I'm not exactly sure if the lighting gets applied to Fona, Trees etc, but I think it does.

And like DvD said, players' buildings do already get coloured by the lighting during Ion Storms.


--------------------
Go to the top of the page
 
: | +Quote Post
The DvD
post Nov 7 2009, 03:19 AM
Post #4


Webmaster
Group Icon

Group: Root Admin
Posts: 740
Joined: 27-May 06
From: The Netherlands
Member No.: 2
Alliance: Nod
Favorite game: Tiberian Sun



QUOTE (^Rampastein @ Nov 2 2009, 03:00 PM) *
I think he means the same as me; for example, civilian buildings get lighted green when there's a green lightpost near them. However, players' buildings do not.

I'm not exactly sure if the lighting gets applied to Fona, Trees etc, but I think it does.

And like DvD said, players' buildings do already get coloured by the lighting during Ion Storms.


Yup, that's what i mean exactly. Wether the object gets lighted or not depends purely on the palette it uses, btw. For example, i once converted all Nod base buildings to the ISOTEM palette and set UseTerrainPalette=yes in art.ini. In-game, those base buildings were lighted just like the surrounding terrain. Reason for me not using this in TSTW is that it doesn't work for the building animations sad.gif

Had a screenshot on Tumsun like 5 yrs ago..


--------------------
Please contact me on msn if you need me for anything, thanks.
Go to the top of the page
 
: | +Quote Post

Posts in this topic
- Bittah Commander   Known exe hacks   Aug 10 2009, 09:41 PM
- - Machine   Creagor unharcoded some text colors (sidebar text ...   Aug 11 2009, 12:41 AM
- - Bittah Commander   It already is like that in TS by default; LightGre...   Aug 11 2009, 01:40 AM
- - CCHyper   QUOTE (Bittah Commander @ Aug 10 2009, 10...   Aug 11 2009, 11:49 AM
- - Revolutionary   QUOTE (Bittah Commander @ Aug 10 2009, 10...   Aug 11 2009, 11:57 AM
- - CCHyper   Revolutionary, you missed my post matey   Aug 24 2009, 10:51 PM
|- - Revolutionary   QUOTE (CCHyper @ Aug 24 2009, 11:51 PM) R...   Aug 25 2009, 03:55 PM
- - The DvD   Would it be possible to edit the .exe so that it a...   Oct 29 2009, 12:02 AM
- - 2kool4u526   OMG TEH DVD IS BACK!!!!   Oct 29 2009, 07:23 PM
|- - ^Rampastein   Yes, it's cool to see DvD posting again, and t...   Oct 30 2009, 01:43 PM
- - Orac   I'm pretty sure he means buildings, but if not...   Nov 2 2009, 03:25 AM
- - CCHyper   Hmm, this is interesting, but i do need something ...   Nov 2 2009, 08:27 PM
- - CCHyper   So its only ISOTEM/SNO that get effected? Let me l...   Nov 9 2009, 05:39 PM
- - The DvD   Found them Just did a quick conversion of the no...   Nov 26 2009, 09:20 PM
- - Darkstorm   I'm sorry to ask but how do you change the sid...   Dec 30 2009, 02:41 AM
|- - ^Rampastein   QUOTE (Darkstorm @ Dec 30 2009, 04:41 AM)...   Dec 30 2009, 10:00 AM
- - Bittah Commander   The color to modify is LightGrey, but the problem ...   Dec 30 2009, 08:19 PM
- - Darkstorm   Now that I think of it, it was change the green to...   Dec 31 2009, 01:19 AM
- - Revolutionary   sun.ini SidebarCameoText=no and removing this op...   Dec 31 2009, 11:23 AM
|- - The DvD   QUOTE (Revolutionary @ Dec 31 2009, 12:23...   Dec 31 2009, 02:58 PM
- - Revolutionary   QUOTE (The DvD @ Dec 31 2009, 02:58 PM) ....   Dec 31 2009, 09:03 PM
|- - Lin Kuei Ominae   QUOTE (Revolutionary @ Dec 31 2009, 10:03...   Jan 1 2010, 02:29 PM
|- - Revolutionary   QUOTE (Lin Kuei Ominae @ Jan 1 2010, 02:2...   Jan 7 2010, 05:37 PM
- - CCHyper   Thanks LKO! Regarding the sidebar text, i wil...   Jan 6 2010, 08:47 PM
- - CCHyper   A thing you have to understand is, not every hack ...   Jan 9 2010, 04:51 PM
|- - Revolutionary   QUOTE (CCHyper @ Jan 9 2010, 04:51 PM) A ...   Jan 9 2010, 07:43 PM
- - Bittah Commander   You're lucky I've documented all hacks tha...   Jan 10 2010, 01:08 AM
|- - Revolutionary   Wow thanks, thought i would at least have to conta...   Jan 10 2010, 12:51 PM
- - Aro   Here's another one for the list: Structures w...   Jan 11 2010, 10:03 PM
- - Revolutionary   Thanks, I have added that to my list/archives I ne...   Jan 12 2010, 08:14 PM
- - CCHyper   Credit each person respectively...   Jan 14 2010, 04:04 AM
- - Aro   When Hyper was telling me about this selling struc...   Jan 17 2010, 07:56 PM
- - Revolutionary   ok, and interesting. ill still note it down though...   Jan 17 2010, 08:22 PM
- - CCHyper   I wish i could give you a better hack Aro, but far...   Jan 17 2010, 08:24 PM
- - Aro   It's all good man, I'll put up with it unt...   Jan 18 2010, 09:53 AM
|- - Revolutionary   found another edit AI using 3rd side http://www....   Mar 1 2010, 04:25 PM
- - CCHyper   Whah, that was time ago xD   Mar 2 2010, 07:24 PM
- - Revolutionary   I need to full test this and it isnt perfect but i...   Mar 10 2010, 04:47 PM
- - Bittah Commander   I rather doubt there'll be any hacks at all th...   Mar 10 2010, 06:27 PM
|- - Revolutionary   QUOTE (Bittah Commander @ Mar 10 2010, 06...   Mar 10 2010, 08:03 PM
- - CCHyper   Nothing will be in the same place, but some patter...   Mar 14 2010, 02:25 PM
|- - Revolutionary   QUOTE (CCHyper @ Mar 14 2010, 02:25 PM) N...   Mar 14 2010, 04:46 PM
- - Revolutionary   never did get round to messaging you sorry just w...   Apr 2 2010, 01:28 PM
- - Crimsonum   So what was this about now? I'm sure people kn...   Apr 2 2010, 04:31 PM
- - OmegaBolt   Well I don't know how to change it.   Apr 2 2010, 07:33 PM
|- - ^Rampastein   About a month ago I found out how to change the ha...   Apr 2 2010, 07:48 PM
|- - Revolutionary   QUOTE (^Rampastein @ Apr 2 2010, 08:48 PM...   Apr 2 2010, 08:01 PM
- - CCHyper   Its a very simple bit of code that hardcodes the p...   Apr 4 2010, 04:25 PM
- - Revolutionary   I have some freetime at the moment so im going to ...   May 12 2010, 06:47 PM


Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 10th May 2025 - 08:27 PM


XGhozt.com