Post Reply 
 
Thread Rating:
  • 2 Votes - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Final Fantasy IV: Complete Collection
06-21-2016, 12:25 PM
Post: #21
RE: Final Fantasy IV: Complete Collection
(12-22-2015 06:10 PM)aturtledoesbite Wrote:  (If someone has a more code-efficient way of modifying a 1000-byte block of memory to read "63 00" on repeat, I'm all ears.)


Not sure if PPSSPP will read C++ from notepad, but if so maybe this would work? I'm new to all this, self-teaching while A.D.D., and no longer young so who knows:
Code:
#include <iostream>
#include <iomanip>
using namespace std;

int main()
{
    int i=0x0079425C;//item//
    int q=0x00000063;//quantity//    
    
    for (i=0x0079425C;i<=0x00794646;i+=2)
    {
    cout<<showbase<<internal<<setfill('0');
    cout<<hex<<setw(10)<<uppercase<<(i)<<" "<<setw(10)<<(q)<<"\n";
    }
return 0;
}
That writes out the list you made...at least it does using Microsoft Visual C++ 2010 Express.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Final Fantasy IV: Complete Collection - Sir Gelan - 06-21-2016 12:25 PM

Forum Jump: