xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

> Before Posting a Question or Comment on this site.. please READ! ...


Welcome to XBOX-SCENE.

Before posting a new question anywhere on this site... check the XS TUTORIALS/GUIDES Page and see if your answers are there. Guides from everthing to taking your XBOX apart, installing Chips, making backups, installing alternative Dashboards and much more can all be found there. Want Modchip help? Instruction manuals/guides etc for modchips: MODCHIP GUIDES. Need to figure out what version XBOX you have? XBOX VERSIONS GUIDES. Some Software and files we host: TOOLS and SOFTWARE Still can't find the answer? Check the PINNED TOPICS in the relevant forum. When all else fails.. use XS SEARCH. Use more than one word to narrow down the responses. Using Search properly.. can yeild the best results. Ignore what's written here.. and more experienced members will make life on XS hard for you. They tend to help those who help themselves first.

GLOBAL RULES FOR POSTING ON XS: RULES

 
Reply to this topicStart new topic
> Easier Way To Make Dummy Files - Please Read!, I garuntee this is better
blueshogun96
post May 20 2004, 03:26 PM
Post #1


X-S X-perience
**

Group: Members
Posts: 328
Joined: 24-March 04
Member No.: 109566



I've noticed that most of you still just collect huge movie files to use as dummy files. Well here's a much better way to do this. Instead of making a dummy file from large files already on your computer, write a program that writes text to a file in a continuous loop and and program some logic to make it stop at a certain time. I discovered i could do this last night by mistake. A text file can fill up QUICK and become MASSIVE in a few seconds (like putting a dry sponge in water smile.gif, so be careful. A full example is below:

#define WIN32_LEAN_AND_MEAN

#include <stdio.h>
#include <conio.h>
//our constants
const __int64 SIZE_IN_BYTES = 1;
const __int64 SIZE_IN_KILOBYTES =1024;
const __int64 SIZE_IN_MEGABYTES =1048576;


void main(int argc, char* argv)
{
FILE *pFile;//our file
int TargetSize=0;//size we want
int s=1;
pFile=fopen("0dummy.bin","a+");//create dummy file
printf("Dummy file maker 1.1 by blueshogun96 © 2004\n\n");
printf("In order to make the dummy file, you must specify what units the number you \ninput will be\n");
printf("For instance, you type in the size you want, are you using KB, MB, etc.\n\n\n");
menu:
printf("Input size in:\n1. Bytes\n2. KiloBytes\n3. MegaBytes\n");
scanf("%d",&s);
if(s<1||s>3)
{
system("CLS");
printf("Please choose a number between 1 and 3\n");
goto menu;
}
printf("How big do you want your dummy file to be");
if(s==1)printf("(in Bytes)");
if(s==2)printf("(in KiloBytes)");
if(s==3)printf("(in MegaBytes)");
scanf("%d",&TargetSize);
printf("Creating your dummy file...\n");
printf("You can stop at anytime by pressing CTRL+C\n");
printf("This program will be done before you know it \n");
printf("Don't leave this unattended just in case!");
printf("Target size is: %d",TargetSize);
if(s==1)printf("(in Bytes)\n");
if(s==2)printf("(in KiloBytes)\n");
if(s==3)printf("(in MegaBytes)\n");

for(;;)
{
static __int64 i=0;
i+=1;

fprintf(pFile,".");
//uncomment the line below and the program will go much slower
//printf("Dummy file size is %d bytes.\r",i);
if(s==1)
if(i==(__int64)TargetSize) break;
if(s==2)
if(i==(__int64)TargetSize*SIZE_IN_KILOBYTES) break;
if(s==3)
if(i==(__int64)TargetSize*SIZE_IN_MEGABYTES) break;

}//when its done it will stop and let you know smile.gif
printf("\nYour dummy file is done\n");
getch();//wait for keyboard input
fclose(pFile);//close file
}

if you don't have a compiler or don't know how to program, you can download a precompiled copy below:

http://www.angelfire.com/extreme4/raditzmo...myFileMaker.rar

This post has been edited by blueshogun96: May 20 2004, 03:31 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Chancer
post May 20 2004, 03:47 PM
Post #2


Don't You Trust me?
***************

Group: Head Moderator
Posts: 18687
Joined: 31-October 03
Member No.: 71217
Xbox Version: v1.6
360 version: v3.0 (falcon)



Very good but its easier to use the dummy file maker from the Xecuter site. I don't really think people do spend a lot of time amking up dummy files surely. You can make a dummy of a couple of hundred meg or whatever in less than 30 secs.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
blueshogun96
post May 20 2004, 04:08 PM
Post #3


X-S X-perience
**

Group: Members
Posts: 328
Joined: 24-March 04
Member No.: 109566



QUOTE (Chancer @ May 20 2004, 05:47 PM)
Very good but its easier to use the dummy file maker from the Xecuter site. I don't really think people do spend a lot of time amking up dummy files surely. You can make a dummy of a couple of hundred meg or whatever in  less than 30 secs.

Sorry, I didn't know that because I didn't know a dummy file maker existed. The main reason why I posted this thread was because everyone I've met did it the hard way, I just wanted to help, that's all. biggrin.gif I'm an Intern but still a NOOb inside, know what I mean? cool.gif

This post has been edited by blueshogun96: May 20 2004, 04:24 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
rainfever
post May 20 2004, 04:40 PM
Post #4


X-S Young Member
*

Group: Members
Posts: 45
Joined: 27-February 04
Member No.: 103046



i just used a 100mb file and renamed it ABC.FAO and it worked like a charm....dunno why it so hard to make a dummy file....probably something to do with the name lol
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
blueshogun96
post May 20 2004, 04:49 PM
Post #5


X-S X-perience
**

Group: Members
Posts: 328
Joined: 24-March 04
Member No.: 109566



QUOTE (rainfever @ May 20 2004, 06:40 PM)
i just used a 100mb file and renamed it ABC.FAO and it worked like a charm....dunno why it so hard to make a dummy file....probably something to do with the name lol

I think you're missing the point of exactly why I made this post. It's not all about creating a dummy file, it's about getting it to the right size so you only need to make one and only one, instead of gathering a bunch of files and wasting time. Of course it's not hard to make a dummy file, it's all about being presice and accurate!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
lordvader129
post May 20 2004, 05:04 PM
Post #6


He Who Posts Alot...
***************

Group: Head Moderator
Posts: 17733
Joined: 6-May 03
From: Chicago, USA
Member No.: 36345
Xbox Version: v1.1
360 version: v5.0 (360S - trinity)



QUOTE (blueshogun96 @ May 20 2004, 01:49 PM)
I think you're missing the point of exactly why I made this post. It's not all about creating a dummy file, it's about getting it to the right size so you only need to make one and only one, instead of gathering a bunch of files and wasting time. Of course it's not hard to make a dummy file, it's all about being presice and accurate!

eh, dummy files arent an exact science they dont need to be precise or accurate, just take up space


i usually make a folder called 00000 and throw stuff in it til its as big as i want
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
blueshogun96
post May 20 2004, 05:20 PM
Post #7


X-S X-perience
**

Group: Members
Posts: 328
Joined: 24-March 04
Member No.: 109566



Oh yeah, i forgot to mention the even bigger reason why i prefer this method above any others. The files created by this program here can be greatly compressed in a .rar or .zip (.rar is better). So a dummy file that's 100MB can be 40k. This way I don't have to start digging in my hard drive for large files, and I don't have to group em together which wastes valuable hard drive space. Although I have 80 gigs, it's still not enough for me because i'm always downloading things over 100MB. I'm not trying to make anything complicated here, I just like to share my findings so that others may find it useful. My soul is fueled by doing good deeds. cool.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
--tinman--
post May 21 2004, 03:03 PM
Post #8


X-S Member
*

Group: Members
Posts: 118
Joined: 12-December 03
Member No.: 81474
Xbox Version: none
360 version: v1 (xenon)



Files made by the Dummy File Maker are EXTREMELY compressible as well.. PLUS you specify the size you want made and POOF...

way too easy
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 26th May 2013 - 06:12 AM