Mafia 2 PS3 SDS Tool

How to translate the files of a game
Vito
Posts: 55
Joined: Sat Nov 12, 2016 10:21 am

Mafia 2 PS3 SDS Tool

Post by Vito »

Hi :)

I want to translate the Mafia 2 game. There is a tool that opens the language file? I've tried mafia 2 ps3 bms script, it's extracting the file. But that script don't support repack.

I'm waiting for your help.
Last edited by Vito on Wed Jan 17, 2018 5:00 pm, edited 2 times in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Mafia 2 PS3 SDS Tool

Post by aluigi »

The script http://aluigi.org/bms/mafia_sds_ps3.bms works perfectly, so I guess you are looking for a way to open and edit the extracted files.
Saying that the script "it's not working" is a lie, don't complain if the other users ignore your topic if you provide incomplete or wrong information that just waste time.
Vito
Posts: 55
Joined: Sat Nov 12, 2016 10:21 am

Re: Mafia 2 PS3 SDS Tool

Post by Vito »

aluigi wrote:The script http://aluigi.org/bms/mafia_sds_ps3.bms works perfectly, so I guess you are looking for a way to open and edit the extracted files.
Saying that the script "it's not working" is a lie, don't complain if the other users ignore your topic if you provide incomplete or wrong information that just waste time.


Thanks a lot Aluigi :) I've tried this script. it's extracting the file, but that script don't support repack.

Image
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Mafia 2 PS3 SDS Tool

Post by aluigi »

The SDS format is a compressed and chunked archive.
There are "few" chances to have something working in reimport mode but it's necessary to split the script in 2 scripts without MEMORY_FILE and, even if it would work, the game may reject the edited files due to the CRC field that may be checked.
Good luck...
codec
Posts: 46
Joined: Tue Feb 10, 2015 8:28 am

Re: Mafia 2 PS3 SDS Tool

Post by codec »

Vito wrote:
aluigi wrote:The script http://aluigi.org/bms/mafia_sds_ps3.bms works perfectly, so I guess you are looking for a way to open and edit the extracted files.
Saying that the script "it's not working" is a lie, don't complain if the other users ignore your topic if you provide incomplete or wrong information that just waste time.


Thanks a lot Aluigi :) I've tried this script. it's extracting the file, but that script don't support repack.

Image

Bu sds script kodu sana birşey vermez.
sdat dosyasını açman gerekecek.Bu konuda Rus eleman Ranger rus'ın yazdığı şekilde yapabilirsin.
http://forum.xentax.com/viewtopic.php?f ... hilit=sdat

eğer yapamam dersen daha sadesi
Öncelikle herhangi bir araç (makenpdata,npdtool,vb) ile sdat şifresini açacaksın)
Hex editör ile şifre açılmış dosyanın ilk 16 baytını kaldırarak kenarda tut
Şimdi Quickbms ve aşağıdaki komut dosyası ile dosyayı aç
Script:

endian big
goto 0x8
get BASE_OFF long
get FILES long
for i = 0 < FILES
get NAMEOFF long
savepos OFF
goto NAMEOFF
get NAME string
goto BASE_OFF
get OFFSET long
get SIZE long
savepos BASE_OFF
log NAME OFFSET SIZE
goto OFF
next i

Dil dosyalarını kaydet ve diğer tüm Dosyaları Sil
Dosyaları aynı veya daha küçük orijinal tutarak düzenle, gerekirse diğer dillerden bazı dizelerini sil
Sonra quickbms ile düzenlenen dosyaları reimport
16 bayt kaldırılan dosyanın başına geri koy hepsi bu
sonra dosyayı tekrar kapat

seni aşar bunlar.Bekir'den yardım al.
Vito
Posts: 55
Joined: Sat Nov 12, 2016 10:21 am

Re: Mafia 2 PS3 SDS Tool

Post by Vito »

Thanks a lot ferex. Why didn't you write English?

I've already shared the decrypted file. I know that. Why did you say that? I don't understand.

Thank you anyway.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Mafia 2 PS3 SDS Tool

Post by aluigi »

@codec
Use a translator when you post.