Jump to content

Dump proto creates a 0 kilobyte item_proto file


Go to solution Solved by Metin2 Dev,

Recommended Posts

Hello i am using TMP's source and visual studio 2022 Version 17.11.1

I successfully compiled the default dump proto, but when I try to convert the default item/names-proto it create a 0 kb item_proto file..
I compiled the debug dump proto and it works, but it is very slow.

 

  • Good 1
  • Love 1
  • Bot
  • Solution

DumpProto uses lzo 1.08 by default. That version of lzo is not compatible with visual studio 2022 (v143). Update it to a slightly newer version and you will have 0 problems (2.10 is working with visual studio 2022)

Here is the lzo folder for DumpProto with lzo 2.10. Just replace it with your lzo folder inside DumpProto:

This is the hidden content, please

Edited by Abel(Tiger)
  • Metin2 Dev 77
  • Eyes 2
  • Good 24
  • muscle 2
  • Love 1
  • Love 43

english_banner.gif

Thanks, it works, but only after you change 3 lines
is one of those lines: 
If (LZO_E_OK != (r = lzo1x_decompress_safe(m_pbIn, m_pHeader->dwCompressedSize, m_pbBuffer, &uiSize, NULL))))

this (lzo_uint*) must be placed before &uiSize.


if (LZO_E_OK != (r = lzo1x_decompress_safe(m_pbbIn, m_pHeader->dwCompressedSize, m_pbBuffer, (lzo_uint*)&uiSize, NULL))))

  • Good 1
  • Love 3

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.