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

Forum Info
Forum Members: 18,581
Total Threads: 8,669
Posts: 94,547

Administrators:
DeeZire, Redemption

There are currently 34 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 11-11-2003, 10:28 PM   #1 (permalink)
Junior Member
 
Join Date: Mar 2003
Location: USA
Posts: 1
Default Limit Superweapons data location?

Does anyone know where the data for the "Limit Superweapons" option is kept? I'm trying to find it so I can make it into a "No Superweapons" switch, but I can't figure out which INI it's stored in.
Skaleus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-12-2003, 03:38 AM   #2 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Germany
Posts: 373
Default

It's hard coded and can't be changed ! :/
Panzerfather is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-12-2003, 08:21 AM   #3 (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

Well, I'd say you could change it. There's no INI that controls it but there's still the window files (WND)... Take a look at them, but ask Dee about the technical stuff cause I haven't a clue.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-12-2003, 11:16 AM   #4 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Germany
Posts: 373
Default

No, definately not ! Look in the "LanGameOptionsMenu.wnd" where the "LimitSuperWeapon" is !
The WND-Files are like the INI's, a little bit more complicated, but they only can handle what's programmed in the EXE/DATA file(s) !!! :|

You can't handle the variable of the "LimitSuperWeapon" button and it's restrictions to them and what it will do !!! NO WAY !!! :S
Panzerfather is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-13-2003, 07:38 AM   #5 (permalink)
Member
 
Join Date: Feb 2003
Location: Netherlands
Posts: 69
Send a message via ICQ to Wiebbe Send a message via MSN to Wiebbe
Default

you could if you hacked the exe file

this is actually one integer :P
so i wonder if its easy to find..
Wiebbe is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-13-2003, 08:09 AM   #6 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Germany
Posts: 373
Default

Integer or boolean ??? BUT hacking the EXE is illegal !!!
Panzerfather is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-13-2003, 08:52 AM   #7 (permalink)
Administrator
 
DeeZire's Avatar
 
Join Date: Dec 2002
Posts: 1,913
Send a message via ICQ to DeeZire
Default

Its both

LimitSuperWeapons is boolean as the value is stored in INI files for online/LAN play, although if it set TRUE then an Integer is then set to '1' - this integer is then used to determine the maximum number of super weapons you can build. All you need to do is set that Integer to '0' instead and the function becomes a 'disable super weapons' option.
DeeZire is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-13-2003, 09:12 AM   #8 (permalink)
Senior Member
 
Join Date: Sep 2001
Posts: 734
Send a message via ICQ to Flyby
Default

Quote:
Originally Posted by Panzerfather
Integer or boolean ??? BUT hacking the EXE is illegal !!!
So is extracting *.BIG files...
Every aspect of modding that has not been made possible by tools released by the makers, is to be considered illegal....

so making new maps is not illegal...adding units is...

As most of the modding aspects are being tollerated, I shouldn't worry about it, unless you've signed an NDA at certain point....
Flyby is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-13-2003, 09:37 AM   #9 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Germany
Posts: 373
Default

Quote:
Originally Posted by DeeZire
Its both

LimitSuperWeapons is boolean as the value is stored in INI files for online/LAN play, although if it set TRUE then an Integer is then set to '1' - this integer is then used to determine the maximum number of super weapons you can build. All you need to do is set that Integer to '0' instead and the function becomes a 'disable super weapons' option.
In which INI can it be found ??? Searched for it, but couldn't find it !!! :/
Panzerfather is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-13-2003, 03:01 PM   #10 (permalink)
Member
 
Join Date: Feb 2003
Location: Netherlands
Posts: 69
Send a message via ICQ to Wiebbe Send a message via MSN to Wiebbe
Default

baka!!

read the rest of the thread first!

as i have said before i guessed it was a integer that (according to deezire) is being set to on/off with a boolean.

Now somewhere in (the .dat or .exe file) there is some compiled code that contains the integer from how many superweapons can be build.

(standard its 0)

now there are 2 possibilties for this:
You can hack the active memory, this works much like a map hacking or trainer programme. You edit the memory as the game is running, so the integer is changed on the fly. This way is alot more usefull as you could still use the exe file online. On the other hand iam not sure if this would work online at all. (if all players use the same memory editing programme.)

The second way, which require alot less programming experience, is "hacking" the file that contains the integer. The best way too do this is hex-editing the .exe or .dat file. what you should do now is changing the hard coded limit. Ie actually changing the integer fro m1 to ie 0.

The bad part about the second one is that youre exe prob wont be allowed on GOL. as the crc (of whatever check they use) wont be the same.

Now i dont have any idea at what memory adress the integer is located, or where its located in the .exe or .dat files so dont bother me with it

if you want to start with researching how its done, just find some tutorials on cracking a cd-check programma, as the basics are the same.

how this explains everything alot more..
Wiebbe 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
Animation and projectile location XtremeNL Red Alert 2 & Yuri's Revenge Editing 2 08-20-2005 08:17 PM
System Maps and User data folder? adamstrange Map Authoring 6 06-19-2004 12:05 PM
location? jeffrey100 Generals & Zero Hour Editing 2 02-12-2004 02:55 PM
where is the data in zero hour located? ccs Generals & Zero Hour Editing 1 01-27-2004 03:02 PM
cash hack data/info Prism128 Generals & Zero Hour Editing 2 09-14-2003 10:55 AM


All times are GMT -4. The time now is 12:16 PM.


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