final fantasy type-0 iso merge file issue
|
12-28-2013, 06:01 PM
(This post was last modified: 12-28-2013 06:02 PM by [Unknown].)
Post: #17
|
|||
|
|||
RE: final fantasy type-0 iso merge file issue
In BlockDevices.cpp, try changing:
Code: fseek(f, blockNumber * GetBlockSize(), SEEK_SET); To: Code: fseeko(f, (off_t)blockNumber * (off_t)GetBlockSize(), SEEK_SET); And: Code: fseek(f,0,SEEK_END); To: Code: fseek(f,0,SEEK_END); And also: Code: u32 idx = index[blockNumber]; To: Code: u32 idx = index[blockNumber]; Does that make it work with iso and cso (make sure you're running a 64-bit build, it probably won't work with 32-bit)? If not, it probably takes just a bit more than that. -[Unknown] |
|||
« Next Oldest | Next Newest »
|