What are you even doing? ;P
HawaiianPunch's Code Patches
|
01-21-2012, 11:02 PM
Well, like the description says, "Dynamic file patching development, like Riivolution for Dolphin."
No, it's not yet working. I've created a couple working functions to check the presence of a file in the correct folder and set Dolphin to create the directory (and added a nonworking checkbox) and that's about it. My current main priority is to fix FileMonitor.cpp to open the correct folder based on GameID, not just SMG2 which is currently hardcoded in
Main Laptop:
Dell XPS 17 i7 2720QM @ 2.2GHz 8GB DDR3 RAM Nvidia GeForce GT 555M Windows 7 64-bit 01-21-2012, 11:26 PM
(01-21-2012, 01:35 AM)HawaiianPunch Wrote: (Also, what is the specific object name that holds the playing ISO in the GameListItem class? There seem to be quite a few and I don't know what each is for.) hm, I need to correct myself. Use SConfig::GetInstance().m_LocalCoreStartupParameter.m_strUniqueID. 01-21-2012, 11:39 PM
(01-21-2012, 11:26 PM)neobrain Wrote:(01-21-2012, 01:35 AM)HawaiianPunch Wrote: (Also, what is the specific object name that holds the playing ISO in the GameListItem class? There seem to be quite a few and I don't know what each is for.) That's it! Thanks! *commited and pushed
Main Laptop:
Dell XPS 17 i7 2720QM @ 2.2GHz 8GB DDR3 RAM Nvidia GeForce GT 555M Windows 7 64-bit 01-24-2012, 09:04 AM
Ugh. Can someone explain step by step how Dolphin accesses files from GC and Wii isos? Or point me to something that will explain it? There are a lot of functions...
Main Laptop:
Dell XPS 17 i7 2720QM @ 2.2GHz 8GB DDR3 RAM Nvidia GeForce GT 555M Windows 7 64-bit 01-24-2012, 10:22 AM
Both are in Core
wii is in IPC_HLE\WII_IPC_HLE_Device_DI gc is in DVDInterface.cpp they are also accessed through various files in DiscIO, (VolumeGC, VolumeWiiCrypted, VolumeDirectory) 01-26-2012, 06:33 AM
(This post was last modified: 01-26-2012, 06:34 AM by HawaiianPunch.)
Big update. I have reworked a lot of functions, and have settled on something I like. I decided to change the return value of FileMon::FindFilename from void to std:tring, return the just processed file. This makes my code a lot simpler, and since FindFilename is only called once in VolumeGC.cpp I think it shouldn't affect much. Please tell me if this needs to be reverted, and I will try to create a separate function. Now, all files are checked if they exist before loading, and I only need to implement a new function that will read from the new file.
And that's, unfortunately, where I need a lot of help. I basically have no idea how to implement this new function. Thanks. Here's the commit, on my FileLoader branch: http://code.google.com/r/hawaiianpunch1-...FileLoader
Main Laptop:
Dell XPS 17 i7 2720QM @ 2.2GHz 8GB DDR3 RAM Nvidia GeForce GT 555M Windows 7 64-bit 01-26-2012, 06:44 AM
01-26-2012, 06:49 AM
(01-26-2012, 06:44 AM)neobrain Wrote: What do you need to read form the file? o_O I needed the filename, then I need to read the actual file that someone will put in User/Load/Files.
Main Laptop:
Dell XPS 17 i7 2720QM @ 2.2GHz 8GB DDR3 RAM Nvidia GeForce GT 555M Windows 7 64-bit |
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)