Hi! Congrats! and C++ Help by PokeParadox at 6:59 PM EDT on August 12, 2005
Hello... you may remember me from the Dextrose.com forums... but perhaps not :/ In anycase, for whatever reason, my account there stopped working,and I never could be bothered to either sort it out or get a new account created.. well I'm back now(I think).

I want to say thanks and congratulations to HCS for bringing N64 music in a nice small format... some of those soundtracks I just can't get enough of!

Well I was originally planning on creating a foobar2000 component using the 64th Note source... but I quickly realised I currently don't know enough to even start doing this... I would appreciate any tips, advice, etc. if you think I should persue this.
I finally would like to ask for some C++ help. I'm writing a w32 console program and I want to load a GBA ROM into memory so I can patch it... I want to know (if someone would be so kind) what libs I need to include to do a binary load and also what the commands are to do the loading.
by hcs at 7:51 PM EDT on August 12, 2005
I do all my file access with the C standard functions.

char buf[4];
FILE * in = fopen("file.dat","rb");
fread(buf,1,4,in);
fclose(in);

Works fine in C++, too.
I wouldn't bother tackling the 64th Note source at this point, it'll be replaced at some point in the not-too-distant future and I'll probably port it to fb2k at the same time since I'll be coding it right this time.
by PokeParadox at 8:24 PM EDT on August 12, 2005
Wow! Thanks for the quick reply! :) I will give that a try! (I have only done a year at university in my computer games technology course, so I'm not the most proficient c++ programmer as yet...)

As for the foobar, that is fair enough... I'm sure I don't know enough to do it anyways.. but I was going to try regardless ^^ Well there is a slim possibility I might be able to help in some way in the future. Thanks again!
by PokeParadox at 12:15 PM EDT on August 13, 2005
Yeah that worked a treat! ta muchly.


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source