Bvural41 1
Bvural41
Mt2Hizmet 1
Mt2Hizmet
xranzei 1
xranzei
quickxd 1
quickxd
noisiv 1
noisiv
Manwe Work 1
Manwe Work
Scarlet 1
Scarlet
Hikaye Ekle

[How-To] Metin2 & Cython

  • Konuyu başlatan Konuyu başlatan Mehmetcan Y.k
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 38
  • Görüntüleme Görüntüleme 9K
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

En Çok Reaksiyon Alan Mesajlar

The copyright of the share belongs to lollo_9_1 / martysama0134 and they are not themselves Turkish. Öğeyi görmek için üye olmalısınız. named Öğeyi görmek için üye olmalısınız. a Turk and to show himself as if he is a stranger and to share himself. I want you to think that it is labor theft and fraud.
This martysama0135 is a fake identity. I don't know him. Be careful about him. Permaban him if possible.
"Bu martysama0135 sahte bir kimliktir. Onu tanımıyorum. Ona dikkat et."
Intro
This release will explain how to "convert" your root .py files to .c ones.
Actually, Cython only converts those files to pure CPython code.

NOTE: ALL THE FILES HAVE BEEN MOVED TO .
EDIT:
As requested by many people, you can download the compatible and clean official cn root dated 20131228-0034 without further edits:

Is Cython really worth it?
  • Pros
    • All the modules are compiled, and they can't be "extracted as .py" anymore.
      We can always disassemble the launcher with IDA, but the result will be pseudo-c code after waiting 6-8h of analyzing.
    • Since we're not using .pyx files but directly .py ones, there's no "so much optimization".
      At least, 10% of performance increasing is guaranteed.
  • Cons
    • For testing purposes, it's heavy to maintain. Everytime you try to re-compile your root files, you should wait 5-10 minutes.
      You can always use the uncythonized root (.py files) when you perform tests, and compile cython whenever you will make an update in your live server.
    • The launcher's size will increase ~10mb. You can actually pack it to save space.
      If you directly use a .pyd (still 10mb), the launcher's size won't increase.
VideoTutorial






Credits



    • Me (lollo_9_1/martysama0134)
    • Night (OST suggestion)
    • Random Testers
What's New:



    • v2.0
      • The module's name check is now case-insensitive (colorInfo == colorinfo)
      • Added a new function rootlib/uiscriptlib.getList() to retrieve a tuple of all the available cythonized modules.
      • Now you can compile a uiscriptlib library from the uiscript*.py files! (implemented as __USE_EXTRA_CYTHON__)
      • Added a sample ui.py containing the code to run uiscriptlib.



    • Add the visual studio path in the %PATH% environment variable. (I won't suggest it)
    • Add something like this at the beginning of the MakeFile_VC_Release.bat file and run it as administrator: (easy way)
      call "C:program Files (x86)Microsoft Visual Studio 10.0VCvcvarsall.bat"
    • You should run as admininistrator the Visual Studio Command Prompt (2010)" and then recall the .bat from there. (highly preferable)
NB: I've used vs2010, but it works without any problems with any vs version


Topluluk bu sistem içerisinde belli başlı problemlerin olduğunu belirtiyor. Sistemdeki sorunları söylerseniz , düzeltmeye çalışırız. Ayrıca paylaşımın için teşekkür ederiz. (It was written specifically for translation. Paste )

Saygılarımla. (Best Regards)
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst