Map decompiler for Sust2/RWM mod

Forum zum Thema Modding, um dort über "Neue Einheiten", Neue Objekte", "Modding Tools" usw zu diskutieren.
Antworten
Benutzeravatar
Last Soldier
Feldwebel
Feldwebel
Beiträge: 321
Registriert: 20.07.2007, 20:05
Wohnort: Czech Republic

Map decompiler for Sust2/RWM mod

Beitrag von Last Soldier » 12.10.2019, 11:17

Small tool which unpack *.ssm and *.smm map files into editor format.
Output is only ground terrain and map objects, no special flags like shallows, mines, airfields, zones etc., no mission scripts.

- I found no exact formula how are ground textures/rhombs combinations are done, some mods have different number of terrains in schemes (like WWM mod have 8 terrains, RWM have 7, 5 or 3 etc.) then it doesn't work with all options (map schemes, mods..). Some terrains overlap others, some not.. again I didn't find out where it's defined then everything is hardcoded via tables (I will also publish source code). If mod makers have idea how it works I can remake it.

Code: Alles auswählen

Instructions:
-------------
- Don't forget make backup of your maps in editor folder "..\game\editor\maps.src\
1) Copy maps into "maps" folder. (Remove special characters like "ü" from filename "Prüm.ssm" => "Prum.ssm")
2) Click on "Select map file", select if map have 7 or 3 types of terrain and then click on "Decompile map"
3) Go to editor map source directory: "..\game\editor\maps.src\" and create new folder here. For example "map.001" or use an existing one
4) Copy all files from folder "Output"" to your new folder (e.g.: "..\game\editor\maps.src\map.001")
5) Load map in editor
mapdecompiler.png
mapdecompiler.png (12.61 KiB) 1071 mal betrachtet
Dateianhänge
mapdecompiler_01010.rar
(1.49 MiB) 23-mal heruntergeladen
Footage from the frontline on Youtube!


Kampfgruppe Peiper
Mannschaften
Mannschaften
Beiträge: 14
Registriert: 15.02.2010, 13:36

Re: Map decompiler for Sust2/RWM mod

Beitrag von Kampfgruppe Peiper » 21.10.2019, 17:11

Moin, Danke fürs teilen! Will nur bei mir irgendwie nicht funktionieren:( bekomme immer eine Fehlermeldung
Dateianhänge
Unbenannt.png
Unbenannt.png (2.15 MiB) 1015 mal betrachtet

Benutzeravatar
Last Soldier
Feldwebel
Feldwebel
Beiträge: 321
Registriert: 20.07.2007, 20:05
Wohnort: Czech Republic

Re: Map decompiler for Sust2/RWM mod

Beitrag von Last Soldier » 22.10.2019, 15:05

Hi,

I'm not sure if it works under Windows 7.

You can try:
- be sure that program doesn't run in some protected directory (disabled work with files), just place it into C:\test\ or similar simple path
- be sure that program isn't blocked by some antivirus software (HDD access etc.)
- you can try run it with all rights - right click on "mapdecompiler.exe" and select "Run as administrator"
- it looks like you are running system in "test mode" ?
Footage from the frontline on Youtube!

Kampfgruppe Peiper
Mannschaften
Mannschaften
Beiträge: 14
Registriert: 15.02.2010, 13:36

Re: Map decompiler for Sust2/RWM mod

Beitrag von Kampfgruppe Peiper » 22.10.2019, 18:41

Okay thank you!


Antworten

Zurück zu „Alles zum Thema Modding“