Jump to content

Recommended Posts

Spawn Editor by Xazzar v1.0.0

Spawn Editor by Xazzar is a tool I created for visual editing of spawn data on Metin2 maps. Its main purpose is to replace inconvenient manual editing of coordinates and parameters directly inside text files.The program allows you to work with mob, NPC, boss, Metin Stone, and Town positions directly on the map preview. Spawns can be added, deleted, moved with the mouse, selected individually or in bulk, and their parameters can be edited directly from the interface.The program also includes a dedicated Group Editor and support for mob_proto, group.txt, and group_group.txt, so you don't have to memorize VNUMs or manually analyze group contents.

.png

Supported map files

The Map Editor supports:

  • regen.txt – mob and group spawns
  • npc.txt – NPCs
  • boss.txt – bosses
  • stone.txt – Metin Stones and other entries stored in this file
  • Town.txt – Town points

!!!These files must be located inside the main map directory. The Map Editor reads them directly from the selected map folder.!!!

Additional data can be loaded separately through Import data:

  • mob_proto – supported formats: TXT, CSV, JSON, HTML and SQL
  • group.txt / new_group.txt
  • group_group.txt / new_group_group.txt

mob_proto is used to resolve VNUMs into readable mob/NPC names, allowing you to search by name instead of working only with numeric IDs.

Map Editor

  • After selecting the main map directory, the program automatically combines the minimap.dds files located inside the map sectors and displays the spawn points directly on the resulting map.
  • Existing points can be selected with LMB. They can also be grabbed and dragged directly on the map, automatically updating their X/Y coordinates.
  • A short click on an empty area can be used to create a new spawn according to the current Spawn settings.
  • The map supports zooming up to 1000%, making it possible to precisely position NPCs and other objects.

Spawn parameters that can be edited include:

  • Type, VNUM, X/Y Variation, Z, Direction, Respawn, Chance and Count.

Area selection

  • One of the more useful features is the Area system.
  • It allows you to define an area around the cursor and perform operations on multiple spawn points at once.
  • Shift + LMB selects all visible spawns located inside the current Area.
  • For example, if the Area contains 30 different spawn points, Shift + click can select all of them at once. You can then bulk-edit parameters such as Respawn, Variation or Chance.
  • Ctrl + LMB works differently. It selects only one spawn type within the Area.

For example, if the Area contains:

  • VNUM 101
  • VNUM 102
  • GroupGroup 2001

the first Ctrl + click selects one type, starting with the one closest to the cursor. Further Ctrl + clicks cycle through the other types available inside the same Area.

This makes it possible to quickly select all instances of one specific mob or group without selecting other nearby spawns.

Bulk editing

  • Multiple selected spawns can be edited simultaneously.
  • For example, instead of manually changing dozens of entries in regen.txt, you can select them and change:
  • Respawn 60s → 30s for all selected entries at once.
  • The editor also includes an Undo/Redo history of up to 200 operations.

Creating multiple spawns

The Area system can also be used when creating new spawn points.

You can specify:

the size of the Area, the number of points using Count.

The editor will randomly distribute the requested number of new spawn points inside that area.

NPC Direction

NPC facing direction can be configured directly from the editor:

    0 - Random 1 - Down / South 2 - Down-Right / Southeast 3 - Right / East 4 - Up-Right / Northeast 5 - Up / North 6 - Up-Left / Northwest 7 - Left / West 8 - Down-Left / Southwest

The direction is also represented visually on the map.

Legend and filtering

  • The editor automatically generates a color-coded Legend for the spawn types present on the map.
  • One or multiple Legend entries can be selected.

Available actions include:

  • Select spawns – selects corresponding spawn points on the map,
  • Filter selected – displays only the selected types,
  • Center – centers the map on a corresponding spawn,
  • All rows – selects all Legend entries,
  • Clear rows – clears the Legend selection,
  • Reset – restores the normal map view and clears filters/selections.

The Map Editor also provides additional filters and search functionality.

Group Editor

The second major part of the program is the Group Editor, designed for editing both Groups and GroupGroups.

You can create new groups, modify existing ones, add or remove members, and change their order using drag & drop.

Functions such as Find mob and Find group make it unnecessary to memorize every VNUM.

For Groups, the editor automatically manages member roles:

  • Leader
  • 1
  • 2
  • 3
  • ...

When members are reordered, their roles are recalculated automatically.

The Group Editor also has its own Undo/Redo system.

GroupGroup editing

group_group.txt can also be edited directly.

The program allows you to browse GroupGroups, search for existing Groups, add them to GroupGroups and modify their parameters.

Imported Group and GroupGroup data is also used by the Map Editor to provide more detailed information about what a particular group spawn actually contains instead of showing only its VNUM.

Safe file saving

The program is intentionally designed to avoid automatically overwriting the original server files.

When using Save All, modified map files are saved as:

    new_regen.txt new_npc.txt new_boss.txt new_stone.txt new_Town.txt

The Group Editor similarly generates:

    new_group.txt new_group_group.txt

If a new_* file already exists, it may be overwritten by the next save, but the original source file remains untouched.

The editor also saves only the map files that have actually been modified.

