MoW‎ > ‎

GEM-Vietnam

Introduction
This page provides documentation about how to port MoW GEM editor to MoW: Vietnam.

Credits
Special thanks to ugopierini and Man of Peace.

Copying files
  1. Create a directory, name it something that makes sense like gem_vietnam
  2. Copy mow_editor.exe from MoW directory to gem_vietnam
  3. Copy localization.pak from MoW directory to gem_vietnam (Don't use MoV:V localization.pak!)
  4. Copy xvidcore.dll from MoW: Vietnam directory to gem_vietnam
  5. Copy mss32.dll from MoW: Vietnam directory to gem_vietnam
  6. Copy resource directory from MoW: Vietnam to gem_vietnam
Unpacking files
     
Unzip and delete each of the following:
  • gem_vietnam\localization.pak, make sure to put it's contents into gem_vietnam\localization
  • gem_vietnam\resource\game.pak
  • gem_vietnam\resource\texture.pak
  • gem_vietnam\resource\entity\e1.pak
  • gem_vietnam\resource\entity\e2.pak
  • gem_vietnam\resource\entity\e3.pak
Approve all file overrides. You should have the following directory structures:

Root directory of MoW: V GEM editor

Applying patch
  1. Download this zip file https://sites.google.com/site/sbobovyc/mow/gem-vietnam/mowv_gem.zip?attredirects=0&d=1
  2. Unzip the downloaded file.
  3. Run mowv_gem.exe
  4. When it asks you to specify a directory, select the custom directory that was created in the Copying files step.
  5. Enjoy MoW:V GEM editor you just made!
  6. Report any bugs here http://forum.1cpublishing.eu/showthread.php?t=26322



What the patch does

This section is for advanced users. If you just want to create a MoW:V GEM editor, follow the steps above. This section describes the modifications that are made to base MoW:V files to make them compatible with MoW GEM editor.

Modifying files
File: gem_vietnam\resource\set\talk.set
Action: comment out {profile "%4"}

(define "phrase_voice"
    {phrase
        {language "%1"}
        {voice %2}
        {sound "%0/talk/%1/%4/%3/v%2"}
        {text_dbg "(%1) %1/%3/v%2"}
;        {profile "%4"}
    }
)

File: gem_vietnam\localization\#dlg_ingame.lng
Action: add the following entry for Vietnamese names:
    {"names"
        {"rus"
            {"first" "Afanasy\nAkim\nAnisim\nAleksander\nAleksei\nAndrey\nAnton\nBogdan\nBoris\nBorislav\nDaniil\nDavid\nDemyan\nDenis\nDmitriy\nDorofei\nEgor\nErmolai\nEvgeni\nFedot\nFoma\nFyodor\nGavrila\nGennadiy\nGeorgiy\nGerasim\nGleb\nGrigory\nIgor\nIlya\nInnokenti\nIosif\nIvan\nKazimir\nKirill\nKliment\nKonstantin\nKuzma\nLavrenti\nLazar\nLeonid\nLev\nLuka\nMakar\nMaksim\nMark\nMatvei\nMikhail\nMiloslav\nModest\nMstislav\nNaum\nNikifor\nNikita\nNikodim\nNikolai\nOleg\nOsip\nPavel\nPeter\nRadimir\nRoman\nRostislav\nSamuil\nSaveli\nSemyon\nSergei\nSevastian\nSpyridon\nStanislav\nStepan\nSvyatoslav\nTaras\nTikhon\nTimofei\nVadim\nValentin\nVarfolomei\nVasiliy\nVenyamin\nViktor\nVitaliy\nVladilen\nVladislav\nVsevolod\nVyacheslav\nYakim\nYakov\nYaroslav\nYefrem\nYuri\nZakhar\nNikolay\nVladimir\n"}
            {"last" "Ivanov\nSmirnov\nGrischenko\nVasilev\nPetrov\nKyznetsov\nFedorov\nMikhailov\nSokolov\nPavlov\nSemenov\nStepanov\nEgorov\nNikolaev\nKozlov\nPopov\nLebedev\nYakovlev\nVolkov\nGrigorev\nMorozov\nNovikov\nNikitin\nDmitriev\nKuzmin\nAleksandrov\nZaitsev\nZakharov\nBogdanov\nVorobev\nBelov\nBaranov\nFilippov\nTimofeev\nEfimov\nBorisov\nIlin\nKiselev\nFrolov\nSorokin\nGolubev\nPolyakov\nOsipov\nKovalev\nTarasov\nBelyaev\nGerasimov\nMironov\nMelnikov\nAbramtsov\nZhuravlev\nVlasov\nTitov\nDanilov\nKovalenko\nNazarov\nKarpov\nDenisov\nTikhonov\nSavelev\nGromov\nTikhomirov\nFomin\nShcherbakov\nAnisimov\nErmakov\nChistyakov\nBykov\nLeonov\nVoronin\nIgnatev\nEvdokimov\nArkhipov\nChernov\nBelyakov\nPonomarev\nFilatov\nProkhorov\nVoronov\nKolesnikov\nKlimov\nLoginov\nSavin\nNesterov\nDemidov\nLobanov\nAksenov\nLukin\nBelousov\nSpiridonov\nYudin\nAkimov\nSuvorov\nLarionov\nLukanov\nUshakov\nPetrenko\nBiryukov\nKhokhlov\nFilimonov\nChernyshev\nSmolensky\nKornev\n"}
        }
        {"viet"
            {"first" "Nguyen\nChang\nPham\nHuang\nNgo\nDao\nLe\nLee\nKhuk\nNguyen\nChang\nPham\nLuong\nHuing\nWoo\nVo\nDang\nBuy\nDo\n"}
            {"last" "Van Nam\nVan Anh\nVan Hung\nVan Tien\nVan Kong\nVan Vee\nVan Day\nVan Ka\nVan Khay\nVan Ba\nVan Dyk\nVan Thu\nVan Kuenh\nVan Khoa\nVan Thai\nVan Koy\nVan May\nVan Kueng\nVan Thang\nVan Khao\nNgok Thanh\nNgok Thuan\nNgok Hoang\nNgok Hung\nNgok Tinh\nNgok Bing\nNgok Ang\nNgok Viet\nKhyu Bao\nKhyu Binh\nKhyu Venh\nKhyu Zung\nKhyu Suong\nKhyu\n"}
        }


File: gem_vietnam\resource\properties\helicopter.ext
Action: comment out {BlowEffectTimer 1.0 }
{Chassis "airborne"
    ("chassis_defaults")
    {locomotion
        {Maxspeed         70 } ; kmph
           {turnRadius     40 } ; m
        {StartTime         9  } ; ¢à¥¬ï à §£®­  ¤® ¬ ªá. ᪮à®á⨠á 0, seconds
        {BrakeTime         4  } ; ¢à¥¬ï â®à¬®¦¥­¨ï á ¬ ªá. ᪮à®á⨠¤® 0, seconds
        {StopTime        7  } ; ¢à¥¬ï ®áâ ­®¢ª¨ ¯®á«¥ ®âª«î祭¨ï ¤¢¨£ â¥«ï á ¬ ªá. ᪮à®á⨠¤® 0, seconds
    }
    {dontUseSlope}
    {ignorePatherBounds}
    ;{disableBackward}
    ;{disableForward}
    {sideSlopeSpeed 25}            ;degree/s
    {maxSideSlope 45}            ;degree
    {maxElevationSpeed 6}        ;m/s
    {elevationAcceleration 2}    ;m/s^2
        ;{BlowEffectTimer 1.0 } ; ¢à¥¬ï ¢ ᥪ㭤 å áà ¡ â뢠­¨ï íää¥ªâ  ç áâ¨æ ®â ¯®â®ª  ¤¢¨£ â¥«ï ¢¥à⮫ñâ
}

Files:
  • gem_vietnam\resource\entity\-vehicle\helicopter\uh1.def
  • gem_vietnam\resource\entity\-vehicle\helicopter\uh1_b.def
  • gem_vietnam\resource\entity\-vehicle\helicopter\mi4.def
Action: comment out {TakeOffTimer 5}, {minDifferentAngle 10}  and ("armor_medium" args 1.0) in all three files

Files:
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\bamboo_tower\common\wood_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_big_1\common\wood_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_big_2\common\wood_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_middle_1\common\wood_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_middle_2\common\wood_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_small_1\common\wood_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_small_2\common\wood_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\naves_1\wood_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\naves_2\wood_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\saray_1\common\wood_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\saray_2\common\wood_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\saray_3\common\wood_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\stolovaya\common\wood_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\bamboo_tower\common\roof_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_big_1\common\roof_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_big_2\common\roof_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_middle_1\common\roof_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_middle_2\common\roof_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_small_1\common\roof_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_small_2\common\roof_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\naves_1\roof_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\naves_2\roof_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\saray_1\common\roof_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\saray_2\common\roof_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\saray_3\common\roof_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\stolovaya\common\roof_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_big_1\common\wall_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_big_2\common\wall_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_middle_1\common\wall_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_middle_2\common\wall_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_small_1\common\wall_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_small_2\common\wall_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\saray_3\common\wall_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\stolovaya\common\wall_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\bamboo_tower\common\cover_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_big_1\common\cover_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_big_2\common\cover_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_middle_1\common\cover_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_middle_2\common\cover_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_small_1\common\cover_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_small_2\common\cover_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\saray_3\common\cover_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\stolovaya\common\cover_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_big_1\common\floor_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_big_2\common\floor_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_middle_1\common\floor_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_middle_2\common\floor_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_small_1\common\floor_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\house_small_2\common\floor_spark.mtl
  • C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\construction\vietnam\stolovaya\common\floor_spark.mtl
  • there are other files that have to be modified, look at the script below

Notes:
These files were found with the following commands:
cd C:\Users\sbobovyc\Desktop\gem_vietnam\resource\entity\
dir . /s /b | find "wood_spark.mtl"
dir . /s /b | find "roof_spark.mtl"
dir . /s /b | find "wall_spark.mtl"
dir . /s /b | find "cover_spark.mtl"
dir . /s /b | find "floor_spark.mtl"

Action: comment out {emission}
{material simple
    {diffuse "$/construction/v_temp_tex/wood_spark"}
    {blend add}
        ;{emission}
}

Automating this process
  1. Download correct_emission.zip
  2. Unzip the file
  3. Double click on correct_emission.vbs
  4. Browse to gem_vietnam\resource\entity\construction\vietnam
  5. Click ok
  6. The script will search for the *.mtl files and comment out {emission}
File: gem_vietnam\resource\set\grass.set
Action: comment out all the entries from grass_desert_1 to reed_grass
Comment: These resources appear in MoW, but in MoW: V their files are missing. The developers just forgot to comment them out.
;    {"grass_desert_1"                    ;èìÿ
;          {models                     ;ïåðå÷åíü ìîäåëåé (âûáèðàþòñÿ ðàâíîâåðîÿòíî)
;            {"grass_desert_1"}
;        }
;        {dencity 1}                ;ïëîòíîñòü øò./êâ.ì
;    }
;
.......................
;
;    {"reed_grass"                    ;èìÿ
;        {models                     ;ïåðå÷åíü ìîäåëåé (âûáèðàþòñÿ ðàâíîâåðîÿòíî)
;             {"reed_grass"  }
;         }
;        {dencity 1}                ;ïëîòíîñòü øò./êâ.ì
;    }



Č
ċ
Stan Bobovych,
Sep 22, 2011, 11:25 AM
ċ
Stan Bobovych,
Sep 26, 2011, 5:17 PM
Comments