xboxscene.org forums

OG Xbox Forums => Software Forums => Xbox Homebrew Software => Topic started by: RoCk-Box on December 09, 2004, 03:27:00 PM

Title: Program Request - Very Simple
Post by: RoCk-Box on December 09, 2004, 03:27:00 PM
i would love a prgram that i could load from dvd-r , that would be able to record the eeprom data on a spot on the hard drive , automatically , so basically , i pput dvd-r in drive , i turn on xbox , it loads , does it all by itself , i turn box back on , and eeprom is laying in the hd somewhere. I know this is possible and a friend that codes xbox apps told me its prolly 20 lines of code , but he cant do it atm , please if you can do this , help me , reply if u can help , i will pay if this helps it get done faster smile.gif ty

(the reason i want this type of app is because my controlle rports on my box do not work , they r dead , and i need a way to get the eeprom from it plz , thanks a bunch
Title: Program Request - Very Simple
Post by: swolsten on December 09, 2004, 03:57:00 PM
Something like

CODE

#include
#include "XKUtils.h"
#include "XKEEPROM.h"

XKUtils m_xkutils;
XKEEPROM m_xkeeprom;

void main( void )
{

 m_xkutils.MountAllDisks();
 m_xkeeprom.ReadFromXBOX();
 m_xkeeprom.WriteToCFGFile("c:\\eeprom.cfg");
 sleep (1000);
 m_xkutils.XBOXPowerOff();

}



No way to build anything so all I can do is give an idea, cant even compile to see if it builds

EDIT: \\ escape corrected tongue.gif
Title: Program Request - Very Simple
Post by: RoCk-Box on December 09, 2004, 04:16:00 PM
i contacted him and he knows that source should be fine , but he cannot compile , msg me if u can compile
thanks
Title: Program Request - Very Simple
Post by: BlaKforGE on December 09, 2004, 06:43:00 PM
eepromdump error LNK2019: unresolved external symbol "public: static void __cdecl XKUtils::XBOXPowerOff(void)" (?XBOXPowerOff@XKUtils@@SAXXZ) referenced in function _main
eepromdump error LNK2019: unresolved external symbol "public: int __thiscall XKEEPROM::WriteToCFGFile(char const *)" (?WriteToCFGFile@XKEEPROM@@QAEHPBD@Z) referenced in function _main
eepromdump error LNK2019: unresolved external symbol "public: void __thiscall XKEEPROM::ReadFromXBOX(void)" (?ReadFromXBOX@XKEEPROM@@QAEXXZ) referenced in function _main
eepromdump error LNK2019: unresolved external symbol "public: static void __cdecl XKUtils::MountAllDisks(void)" (?MountAllDisks@XKUtils@@SAXXZ) referenced in function _main
eepromdump error LNK2019: unresolved external symbol "public: __thiscall XKUtils::XKUtils(void)" (??0XKUtils@@QAE@XZ) referenced in function _$E1
eepromdump error LNK2019: unresolved external symbol "public: __thiscall XKEEPROM::XKEEPROM(void)" (??0XKEEPROM@@QAE@XZ) referenced in function _$E4
eepromdump error LNK2019: unresolved external symbol "public: virtual __thiscall XKUtils::~XKUtils(void)" (??1XKUtils@@UAE@XZ) referenced in function _$E2
eepromdump error LNK2019: unresolved external symbol "public: __thiscall XKEEPROM::~XKEEPROM(void)" (??1XKEEPROM@@QAE@XZ) referenced in function _$E5
eepromdump fatal error LNK1120: 8 unresolved externals


These are my errors, after removing the sleep function (I dont know the include for the sleep function).  I have no idea how to resolve these refrences.

--BlaKforGE
Title: Program Request - Very Simple
Post by: swolsten on December 10, 2004, 03:56:00 AM
were XKUtils.c and XKEEPROM.c included in the project and compiled?
Title: Program Request - Very Simple
Post by: BlaKforGE on December 11, 2004, 04:26:00 AM
QUOTE (swolsten @ Dec 10 2004, 12:59 PM)
were XKUtils.c and XKEEPROM.c included in the project and compiled?

no they werent.  I just refrenced the .h files properly.  I need a .sln file or some type of proper code.  Additionaly, I tried to include <unistd.h> for sleep(); , but the .h file that I used didnt work properly (unix (posix/cygwin) based).  is there some type of generic pause type of command I can use?

--BlaKforGE
Title: Program Request - Very Simple
Post by: fghjj on December 11, 2004, 06:05:00 AM
Use Sleep(x) instead of sleep(x) wink.gif
Title: Program Request - Very Simple
Post by: RoCk-Box on December 12, 2004, 06:04:00 PM
did any1 come up with a solution yet?
Title: Program Request - Very Simple
Post by: swolsten on December 13, 2004, 12:23:00 AM
QUOTE (RoCk-Box @ Dec 13 2004, 02:07 AM)
did any1 come up with a solution yet?

did you check your pm's before posting?
Title: Program Request - Very Simple
Post by: swolsten on December 15, 2004, 03:00:00 AM
Its nice to know when you do something for someone they ignore you.

I WILL delete what I have done in 2 days if you dont get back to me......

EDIT: 1 day now (edit to save the bump)

This post has been edited by swolsten: Dec 16 2004, 02:20 PM
Title: Program Request - Very Simple
Post by: BlaKforGE on December 15, 2004, 04:48:00 AM
QUOTE (swolsten @ Dec 15 2004, 11:32 AM)
Its nice to know when you do something for someone they ignore you.

I WILL delete what I have done in 2 days if you dont get back to me......

too bad the code doesnt work
Title: Program Request - Very Simple
Post by: swolsten on December 15, 2004, 05:22:00 AM
QUOTE (BlaKforGE @ Dec 15 2004, 12:20 PM)
too bad the code doesnt work

Doesnt compile or doesnt work?

There is always a need for debugging even in the simplest app
Title: Program Request - Very Simple
Post by: swolsten on December 15, 2004, 12:30:00 PM
Strange you say it doesnt work, I compiled it first time (once I changed sleep to Sleep - Thanx fghjj).

Fixed my debug box, booted the xbox, 1 second later the xbox powered off, FTPed in and got eeprom.cfg from C:\

CODE

#Please note ALL fields and Values are Case Sensitive !!

[EEPROMDATA]
XBOXSerial   = "301923000000"
XBOXMAC  = "00:0D:44:55:DD:AA"

OnlineKey   = "FE:EF:FE:EF:FE:EF:FE:EF:FE:EF:FE:E5:AE:AA:EF:B7"

#ONLY Use NTSC or PAL for VideoMode
VideoMode   = "PAL"

#ONLY Use 01, 02 or 04 for XBE Region
XBERegion   = "04"

HDDKey  = "69:0B:A8:53:F8:8F:40:78:2B:F2:AA:BB:CC:DD:EE:FF"
Confounder   = "01:23:45:67:89:0A:BC:DE"

DO NOT USE - Its beed edited
Title: Program Request - Very Simple
Post by: RoCk-Box on December 22, 2004, 09:22:00 PM
Hey , i could REALLY still use that app so if u can , please pm me on irc at irc.efnet.net Nick : RoCK-BoX
or e-mail me it at [email protected]
Title: Program Request - Very Simple
Post by: BlaKforGE on December 27, 2004, 07:21:00 AM
QUOTE(BlaKforGE @ Dec 15 2004, 12:48 PM)
too bad the code doesnt work
*



I changed the sleep and it still wouldnt compile.  I assume it would work fine if it compiled.

--BlaKforGE
Title: Program Request - Very Simple
Post by: swolsten on December 27, 2004, 02:39:00 PM
QUOTE(BlaKforGE @ Dec 27 2004, 02:21 PM)
I changed the sleep and it still wouldnt compile.  I assume it would work fine if it compiled.
Title: Program Request - Very Simple
Post by: RoCk-Box on December 29, 2004, 10:35:00 PM
beerchug.gif