This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disgaea 4 [BLUS30727]
#1
Archived old thread. See new one here: http://www.emunewz.net/forum/showthread....pid=243322



This is not loadable, however, I think it could easily be. There are very few errors during loading, however these stick out:

Code:
[E : PPU[1] Thread (CPUThread)[0x02add0e8]]: TODO: cellFsGetFreeSize
[W : PPU[84] Thread (fios mediathread 8)[0x02add04c]]: sys_fs warning: cellFsUnlink(path="/dev_hdd1/BLUS30727/cache.idx")
[E : PPU[84] Thread (fios mediathread 8)[0x02add0dc]]: TODO: cellFsFsync

The game becomes confused, because the game dbg is:

Code:
FIOS schedulercache - ERROR - disk full, /dev_hdd1/BLUS30727/cache.idx is larger than free space on /dev_hdd1! Cache is disabled. Remove files or reduce numBlocks to fit.
FIOS failed deleting invalid cache file '/BLUS30727/cache.idx', err = -2147416315
FIOS failed deleting invalid cache file '/BLUS30727/cache.dat', err = -2147416315
CELL_OK!

Perhaps a cellFsGetFreeSize that returns "12345678" or something would be enough? This is of course not true, but no one should care. Same for cellFsFsync. The real host OS is going to handle file syncs any way I think.

I think I fixed it.

Well, the game still doesn't load, but the game dbg errors are gone. Google told me cellFsGetFreeSize has three parameters, path, a 32 bit integer block_size, and 64 bit integer block_count, no idea what the last two actually are though.

Code:
int cellFsGetFreeSize(u32 path_addr, mem32_t block_size, mem64_t block_count)
{
    sys_fs.Log("cellFsGetFreeSize: random numbers"); // Should perhaps be reported by the OS

    block_size = 409600; // ?
    block_count = 1638400; // ?

    return CELL_OK;
}
Asus N55SF, i7-2670QM (~2,8 ghz under typical load), GeForce GT 555M (only OpenGL)
#2
I'm a little confused, is the block_size of 400k normal? I would try setting block_size to 4096

Even with just 4K that method return 6.4GB free
#3
(03-02-2014, 04:37 PM)Bigpet Wrote: I'm a little confused, is the block_size of 400k normal? I would try setting block_size to 4096

Even with just 4K that method return 6.4GB free

