ladislav-zezula / StormLib

Official GitHub repository of the StormLib library created by Ladislav Zezula (author)
http://www.zezula.net/mpq.html
MIT License
556 stars 211 forks source link

Question of Searching Files #159

Closed qq928880189 closed 4 years ago

qq928880189 commented 5 years ago

Many maps now use Lua scripts and now StormLib. DLL can't search and display Lua files.

ladislav-zezula commented 5 years ago

Could you send me a map which contains a LUA script?

qq928880189 commented 4 years ago

Give me your mailbox address and send you documents from my mailbox.

ladislav-zezula commented 4 years ago

There are many ways how to send big documents - Google Drive, OneDrive, Dropbox and many others. No need to send via e-mail.

However, from your description, I know almost nothing about the problem.

DLL can't search and display Lua files. What does it mean? What DLL? What exactly are you trying to do?

qq928880189 commented 4 years ago

Sfilefindfirstfile This function does not display Lua files, only XXX

qq928880189 commented 4 years ago

The sfilegetfileinfo source does not seem to display the Lua file 1

ladislav-zezula commented 4 years ago

Ah, I see. However, because LUA files are text scripts, they cannot be easily recognized unless there is a fixed header.

To display LUA files properly, you must have them in listfile.

qq928880189 commented 4 years ago

Okay, I see.

ladislav-zezula commented 4 years ago

But again - could you please upload a map with LUA scripts somewhere? I can look if there is something I can do.

qq928880189 commented 4 years ago

I can't get into these disks.

ladislav-zezula commented 4 years ago

The only thing I understood from the page (even with Google translator) is that it wants me to install a Baidu client. But since that one is in Chinese as well, I stopped that process, because it won't help me either. Can't you upload the file here to GitHub?

qq928880189 commented 4 years ago

map.part01.zip map.part02.zip map.part03.zip map.part04.zip map.part05.zip map.part06.zip map.part07.zip map.part08.zip map.part09.zip map.part10.zip

qq928880189 commented 4 years ago

http://www.mediafire.com/file/91012cpg8ew7q67/lua_map.zip/file

qq928880189 commented 4 years ago

1.27A version required If the real-time scanner can monitor war3.exe in real time instead of entering the game through the scanner, these Lua files will be easy to find, because many maps need to load japi through the combat platform, but the game can not load the platform japi through the scanner.

ladislav-zezula commented 4 years ago

Fixed in commit https://github.com/ladislav-zezula/StormLib/commit/0eb09af5fee66731d74f0a40c473487563508d93. Also, MPQ Editor was updated.

qq928880189 commented 4 years ago

Thank you very much. But for real-time scanners, as mentioned above, some maps cannot load maps by booting war3.exe with scanners. It is hoped that future versions can add real-time monitoring war3.exe to get lists instead of using scanners to boot war3.exe.

ladislav-zezula commented 4 years ago

It is hoped that future versions can add real-time monitoring war3.exe to get lists instead of using scanners to boot war3.exe.

I don't really want to invest much time into this; first, real-time monitoring is at the edge of breaking EULA, second, MPQ format is obsolete anyway.