Jump to content
COMBATSIM Forum

mikew

Charter Member
  • Content Count

    3,906
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by mikew

  1. Well, that was 'far out'. I guess you really want to get to 50000 posts before the year is out. The commercial reality:
  2. I'll listen to those over the coming days, Anyway, going straight for the jugular with this NSFW ditty. This should definitely get me banned...
  3. mikew

    Sunday

    George HW Bush was one of the good ones.
  4. mikew

    Sunday

    Thanks! although once I got to _O_T__A. I put down Montana anyway. Didn't it used to be totally within Wyoming? Maybe that magma chamber is creeping northwards... That looks pretty bleak, Stans....and I see your flag is at half mast. My condolences. Always amusing to to read about global warming/climate change in the media. Not so amusing to read the science, but who cares about that?
  5. mikew

    Sunday

    Great to see Virginia has invested in decent infrastructure to deal with anything winter can throw at it. Old Guy, can you see Yellowstone from where you are? I'm doing a crossword and one of the clues is 'US state with Yellowstone'. I thought it was Wyoming, but Montana would fit in better with the letters I've already got.
  6. mikew

    Sunday

    Wow! I hope you''ve got plenty of food, water and ammo. I'm sure Donster will be along to dig you out
  7. mikew

    The Terminator

    The Federation in Star Trek TOS wouldn't put up with any of that. There was one episode where a computer was keeping a group of of people in an idyllic existence until Kirk came along, destroyed the computer (Vaal?) and told them they'd be better off doing human things like fighting and dying. There's plenty of ST episodes dealing with various computer/AI scenarios and all of them pretty dystopian.
  8. mikew

    EF2000 Reloaded

    Great to hear! It would be better if we could use Open Track directly though, as then we could run DosBox natively on Linux. Maybe some day, I'll look again at how to do that...
  9. mikew

    EF2000 Reloaded

    I don't remember exactly what I did in 2013 when we released 'EF2000 Reloaded' There was some old TrackIR software dev kit that I used, but could not 'talk' directly to the TrackIR DLL, hence the enabler program. For TAW2.30, someone cleverer than me managed to intercept the calls for the 'Unity Reality' headset and repackage them in a way that TrackIR expects. Unfortunately, we don't have the source code of that patch so I don't know how he did it. To get Open Track working would require a recompile against the Open Track librariies I think.
  10. mikew

    Finally Got It Working But No Sound Or Joystick

    Hi! If it's a file location problem, then you should move them from 'Program Files', not to it. Also, have you run the configure program to set up the sound? There is an extensive manual included with the 'Reloaded' package giving instructions on how to do this.
  11. Every now and again I look at this with a slightly better knowledge of software development each time. Unfortunately not much has happened in the last 10 years, but I still think that this is still an impressive open source effort which compiles (with a plethora of warnings) and runs today. In the demo build, the F16 on the right will take off, fly around between some waypoints and land back at the single airbase in the scenario. The player can do whatever they want in the other plane but unfortunately there is not much implemented on the combat side. The code is reasonably well documented and running Doxygen on it produces a fairly detailed top-level map. While right now it compiles with GCC on Linux, i'm not sure what will happen with the Windows compiler. It worked 10 years ago, but I suspect it won't now. So, today's fun task will be to assemble the Windows dependencies which I'm sure will end in total frustration. Some parts of this may be useful for TFXplorer as there are some Python world building tools that may be reused or at least provide some inspiration. A link to the code: https://github.com/nsmoooose/csp
  12. mikew

    The Combat Simulator Project

    Yes, I admire the purity of TFXplorer. Sorry to drag you into this filth, but I'm trying to keep things to general C++ problems rather than specifics of the project. In a way, I'm sort of enjoying this. Anyway, from the linker /VERBOSE output, the libs you mention look they have been 'disallowed': Processed /DEFAULTLIB:vcruntime.lib Processed /DISALLOWLIB:libvcruntime.lib Processed /DEFAULTLIB:ucrt.lib Processed /DISALLOWLIB:libucrt.lib ...but that fits in with the /MD switch I'm using. I'll see if I can find out where that is defined..and currently reading this: https://docs.microsoft.com/en-us/previous-versions/abx4dbyh(v=vs.140) The only odd thing that stands out is that these libraries are searched for in different places: Searching D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\lib\x86\vcruntime.lib: Searching C:\Program Files (x86)\Windows Kits\10\lib\10.0.15063.0\ucrt\x86\ucrt.lib: Those seem to be the latest versions I have on this PC though. Now I'm wondering if this is an artifact of something upstream in the compile phase.
  13. mikew

    The Combat Simulator Project

    It's possible because I was using SCons and not the compiler commands directly, and that defaulted to x64. In my defense, I was having a traumatic saturday evening with libsig++ where I tried the latest version first. This came ready to go on VS2017 just needing to run a nmake command, hence the 'x86 VS2017 Command Prompt'. Even in administrator mode, it would not generate the libraries until I manually created the destination folders. Anyway, that version of the library was too new, as it turns out the API had changed in the last year or so, so had to download an earlier version. This came with a VS2008 .sln file, which VS2017 happily converted so it was just a case of pressing 'Build'...except that it complained about missing source files. WTF? Turns out that I needed to run some Unix Autoconf commands first to generate some source files from .m4. So, installed Cygwin which I'm sure would have worked if it acknowledged that automake was a valid command. That component was installed, but it wouldn't have it. Anyway, my LInux PC to the rescue. Just download the package, ./configure and copy the resulting files back to the Windows PC. Building the libraries was then fairly straightforward using SCons, and I just needed to set its environment to x86. Armed with my fresh x86 VS2017 .lib file, the main project build continued another minute or so until another linker error: Terrain.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_ofstream<char,struct std::char_traits<char> >::`vbase destructor'(void)" (__imp_??_D?$basic_ofstream@DU?$char_traits@D@std@@@std@@QAEXXZ) referenced in function "void __cdecl `dynamic atexit destructor for 'm_Logfile''(void)" (??__Fm_Logfile@@YAXXZ) etc etc. The internet seems to think that this is a Windows library problem and suggests setting /VERBOSE in the Linker commands to find out why. I've done that and have a 62MB text file to plough through, so I might be gone some time... I'll never become a brogrammer at facebook with my own cubicle at this rate.
  14. mikew

    The Combat Simulator Project

    ...Well, not quite tomorrow as it took a while to drum up some enthusiasm to tackle the dependency hell (starting with libsigc++), but a problem straight away: I'm using the 'x86 Native Tools Command Prompt for VS 2017', but my .lib file is emerging in x64 format. How is that possible?
  15. mikew

    TAW 2.0 Known Issues and Bug Reports

    I don't think there's much we can do from the game side of things. All I can suggest is changing the compatibility settings for _f22.exe and f22.dat and see what happens.
  16. mikew

    F-22 Total Air War 2.30 (Final) Released

    This is what Intel say about it: https://www.intel.com/content/www/us/en/support/articles/000005540/graphics-drivers.html I have no idea if it will be of any help...
  17. mikew

    F-22 Total Air War 2.30 (Final) Released

    If you have Intel graphics it might be possible to set a custom resolution via its control panel. Once you past the menus and into the 3D world you can set a Glide wrapper to any resolution you like. I've just been watching the TAW demo at 1920x1080 on a 47" TV.
  18. mikew

    F-22 Total Air War 2.30 (Final) Released

    Good luck! I suppose you could tell for sure if it's a machine issue by trying to set your desktop resolution to 800x600.
  19. mikew

    F-22 Total Air War 2.30 (Final) Released

    A Glide wrapper isn't going to have any effect on that as the 800x600 resolution is needed for the game GUI elements. Whether or not your machine supports this resolution depends on its graphics driver. I has this problem with a Microsoft Surface which had Intel HD4000 graphics. Luckily for me, a driver update fixed things. This is only going to get worse over time, so we'll probably end up needing to use some sort of wrapper like DxWnd. Whether that would work with TAW, I don't know.
  20. mikew

    F-22 Total Air War 2.30 (Final) Released

    Can you provide more details about how far you are getting, any error messages, etc??
  21. mikew

    The Combat Simulator Project

    Thanks! The manifest thing was solved by just specifying /MANIFEST. According to MS, that's the default option and shouldn't be needed, but whatever... After some more code fixes we come to build the next dll, but disaster strikes: fatal error LNK1120: 1 unresolved externals The culprit is one of the external dependencies that I've been too scared and lazy to rebuild with VS2017. I'll start with libsigc++ tomorrow. https://github.com/libsigcplusplus/libsigcplusplus
  22. mikew

    This Day in WWII 20 November 1940 - 1945

    Just in case there is someone unaware of this, it was this one: http://www.startrek.com/database_article/fridays-child
  23. mikew

    The Combat Simulator Project

    I see a manifest file was generated when I ran this back in the VS2008 (or maybe VS2010) days, so I should try to generate one to keep it happy. There is apparently a manifest tool (mt.exe) that is used to generate it and it is probably not being invoked by SCons for some reason. I'll look into it later. By the way, there were a lot of compiler errors which needed to be fixed before getting to the linker stage. In every case, I could just paste the long error string into a search engine and get the answer from MSDN or Stackoverflow so I feel like a true professional software developer. Invarariably, the solution was to remove 'something' that was needed to be done for the MS compiler, since that 'something' is now illegal.
  24. mikew

    The Combat Simulator Project

    Why oh why do I get this error from the linker? csplib\.bin\csplib.dll.manifest : general error c1010070: Failed to load and parse the manifest. Well, it's not there, although the dll has been built. I have no idea what a manifest file is, so it can't be important. Based on 'something I read on the internet', I added a /MANIFEST:NO switch, so the command starts like this: link /dll /INCREMENTAL:NO /RELEASE /MANIFEST:NO /nologo /out:csplib\.bin\csplib.dll /implib:csplib\.bin\csplib.lib /LIBPATH:C:\Python....etc etc ...but I still get the error
  25. mikew

    Sunday

    A couple of better replies than my flippant comment deserved. No easy answer to this.
×