Random numbers for the sake of experimenting. 4096 also works of course. The proper way would of course be to get actual disk space from the OS, this was just a test to see if Disagea 4 would be loadable, and it isn't, there must be other issues. I am not even sure if this method has all the right parameters or anything like that, but it returns a number, and Disgaea 4 is happy about it, but still isn't loadable. So this thread can be ignored for the time being: experiment failed.
Asus N55SF, i7-2670QM (~2,8 ghz under typical load), GeForce GT 555M (only OpenGL)
#4
It is loadable now (at least in Nekotekinas branch, haven't tested main), black gsframe with 70-80 fps since it loops on gcm commands not yet done. Also loads some broken texture.


Attached Files Thumbnail(s)
   
Asus N55SF, i7-2670QM (~2,8 ghz under typical load), GeForce GT 555M (only OpenGL)
#5
(This topic can be moved to loadable)

It should perhaps be stated that this game fails in the same way as Disgaea D2, and somewhat similarly to The Guided Fate Paradox.

At "cellSaveDataListLoad2: No save entries found!" we pause with the message:

[Image: SwqeQkP.png]

Clicking OK we get the gcm errors. (Note that this free space error is different from OP. The cache files are placed in /dev_hdd1/ now, even after deleting them.). If a save file is present we get a CTD instead of this message.

Now let's look at the log from the last moments:

Quote:[W : PPU[1] Thread (CPUThread)[0x001e408c]]: sysPrxForUser warning: sys_ppu_thread_join(thread_id=120, vptr_addr=0xd0010ad0)
[W : PPU[1] Thread (CPUThread)[0x0049f01c]]: cellSysutil warning: cellSaveDataListLoad2(version=0, setList_addr=0xd0010940, setBuf_addr=0xd0010970, funcList_addr=0x4b0d50, funcStat_addr=0x4b0d58, funcFile_addr=0x4b0d60, container=-1, userdata_addr=0x0)
[W : PPU[1] Thread (CPUThread)[0x0049f01c]]: cellSaveDataListLoad2: No save entries found!
[E : RSXThread]: TODO: cellGcmSetZcullStatsEnable(0x1)
[W : RSXThread]: NV4097_GET_REPORT: Unimplemented type 2
[W : RSXThread]: NV4097_GET_REPORT: Unimplemented type 3
[E : PPU[1] Thread (CPUThread)[0x0049d058]]: TODO: cellGcmGetReport
[E : PPU[1] Thread (CPUThread)[0x0049d058]]: TODO: cellGcmGetReport
[E : RSXThread]: TODO: cellGcmSetZcullStatsEnable(0x1)
[W : RSXThread]: NV4097_GET_REPORT: Unimplemented type 2

...

Note that the gcm errors loop is the same as The Guided Fate Paradox, but this never plays any video.

However it did recently surface that The Guided Fate Paradox did go in game with the same errors still looping, and Disgaea 3 goes in game without ever playing the video (99% sure all these games use different versions of the same engine), so perhaps the issue here are not the gcm commands, but that the game actually does try to quit when it thinks the HDD is full? Someone willing to fill their real PS3 HDD could always test and confirm this I guess... I would rather not trash it. (Of course, someone could debug that free space message, although I do not really know what to look for)
Asus N55SF, i7-2670QM (~2,8 ghz under typical load), GeForce GT 555M (only OpenGL)
#6
Just skip PAMF option help here?
#7
(05-25-2014, 06:58 AM)jacky400 Wrote: Just skip PAMF option help here?

No, still a:
[Image: SwqeQkP.png]

Followed by a endless loop of:
Quote:[W : PPU[1] Thread (CPUThread)[0x0049f01c]]: cellSaveDataListLoad2: No save entries found!
[E : RSXThread]: TODO: cellGcmSetZcullStatsEnable(0x1)
[W : RSXThread]: NV4097_GET_REPORT: Unimplemented type 2
[W : RSXThread]: NV4097_GET_REPORT: Unimplemented type 3
[E : PPU[1] Thread (CPUThread)[0x0049d058]]: TODO: cellGcmGetReport
[E : PPU[1] Thread (CPUThread)[0x0049d058]]: TODO: cellGcmGetReport
[E : PPU[1] Thread (CPUThread)[0x0049d058]]: TODO: cellGcmGetReport
[E : PPU[1] Thread (CPUThread)[0x0049d058]]: TODO: cellGcmGetReport
[W : RSXThread]: NV4097_GET_REPORT: Unimplemented type 2
[W : RSXThread]: NV4097_GET_REPORT: Unimplemented type 3

...

Also, like some homebrew and maybe other games (this thread: http://www.emunewz.net/forum/showthread....pid=210601) you only get a white screen now, whereas before it was like 80 fps and black.
Asus N55SF, i7-2670QM (~2,8 ghz under typical load), GeForce GT 555M (only OpenGL)
#8
I see. thanks for testing it.
#9
With more verbose logging you now get this: http://pastebin.com/Hi6RsMCn (in an endless loop)
Asus N55SF, i7-2670QM (~2,8 ghz under typical load), GeForce GT 555M (only OpenGL)
#10
With cellGcmGetReport implemened nothing has changed really. I still think the game actually would want to quit after that free space error. Same for Disgaea D2.
Asus N55SF, i7-2670QM (~2,8 ghz under typical load), GeForce GT 555M (only OpenGL)


Forum Jump:


Users browsing this thread: 3 Guest(s)