• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

DivineShadow

Colonel
7 Badges
May 21, 2004
1.136
2
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Hearts of Iron III
  • Iron Cross
  • 500k Club
Are you sick of seeing you units arrive in provinces with 0 org only to get kicked out and spend 4 months retreating?

Does that make your Italy/UK/China/Japan/Raj game rather annoying?

Well no more!

(Read original post here: http://forum.paradoxplaza.com/forum/showthread.php?641454-changing-rate-of-org-loss-during-movements&p=14536089&viewfull=1#post14536089 )

This program will disable the org loss when a unit is *moving* and ONLY when a unit is moving (all other org losses will continue the work as normal).

Hope you find it useful!.

(note it needs .NET 3.5 to run however most peoples windows should already have that by now)

MAKE SURE YOU DOWNLOAD RIGHT VERSION!!!!

FOR RC1
http://ubersoft.org/download/OrgLoss.zip

FOR RC2
[URL="http://ubersoft.org/download/OrgLossRC2.zip]http://ubersoft.org/download/OrgLossRC2.zip[/URL]

FOR RC3
[URL="http://ubersoft.org/download/OrgLossRC3.zip]http://ubersoft.org/download/OrgLossRC3.zip[/URL]

How it works?
It works exactly the same as a trainer you simply open the game then ALT + TAB back to desktop then you run the program it will patch the memory of the game and disable org loss when a unit is moving.

It should make it much more enjoyable playing Japan/China etc.

If you notice any bugs let me know it was made rather quickly due to people just requesting it.....

BTW this does not modify your Darkest Hour at all and does not change your version code it simply patches a location in the games memory and does not modify the exe or game files in any way and once the game is restarted all changes are gone (Assuming a person does want to modify their exe for personal use that is up to you however i could tell you what locations to hex edit assuming you know how to do that kind of stuff...).

The program is made using Sputnik (a programming language I created for use in macros and scripting).

Here is the source code to the latest version of the Org Loss patch (may prove useful for somebody to update my work if they want to and I'm not around):
http://pastebin.com/S9AmeUCY

Updates:
21/10/2014 -- Download links are now on dedicated server that will run 24/7 forever (until I run out of cash and the bastards shut the site down after 5 minutes of late payment)
 
Last edited:
What do you have to edit to make units not lose org when moving?

It edits how the game handles org reduction when units are moving in the hard coded parts of the game.

Skill at assembly language and debugging is required to create such a change to a game (The games source code is converted from C++ to Assembly language when the game is compiled so you need an understanding how to read/edit such assembly code).

Since it only patches the game while it is running and does not modify the exe or game files in any way this type of patch is considered fine by game creators.

I could provide the source code to it if you want to take a deeper look.

The tricky part is the game uses the same *section* of code for gaining org as it does losing org so it requires an extra trick to only disable the loss of org and not the gain of org.
 
Yes im the same UberFoX who did the SP2 mod and fixed all bugs in SP2.

Here is RC9

http://uberfox.no-ip.org/uberfoxmod10rc9b.zip

Thank you so much! Now I hope I can host again. Is there any chance for an RC10?


Sorry to derail this topic btw, but a working Uberfox link was nowhere to be found and people on the SP2 forums were spreading the same corrupted version to each other :p.
 
Thank you so much! Now I hope I can host again. Is there any chance for an RC10?


Sorry to derail this topic btw, but a working Uberfox link was nowhere to be found and people on the SP2 forums were spreading the same corrupted version to each other :p.

RC10 does work and fixes a number of things although it has an incomplete UN system.

One thing i wanted to do with SP2 was an add an Event System and Decisions similar to DH but i never got around to it.
 
RC10 does work and fixes a number of things although it has an incomplete UN system.

One thing i wanted to do with SP2 was an add an Event System and Decisions similar to DH but i never got around to it.

There is seriously an RC10? I thought you made untill RC9, thats why I asked for a working one. The version at superpower2.co.uk is broken. If you have RC10 around, feel free to send me the link ;). Hope you can continue your work with SP2 soon and I hope to see some nice stuff from you at DH here too.
 
There is seriously an RC10? I thought you made untill RC9, thats why I asked for a working one. The version at superpower2.co.uk is broken. If you have RC10 around, feel free to send me the link ;). Hope you can continue your work with SP2 soon and I hope to see some nice stuff from you at DH here too.

RC 10 isn't released yet.

DH team dont seem interested in an SDK like SP2 has so its not so easy to mod hard coded stuff....
 
Good interim solution. I hope the misc.txt will soon get a moddable value. I know the org loss is calculated in the game, but it should be relatively easy to multiply that outcome with a modifier from the misc.txt.
 
Good interim solution. I hope the misc.txt will soon get a moddable value. I know the org loss is calculated in the game, but it should be relatively easy to multiply that outcome with a modifier from the misc.txt.

Yes but until the dev decides to add that to misc.txt the only way to do it is this program.

Last time the devs didnt want to fix something i made similar fixes for other games for example:

* I fixed a lot of stuff in Superpower 2 including all exploits and cheats so people could finally play proper games in MP
* I fixed Crusader Kings 1 so people could finally play Muslims and Pagans something paradox never cared to fix for people....
* I removed the airstacking penalty from Hearts of Iron 1 something people begged and pleaded paradox to fix for YEARS.....

However DH team seems more responsive and i think they will add the ability to do this in the misc.txt if it was any other game (AOD/Armageddon whateva) i wouldnt bet on the devs adding it.....
 
Yes but until the dev decides to add that to misc.txt the only way to do it is this program.
However DH team seems more responsive and i think they will add the ability to do this in the misc.txt if it was any other game (AOD/Armageddon whateva) i wouldnt bet on the devs adding it.....
Yes, the DH dev team is a great bunch and are indeed very responsive. I expect they will do something about this. But until then, your fix is great.
 
#2239, related to #608

Also, DevineShadow, I noticed you posted some bug reports and noted it took some time to fix them. Sorry about that, but we only have 1 person working on the engine, so it will take him some time to get it done. He has literally hundreds of feature requests and bugs to fix. :(
 
Last edited: