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
SeekSomethingNew
post Dec 22 2007, 05:33 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



Arf, why cant people make more sense 0_o

Look, if you rename Expand%02d.mix to OMGLuL%02d.mix, the game will read OMGLuL%02d.mix instead of Expand%02d.mix. Now, the same goes for INI's. If you want to put your custom INI's in OMGLuL%02d.mix, then the game will read them fine, taking assure that you dont have copy's in the current directory.


--------------------
Go to the top of the page
 
: | +Quote Post
ORCACommander
post Dec 22 2007, 05:46 PM
Post #3


SSM Launcher
Group Icon

Group: Members
Posts: 763
Joined: 5-October 06
From: GDI Command Base, Southern Cross
Member No.: 14
Alliance: GDI
Favorite game: Tiberian Sun



QUOTE (TSHyper @ Dec 22 2007, 01:33 PM) *
Arf, why cant people make more sense 0_o

Look, if you rename Expand%02d.mix to OMGLuL%02d.mix, the game will read OMGLuL%02d.mix instead of Expand%02d.mix. Now, the same goes for INI's. If you want to put your custom INI's in OMGLuL%02d.mix, then the game will read them fine, taking assure that you dont have copy's in the current directory.

hyper here is correct. another possibility is that you forgot to pack the mix file you put the inis in. The game engine oesn't consider and uncompressed mixed file as legit mix file


--------------------
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: 6th September 2025 - 07:31 PM


XGhozt.com