eXeL@B —› Вопросы новичков —› How to program a tool to open pc game file with .WLD extension (worldfile) |
Посл.ответ | Сообщение |
|
Создано: 12 февраля 2014 17:50 · Личное сообщение · #1 What's the procedure in programming a small software to open a game file with .WLD extension ? This file with .WLD file type (80 mb in size) is a data package which contains the 3D parts of the game and the textures. I don't know the exact filenames and extensions of those files packed in this .WLD filetype. The written program should have the options of opening the file with .WLD extension, exporting/importing/deleting/replacing the files inside the mentioned data package with .WLD extension. What I believe it's required to do is to disassemble some of the game files (the .WLD package or the executable), find out the extensions the files inside the package have and their exact filenames, and then start programming in C or C++ the application. I use the filename and extensions of the files inside that .WLD data package to make this application display the files inside the.wld package with the respective filenames and extensions, and also program the various options mentioned (to manipulate the content of the package). So, what's your procedure in writing such a program ? Thank you. dbd9_12.02.2014_EXELAB.rU.tgz - file.TIF |
|
Создано: 12 февраля 2014 19:37 · Личное сообщение · #2 Чтобы увеличить мои шансы на получение ответа ... переводится с переводом Google. Каков порядок в программировании небольшой программа для открытия файла игры с расширением. WLD ? Это файл с расширением. WLD типа файла ( 80 Мб размер ) представляет собой пакет данных , который содержит 3D части игры и текстур . Я не знаю точных имен файлов и расширений этих файлов , упакованных в этом . WLD типа файла. Написанная программа должна есть варианты открытия файла с расширением. WLD , экспорт / импорт / удаление / замена файлы внутри указанного пакета данных с расширением. WLD . То, что я считаю, что это необходимо сделать, это разобрать некоторые из файлов игры (. Пакет WLD или исполняемый ) , узнать расширения файлы внутри пакета имеют и их точные имена файлов , а затем начать программирование на С или C + + приложения. Я использую имя файла и расширения файлов внутри, что . Пакет данных WLD сделать это приложение отображать файлы внутри the.wld пакета с соответствующими именами файлов и расширений , а также программировать различные варианты , упомянутые ( манипулировать содержание пакета ) . Итак, что же ваша процедура в письменной форме такую программу ? Спасибо. |
|
Создано: 12 февраля 2014 19:42 · Личное сообщение · #3 there is no need to translate in russian you need to reverse engineering of your program, for understand how it accesses the file WLD you can use OllyDBG or IDA+hexrays | Сообщение посчитали полезным: Tudor |
|
Создано: 12 февраля 2014 19:53 · Личное сообщение · #4 |
|
Создано: 13 февраля 2014 03:56 · Поправил: unknownproject · Личное сообщение · #5 Tudor пишет: Thank you. Greetings from Romania. + If you wanna know about file structure you can additionally use hex editor. http://forum.antichat.net/thread399485.html - My thread about "cdf" file structure for Mortal Kombat Special Forces.From byte-to-byte. Let's see what inside .WLD: Any file have full name with path like Code:
We have only 2 file types inside - rif and tif For rif files [textures obviously]: Code:
For tif files [textures too]: Code:
and same array of bytes like for rif. This is old Maya 3d texture files I think. ----- TEST YOUR MIGHT | Сообщение посчитали полезным: Tudor |
|
Создано: 13 февраля 2014 13:14 · Поправил: Tudor · Личное сообщение · #6 Yes, but I found in the strings of the executable: Code:
Code:
Most likely that big file with .wld format include the 3d models too, not just the textures. The game was made by Rockstar Vienna (also known as "Neo Software"), Austria-based developer of video games, and a sub-division of Rockstar Games. And we know Rockstar used to pack in gta games the textures and 3d models in a file with .img format. (I think most of the pc games developers tend to pack the texures and 3d models in a file with a format created by them). A german programmer recommended me to use Process Explorer and see which dll opens the |*.wld| file type and dissassemble that dll and find the file formats of the files inside the .wld package. Fortunately there was no need to disassemble myself any file. Process explorer did the job. Proc. Expl. has the option to show the strings of any file running. And in this way I found the files formats in the executable' strings. | Сообщение посчитали полезным: unknownproject |
|
Создано: 13 февраля 2014 19:01 · Поправил: unknownproject · Личное сообщение · #7 Tudor пишет: Most likely that big file with .wld format include the 3d models. The game was made by Rockstar Vienna (also known as "Neo Software"), Austria-based developer of video games, and a sub-division of Rockstar Games. And we know Rockstar used to pack in gta games the textures and 3d models in a file with .img format. (I think most of the pc games developers tend to pack the texures and 3d models in a file with a format created by them). A german programmer recommended me to use Process Explorer and see which dll uses the program and dissassemble that dll and find the file formats of the files inside the .wld package. Fortunately there was no need to disassemble myself any file. Process explorer did the job. Proc. Expl. has the option to show the strings of any file running. And in this way I found the files formats in the executable' strings. For each file format you can use pattern for search with start bytes with header in your hex editor. Copy array of bytes and save to another file.You will see what you want.Now you just need to create some class or function for read each file from archive, view those types in your programm and extract or repack into archive.It's simple cuz files inside is not crypted/obfuscated. ----- TEST YOUR MIGHT | Сообщение посчитали полезным: Tudor |
|
Создано: 14 февраля 2014 17:07 · Личное сообщение · #8 |
|
Создано: 14 февраля 2014 22:56 · Поправил: unknownproject · Личное сообщение · #9 JohnyDoe пишет: Maybe this will help you. It's a tool which uses simple scripting language for unpacking different game files. As i see there is no script for your game, but you can try to write needed script yourself. http://aluigi.altervista.org/quickbms.htm Are you stupid ? He wants to create own tool for edit this game file.Nothing to say about file structure - go away. ----- TEST YOUR MIGHT |
|
Создано: 15 февраля 2014 06:15 · Поправил: unknownproject · Личное сообщение · #10 Tudor пишет: Tudor Additionally, main exe file contain some images and models inside resource section.You can view them by Resource hacker programm.He can read size of each file and show you start and end address in hex [byte map].It would be helpful for your research.Main exe file also contain some menu like this: Code:
Pattern for search some image and texture formats: extension - [hex bytes] [plain text] Code:
Note. Not printable characters in plain text for jpg and tiff replaced by dots [Formated copy]. Good luck. ----- TEST YOUR MIGHT | Сообщение посчитали полезным: Tudor |
eXeL@B —› Вопросы новичков —› How to program a tool to open pc game file with .WLD extension (worldfile) |