Modmodding Q&A Thread

That sinking feeling when it seems you've done everything correctly but it still doesn't work...

But thanks for the VictoryScreen tip!
 
That sinking feeling when it seems you've done everything correctly but it still doesn't work...

Everyone who has modded Civ IV knows that feeling.:cringe:
 
Everyone who has modded Civ IV knows that feeling.:cringe:
Whenever that happens I just redo the code. Sometimes I made a stupid mistake and refuse to see it. It's either rewrite everything or take a week off so that I forget what I was trying to do and have to reread the code to relearn it.
 
Heh, I just did that half an hour ago with my cat while trying to figure out how to make the American UHV interface properly differentiate between fascists and communists, which would make it more nuanced than half of actually existing Americans. :mischief:
 
Which would make it more nuanced than half of actually existing Americans. :mischief:
In my country's defense, our education system is ****.

Seriously, we relearn the American revolution in EVERY GRADE. We don't get to world history until 10th grade. The only reason I know world geography is Rhye's and Fall.

EDIT: CivFanatics has a censor?
 
That's also a way I've found problems. Though it never occurred to me to use an inanimate object. Usually I just ramble on to my mother or father.
The concept was originally developed so people stuck on bugs wouldn't waste the time of another developer who's on the clock.
 
Moderator Action: This is not the place to discuss or test the limits of the forum's language filter. Let me also remind everyone that deliberately circumventing the language filter is a violation of the forum rules. If you have further questions, you can contact me via private message.

I have noticed a greater willingness to delve into off topic discussions in the last weeks, including discussion of forum rules and moderator actions. Regular threads are not the place for these discussions, if you have any concerns you can visit the forum feedback subforum or contact a moderator. I have treated such violations lightly in the past if they weren't disruptive, and opted to only remove such discussions to keep the thread on topic. However, if that trend continues I will have to enforce the forum rules more proactively.
 
Incidentally I did use this very thread as a virtual rubber-duck after my cat had gotten bored of me an hour ago. I wrote up a decent sized post detailing my long arduous journey on trying to get an American UHV of making sure there are no fascist or communist civs in the world in 2000 to work. Then I got a sudden epiphany and solved it myself, sooooo... thank you I guess, my little duckies?
 
Is it possible in any way to add more characters to the game? It bothers me that some civilizations (e.g. Turkey, Poland, the Norse) could really use a few extra characters, but the engine doesn't seem to allow it. If there's a character limit or something, what about replacing the unused symbols by ones that would actually add something to the game?
 
It isn't. The game uses the Windows Latin-1021 character set, of which all characters are used. I don't think it's even possible to change that without changing the exe.
 
I'm trying to resolve a crash, but the crash is hounding me about a Civ4BeyondTheSword.tmp.pdb. From what I can tell, it's a developer only file for debugging the exe. It's not letting me see the stack trace either, so I can't even figure out what caused the crash in the first place. What should I do?

I'm also getting this:

First-chance exception at 0x0069DA34 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x00000008.
Unhandled exception at 0x0069DA34 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x00000008.
 
Last edited:
The pdb file is what is exporting runtime information about the process to the debugger to get stack traces etc. Are you sure there is nothing else in the debugger? Sometimes a crash takes Visual Studio with it but you can still briefly see the current line in the debugger.

Otherwise, you only have the good old log function.
 
I'm trying to run the visual studio debug build solution from my mod, but am getting the following errors.
upload_2018-5-11_20-16-43.png
 
Are the TOOLKIT and PSDK variables pointing to the right path in your Makefile.settings?
 
The pdb file is what is exporting runtime information about the process to the debugger to get stack traces etc. Are you sure there is nothing else in the debugger? Sometimes a crash takes Visual Studio with it but you can still briefly see the current line in the debugger.

Otherwise, you only have the good old log function.
Its says that pdb is not loaded and is instructing me to change existing pdb and binary search paths. What should I do?
 
Visual studio express wont open the DLL file in the assets folder. I feel very lost as the moment!
upload_2018-5-12_11-28-28.png
 
Back
Top Bottom