Disgaea 4 [BLUS30727]
Started by ssshadow




21 posts in this topic
ssshadow
Administrator
*******


4
2,494 posts 63 threads Joined: Aug 2017
03-02-2014, 03:51 PM -
#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;
}


Messages In This Thread
RE: Disgaea 4 [BLUS30727] - by ssshadow - 03-02-2014, 03:51 PM
RE: Disgaea 4 [BLUS30727] - by Bigpet - 03-02-2014, 04:37 PM
RE: Disgaea 4 [BLUS30727] - by ssshadow - 03-02-2014, 04:41 PM
RE: Disgaea 4 [BLUS30727] - by ssshadow - 03-14-2014, 09:40 PM
RE: Disgaea 4 [BLUS30727] - by ssshadow - 05-21-2014, 07:05 PM
RE: Disgaea 4 [BLUS30727] - by jacky400 - 05-25-2014, 06:58 AM
RE: Disgaea 4 [BLUS30727] - by ssshadow - 05-25-2014, 11:21 AM
RE: Disgaea 4 [BLUS30727] - by jacky400 - 05-25-2014, 11:46 AM
RE: Disgaea 4 [BLUS30727] - by ssshadow - 05-26-2014, 07:57 PM
RE: Disgaea 4 [BLUS30727] - by ssshadow - 06-04-2014, 10:37 PM
RE: Disgaea 4 [BLUS30727] - by ssshadow - 07-01-2014, 09:32 PM
RE: Disgaea 4 [BLUS30727] - by jacky400 - 07-01-2014, 10:02 PM
RE: Disgaea 4 [BLUS30727] - by ssshadow - 01-18-2015, 12:17 AM
RE: Disgaea 4 [BLUS30727] - by Yagami Light9 - 01-24-2015, 08:49 PM
RE: Disgaea 4 [BLUS30727] - by Yagami Light9 - 01-24-2015, 09:15 PM
RE: Disgaea 4 [BLUS30727] - by Yagami Light9 - 05-10-2015, 08:53 PM
RE: Disgaea 4 [BLUS30727] - by syphurith - 05-11-2015, 04:39 PM
RE: Disgaea 4 [BLUS30727] - by Yagami Light9 - 05-11-2015, 08:04 PM
RE: Disgaea 4 [BLUS30727] - by syphurith - 05-12-2015, 05:34 AM
RE: Disgaea 4 [BLUS30727] - by BlackDaemon - 06-30-2015, 12:16 AM
RE: Disgaea 4 [BLUS30727] - by BlackDaemon - 07-11-2015, 04:13 AM
RE: Disgaea 4 [BLUS30727] - by Butz_san - 09-21-2015, 02:51 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)