(bad?) DMK/PDI dump of Gize!/XIX - need advice...

صفحة 8/8
1 | 2 | 3 | 4 | 5 | 6 | 7 |

بواسطة max_iwamoto

Hero (643)

صورة max_iwamoto

19-08-2019, 03:12

The patch for Sailor Fuku Senshi Feris is here!

I also added trainer (unlimited energy) for all 3 disks, version without trainer also available:

https://drive.google.com/file/d/1zZDzGl1y8EseNxQ4G_pdQ5OTW7T...

232 also helped me to translate message to hold CTRL while booting to properly start the game...

---

The protection is similar to the COSMIC PSYCHO, but 3 code overlapping decryptions instad of 2. And encrypted game code located at 8000h instead of B400h. Decoder located @ A234h. Here is the new clean version that decode the main code/gfx and starts the game:

	PHASE	A110h

_A110:
	POP	HL
	LD	L,00h
	PUSH	HL		; HL = 8000h

	LD	HL,8003h
	LD	DE,529Bh
	LD	BC,2110h	; default = 217E

.loop_1:
	CALL	_A234
	XOR	(HL)
	RLCA
	LD	(HL),A
	INC	HL
	DEC	BC
	LD	A,B
	OR	C
	JR	NZ,.loop_1
;
	LD	A,CDh
	LD	(8000h),A
;
	LD	HL,8003h
	LD	DE,688Ch
	LD	BC,2110h	; default = 21E4h

.loop_2:
	CALL	_A234
	XOR	(HL)
	RLCA
	LD	(HL),A
	INC	HL
	DEC	BC
	LD	A,B
	OR	C
	JR	NZ,.loop_2
;
	LD	HL,8066h
	LD	(8001h),HL
;
	LD	HL,8003h
	LD	DE,53E9h
	LD	BC,2110h	; default = 2214h

.loop_3:
	CALL	_A234
	XOR	(HL)
	RLCA
	LD	(HL),A
	INC	HL
	DEC	BC
	LD	A,B
	OR	C
	JR	NZ,.loop_3
;
	RET

_A234:
	PUSH	HL
	PUSH	DE
	POP	HL
	ADD	HL,HL
	ADD	HL,DE
	ADD	HL,HL
	ADD	HL,DE
	LD	E,H
	LD	D,L
	RLC	H
	RLC	H
	RRC	L
	ADD	HL,DE
	LD	DE,1119h
	ADD	HL,DE
	EX	DE,HL
	LD	A,D
	POP	HL
	RET

_A110_LEN:	EQU	$ - _A110

بواسطة Pac

Scribe (7007)

صورة Pac

19-08-2019, 09:40

max_iwamoto wrote:
PAC wrote:

There seems to be a graphic corruption in disk A of Cosmic Psycho just when main presentation finishes. Similar than Gize! / XIX. BTW thank you for your work max_iwamoto. Wink

I didn't see any graphic corruptions... Could you let me know what config did you use?

Max

I'm just testing it in openMSX with different configurations MSX2, turbo R, etc. A friend confirms the same problem. You can see this at the end of main introduction.

بواسطة sdsnatcher73

Prophet (3951)

صورة sdsnatcher73

19-08-2019, 13:51

Also happens on real hardware (Yamaha CX7/128). The DMK on openMSX however does not have this issue:

بواسطة ImATrackMan

Expert (89)

صورة ImATrackMan

06-06-2020, 10:11

Was the data corruption on the .dsk conversion ever fixed?

بواسطة max_iwamoto

Hero (643)

صورة max_iwamoto

14-06-2020, 22:50

ImATrackMan wrote:

Was the data corruption on the .dsk conversion ever fixed?

Yes, I found the problem and fixed it. I am not sure what caused it. I need to see DMK analyzer, maybe there is a sector with wrong number or something similar. Basically what happens is that all games with this protection are converted from file based disk to sector based with file names 6+3 instead of 8+3 (BTW, another game with this protection has been discovered, I will upload patch when I get it). And it keeps directory in the 1st few sectors. If you look at the file 1.PRS, it should start from offset 2600h but it starts from 2400h. If you fix 13h (2600h) offset to 12h (2400h), the game will hang. But if you look in the image, from offset 3400h (1Ah), you will see dummy sector filled with E5. If you move this sector from offset 3400h to 2400h, the "file" 1.PRS will start from 2600h and inside file will not be disconnected from address 3400h to 35FFh. I will make a patch to patch DSK of disk A with removed protection and post here shortly.

Here is Cosmic Psycho running in BlueMSX:

EDIT: here is the link to IPS to fix GFX issue for DSK file of DISK A:

https://drive.google.com/file/d/1s2wxRIIA-Nx9ytibf37Y-4-FveB...

بواسطة sdsnatcher73

Prophet (3951)

صورة sdsnatcher73

15-06-2020, 07:33

Great job and well explained! Thanks for the patch.

بواسطة ImATrackMan

Expert (89)

صورة ImATrackMan

12-10-2020, 03:13

I could attempt a redump of Disk A to see if anything is different.

بواسطة max_iwamoto

Hero (643)

صورة max_iwamoto

12-10-2020, 20:27

ImATrackMan wrote:

I could attempt a redump of Disk A to see if anything is different.

If you can re-dump it, I will check it to be sure 100%.

In the other news today, Takamichi sent me undamaged DISK A of Feris. Protection on his disk uses different variables and cannot be patched with same protection patch. But data is intact, so I was able to get un-corrupted GFX and made patch that fixes it.

Here you go, this patch removes protection and fixes corrupted GFX:

https://drive.google.com/file/d/1n50qZcH-HrHOk06AvyqrtBUEw6c...

صفحة 8/8
1 | 2 | 3 | 4 | 5 | 6 | 7 |