AnnaKozlowska / procfw

Automatically exported from code.google.com/p/procfw
0 stars 0 forks source link

vshDetectDiscType #165

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
>>  if(has_file("/PSP_GAME/SYSDIR/EBOOT.BIN")) {
>>      result = PSP_UMD_TYPE_GAME;
>>  } else if(has_file("/UMD_VIDEO/PLAYLIST.UMD")) {
>>      result = PSP_UMD_TYPE_VIDEO;
>>  } else if(has_file("/UMD_AUDIO/PLAYLIST.UMD")) {
>>      result = PSP_UMD_TYPE_AUDIO;
>>  } else {
>>      result = -2;
>>  }

What about this demo disc? =)

[ UCJB-98302 ]
0000038 , \UMD_DATA.BIN
0000048 , \PSP_GAME\SYSDIR\EBOOT.BIN
0000064 , \PSP_GAME\SYSDIR\UPDATE\PARAM.SFO
0000080 , \PSP_GAME\PARAM.SFO
0000080 , \PSP_GAME\SYSDIR\UPDATE\DATA.BIN
0000080 , \PSP_GAME\SYSDIR\UPDATE\EBOOT.BIN
0000096 , \UMD_VIDEO\PARAM.SFO
0000112 , \UMD_AUDIO\PARAM.SFO
0000128 , \PSP_GAME\ICON1.PMF
0000192 , \PSP_GAME\SND0.AT3
0000240 , \PSP_GAME\ICON0.PNG
0000256 , \PSP_GAME\PIC0.PNG
0000288 , \PSP_GAME\PIC1.PNG
0000336 , \UMD_VIDEO\ICON1.PMF
0000480 , \UMD_VIDEO\SND0.AT3
0000608 , \UMD_VIDEO\ICON0.PNG
0000624 , \UMD_VIDEO\PIC0.PNG
0000640 , \UMD_VIDEO\PIC1.PNG
0000736 , \UMD_AUDIO\ICON1.PMF
0000800 , \UMD_AUDIO\SND0.AT3
0000848 , \UMD_AUDIO\ICON0.PNG
0000864 , \UMD_AUDIO\PIC0.PNG
0000896 , \UMD_AUDIO\PIC1.PNG
0000944 , \PSP_GAME\SYSDIR\BOOT.BIN
0000960 , \PSP_GAME\USRDIR\MODULE\libatrac3plus.prx
0000976 , \PSP_GAME\USRDIR\MODULE\mpeg.prx
0000992 , \PSP_GAME\USRDIR\MODULE\mpegbase.prx
0001008 , \PSP_GAME\USRDIR\MODULE\audiocodec.prx
0001024 , \PSP_GAME\USRDIR\MODULE\videocodec.prx
0001040 , \PSP_GAME\USRDIR\SOUND\menu.at3
0001056 , \PSP_GAME\USRDIR\MOVIE\menu.pmf
0001072 , \PSP_GAME\USRDIR\MOVIE\movie.pmf
0001088 , \UMD_VIDEO\PLAYLIST.UMD
0001104 , \UMD_VIDEO\CLIPINF\00001.CLP
0001120 , \UMD_VIDEO\CLIPINF\00002.CLP
0001136 , \UMD_VIDEO\RESOURCE\EN100000.RCO
0001264 , \UMD_VIDEO\STREAM\00001.MPS
0027920 , \UMD_VIDEO\STREAM\00002.MPS
0029136 , \UMD_AUDIO\PLAYLIST.UMD
0029152 , \UMD_AUDIO\CLIPINF\00001.CLP
0029168 , \UMD_AUDIO\CLIPINF\00002.CLP
0029184 , \UMD_AUDIO\RESOURCE\EN100000.RCO
0029280 , \UMD_AUDIO\STREAM\00001.MPS
0035680 , \UMD_AUDIO\STREAM\00002.MPS

Original issue reported on code.google.com by realyoti on 18 Jul 2011 at 2:49

GoogleCodeExporter commented 8 years ago
Fixed by 1053:25a643ed49e6. Can you try it out?

Original comment by outma...@gmail.com on 19 Jul 2011 at 1:03

GoogleCodeExporter commented 8 years ago
On [e021d7b08c77]:
/iso/*.iso - 80020148 (inferno, m33, np9660)
/iso/video/*.iso - works great in audio & video; but 80020148 in game
80020148 - cause BOOT & EBOOT are full of 0x00 =)

Original comment by realyoti on 19 Jul 2011 at 11:16

GoogleCodeExporter commented 8 years ago
Can you dump the ISO and upload to some where? I wonder if both EBOOT & BOOT 
are full of zero bytes then how the game supposes to work.

Original comment by outma...@gmail.com on 20 Jul 2011 at 9:29

GoogleCodeExporter commented 8 years ago
There are no game content in it, as i understanded.
http://nekaka.com/files/get/NiKGH9sBDO/ucjb-98302.iso

Original comment by realyoti on 20 Jul 2011 at 11:06