Installation and startup

The program requires Python 3 and Pillow.

After installing Python, install Pillow with:

pip install --upgrade pillow

Run the editor using:

python Spawn_Editor_by_Xazzar_v1.0.0.py

or:

py Spawn_Editor_by_Xazzar_v1.0.0.py

OR Klik exe    🙂

In Map Editor, select the main map directory. Its map sectors should contain the minimap.dds files used to build the visual map preview.

The supported map files — regen.txt, npc.txt, boss.txt, stone.txt and Town.txt — must be located inside the map directory.

mob_proto, group.txt and group_group.txt can then be imported separately through Import data.

Spawn Editor by Xazzar v1.0.0 was created primarily to make creating and rebuilding Metin2 map spawns faster and more convenient. Instead of manually searching through coordinates, VNUMs and multiple text files, most of the work can be performed visually from a single application.

 

>>>>LINK V1.0.0 : 

This is the hidden content, please

I will be grateful if you report any errors or shortcomings to me. 🙂 

Edited by Xazzar
  • Metin2 Dev 9
  • Love 1
  • Love 9
Link to comment
https://metin2.dev/topic/34684-spawn-editor-by-xazzar-100/
Share on other sites

  • 1 month later...
On 24.08.2026 at 04:21, Xazzar said:

Xazzar tarafından hazırlanan Spawn Editor v1.0.0

Xazzar tarafından geliştirilen Spawn Editor, Metin2 haritalarındaki spawn verilerinin görsel olarak düzenlenmesi için oluşturduğum bir araçtır. Ana amacı, koordinatların ve parametrelerin doğrudan metin dosyaları içinde manuel olarak düzenlenmesinin zahmetli olmasını ortadan kaldırmaktır. Program, mob, NPC, boss, Metin Taşı ve Kasaba konumlarıyla doğrudan harita önizlemesinde çalışmanıza olanak tanır. Spawn noktaları eklenebilir, silinebilir, fareyle taşınabilir, tek tek veya toplu olarak seçilebilir ve parametreleri doğrudan arayüzden düzenlenebilir. Program ayrıca özel bir Grup Düzenleyici ve mob_proto, group.txt ve group_group.txt desteği içerir, böylece VNUM'ları ezberlemenize veya grup içeriklerini manuel olarak analiz etmenize gerek kalmaz.

.png

Desteklenen harita dosyaları

Harita Düzenleyici şunları destekler:

  • regen.txt – canavar ve grup spawn'ları
  • npc.txt – NPC'ler
  • patron.txt – patronlar
  • stone.txt – Metin Taşları ve diğer girdiler bu dosyada saklanır.
  • Town.txt – Kasaba puanları

!!!Bu dosyalar ana harita dizininde bulunmalıdır. Harita Düzenleyici bunları doğrudan seçilen harita klasöründen okur.!!!

Ek veriler, Veri İçe Aktar seçeneği aracılığıyla ayrı olarak yüklenebilir:

  • mob_proto – desteklenen formatlar: TXT, CSV, JSON, HTML ve SQL
  • grup.txt / yeni_grup.txt
  • grup_grup.txt / yeni_grup_grup.txt

mob_proto, VNUM'ları okunabilir mob/NPC adlarına dönüştürmek için kullanılır ve bu sayede yalnızca sayısal kimliklerle çalışmak yerine ada göre arama yapmanıza olanak tanır.

Harita Editörü

  • Ana harita dizinini seçtikten sonra, program otomatik olarak harita sektörlerinin içinde bulunan minimap.dds dosyalarını birleştirir ve spawn noktalarını doğrudan ortaya çıkan harita üzerinde gösterir.
  • Mevcut noktalar sol fare tuşuyla seçilebilir. Ayrıca harita üzerinde doğrudan sürüklenip bırakılabilirler ve bu işlem X/Y koordinatlarını otomatik olarak günceller.
  • Boş bir alana kısa bir tıklama, mevcut Spawn ayarlarına göre yeni bir spawn noktası oluşturmak için kullanılabilir.
  • Harita %1000'e kadar yakınlaştırmayı destekleyerek, NPC'leri ve diğer nesneleri hassas bir şekilde konumlandırmayı mümkün kılıyor.

Düzenlenebilen oluşturma parametreleri şunlardır:

  • Tür, VNUM, X/Y Varyasyonu, Z, Yön, Yeniden Doğma, Şans ve Sayı.

Alan seçimi

  • En kullanışlı özelliklerden biri de Alan sistemidir.
  • Bu özellik, imlecin etrafında bir alan tanımlamanıza ve aynı anda birden fazla oluşturma noktasında işlemler gerçekleştirmenize olanak tanır.
  • Shift + Sol Fare Tuşu, geçerli alan içindeki tüm görünür spawn noktalarını seçer.
  • For example, if the Area contains 30 different spawn points, Shift + click can select all of them at once. You can then bulk-edit parameters such as Respawn, Variation or Chance.
  • Ctrl + LMB works differently. It selects only one spawn type within the Area.

For example, if the Area contains:

  • VNUM 101
  • VNUM 102
  • GroupGroup 2001

