XboxHacker BBS
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 19, 2013, 07:48:00 PM


Login with username, password and session length


Pages: 1
  Print  
Author Topic: Xbox360 game list app Request  (Read 1667 times)
ZorgX
Member
**
Posts: 33


View Profile
« on: March 18, 2010, 06:16:09 PM »

I know this might sound stupid out and useless. and that there might be a bit rude to ask.

I was wondering if someone could create a xex app that created a text file containing the folder name and folder size performance. So that it could make a list of all the games in \ games \ and sizes of the.

Then it would become much easier to organize the games and make a game list.
« Last Edit: March 18, 2010, 06:18:07 PM by ZorgX » Logged
slasherking823
Master Hacker
****
Posts: 222


View Profile
« Reply #1 on: March 18, 2010, 07:41:35 PM »

learn c++
get xdk
profit
Logged

If that gamerscore or tenth prestige is so important to you that you absolutely need a pointless number - get it legit
If you are just trying to show off - throw a party(real party, not nerd party, some of you would miss that point)
If you like to be a fagot and go by "Jtags are for Mw2" - GTFO
ZorgX
Member
**
Posts: 33


View Profile
« Reply #2 on: March 19, 2010, 06:12:58 AM »

I can give 15usd to the first person to create such a app.
Logged
proditaki
Member
**
Posts: 31


View Profile
« Reply #3 on: March 28, 2010, 08:52:42 AM »

I'm just installed XDK today (because i can Tongue)
Dunno if i'll get around to it today, but as soon as I will, I will create your app free of charge for you.. you just might need a few days of patience.
Logged

yay
ZorgX
Member
**
Posts: 33


View Profile
« Reply #4 on: March 28, 2010, 09:17:10 AM »

Thanx  Grin Grin Grin Grin Grin
Logged
proditaki
Member
**
Posts: 31


View Profile
« Reply #5 on: March 28, 2010, 03:54:54 PM »

Ok got started at it this evening Smiley (i'm in the Netherlands so it's evening here Tongue)

Turns out you need to manually add AtgFramework.lib to your library (it is by default located in the samples) and add it to your linker in oder to get the ABG console (output text to the screen) to work.

After figuring that out (just now) it's pretty straight forward, but i'm tired.. done for today i'll prolly have it done the next time I get time to continue,
that should be tuesday or maybe tomorrow...
it's pretty straight forward from here.

update: almost done, but i'm quitting for real now (almost 1 am here) Tongue this is where i'm at

« Last Edit: March 28, 2010, 05:54:51 PM by proditaki » Logged

yay
slasherking823
Master Hacker
****
Posts: 222


View Profile
« Reply #6 on: March 28, 2010, 04:00:18 PM »

Turns out you need to manually add AtgFramework.lib to your library (it is by default located in the samples) and add it to your linker in oder to get the ABG console (output text to the screen) to work.

yea, I learned that the hard way
Logged

If that gamerscore or tenth prestige is so important to you that you absolutely need a pointless number - get it legit
If you are just trying to show off - throw a party(real party, not nerd party, some of you would miss that point)
If you like to be a fagot and go by "Jtags are for Mw2" - GTFO
ZorgX
Member
**
Posts: 33


View Profile
« Reply #7 on: March 28, 2010, 06:13:40 PM »

wow it looks good;) Thank you, that you make the app  Cheesy
« Last Edit: March 28, 2010, 07:45:34 PM by ZorgX » Logged
proditaki
Member
**
Posts: 31


View Profile
« Reply #8 on: March 29, 2010, 06:21:26 AM »

Okidoki done
GameList v0.1 :p

Gamelist checks your local hdd and usb drivers for a Games folder.
For eacht drive it outputs the containing games with the size of the game to a logfile (gamelist.txt)
Name and size are separted by a dot(.)
Every list starts with the folder the games are in (i.e. Hdd1:\games\)

The content of gamelist.txt looks like this (obviously)
Current Folder: hdd1:\games\
Assassins Creed 2.5335
Avatar.3126
Brutal Legend.6075
Dantes Inferno.5652
Dirt 2.6573
dragons age.6588
MX vs ATX.5854
NFS Shift.3804
Rogue Assassin.2301
Shaun White Snowboard.4433
Venetica.4822
Wanted WoF.6924
Bourne Conspiracy.5105
cod-mw2.6942
OpenJazz360.5
cod-mw.6621
cod-waw.6485
saboteur.5396
metro.5273
Bioshock2.6591
FinalFantasyXIII.15236
Dragon age awa.5459
Wolfenstein.6468


The output on the screen states wich dir it's working on.


for those interested; get the size of a directory(folder)
Code:
__int64 TransverseDirectory(string path)
{
WIN32_FIND_DATA data;
__int64 size = 0;
string fname = path + "\\*.*";
HANDLE handle = FindFirstFile(fname.c_str(),&data);

if(h != INVALID_HANDLE_VALUE)
{
do {
if( (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) )
{
// skip . and ..
if( strcmp(data.cFileName,".") != 0 &&strcmp(data.cFileName,"..") != 0)
{
// subdir so go recursive :)
size += TransverseDirectory(fname);
}
}
else
{
LARGE_INTEGER dsize;
// filesize +2GB support hence 2 DWORD, convert to int64
dsize.LowPart = data.nFileSizeLow;
dsize.HighPart = data.nFileSizeHigh;
size += dsize.QuadPart;
}
}while( FindNextFile(handle,&data) != 0);
FindClose(handle);
}
return size;
}
« Last Edit: March 29, 2010, 04:45:43 PM by proditaki » Logged

yay
ZorgX
Member
**
Posts: 33


View Profile
« Reply #9 on: March 30, 2010, 05:34:58 PM »

thanx i love the app  Cheesy Cheesy Cheesy Cheesy Cheesy
Logged
Pages: 1
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM