03-02-2014, 03:51 PM -
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:
The game becomes confused, because the game dbg is:
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.
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;
}