Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline denko  
#1 Posted : Sunday, March 4, 2018 6:17:07 PM(UTC)
denko
Private
Joined: 1/19/2018(UTC)
Posts: 11

I have a bunch of mods for zero hour, and for each one I always put two ini files in the data folder, gamedata.ini and rank.ini. The gamedata one makes it so that all the mods have the same camera min and max height, and rank.ini makes you able to use all the general powers at once. However, in some mods like operation firestorm, the putting these two files in will more often than not make the game crash. After hours of testing different methods and nailing down the circumstances for these crashes I was able to finally determine that its either the gamedata.ini or rank.ini files causing it, and heavily leans me towards rank.ini. I took the the two ini files out of the game to see if it crashes still, and it didn't (the crash mostly happens when switching strategies at the strategy center). I also took only the rank.ini file out to see if it crashed and it still didn't, but when I put it back, using the strategy center made the game crash again. Is there any way to edit the rank file so that I can use all the general powers and have the game not crash? I do the rank.ini thing for all the mods I have, but this is the only one it crashes for. Not sure why since if you open firestorm's ini you can see there's a rank.ini file in there already, so why would adding a few numbers to a file that is already in the game make it crash? Maybe if you add too many generals points it makes the game not work?

I also have this crash report from the mod and everytime it crashes because of rank.ini it's the same message

; Reason Uncaught Exception in GameEngine::update

Last error:
Exception is access violation
WinMain at 401700
Error code: EXCEPTION_ACCESS_VIOLATION
Description: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Access address:00000144 was read from.

Stack Dump:
<Unknown>(-1) : <Unknown> 0x0045A680

Details:
Register dump...
Eip:0045A680 Esp:0019F344 Ebp:00000000
Eax:0019F350 Ebx:00000000 Ecx:00000144
Edx:28C46AEC Esi:00000144 Edi:00000000
EFlags:00010206
CS:0023 SS:002b DS:002b ES:002b FS:0053 GS:002b
EIP bytes dump...

Bytes at CS:EIP (0045A680) : 8B 01 8B 48 04 85 C9 56 57 8B 7C 24 0C 8B D0 74 15 8B 37 39 71 10 7C 07 8B D1 8B 49 08 EB 03 8B


Current stack:
Sponsor
Offline klingondragon  
#2 Posted : Monday, March 5, 2018 5:49:17 AM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
The game probably crashes because the mod is trying to access something in it's rank.ini but your rank.ini overrides it so the game can't access it. This is the biggest problem with mods. If they both change the same file they can't be used at the same time (unless you're able to merge them).
Your best bet is to extract the rank.ini from the mod you're using and then modify that instead of the one you already have. It's probably a good idea to do this for gamedata.ini too.
Offline denko  
#3 Posted : Monday, March 5, 2018 1:19:46 PM(UTC)
denko
Private
Joined: 1/19/2018(UTC)
Posts: 11

Originally Posted by: KlingonDragon Go to Quoted Post
The game probably crashes because the mod is trying to access something in it's rank.ini but your rank.ini overrides it so the game can't access it. This is the biggest problem with mods. If they both change the same file they can't be used at the same time (unless you're able to merge them).
Your best bet is to extract the rank.ini from the mod you're using and then modify that instead of the one you already have. It's probably a good idea to do this for gamedata.ini too.

I tried that already though. I downloaded finalbig and pulled the rank.ini and gamedata.ini files right out of firestorm's .big file and I noticed that the rank files are pretty much the same but firestorm's has like 21 ranks instead of just 5. Instead of copy pasting the same rank file like I do with all the other mods I just used finalbig to edit the rank.ini while in was still in the .big and it still lets you have generals points, but it still seems to crash. I feel like the only option here is to just get rid of rank.ini since the game wasn't intended for you to have all the powers and that's probably why it crashes. It just makes no sense to me since a rank.ini is already in firestorm's directory, it's just located in a file you need finalbig to open.
Offline klingondragon  
#4 Posted : Monday, March 5, 2018 4:26:18 PM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
There's no problem with having all the general's powers. That's some simple modding that works for most people. I did it myself and never had a problem. I don't know anything about firestorm so I can't give specific advise, only general advise.
Are you using any other mods or just firestorm and your own inis?
Offline denko  
#5 Posted : Monday, March 5, 2018 4:31:19 PM(UTC)
denko
Private
Joined: 1/19/2018(UTC)
Posts: 11

Originally Posted by: KlingonDragon Go to Quoted Post
There's no problem with having all the general's powers. That's some simple modding that works for most people. I did it myself and never had a problem. I don't know anything about firestorm so I can't give specific advise, only general advise.
Are you using any other mods or just firestorm and your own inis?

Ok so I did a couple more tests (tried taking out both ini's, leaving one in, not using firestorm's patch, etc) and finally came to the conclusion that it's actually not rank.ini or gamedata.ini causing the crashes. I reininstalled the entire mod (I have to copy paste the entire game directory for each mod or else they all overwrite) and firestorm still crashes when you use switch battle plans at the strategy center. Everytime the game crashes the error log always says the same thing so I was starting to realize it wasn't the ini's files fault, it's the mod's fault. I just don't know why it only happens with that one building.

All I can do now is hope he fixes it in the next update (whenever that is) or go back to the first version of the beta, but the glitch might still be there.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.