the first Ctrl + click selects one type, starting with the one closest to the cursor. Further Ctrl + clicks cycle through the other types available inside the same Area.

This makes it possible to quickly select all instances of one specific mob or group without selecting other nearby spawns.

Bulk editing

  • Multiple selected spawns can be edited simultaneously.
  • For example, instead of manually changing dozens of entries in regen.txt, you can select them and change:
  • Respawn 60s → 30s for all selected entries at once.
  • The editor also includes an Undo/Redo history of up to 200 operations.

Creating multiple spawns

The Area system can also be used when creating new spawn points.

You can specify:

the size of the Area, the number of points using Count.

The editor will randomly distribute the requested number of new spawn points inside that area.

NPC Direction

NPC facing direction can be configured directly from the editor:

    0 - Random 1 - Down / South 2 - Down-Right / Southeast 3 - Right / East 4 - Up-Right / Northeast 5 - Up / North 6 - Up-Left / Northwest 7 - Left / West 8 - Down-Left / Southwest

The direction is also represented visually on the map.

Legend and filtering

  • The editor automatically generates a color-coded Legend for the spawn types present on the map.
  • One or multiple Legend entries can be selected.

Available actions include:

  • Select spawns – selects corresponding spawn points on the map,
  • Filter selected – displays only the selected types,
  • Center – centers the map on a corresponding spawn,
  • All rows – selects all Legend entries,
  • Clear rows – clears the Legend selection,
  • Reset – restores the normal map view and clears filters/selections.

The Map Editor also provides additional filters and search functionality.

Group Editor

The second major part of the program is the Group Editor, designed for editing both Groups and GroupGroups.

You can create new groups, modify existing ones, add or remove members, and change their order using drag & drop.

Functions such as Find mob and Find group make it unnecessary to memorize every VNUM.

For Groups, the editor automatically manages member roles:

  • Leader
  • 1
  • 2
  • 3
  • ...

When members are reordered, their roles are recalculated automatically.

The Group Editor also has its own Undo/Redo system.

GroupGroup editing

group_group.txt can also be edited directly.

The program allows you to browse GroupGroups, search for existing Groups, add them to GroupGroups and modify their parameters.

İçe aktarılan Grup ve GrupGrup verileri, Harita Düzenleyici tarafından belirli bir grup spawn noktasının yalnızca VNUM'unu göstermek yerine, aslında ne içerdiğine dair daha ayrıntılı bilgi sağlamak için de kullanılır.

Dosyaların güvenli bir şekilde kaydedilmesi

Program, orijinal sunucu dosyalarının otomatik olarak üzerine yazılmasını önlemek amacıyla kasıtlı olarak tasarlanmıştır.

"Tümünü Kaydet" seçeneği kullanıldığında, değiştirilen harita dosyaları şu şekilde kaydedilir:

    yeni_regen.txt yeni_npc.txt yeni_boss.txt yeni_stone.txt yeni_Town.txt

Grup düzenleyici de benzer şekilde şunları oluşturur:

    yeni_grup.txt yeni_grup_grup.txt

Eğer yeni bir `new_*` dosyası zaten mevcutsa, bir sonraki kaydetme işlemiyle üzerine yazılabilir, ancak orijinal kaynak dosya dokunulmadan kalır.

Editör ayrıca yalnızca gerçekten değiştirilmiş harita dosyalarını kaydeder.

Kurulum ve başlatma

Bu program Python 3 ve Pillow gerektirir.

Python'ı kurduktan sonra, Pillow'u şu komutla kurun:

pip install --upgrade pillow

Editörü şu komutla çalıştırın:

python Spawn_Editor_by_Xazzar_v1.0.0.py

veya:

py Spawn_Editor_by_Xazzar_v1.0.0.py

VEYA Klik exe    🙂

Harita Düzenleyicisinde, ana harita dizinini seçin. Bu dizinin harita sektörleri, görsel harita önizlemesini oluşturmak için kullanılan minimap.dds dosyalarını içermelidir.

Desteklenen harita dosyaları (regen.txt, npc.txt, boss.txt, stone.txt ve Town.txt) harita dizini içinde bulunmalıdır.

Daha sonra mob_proto, group.txt ve group_group.txt dosyaları, Veri İçe Aktar seçeneği aracılığıyla ayrı ayrı içe aktarılabilir.

Xazzar tarafından geliştirilen Spawn Editor v1.0.0, öncelikle Metin2 harita spawn noktalarının oluşturulmasını ve yeniden oluşturulmasını daha hızlı ve kullanışlı hale getirmek için tasarlanmıştır. Koordinatları, VNUM'ları ve birden fazla metin dosyasını manuel olarak aramak yerine, işin büyük bir kısmı tek bir uygulamadan görsel olarak gerçekleştirilebilir.

 

>>>>LINK V1.0.0 : 

Gizli İçerik

  • Gizli içeriği görmek için bu gönderiye tepki verin.

 

Herhangi bir hata veya eksikliği bana bildirirseniz minnettar olurum.🙂 

 

çok iyi

 

Link to comment
https://metin2.dev/topic/34684-spawn-editor-by-xazzar-100/#findComment-176762
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.