Kodewerx

Our culture has advanced beyond all that you could possibly comprehend with one hundred percent of your brain.
It is currently Mon Aug 11, 2025 12:39 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Damned C noob stage
PostPosted: Sat Apr 21, 2007 10:18 am 
Offline
Komrade
Komrade

Joined: Tue Mar 27, 2007 10:18 am
Posts: 1328
Yeah. I damn this part of the learning process to hell.

I got tired of not knowing C, so I decided to learn it. The problem is, I learn best when I apply what I'm learning to a real world function. So, I decided my first C program would be one that I've been wanting for a while - a script dumping program for a Fire Emblem game.

At first I was going to read the pointers from the ROM and have something similar to the game's own Huffman Decompression program to decompress the text into a script dump.

But then I decided I don't want to reinterpret all that ARM, and that I'd rather just do an assembly hack of the game and force it to cycle through all the text in the game.

Now, if I do that, the only space I have for text is the space the game has allocated for it. So I'll need to copy it from there and add it into a separate file.

I don't know enough to read data from an open application. I'll need to know how to send information to the application I'm reading from, too.

I plan to have the game sit in a wait state after each text load, and the program I write would copy the text into the script dump before disabling the wait state flag. So, what are the commands, their syntaxes, and the libraries I will need to do such a task?

I don't know what to type into Google that would give me the results I want so I figured I'd pester you guys...

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Apr 21, 2007 12:09 pm 
Offline
Komrade
Komrade

Joined: Sat Jan 27, 2007 6:18 pm
Posts: 2070
Location: Dothan, Alabama
Title: Derp
I learned a C type language from Secondlife

LSL language

_________________
Image
WWDD? - What Would Dale Do?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Majestic-12 [Bot] and 41 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group