saramibreak / DiscImageCreator

This is the disc (CD, GD, DVD, HD-DVD, BD, GC/Wii, XBOX, XBOX 360) and disk (Floppy, MO, USB etc) image creation tool
http://forum.redump.org/topic/10483/discimagecreator/
Apache License 2.0
538 stars 46 forks source link

PS3: A huge *_disc.txt file is generated #255

Closed fuzz6001 closed 10 months ago

fuzz6001 commented 10 months ago

Version

20231201

Describe the bug

*_disc.txt is over 15 MiB. It appears to contain binary data.

 :
 :
========== LBA[471552, 0x73200]: PS3UPDAT.PUP ==========
              magic: SCEUF
        Format Flag: 0
    Package Version: 0x1
      Image Version: 0x3b05
     Segment Number: 0x6
      Header Length: 0x1d0
        Data Length: 0x7c78790
    SegmentEntry[0]
            ID: 0x100
        Offset: 0x1d0
          Size: 0x5
        Signature Algorithm: HMAC-SHA1
        version: 2.35
    SegmentEntry[1]
            ID: 0x101
        Offset: 0x1d5
          Size: 0x3
        Signature Algorithm: HMAC-SHA1
        license.xml: ...SCE��O-<��a��I�<r��?AS�1���j�U��}���%wQ�f�{m����7L�)�����Oa��[��O��i�!H~dL5J�e9�*t�������?���OW1�%q1gh{*Z޸5�@>[ߍO���[z�^icF+週����.
�,Vj-kD�5�$�6<O�b��Gi2����޿I-)q�}���J�S�K���.2�H$�
+4�!�6yg�6E���4jl    ٫Y��j��/$�dw��0��6+
DΥϤ�ܙ��V)Q!�M`����jլ󻠯��G���=�����5�c��ܛ�
��$�?����G�J.u����Y��ӟڇ����~,��9Aa��Ƥ[hHF�k �f�s��.�eZk���Dz�.����M���F|,��&������mBxQq��qM��@3�E��ɺ�[T�}1t���;N�,O�hd�:ϭ��:�/�zŬ��sG¹@�;�;�/�g�θ��%�PL���2�C:7W���<�Hy�TL3��m֠S�-ԇI�!(��'~�~
���� �F\�7����̊�7f��Gj;�H/Jߛ���K'�5�²��P��ϖijա'-�w6��VBc���?�.�Dpk���Z��I'5Z�alW�pSR�b��!C�����SX[茛�J����u*Lj"��<�%CEȧ��cqv
�����
 :
 :

Disc title

Me Motion (Japan) http://redump.org/disc/100214/

Log file

out.zip

saramibreak commented 10 months ago

Change the character code of your text editor to UTF-8, plz.

fuzz6001 commented 10 months ago

It is already UTF-8. disc_txt

saramibreak commented 10 months ago

Updated. DiscImageCreator_test.zip

fuzz6001 commented 10 months ago

Thanks. Looks good, but do I need to worry about "unknown"?

    SegmentEntry[1]
            ID: 0x101
        Offset: 0x1d5
          Size: 0x3
        Signature Algorithm: HMAC-SHA1
unknown: =>?

out.zip

saramibreak commented 10 months ago

According to the psdevwiki (https://www.psdevwiki.com/ps3/Playstation_Update_Package_(PUP)#Structure), ID 0x101 shows license.xml. But メモーション is not so.

fuzz6001 commented 10 months ago

screenshot 1701693445

In this case, wouldn't it be better to output the data as is?

license.xml: ...
saramibreak commented 10 months ago

Changed. DiscImageCreator_test.zip

fuzz6001 commented 10 months ago

Thanks again. it works!

    SegmentEntry[1]
            ID: 0x101
        Offset: 0x1d5
          Size: 0x3
        Signature Algorithm: HMAC-SHA1
        license.xml: ...

out.zip