UmdImageCreator
Re: UmdImageCreator
Results:
https://cdn.discordapp.com/attachments/ … 062411.jpg
Also, the game itself has English, Spanish, and French language support.
https://cdn.discordapp.com/attachments/ … 062411.jpg
Also, the game itself has English, Spanish, and French language support.
Last edited by ajshell1 on Thu Jul 19, 2018 5:18 am, edited 1 time in total.
-
LedZeppelin68
- Posts: 80
- Joined: Mon Jun 08, 2026 1:26 am
Re: UmdImageCreator
Thank you!ajshell1 wrote:Results:
https://cdn.discordapp.com/attachments/ … 062411.jpg
Also, the game itself has English, Spanish, and French language support.
Re: UmdImageCreator
Bumping, These Orange entries should be turned Green.
Last edited by user7 on Sat Jul 28, 2018 10:04 am, edited 1 time in total.
All my posts and submission data are released into Public Domain / CC0.
Re: UmdImageCreator
added: Output PARAM.SFO into _disc.txt
https://github.com/saramibreak/UmdImageCreator/releases
https://github.com/saramibreak/UmdImageCreator/releases
DiscImageCreator, UmdImageCreator, Conv2multiBin, bin2wav, PS3Auth (needs login), [url=http://www.mediafire.com/file/5cgoy11x6ahc7qh/%2523recompressTo7z_20150109.bat/file]recompressTo7z_20150109.bat[/url]
Re: UmdImageCreator
Do all psp UMDs have default layerbreak? Is there a sort of file like .dvd that stores layerbreak info? I'm working on my psp collection and reorganising to match redump checksums and being possibly closest to perfect dump, so i need to know how umd layerbreak works. In ps2 DVD9s layerbreak is not constant. Is there a tool that can verify if all psp dumps have the same layerbreak (or maybe if you know this i don't need such tool)?
Re: UmdImageCreator
I recently analyzing some prx files. The result is here. https://github.com/saramibreak/UmdImage … master/Doc
If someone can read MIPS code, please tell me the usage of the SCSI-like function (e.g. sceUmdExecReadUMDStructureCmd, sceUmdExecRead10Cmd, etc).
According to the function name, sceUmdExecReadUMDStructureCmd looks like ReadDVDStructure of the SCSI-command, which can read PFI and DMI etc.
If someone can read MIPS code, please tell me the usage of the SCSI-like function (e.g. sceUmdExecReadUMDStructureCmd, sceUmdExecRead10Cmd, etc).
According to the function name, sceUmdExecReadUMDStructureCmd looks like ReadDVDStructure of the SCSI-command, which can read PFI and DMI etc.
DiscImageCreator, UmdImageCreator, Conv2multiBin, bin2wav, PS3Auth (needs login), [url=http://www.mediafire.com/file/5cgoy11x6ahc7qh/%2523recompressTo7z_20150109.bat/file]recompressTo7z_20150109.bat[/url]
Re: UmdImageCreator
Depends on what exactly you need, but I stumbled upon this post while looking for other stuff. I glanced over those functions from FW 6.60 umdman.prx that I had layinig around (the functions seemed mostly identical to the asm dump you've provided presumably from FW 3.52, just with different addresses) and mapped the names accordingly as well.sarami wrote:If someone can read MIPS code, please tell me the usage of the SCSI-like function (e.g. sceUmdExecReadUMDStructureCmd, sceUmdExecRead10Cmd, etc).
According to the function name, sceUmdExecReadUMDStructureCmd looks like ReadDVDStructure of the SCSI-command, which can read PFI and DMI etc.
In your asm dump, the ReadUMDStructure function is called from two places, but in mine it seems to only be done once (unless I messed up somewhere) which matches the one at 0x0000E024 in yours, but I digress. It clears a 0x48 byte buffer on the stack first; assuming the sw/sh/sb instructions used to clear it are indicative of the size of each component:
- 0x00-0x08 - int32 x 2
- 0x08-0x0A - int16 x 1 (store 0x28)
- 0x0A-0x10 - int8 x 6
- 0x20-0x48 - int32 x 10
Finally, sceUmdExecReadUMDStructureCmd() takes three arguments:
- $a0 - UMD drive returned by sceUmdManGetUmdDrive()
- $a1 - Pointer to 0x00 of that pre-made buffer
- $a2 - Pointer to 0x20 of that pre-made buffer
The function itself, among other things, calls a function with the args 0xAD and the UMD drive, which lines up with the SCSI command READ_DVD_STRUCTURE (0xAD). It also reads the int16 value at 0x08, subtracts it by 4, and writes it back in that location after it. So if, say, the 0xAD command succeeded but something else failed, this could probably be a way of checking if it at least got that far into the ReadUMDStructure function.
If the function encounters a problem, it'll return the error code 0x80010016 (named PSP_ERROR_UMD_INVALID_PARAM in PPSSPP).
Last edited by Edness on Sat Sep 23, 2023 8:16 am, edited 1 time in total.
Re: UmdImageCreator
@Edness
Thanks the detailed information.
Thanks the detailed information.
DiscImageCreator, UmdImageCreator, Conv2multiBin, bin2wav, PS3Auth (needs login), [url=http://www.mediafire.com/file/5cgoy11x6ahc7qh/%2523recompressTo7z_20150109.bat/file]recompressTo7z_20150109.bat[/url]
Re: UmdImageCreator
Letting you know I've just made a slight amendment to my original post. I completely overlooked that it also writes the number 40 at 0x08 in the 1st function, which I originally marked as unused.
Re: UmdImageCreator
As you say, I set 40 at 0x08.Edness wrote:it also writes the number 40 at 0x08 in the 1st function
Code: Select all
unsigned char bufStruct[72] = {};
bufStruct[8] = 40;
_sceUmdManWaitSema();
res = _sceUmdExecReadUMDStructureCmd(pUmdDrive, bufStruct, &bufStruct[32]);
_sceUmdManSignalSema();
if (res < 0) {
OutputPspError("_sceUmdExecReadUMDStructureCmd", 0, res);
sceKernelDelayThread(5 * 1000000);
}
else {
uid = sceIoOpen("ms0:/_sceUmdExecReadUMDStructureCmd.bin", PSP_O_CREAT | PSP_O_TRUNC | PSP_O_WRONLY, 0777);
sceIoWrite(uid, bufStruct, sizeof(bufStruct));
sceIoClose(uid);
}Disc is Mugen Kairou https://redump.info/disc/53372/
Code: Select all
00 00 00 00 00 00 00 00 24 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 28 00 00 80 00 01 E0 00 03 00 00 00 04 5D 5F
00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00EDIT1:
Disc is Dissidia 012: Duodecim Final Fantasy https://redump.info/disc/25036/
Code: Select all
00 00 00 00 00 00 00 00 24 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 28 00 00 80 00 31 E0 00 03 00 00 00 FC AB 2F
00 09 C0 BF 00 01 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00Disc is Jigen Kairou https://redump.info/disc/54489/
Code: Select all
00 00 00 00 00 00 00 00 24 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 28 00 00 80 00 01 E0 00 03 00 00 00 05 07 BF
00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
Last edited by sarami on Thu Sep 21, 2023 10:30 pm, edited 1 time in total.
DiscImageCreator, UmdImageCreator, Conv2multiBin, bin2wav, PS3Auth (needs login), [url=http://www.mediafire.com/file/5cgoy11x6ahc7qh/%2523recompressTo7z_20150109.bat/file]recompressTo7z_20150109.bat[/url]