logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,643
Total Threads: 8,744
Posts: 95,520

Administrators:
DeeZire, Redemption

There are currently 31 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 07-01-2004, 11:22 AM   #1 (permalink)
Member
 
Join Date: Jun 2004
Location: Germany
Posts: 76
Send a message via ICQ to Ingoneur
Default How to edit the generals.dat?

How can I edit this file because I need more WeaponBonuses.
I had tried it with Notepad (^^) but it doesn't worked.
Have anyone an Editor or know there i can find one?
Need this for my Mod or I can forget it.
Ingoneur is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2004, 11:29 AM   #2 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: Nijmegen, The Netherlands
Posts: 849
Default

You can open it with notepad but it takes an few mins if you got an slower cpu
Chrizz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2004, 11:34 AM   #3 (permalink)
Member
 
Join Date: Jun 2004
Location: Germany
Posts: 76
Send a message via ICQ to Ingoneur
Default

I said i had tried it with notepad but when there are no real things there I can add that that i want to add. And I tried at some places to add sth. and then I start the game it doesn't work.
Ingoneur is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2004, 11:36 AM   #4 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: Nijmegen, The Netherlands
Posts: 849
Default

You waited? a few mins when its loaded.
It working perfect here incl by some good friends of me :tard:
Chrizz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2004, 11:39 AM   #5 (permalink)
Member
 
Join Date: Jun 2004
Location: Germany
Posts: 76
Send a message via ICQ to Ingoneur
Default

What changes have u made in your generals.dat? mine doesn't work and i had not to wait long (AMD 2600+ with 512 MB DDR-400 Ram)
Ingoneur is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2004, 11:47 AM   #6 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: Nijmegen, The Netherlands
Posts: 849
Default

If i open it i see some wierd text like som symbols etc but thats all may you must open game.dat? dont you think? In that .dat file are some kindoffs etc and some condition states and more i loads here in 1 sec
Chrizz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2004, 11:51 AM   #7 (permalink)
Member
 
Join Date: Jun 2004
Location: Germany
Posts: 76
Send a message via ICQ to Ingoneur
Default

In the generals.dat is the index of the WeaponBonus things like HORDE NATIONALISM VETERAN ELITE HERO.....
And I want to add a new Bonus like REICHWEITE1 (Reichweite is a german word for range and the one is the level of the bonus because i want to buy more than one weapon bonus for my unit without changeing weapons)
Ingoneur is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2004, 11:57 AM   #8 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: Nijmegen, The Netherlands
Posts: 849
Default

My generals.dat is 1kb so there is nothing in it may you have an bigger one ?
Chrizz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2004, 12:00 PM   #9 (permalink)
Member
 
Join Date: Jun 2004
Location: Germany
Posts: 76
Send a message via ICQ to Ingoneur
Default

ahh I am sorry its game.dat what i meant. But I always confuse it with generals.dat
Ingoneur is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2004, 03:37 PM   #10 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

I strongly advise you not to mess with it. It's illegal to mess with it but right now that's beside the point. Without a doubt there is a byte or word somewhere in the file that states exactly how long the file is, and there is also probably an array of indexes that refer to other areas inside the file. If you add any text or remove it, you will most likely break all of those references, thereby corrupting the file and making it useless. Try to achieve this in some other way, because this isn't going to work.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to edit or create .W3D? Help!!! Incult_1985 Generals & Zero Hour Editing 4 01-03-2005 08:44 AM
GeneralsExpPoints.wnd Edit Retnuh Generals & Zero Hour Editing 9 10-26-2004 11:43 AM
HOW CAN I EDIT OR ADD... SCUD Generals & Zero Hour Editing 4 01-10-2004 05:07 PM
how do i edit generals? ccs Generals & Zero Hour Editing 2 11-20-2003 06:18 PM
Can someone tell me which ini to edit !!!!!!!!! help! Simmo Generals & Zero Hour Editing 4 09-27-2003 11:24 PM


All times are GMT -4. The time now is 06:26 PM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.