Jump to content

ROBBIEPam

Community Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by ROBBIEPam

  1. ok, its def not finding all the image files. the game loads now, but does not have the person, or the houses and other buildings. they are supposedly there, just invisible. I tried to find where to change where it looks for them to see if the extra nest level was what was throwing it off but I must not be smart enough because I couldn't figure out where that part of the program was. I did check and some of the files that it said it couldnt find were there...

  2. I'm very sorry I'm not better at this! I really want to learn it but I guess I'm to far behind. My parents made me quit school at 8th grade, I didn't have access to a computer till I was 14 and I just got internet access less than a year ago (I'm 19 now) I'll do my best to help you but then I'm putting programing behind me and gonna give up on college and stuff and just focus on my night shift job at walmart.

    Anyway, one thing that I meant to mention is that while "program.rng" does exist, it has an extra nesting level that could be throwing things off? its address is "binaries/DATA/mods/public/shaders/program.rng" I don't know if this is the problem or not.

    I tried to fix the second incident and its building now so i should be able to post the results the next time I have internet which will be at 2 a.m.

  3. I'm very sorry, I wish I was better at this and knew more. I really want to learn but I think I may as well give up. My parents made me quit school at 8th grade and I didn't have any access to a computer till I was 14 and I didn't get access to the internet till less than a year ago (i'm 19 now). I guess I'm just to far behind…

    anyway, I'll do my best to help you all I can and I'm sorry I misunderstand so often. one thing that I meant to mention is that while the file "program.rng" does exist, its has an extra nesting level. It is in "binaries/DATA/mods/public/shaders/program.rng" I tried to fix the second incident and its building now so I should be able to get its results up here for you the next time I have internet which will be at 2 a.m.

  4. svn update did not get rid of any of the errors :(

    is this what the 2nd incident is to look like?


    if(!skipPopulate)

    {

    PRealDirectory rd;

    rd = subdirectory->AssociatedsubDirectory();

    debug_printf(L"populating %ls\n", rd? rd->Path().string().c_str() : L"(0)");

    RETURN_ERR(vfs_Populate(subdirectory));

    rd = directory->AssociatedsubDirectory();

    debug_printf(L"populated %ls\n", rd? rd->Path().string().c_str() : L"(0)");

    }




    directory = subdirectory;

    }

  5. ERROR: CVFSFile: file hwdetect/hwdetect.js couldn't be opened (vfs_load: -110101)

    ERROR: Failed to load hardware detection script

    TIMER| RunHardwareDetection: 231 us

    TIMER| write_sys_info: 132.534 ms

    lookup: shaders/program.rng

    populating /Users/robertsawyer/Downloads/0ad/binaries/data/mods/public/

    populated /Users/robertsawyer/Downloads/0ad/binaries/data/mods/public/

    populating /Users/robertsawyer/Downloads/0ad/binaries/data/mods/public/shaders/

    populated /Users/robertsawyer/Downloads/0ad/binaries/data/mods/public/

    ERROR: CVFSFile: file shaders/program.rng couldn't be opened (vfs_load: -110101)

    ERROR: Failed to read grammar shaders/program.rng

    I'm updating svn and ima see if that helps

  6. like I said, I deleted everything and ran this script svn co http://svn.wildfireg...ublic/ps/trunk/ 0adcd 0ad/build/workspaces./update-workspaces.shcd gcc make CONFIG=Release -j3

    in terminal at about 7:30 yesterday so I should be up to date with the svn.

    I modified th lookup.cpp file to look like this

    (1st instance)


    if(!skipPopulate)
    {
    PRealDirectory rd;
    rd = directory->AssociatedDirectory();
    debug_printf(L"populating %ls\n", rd? rd->Path().string().c_str() : L"(0)");
    RETURN_ERR(vfs_Populate(directory));
    rd = directory->AssociatedDirectory();
    debug_printf(L"populated %ls\n", rd? rd->Path().string().c_str() : L"(0)");
    }

    (2nd instance)


    if(!skipPopulate)[/size][/font] {

    PRealDirectory rd;

    rd = subdirectory->AssociatedDirectory();

    debug_printf(L"populating %ls\n", rd? rd->Path().string().c_str() : L"(0)");

    RETURN_ERR(vfs_Populate(directory));

    rd = directory->AssociatedDirectory();

    debug_printf(L"populated %ls\n", rd? rd->Path().string().c_str() : L"(0)");

    }




    directory = subdirectory;

    the only terminal output that seems relevant in my opinion is:

    ERROR: CVFSFile: file shaders/program.rng couldn't be opened (vfs_load: -110101)

    ERROR: Failed to read grammar shaders/program.rng

    I got hardware detection script errors to but I don't think they are what you need. I got a bunch of errors, all along the same lines as the one I posted. It looks for something in shaders/ and cant find it. All the other files loaded fine but none of the shaders loaded. It only comes up with a blank window now as well...

  7. ok, I deleted everything, and redownloaded from svn. modified vfs_lookup.cpp, compiled it and it works fine. I haven't actualy played the game yet because I haven't had time but it comes up and close fine. I do have a number of terminal errors, the most common which shows up probably several hundred times is

    "glwprintf failed (buffer size exceeded?) - return value -1, errno 92"

    I also get a lot of lookup: errors like this one

    "lookup: gui/common/setup.xml"

    they are all dif and unless you want me to Im not going to post them all because there are a lot. Some are .xml and some are .xmb

    thanx for all your help, and i hope that in some way I helped you. maybe once I learn more about programming I can help. :)

  8. ok, these are the compile errors that I get now:

    In file included from ../../../source/lib/file/vfs/vfs_lookup.cpp:37:

    ../../../source/lib/timer.h: In member function 'void TimerUnit::AddDifferenceAtomic(TimerUnit, TimerUnit)':

    ../../../source/lib/timer.h:178: warning: dereferencing type-punned pointer will break strict-aliasing rules

    ../../../source/lib/file/vfs/vfs_lookup.cpp: In function 'LibError vfs_Lookup(const VfsPath&, VfsDirectory*, VfsDirectory*&, VfsFile**, size_t)':

    ../../../source/lib/file/vfs/vfs_lookup.cpp:112: error: 'const struct std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >' has no member named 'string'

    make[1]: *** [obj/lowlevel_Release/vfs_lookup.o] Error 1

    make: *** [lowlevel] Error 2

    vfs_lookup.cpp now looks like this: (haven't figured out how you get it to form the nice compact box so I just took out a bunch of whitespace :\ )

    if(pathname.empty()) // (prevent iterator error in loop end condition)

    {

    if(pfile) // preserve a guarantee that if pfile then we either return an error or set *pfile

    {

    return ERR::VFS_DIR_NOT_FOUND;

    }

    else

    return INFO::OK;

    }

    // for each directory component:

    VfsPath::iterator it; // (used outside of loop to get filename)

    for(it = pathname.begin(); it != --pathname.end(); ++it)

    {

    const std::wstring& subdirectoryName = *it;

    VfsDirectory* subdirectory = directory->GetSubdirectory(subdirectoryName);

    if(!subdirectory)

    {

    if(addMissingDirectories)

    subdirectory = directory->AddSubdirectory(subdirectoryName);

    else

    {

    debug_printf(L"not found: %ls\n", subdirectoryName.string().c_str());

    return ERR::VFS_DIR_NOT_FOUND; // NOWARN

    }

    }

  9. In file included from ../../../source/lib/file/vfs/vfs_lookup.cpp:37:

    ../../../source/lib/timer.h: In member function ‘void TimerUnit::AddDifferenceAtomic(TimerUnit, TimerUnit)’:

    ../../../source/lib/timer.h:178: warning: dereferencing type-punned pointer will break strict-aliasing rules

    ../../../source/lib/file/vfs/vfs_lookup.cpp: In function ‘LibError vfs_Lookup(const VfsPath&, VfsDirectory*, VfsDirectory*&, VfsFile**, size_t)’:

    ../../../source/lib/file/vfs/vfs_lookup.cpp:91: error: ‘subdirectoryName’ was not declared in this scope

    make[1]: *** [obj/lowlevel_Release/vfs_lookup.o] Error 1

    make: *** [lowlevel] Error 2

    I think I still need to modify the file vfs_lookup.cpp

  10. GRRRRRRR!!! it all works but nothing loads. the pyrogenesis window opens but nothing happens :(

    Last login: Sun Mar 27 08:08:52 on console

    Robbies-MacBook:~ robertsawyer$ cd downloads/sources/0ad-r08832-alpha/binaries/system

    Robbies-MacBook:system robertsawyer$ ./pyrogenesis

    TIMER| InitVfs: 94.554 ms

    TIMER| InitScripting: 297.598 ms

    TIMER| CONFIG_Init: 18.034 ms

    ERROR: CVFSFile: file hwdetect/hwdetect.js couldn't be opened (vfs_load: -110100)

    ERROR: Failed to load hardware detection script

    TIMER| write_sys_info: 80.652 ms

    ERROR: Failed to find file: "shaders/model_light.xml"

    ogl_shader.cpp(346): Function call failed: return value was -100013 (File/memory data is corrupted)

    Function call failed: return value was -100013 (File/memory data is corrupted)

    Location: ogl_shader.cpp:346 (Ogl_Program_reload)

    Call stack:

    (error while dumping stack: Feature currently not implemented)

    errno = 0 (?)

    OS error = ?

    that's what i get in the terminal window…….

  11. msr.cpp

    cc1plus: error: obj/lowlevel_Release/precompiled.h: No such file or directory

    cc1plus: error: one or more PCH files were found, but they were invalid

    cc1plus: error: use -Winvalid-pch for more information

    make[1]: *** [obj/lowlevel_Release/msr.o] Error 1

    make: *** [lowlevel] Error 2

    Robbies-MacBook:gcc robertsawyer$

    ???????????

  12. these are the build errors i get

    make[1]: `../../../binaries/system/libgui.a' is up to date.

    ==== Building lowlevel ====

    amd64_asm.asm

    nasm: fatal: unrecognised output format `macho64' - use -hf for a list

    type `nasm -h' for help

    make[1]: *** [obj/lowlevel_Release/amd64_asm.o] Error 1

    make: *** [lowlevel] Error 2

    Robbies-MacBook:gcc robertsawyer$

    i think im close but vie tried dif stuff and get the same msg every time. ???

  13. Have a look at this: http://trac.wildfire...ildInstructions

    I wrote it recently. Hopefully should work for others.

    it all worked up to the last command :(

    cd /path/to/source (in my case it's cd downloads/sources)

    cd binaries/system./pyrogenesis

    when I run this it says:

    Last login: Thu Mar 10 21:34:50 on ttys000Robbies-MacBook:~ robertsawyer$ cd Downloads/sources/0ad-r08832-alphaRobbies-MacBook:0ad-r08832-alpha robertsawyer$ cd binaries/systemRobbies-MacBook:system robertsawyer$ ./pyrogenesis-bash: ./pyrogenesis: No such file or directoryRobbies-MacBook:system robertsawyer$

    Sorry I'm no better at this, I want to learn programing but havnt had a chance so I'm trying hard to learn stuff on my own but it's kinda hard when I have no training at all......

  14. I'm new to Mac, and when I compile ado I get errors. A bunch of them, but most notably a bunch of command not found errors, and FCollada build failed, as well as no such file or directory errors :( if anyone can help me I'd appreciate it a lot! thanx!!!

×
×
  • Create New...