Help with Grey's Tutorial 2

edited March 2012 in Help request
I am just starting with trying to program my first game and I was through Grey's tutorials to make sure everything was downloaded and started properly.

I am using VS2010 and I followed the second tutorial up until the Config section. When I go into the folder MyProjectin I am not seeing a file called project.exe (I named the folders and files the same as the tutorials).

I was wondering if I was supposed to make the files for the Config section, or if they are already supposed to be there.

The closest files that I could find in MyProjectin was orx.exe and orxd.exe. Im not sure if that is correct or anything.

Any help you could offer would be much appreciated!

Comments

  • edited March 2012
    Hi there QuallOfDuty,

    The 'Project.exe' will be named after whatever you called your project in visual studio. So if you named it Orx, that is why you will have orx.exe and orxd.exe :)

    There's nothing wrong with this, just be aware you will have to rename your project.ini and projectd.ini into orx.ini and orxd.ini

    Hope that helps! :)
  • edited March 2012
    Ok in that case I named the project "project" just like you did in your tutorials, so I still had orx.ini and orxd.ini. But assuming that those are correct, Where do I find the MainMenu.ini? or do I make this file?

    Thanks again for the help!
  • edited March 2012
    You'll need to make that file mate :)


    --

    Just in case: did you compile Orx from SVN yourself?

    My tutorial 0 is not as clear as it should be about what you need from each folder - I'll fix that in a moment, but just in case:

    from the /lib/ folder, if you chose to build Orx as a dynamic build (I would recommend this), you will need 4 files from the /lib/dynamic/ folder:

    orx.dll, orxd.dll, orx.lib and orxd.lib

    the two .dll files go into your new project /bin/ folder,
    the two .lib files go into your new project /lib/ folder.

    Secondarily, you need the /include/ folder in full.

    And in truth, you don't actually need the /bin/ folder from the svn version.

    ----

    if you delete everything inside your /bin/ folder that is NOT .dll or a .ini, you should have the base items you require.


    ----

    Edit: I've just finished updating the 'tutorial 0' to make it clearer what is supposed to be moved across as well. :)
  • edited March 2012
    Ok thanks Ill check that tutorial cause I was a little skeptical about how I installed it in the first place. Thanks for all the help! There is a decent chance that youll be hearing from me again later :)
  • edited March 2012
    hah, good luck -- and happy for you to ask more questions if you need to! :)
  • edited March 2012
    Hi QuallOfDuty and welcome here!

    I see that Grey already took good care of you, so there isn't anything for me to add here. ^^
    Don't hesitate if you have any other questions! :)
  • edited March 2012
    Ok haha so I think that i have installed everything correctly now. Would someone be able to show my what the contents of the folders that the StandAlone application is in.

    So from my understanding it would be C:MyProjectproject

    but then i guess I would like to see what files are in these folders, im not really sure where which files are supposed to be created.

    Also if I am supposed to make the .ini files what do i have to do to make those files?

    Thanks for all the help, Im trying not to let these snags slow me down.
  • edited March 2012
    .ini files are simply renamed .txt files -- you can make them with 'notepad' in windows.

    C:MyProject would contain several folders. a 'bin', 'lib', 'include' and 'data' folder to start, as well as the 'project' folder.

    the 'project' folder will contain all your project files for visual studio (assuming you use that) or the equivalent files for your IDE. This will also include your source code most likely.

    Assuming you followed my tutorial 0, your 'bin' folder will contain (to begin with) nothing but two dlls, orx.dll and orxd.dll (if you also build the profiling version of orx, you would also put an orxp.dll here)

    the 'lib' folder will contain orx.lib and orxd.lib (and possibly orxp.lib)

    the 'include' folder will be a direct copy of the 'include' folder that comes in the orx svn folder. (there should also be one inside the prebuild archives if you use those)

    the 'data' folder will have either nothing, or various images depending on how far through my tutorials you have gone.
Sign In or Register to comment.