Jump to content
Blue Purple Red Orange Gold Green Teal Chocolate Charcoal
Blue Purple Red Orange Gold Green Teal Chocolate Charcoal
giantjeff

Modding Questions? Ask Them Here.

Recommended Posts

what do tgas do?

and what about the ord to o? will you explain that?

TGA is just another image format, but it allows alpha to be a channel instead of a separate image

delete all orl & ord files in main/big folder/

move main/big folder/o original/ to main/big folder/

main/big folder/o updated/ to main/big folder

covert all .o to .orl & .ord

del main/big folder/o updated/, main/big folder/o original/, and all .o files

compress correct files in main/big folder/

rebuild stadium.big and place in main/

o2ord %%F %%~nF.ord %%~nF.orl

Share this post


Link to post
Share on other sites

Could I use it as a command-line program?

Yes it is a command line image tool, I have not played with it much It converts & resizes I do not know what else it does. I just ran across it yesterday

Share this post


Link to post
Share on other sites

TGA is just another image format, but it allows alpha to be a channel instead of a separate image

o2ord %%F %%~nF.ord %%~nF.orl

What are the &&'s and ~'s? They're the variables? Why are they declared like that? Also, is that the exact code I would type?

I'm just clueless when it comes to C++...if it were possible (I know that it's annoying and takes too much time), could you explain the code line by line?

Also, is the image tool better than imagemagick, in your opinion?

Share this post


Link to post
Share on other sites

o2ord %%F %%~nF.ord %%~nF.orl

That is a simple DOS string

%%F stands for the file name (8.3)

%%~nF stands for the file name (8.0)

so it is taking the file name, the cuting off the extension and adding either .ord (%%~nF.ord) or .orl (%%~nF.orl)

new image tool works fine it convert and resizes with one program but I do not know it it allows for overlaying one image on another

Share this post


Link to post
Share on other sites

o2ord %%F %%~nF.ord %%~nF.orl

That is a simple DOS string

%%F stands for the file name (8.3)

%%~nF stands for the file name (8.0)

so it is taking the file name, the cuting off the extension and adding either .ord (%%~nF.ord) or .orl (%%~nF.orl)

new image tool works fine it convert and resizes with one program but I do not know it it allows for overlaying one image on another

You said %%F stands for the filename...how does it know which filename...I'm really confused...if you ever have time, do you use AOL Instant Messenger or something like that? I think it would be easier to communicate there, because I'm like flooding the thread, and I still don't get what you're talking about...could you PM me your IM sn? I'm in school right now, so I can't talk on AIM, and I can't talk for the next like 14 hours either.

Share this post


Link to post
Share on other sites
is their a tutorial out explaining how to make overlays? can anyone explain how to do this or point me in the right dirrection
sorry to repost its just i really would like this to get answered

Share this post


Link to post
Share on other sites

I do not have any instant message program installed

Why don't you get one, please?

I find this a bad place to converse back and forth so frequently.

Also, can I use those batch file commands in C++?

Do I use the system("text you want to type");?

Share this post


Link to post
Share on other sites

Why don't you get one, please?

I find this a bad place to converse back and forth so frequently.

Also, can I use those batch file commands in C++?

Do I use the system("text you want to type");?

you run them the way you were the other command line programs just but this in front of the command

cmd /c

here is TY's example

#include <windows.h>




STARTUPINFO si;


PROCESS_INFORMATION pi;


ZeroMemory( &si, sizeof(si) );


si.cb = sizeof(si);


ZeroMemory( &pi, sizeof(pi) );




string commandstring = "cmd /c eazip.exe +a "" + modelspath + "" "tempc*"";




CreateProcess(NULL,LPSTR(newtextstring.c_str()),NULL,NULL,0,CREATE_NEW_CONSOLE,NULL,NULL,&si,&pi);


WaitForSingleObject( pi.hProcess, INFINITE );


CloseHandle( pi.hProcess );


CloseHandle( pi.hThread );

Share this post


Link to post
Share on other sites

you will have to play around with it a little bit

instead of %%F it may be just %F if not in a batch file

or you could include the batch file and just run that from your program

Share this post


Link to post
Share on other sites

you run them the way you were the other command line programs just but this in front of the command

cmd /c

here is TY's example

#include <windows.h>




STARTUPINFO si;


PROCESS_INFORMATION pi;


ZeroMemory( &si, sizeof(si) );


si.cb = sizeof(si);


ZeroMemory( &pi, sizeof(pi) );




string commandstring = "cmd /c eazip.exe +a "" + modelspath + "" "tempc*"";




CreateProcess(NULL,LPSTR(newtextstring.c_str()),NULL,NULL,0,CREATE_NEW_CONSOLE,NULL,NULL,&si,&pi);


WaitForSingleObject( pi.hProcess, INFINITE );


CloseHandle( pi.hProcess );


CloseHandle( pi.hThread );

I kind of understand it, though the code is confusing...

Also, why can't I just use system("")? Doesn't it do the same thing?

And kraw, could u get IM, or something like it?

And truthfully, kraw, do you think that my constant question barraging is getting annoying? Truthfully, do you think I should work on something else instead of programming, because I just can't understand it this quickly?

Share this post


Link to post
Share on other sites

haha most peope who realy undertand programming take years worth of classes to really get it it aint taking you so long i mean this is the simpeest barebones of programming but still you arnt moving so slow

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...