• 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.

unmerged(175364)

Sergeant
1 Badges
Oct 26, 2009
77
0
  • Majesty 2
To access the editor backup Game.dll and Editor.dll
now delete Game.dll and rename Editor.dll to Game.dll
Launch majesty2 and you will go directly into the editor.
Also copy the extracted map folder into the editor folder so it will see the maps to load.

Edit I get an error i am trying to fix now about width if anyone can figure it out let me know.
 
Last edited:
Lol interesting, I'll perhaps be able to give a look to this editor, I was too lazy to install again the game and search how keep two version of it at same time.

EDIT: Yes it works but it doesn't show much stuff from snapshot I have seen there was much more items, not only maps. I' try unzip all the pak file to see.
 
I just extracted everything and it will load everything except buildings ill play a bit more to see what needs to be done.
majesty.jpg


Edit I re extracted all paks in order from pre patch to after patch and now I can create and load anything custom made but I can't load the official maps its looking for some flag

---------------------------
editor [GEM] - Exception
---------------------------
Unable to add user-defined flag to eEntityFlags (\entity_flags.cpp, 53)
>>> load map "/map/multiplayer_missions/mp_01/map"
>> "/map/multiplayer_missions/mp_01/map"
> "/entity/landscape/water/water_foam_pingpong/water_foam_pingpong.def"

1: {entity {Flags "always_fog_visible"« "wather_entity"}
2:
3: {constrain water}
4: {Skeleton
5: {"shadow/receiver" 0}

---------------------------
OK
---------------------------
 
Last edited:
Woo nicely done, I tried a bit but get the error you quote and for second attempt the editor freeze when loading a map.

I'll try again. Could you summarize the commands and how you proceed?

My understanding is that you:
  • Backup editor.dll and Game.dll.
  • Then you removed Game.dll
  • Renamed editor.dll to Game.dll.
  • Extract all the contents of resource.pak in resource.editor
  • Extract all contents of resource_1_01.pak in resource.editor overriding existing files.
  • Then you launch the game and get the editor.
This is correct?

For the command I quote:
  • There's in top right a MAP thing, when you click on it you open a menu allowing open or create stuff.
  • F1, F2, F3: Open each the different editor point of view, you can also click on one of the 3 icons at top (house, board and compass(?)).
I'm sure there's more commands, have you a list?
 
I try dig a little around the problem, in fact it's not only when you open map from the game but it seems that all landscape water definition are causing a problem. So if you create a new map and try use a water landscape you get the crash.

I tried edit and fix the culprit def files but with no success.
 
I looked at what was going on and it actually just grabs all the pak files from the resource.editor folder so just copy the pak files there it does not matter what they are called it grabs all paks listed there.

if you hit f6 f7 and f8 they will open different sub menus like if you want to add more kingdoms than just your own.
 
Last edited:
yup, but beware, some of the landscape crash because there are remains of an old version of men of war, which the editor used. Typically, do not try to use omaha water, I don't think there is an omaha beach in ardania. the two editors f2/f3 are hard map or mission level editing. if you load the hardmap(no extension for file selection), you could edit it. but if you load .mi file, you shouldn't be able to edit much the hardmap. Do not worry if you get exception or load block when saving mi file, just say no, and again no, and data will be correctly saved. the f1 button is used for the simulation mode of the mission file.
 
el_kloklo I couldn't even open your map with this version of the editor, it crash on a water landscape in it.

chrrox: Do you mean using pak files directly fix the problem? But it's good to know you don't need unpak the files. It's weird how it works better than the game which doesn't recognize pak nor use unpak files.
 
I am downloading the new update now.
Do they honestly think they can keep us from modding this game?
Ill reverse the pak format they changed and post how to edit the files again once I get the patch installed.
 
The new .PAK is encrypted but I figure it's done half assed like the rest of the patch so you should be able to break it eventually. I wish they would spend half the time fixing bugs that they currently spend removing features.
 
Well without hacking the application itself I doubt you could achieve decrypt the paks. That's a program lock so no need of a password short enough or close to some real words.
 
Well without hacking the application itself I doubt you could achieve decrypt the paks. That's a program lock so no need of a password short enough or close to some real words.

Decryption shouldn't be a problem for anyone with programming knowledge. Unfortunately that isn't me. I went inside the .exe to see if I could find anything but I don't understand hex.
 
Actually, we have something that is ten time better than most other have. We have pre-patched pak, aka, a decrypted 1:1 or close to conversion map. Enough of it should be the same to allow a key and algorithm find. BTW, since we have to wait on Steam, general annoyance:
Rogue, not rouge (which is red in french)
Cracked, not hacked (which is relevant in programming when you hack something together, usually hard to maintain, but some of the craziest things have been "hacked" together {also, phreaker instead of hacker in half of Hollywood's movies})
Citation, spotted, noticed, not (usually) quoted (which means to cite someone exactly {and then proceeding to do it or doing it before})(heh, I know Analad, just sometime I have a hard time figuring what you mean)

There are others, but I guess those are relevant to this board :p
 
Last edited:
Like I said, it's really not that big a deal, but that one specifically keeps coming back in his posts and sometime it does make the text harder to comprehend, so just pointing it out. Also, a second language isn't so bad. It's when you're at your third it gets really messy :p (trust me :) ). (And btw, english is my secondary too, just pointing that out :p )