Important information: this site is currently scheduled to go offline indefinitely by end of the year.
L.A. Noire
-
- Moderator
- Posts: 954
- Joined: Sun Mar 27, 2011 8:42 pm
- Has thanked: 10 times
- Been thanked: 161 times
Re: L.A. Noire
The contents of this post was deleted because of possible forum rules violation.
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0
Downloads from DropBox : https://dl.dropboxusercontent.com/u/
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0
Downloads from DropBox : https://dl.dropboxusercontent.com/u/
Re: L.A. Noire
that button is only for pc version, i made it for debugging while working on the decompression
zlib is missing RFC1950 header (example: 0x78 0xDA), i had to make my own inflate algo based on ionic zlib wrapper with WindowsBits 15 and No header flag
zlib is missing RFC1950 header (example: 0x78 0xDA), i had to make my own inflate algo based on ionic zlib wrapper with WindowsBits 15 and No header flag
segs/sges = segmented compressed file, they can be anything, PC/PS3 uses Zlib, x360 uses lzxWhat exactly is in segsfiles ?
-
- Moderator
- Posts: 954
- Joined: Sun Mar 27, 2011 8:42 pm
- Has thanked: 10 times
- Been thanked: 161 times
Re: L.A. Noire
Hmm great got it working. Just very interesting how it is used and why PS3 and X360 are not the same. But its ok what ever it will work i'm glad it doesFalo wrote:that button is only for pc version, i made it for debugging while working on the decompression
zlib is missing RFC1950 header (example: 0x78 0xDA), i had to make my own inflate algo based on ionic zlib wrapper with WindowsBits 15 and No header flag
segs/sges = segmented compressed file, they can be anything, PC/PS3 uses Zlib, x360 uses lzxWhat exactly is in segsfiles ?
- Would be also able to do repack for X360 files after you done all your todos?
- Would you be able to do also replack tool for atb files as well for X360 ?
I just want to say you are really great u doing it for ppl because it really worth to transalte this game into all langs and special for me and millions of other yr implementation for X360.
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0
Downloads from DropBox : https://dl.dropboxusercontent.com/u/
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0
Downloads from DropBox : https://dl.dropboxusercontent.com/u/
Re: L.A. Noire
maybe xbox is not allowing zlib or whatever,michalss wrote:Hmm great got it working. Just very interesting how it is used and why PS3 and X360 are not the same. But its ok what ever it will work i'm glad it does
- Would be also able to do repack for X360 files after you done all your todos?
- Would you be able to do also replack tool for atb files as well for X360 ?
I just want to say you are really great u doing it for ppl because it really worth to transalte this game into all langs and special for me and millions of other yr implementation for X360.
i could already repack these files, but i never wrote any repacker and first i want real filenames ^^
with real filenames you don't need to repack anything, the games loads them from "installdir/..." where lanoire.exe is
example filename:
intermediate/chunks/animation/conversations/ua008/ua008_00_01_dispatch_any_available_unit_citizen_reports_a_459.chunk
i found also some other stuff in lanoire.exe, -dx11 starts the game in dx11 mode, but crashs ^^
and i think it has an hidden editor,
editorui/interesting_location.dae
editorui/traffic_light_indicator.dae
models/designers_tools/invisible_prop_indicator.dae
editorui/portalroom.dae
editorui/spawnedglobalactor.dae
editorui/game_location.dae
PS: i updated my previous post with Beta2&Beta 3 of the unpacker, with support for PS3 and files bigger than 4 GB
-
- veteran
- Posts: 87
- Joined: Sat Mar 13, 2010 3:59 pm
- Has thanked: 44 times
- Been thanked: 2 times
Re: L.A. Noire
Version 3 seems to work. When I give to extract files secs, I get a sign saying: Finished, but where the files are unzipped? Not appear anywhere.
Edit: Now extract a file "Out.dat"
Edit: Now extract a file "Out.dat"
Re: L.A. Noire
maybe you shouldn't try that button ? i made it only for debugging the decompression, it decompresses a input file sges (pc, little endian) to out.datlUIGUIPIETRO wrote:Version 3 seems to work. When I give to extract files secs, I get a sign saying: Finished, but where the files are unzipped? Not appear anywhere.
Edit: Now extract a file "Out.dat"
progress:
i found the hash function ^^
VB.NET code:
Code: Select all
Private Function CalculateHash(ByVal str As String) As UInt32
If str.Length <= 0 Then Return 0
Dim bCmp As Byte
Dim hash As UInt32 = &HFFFFFFFF
For i As Integer = 0 To str.Length - 1
bCmp = CByte(Asc(str(i)))
If CByte(bCmp - &H41) <= &H19 Then
bCmp += &H20
End If
hash = crc32b_table(CByte(hash And &HFF) Xor bCmp) Xor (hash >> 8)
Next i
Return Not hash
End Function
now it's time to create a filenametable ^^
Last edited by Falo on Sun Nov 27, 2011 2:15 am, edited 1 time in total.
-
- veteran
- Posts: 87
- Joined: Sat Mar 13, 2010 3:59 pm
- Has thanked: 44 times
- Been thanked: 2 times
Re: L.A. Noire
I can extract the SEGS files from the BIG files. I can not unpack them SEGS (translator Shit, I understand almost nothing)
I can not open the files with any of the two methods, ...
I can not open the files with any of the two methods, ...
Re: L.A. Noire
if you check "decompress *.sges (Zlib)" then the extracted file *.sges will be decompressed, you don't need to decompress it again.lUIGUIPIETRO wrote:I can extract the SEGS files from the BIG files. I can not unpack them SEGS (translator Shit, I understand almost nothing)
I can not open the files with any of the two methods, ...
it's a little design bug that the decompressed file still have *.sges extension, my tool builds the filename before decompressing.
-
- veteran
- Posts: 87
- Joined: Sat Mar 13, 2010 3:59 pm
- Has thanked: 44 times
- Been thanked: 2 times
Re: L.A. Noire
well, then see if I understand correctly. You can decompress files BIG in SGES files but maybe I misunderstood and I think you can decompress files in other files SEGS texture or 3D models. Click the tab sometimes and sometimes not, I've tried it both ways
-
- advanced
- Posts: 58
- Joined: Mon Nov 21, 2011 7:31 am
- Location: Russia
- Has thanked: 7 times
- Been thanked: 29 times
- Contact:
Re: L.A. Noire
Good job! Where did you find some file names?Falo wrote: with real filenames you don't need to repack anything, the games loads them from "installdir/..." where lanoire.exe is
example filename:
intermediate/chunks/animation/conversations/ua008/ua008_00_01_dispatch_any_available_unit_citizen_reports_a_459.chunk
-
- advanced
- Posts: 58
- Joined: Mon Nov 21, 2011 7:31 am
- Location: Russia
- Has thanked: 7 times
- Been thanked: 29 times
- Contact:
Re: L.A. Noire
I successfully got the hash that corresponds to the hash of extracted chunk.
Here is the script that calculates CRC32 value of a string: http://pastebin.com/JakBdBcL
That is:
> python crc32.py intermediate/chunks/movies/logos.bik.chunk
intermediate/chunks/movies/logos.bik.chunk => 0xc2216ace
Voila!
http://dl.dropbox.com/u/11973972/logos.png
Here is the script that calculates CRC32 value of a string: http://pastebin.com/JakBdBcL
That is:
> python crc32.py intermediate/chunks/movies/logos.bik.chunk
intermediate/chunks/movies/logos.bik.chunk => 0xc2216ace
Voila!
http://dl.dropbox.com/u/11973972/logos.png
-
- Moderator
- Posts: 954
- Joined: Sun Mar 27, 2011 8:42 pm
- Has thanked: 10 times
- Been thanked: 161 times
Re: L.A. Noire
Falo wrote:maybe you shouldn't try that button ? i made it only for debugging the decompression, it decompresses a input file sges (pc, little endian) to out.datlUIGUIPIETRO wrote:Version 3 seems to work. When I give to extract files secs, I get a sign saying: Finished, but where the files are unzipped? Not appear anywhere.
Edit: Now extract a file "Out.dat"
progress:
i found the hash function ^^
VB.NET code:crc32b_table = 256 * 4 Byte table at 0xF741D8 in cracked exeCode: Select all
Private Function CalculateHash(ByVal str As String) As UInt32 If str.Length <= 0 Then Return 0 Dim bCmp As Byte Dim hash As UInt32 = &HFFFFFFFF For i As Integer = 0 To str.Length - 1 bCmp = CByte(Asc(str(i))) If CByte(bCmp - &H41) <= &H19 Then bCmp += &H20 End If hash = crc32b_table(CByte(hash And &HFF) Xor bCmp) Xor (hash >> 8) Next i Return Not hash End Function
now it's time to create a filenametable ^^
Great Work mate. I hope you gonna finnishit soon . Also thank you for X360 support, that is most important for me and i beleive for millions of others
Once you fininsh it i have to send you some Czech beer
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0
Downloads from DropBox : https://dl.dropboxusercontent.com/u/
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0
Downloads from DropBox : https://dl.dropboxusercontent.com/u/
Re: L.A. Noire
i think all filenames can be found in *.atb files, but they are the real files, LANoire.exe converts themGood job! Where did you find some file names?
example:
real filename: characters/dead_bodies/pt007_kenneth_temple.dae
converted filename: intermediate/chunks/characters/dead_bodies/pt007_kenneth_temple.chunk
it could take a while to dump all filenames (over 40.000)
here some of the dlc, my current tool already loads a filenames.txt und displays/extracts the correct name
Code: Select all
#DLC1
intermediate/chunks/attribute/root.dlc.dlc1.atb.chunk
intermediate/chunks/attribute/root.dlc.dlc1.AT004.atb.chunk
#DLC2
intermediate/chunks/attribute/root.dlc.dlc2.atb.chunk
intermediate/chunks/attribute/root.dlc.dlc2.AA005.atb.chunk
#DLC3
intermediate/chunks/attribute/root.dlc.dlc3.atb.chunk
intermediate/chunks/attribute/root.dlc.dlc3.AV004.atb.chunk
#DLC4
intermediate/chunks/attribute/root.dlc.dlc4.atb.chunk
intermediate/chunks/attribute/root.dlc.dlc4.AV002.atb.chunk
#DLC5
intermediate/chunks/textures/uistreamed_dlc/outfits/dlc05.chunk
intermediate/chunks/attribute/root.dlc.dlc5.atb.chunk
#DLC6
intermediate/chunks/textures/uistreamed_dlc/outfits/dlc02.chunk
intermediate/chunks/attribute/root.dlc.dlc6.atb.chunk
#DLC7
intermediate/chunks/attribute/root.dlc.dlc7.atb.chunk
#DLC8
intermediate/chunks/attribute/root.dlc.dlc8.atb.chunk
#DLC9
intermediate/chunks/attribute/root.dlc.dlc9.atb.chunk
intermediate/chunks/attribute/root.dlc.dlc9.AT002.atb.chunk
-
- ultra-veteran
- Posts: 351
- Joined: Mon Apr 26, 2010 6:51 am
- Has thanked: 105 times
- Been thanked: 15 times
Re: L.A. Noire
Wait a sec, aren't .dae files Collada projects? If so they are references to the raw stuff Bondi/R* Leeds used before compiling stuff back up.