While I was seeking for some info about the Road.Bin editor, I came accros the modding tools page on www.mafiapub.com (http://www.mafiapub.com)
and oh man, stuff is awesome!
I'll go trough a few.
All following are released and to be found here:
http://www.mafiapub.com/programs.php (http://www.mafiapub.com/programs.php)
Facial animations editor, or "MED" as it's called.
(//applications/core/interface/imageproxy/imageproxy.php?img=http://www.mafiapub.com/img/programms/med.jpg&key=03c14c303c4036462f8f977eb9d74f888035ccfbca92064caf4d26446e9aa798)
This tool has been announced on MP's front page, it will give the modder ability to modify facial animations using keyframes.
Check.Bin Editor or "CHE"
(//applications/core/interface/imageproxy/imageproxy.php?img=http://i102.photobucket.com/albums/m104/mrr_03/dsffdsfsCHE.jpg&key=627d92d40e994df020a44253ece072ce012912814f318c81569e76a469d539dd)
An ingame Check.Bin editor.
I can't read any of the texts, but as far as I can tell the modder has the ability to modify paths ingame for cars, pedestrians, and also enemy waypoints.
A smaller though complicated tool can be downloaded here on Mafiascene.
http://www.mafiascene.net/downloads/vie ... -check-bin (http://www.mafiascene.net/downloads/viewdownload/7-outils-en-francais/390-checkre-1-2-editeur-de-check-bin)
Lightmap Editor
(//applications/core/interface/imageproxy/imageproxy.php?img=http://i102.photobucket.com/albums/m104/mrr_03/index-1.jpg&key=b61eece6fb1bef1be7d652ee1eed7233317c45eccbf68969c09ace0242ed7b71)
(//applications/core/interface/imageproxy/imageproxy.php?img=http://i102.photobucket.com/albums/m104/mrr_03/indexgg.jpg&key=b4c502ad9fccdb6576c30301ce964e153ac0084ba56950de87e064ce69c12dd0)
A tool created by Mr F which allows the modder trough a process of some steps to create lightmaps.
A detailed english discription can be found here:
http://www.mafiapub.com/forum/lofiversi ... t2608.html (http://www.mafiapub.com/forum/lofiversion/index.php/t2608.html)
5ds converter
No screenshot, but this tool can convert 3ds max animations into mafia .5DS files.
This is something that can become increddibly usefull for the Titanic mod... in fact, all of these tools.
Effects.Bin editor
No screenshot, An editor that allows to edit ingame effects. Such as smoke for example.
Road.Bin editor
(//applications/core/interface/imageproxy/imageproxy.php?img=http://pics.kz/s3/98/18/fb/2d/9818fb2d0c8683efbf40ac1468729d6b.jpg&key=ca5e9594baa95a5a56a22265c32d36c8930104ab97c25030dca7d77c7be19f04)
(//applications/core/interface/imageproxy/imageproxy.php?img=http://i102.photobucket.com/albums/m104/mrr_03/Roaded.jpg&key=5cddf9e50573da8961239005f16ad1ce03c867860825f6ddb3392de11571767f)
A tool developed to set paths for Cars & Pedestrians.
Only thing... It's all written and programmed in Russian language, Can anyone translate these tools?
Me and probably many other modders will highly appreciate it!
I think it's a shame only Russian speaking people can understand these tools.. I mean, they are so advanced and got such great potential! The whole mafia modding community should be able to create amazing mods from this. Currently they are only used by I guess only a few individuals from only one website which is MafiaPub itself. Other than there, there's no trace of any of these tools to be found. No one knows nor speaks about it. Big shame!
One other tool that I'm increddibly looking foreward to, but is still being made, is the more advanced Road.Bin Editor:
(//applications/core/interface/imageproxy/imageproxy.php?img=http://djbozkosz.wz.cz/screen.jpg&key=1098f3f78ef9341b110dd22a37155c2dd9fba98975e263c3ec16896a8aa295df)
(//applications/core/interface/imageproxy/imageproxy.php?img=http://djbozkosz.wz.cz/screen01.jpg&key=5fd3b12bbaa35c7f158e013170f42fac6ebf570c406d043f21f17b15caac2608)
Like a dream come true (note the lightmaps in the testing course BTW.)
Thanks to Samo for informing me about the road.bin editors, according to him, he heard that one is making a tutorial for this tool.
If anyone got any other interesting and rare tool, please share!
And if someone speaks Russian, I beg you for help! (//wp-content/uploads/invision_emoticons/wink.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
Brilliant, these will be useful to many people, thank you very much
Amazing, ty Mr Robville <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
It's a pity, that most of interesting tools are only in Russian language <img src="/wp-content/uploads/invision_emoticons/sad.png" alt="(//frown.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/sad@2x.png 2x" width="20" height="20">
Yes, I speak in Russian. How can I help?
For example I don't have azbuka charset so I see various strange characters instead of azbuka characters. Can you please donwload 4Ds manager and make screenshot of it with translated texts?
QuoteFor example I don't have azbuka charset so I see various strange characters instead of azbuka characters. Can you please donwload 4Ds manager and make screenshot of it with translated texts?
Yes, I think I can. You give a link to the program
http://www.mafiapub.com/download/programs/4DS%20Manager%20by%20zibob.rar (http://www.mafiapub.com/download/programs/4DS%20Manager%20by%20zibob.rar:3f871g84)
Please post here pictures with translated phrases, 'cause I dont know how to my computer get to display azbuka properly...
http://www.mafiapub.com/download/programs/4DS%20Manager%20by%20zibob.rar (http://www.mafiapub.com/download/programs/4DS%20Manager%20by%20zibob.rar)
Oh sorry I did't insert link properly (//wp-content/uploads/invision_emoticons/ohmy.png) ops:
(//s51.radikal.ru/i132/1208/8f/b7189c023afd.jpg&key=672845fdb94a7a6975c8a0b15eca780fd721343fd49973597dfe90b554405cb9)
I hope helped you <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
Very well!
Could you please translate the tools I mentioned above?
All except the CHE editor, as one is working on that already.
QuoteVery well!
Could you please translate the tools I mentioned above?
All except the CHE editor, as one is working on that already.
Can you give a link to these programs? In the first message I did not understand what programs need to be translated)
They can all be downloaded here:
www.mafiapub.com/programs.php (http://www.mafiapub.com/programs.php)
First program:
MED - facial animator
second:
.5ds Converter - To export 3ds max animations
third:
effects.bin editor - to create ingame effects
These 3 above <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
Luckely, Mr F made an english manual for the lightmap editor
and these 3 tools above are not very big or complicated with the ammount of buttons.
Thanks of lot! <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
Mr Robville, I'll do tomorrow) If you don't hurry <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
Thank you very much! I appreciate it!
I'll just wait here patiently <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
mafia tools (translated)-http://depositfiles.com/files/acs75h38z
that's all <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
Could you please upload it to filedropper.com?
This website refuses any download without entering your phone number.
And even if I enter a fake one, it get's stuck.
ofcourse) here's link http://www.filedropper.com/mafiatoolstranslated (http://www.filedropper.com/mafiatoolstranslated) <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
Thank you very much! you're amazing!
whow the 5ds converter was smaller than I imagined.
Also thank you for providing the effects list.
You're welcome <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20"> i didn't think that, it would be so easy :cool:
I downloaded your translated version and I decided to play with the faces <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20"> But I don't really know which file should I open to change the faces. One more thing - can I modify every face or Tommy's only ?
Open *.dat files in tablesdat folder (aa.dta archive).
Quoteofcourse) here's link http://www.filedropper.com/mafiatoolstranslated (http://www.filedropper.com/mafiatoolstranslated) <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
Thank you <img src="/wp-content/uploads/invision_emoticons/biggrin.png" alt="(//bigsmile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/biggrin@2x.png 2x" width="20" height="20">
Did someone try MED? I tried and I am able to create face animation, but I'm not able to set anything <img src="/wp-content/uploads/invision_emoticons/sad.png" alt="(//frown.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/sad@2x.png 2x" width="20" height="20"> I set face, click apply, save it and it don't have any effect, animation is still the same.
Haven't tried it yet, I'm not that great with scripting so I don't know how to implement it.
Facial animations are used while talking. So you must create string ID in textdb_en.def, name your DAT animation same as string ID (same for WAV file, if you are using it) and ingame, you can use human_talk nn, stringID.
When I was writing Road.bin Editor and I was bored from it, I started developing some little editors.
Menu.def Editor
With this tool you can edit windows in game - adding, editing, removing items in windows. Menu.def file is in the tables folder.
(//djbozkosz.wz.cz/screen06.jpg&key=1e8f9bd6dfe71293e542208715b541209a03fb41b79d60f133782f4b64ca5b80)
But I was a little fail, because I expected a little bit more things defined in this file, eg position and size of speedmeters, creating new and new subwindows etc. But everything in this file is controlled by Game.exe, so if you create a new window, it works, but every windows after new window will be moved of one offset, because you created a new window.
But you still use it to create some string eg to main menu with description of your mod, or you can remove items in main menu which are unsuitable in your mod. So main menu can looks: New Game, Load Game, Quit <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20"> Or you can totally relocate and change size of windows with items.
Some of hidden windows, most are accessible from Mafia Multiplayer Racing Mod.
(//djbozkosz.wz.cz/screen07.jpg&key=493eb900e802ab2306cd9842f8f9027ff3756dc05d00200a2593e4c85774c1bc)
The second editor is Parnik.def Editor
Parnik.def file is in the tables folder. ParnÃÂk is in Czech: steamer. And in this file are navigation paths to cargo ship, which rides in the city. Model of ship is lodriver.4ds and at the moment are generated two ships. If you want that ship rides in countryside, you have to import a Bridge definition into eg FREEKRAJINA mission. And link definition to existing name, which ends 01 number.
In FREERIDE it is: LLsklap01 and sklapx01. In FREEKRAJINA you remane it to eg: Mesh01.
Mesh01 is model of hangar at the airport, but it doesn't matter <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
(//djbozkosz.wz.cz/screen08.jpg&key=ae65f9a5fc3b74f18fda86d3b0408f219b2fcb47d780efa8f3db1ebea53418a7)
djbozkosz when release date Menu.def Editor and Parnik.def Editor ? <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
thanks for Road.bin editor! ^-^
Quotedjbozkosz when release date Menu.def Editor and Parnik.def Editor ? <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
thanks for Road.bin editor! ^-^
Thanks too, I want it release not later than two weeks, because then starting semester and I will not have time to finish it. And they are simple editors, so I will not write manuals for it, but some simple readme <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
Whow..... massive breaktroughs with modding tools and you create them while you are bored! (//bigwink.gif)
You just keep impressing me with any new tool you show us all.
This might be a silly question, but can you explain in a short sentence of how you do all this?
Like, where do you read mafia's code from? and how do you know what you are doing?
Forgive me for asking it, but I'm fasinated!
QuoteForgive me for asking it' date=' but I'm fasinated![/quote']
At first you have to be able reading binary files with hex editor. When you understand for data structure, it isn't problem to write some editor for it. To write programs you have to know any programming language, like C or C++ ...
Little example with menu.def file:
(//djbozkosz.wz.cz/screen09.jpg&key=98d38776f2a3154477b19defa0993b20866c14e2e9d1171f5a6974dc227089bb)
Fig. 1
When you open menu.def file, you will see like this.
Fig. 2
Then, you see some strings: srev, tniw, txtc, etc... Maybe, it is in every item in the file. You don't know what does it mean, but it indicates fixed length of every item - 36 bytes.
Fig. 3
Then, you can identify every item.
Fig. 4
Then, you have to identify every values in the item. But you have to know something about storing data types.
Int is an integer number stored on four bytes. Float is real number stored on four bytes too.
But every these number are stored with inverted byte order. I'm using for converting Base Converter with set byte order to Intel. I included this tool to Road.bin Editor archive.
In most cases have int zeros in the right and floats have zeros in the left. Then, you can safely identify all values in the item.
Fig. 5
Then, you have to indentify what for are all these values in the item. You haven't got a lot of choices, so you have to change these values and find any changes in windows in the game.
When you identify all values, you have decoded whole file.
Note: For programming editor - in the file is little problem, because you haven't know, how many items are in the file. So you have to reading items to the end of file.
Thanks a lot for explaining! it sure made it a lot more clear.
Only one thing I haven't got yet, How can you see these fixed lengths are 36 bytes? I do see the sections you marked but it hasn't made much sense to me yet what caused each section to start and end.
I updated to Download Section: Menu.def Editor <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
http] (//downloads/viewdownload/4-mafia-tools/539-menu-def-editor)
Very good! djbozkosz ^-^ ++++!
Yeah, great work indeed! This will sure help me out a lot, just like your other tools! (//bigwink.gif)
The 5DS converter and the lipsync tool seems lulz - wonder if we can make a Gangnam Style remake in Mafia... (//bigwink.gif)
great