IPB

Welcome Guest ( Log In | Register )


> Packaging a mod, Editing Game.exe
Altzan
post Dec 21 2007, 02:53 AM
Post #1


Flamethrower Infantry
Group Icon

Group: Members
Posts: 141
Joined: 24-November 07
Member No.: 1,057
Alliance: GDI
Favorite game: Tiberian Dawn



Ok, I have a mod and I want to package it. ScrinHack and I use it to play LAN games for fun, not as a contest (we like to mess around with pimped-out units tongue.gif ) so it's not really a mod per se... but we are annoyed with having to switch the ini's around between my mod and Origional rules.
So, I read the tutorial on editing Game.exe, followed it and...fail. It runs, yes, but plays origional rules.

So here's my failing procedure.
I have the typical INI files that are in a mod:
CODE
AI.ini
Art.ini
BattleFS.ini
Firestrm.ini
Rules.ini
Sound01.ini
Theme.ini
ArtFS.ini

I put these within a MIX entitled LANMOD02.mix using MIX editor. I copied Game.exe, renamed it to LANMOD.exe, used HDD Hex Editor to change [ EXPAND ] to [ LANMOD ]. Saved it, then ran it.

So, can anyone see flaws in my procedure?

PS How many instances of [ EXPAND ] must be changed in the .exe? Must I change ECACHE even if there are none?

This post has been edited by Altzan: Dec 21 2007, 02:54 AM


--------------------
Altzan
Go to the top of the page
 
: | +Quote Post
 
Start new topic
Replies
Altzan
post Dec 21 2007, 01:44 PM
Post #2


Flamethrower Infantry
Group Icon

Group: Members
Posts: 141
Joined: 24-November 07
Member No.: 1,057
Alliance: GDI
Favorite game: Tiberian Dawn



QUOTE (TSHyper @ Dec 21 2007, 05:18 AM) *
Err... Try renaming your Rules.ini aswell.

Also, Only rename EXPAND%02d.MIX, EXPAND01.MIX is for Firestorm.


What do you mean by "rename Rules.ini"?

And I did the other thing, Firestorm units work now but origional rules are still here.
If I point it to LANMOD02.mix instead of Expand01.mix, will I have to make sure all of the files in Expand01.mix are on LANMOD02.mix as well? Or do I only need to put in my 8 INI's?


--------------------
Altzan
Go to the top of the page
 
: | +Quote Post



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

 

Lo-Fi Version Time is now: 10th September 2025 - 08:32 PM


XGhozt.com