Jump to content

reepblue

Developers
  • Posts

    2,492
  • Joined

  • Last visited

Everything posted by reepblue

  1. With my application, if a settings file does not exist, the main function creates one, and fills it with default values. One of these is to grab the main screen res of the user's monitor. In Windows, I can do: unsigned int width = GetSystemMetrics(SM_CXSCREEN); unsigned int height = GetSystemMetrics(SM_CYSCREEN); However, since my HDD with Ubuntu on it died, I can't test the linux variant I've found on the internet. #include <X11/Xlib.h> Display* disp = XOpenDisplay(NULL); Screen* scrn = DefaultScreenOfDisplay(disp); unsigned int width = scrn->width; unsigned int height = scrn->height; Is this correct/will work, or is there a different/better way? I tried using the Count/GetGraphicsModes function, and although it did work on my Linux machine, it did not work on my Windows Machine, and I've read that it's not perfect. Thanks.
  2. I think amount of linux users will go up once Steam Machines and Steam Links release with the SteamOS out of beta. No matter what, if Leadwerks runs on all (the big ones) three PC operating systems, anyone with an OpenGL4 card can purchase the editor and play our games; and that's really neat.
  3. Most likely not, I would just wait until it's officially supported before thinking about building for OSX.
  4. I know that there is a tool under "Steam\steamapps\common\Leadwerks Game Engine\Tools" called fbx2mdl. It's an old school console program that the editor uses. If you use a batch program to launch it with pause, it will tell you its parameters. Sadly, this is the only tool that gives you help with compile parameters except VTFCmd, but ALL Valve/Source tools do. Not sure it can decompile mdl to fbx if that's what you want.
  5. Thanks, I'm always happy to hear when my work inspires others. Thanks, hopefully no one will find my code too terrible.
  6. Issue with me is that I need the toolset, hence a re-download of VS2013.
  7. I also think CSG use this type of collision. If you look at the CSG in-game (which get turned into models), you can see the triangles on the faces. For models, I personally would not use it.
  8. Thank you for the answer. I understand that only true nerds care about what version of IDE they use, but I figure I'll ask in-case someone down the road has a similar question. I might need VS2013 still anyway due to some ties I still have left with the Source Engine. I'll still try the toolset solution that Roland suggested because why not? I just gotta hope it does not fail to install something like it has the last two times.
  9. After the release of the Vectronic Demo, I started to seek out how to make the game to be able to stand-alone without any additional launchers, batches, or required installations. Shortly after my last blog post, Josh informed me about Inno Setup, and it answered my questions about providing OpenAL if the user did not already have it installed. More about that here. I haven't played with it yet, but it gave me insurance about packaging it up for the final release down the road. Alternatively, Steamworks is also an option, but I'm not touching anything Steamworks related until I get a App ID for the game. With the Leadwerks Game Launcher, users can edit basic settings such as "Resolution" and "Fullscreen" and any settings that may come in the future. As a stand alone game, it would not have easy to use game launcher, hence a menu with a settings feature is required. I didn't want to make a launcher, as they are kind of unpopular, and OS exclusive. (You'll have to build a launcher for each platform.) I wanted something already in the application, and can be compiled on multiple platforms minus a few edits here and there. I also wanted most settings to be real time so players can adjust their settings to their likings without needing to restart the game. One thing I really liked about developing mods for the older branch of Source was the gameui system it had. It was simple, reusable, and out of the way. You could edit the res files to customize it if you wish, but it's stock files was enough to get you started; even release with. I wanted my UI to be based on this. Only reason why they retired this UI system in favor of their hell of a client based UI system starting with Left 4 Dead, (I played with it, it was not fun) was due to Console/Controller support. Yes, the Xbox360 controller does work in the old UI, but when you open it's panels, you better have a mouse near by! However, with things like the Steam Controller, and the fact that Leadwerks is mostly PC based anyway, this UI design will certainly do. To make it reusable, the UI would have be modified outside of the source code. Changing fonts, colors, titles should not require a recompile. Also, such things like the start map, and background map should also be able to be changed outside of the source. No matter what game it is, it should work. Finally, to make it out of the way, the entire system would be written in C++, and not interfere with any game logic written in Lua. However, from Lua scripts, you should be able to communicate with it in case you wish the application to disconnect you from a map, or shutdown the application entirely. From lua, you should also be able to grab boolean states like if the app is paused, connected (in-map playing) or disconnected, and not in any map if needed. So that was the goal, and 3-4 weeks later, the goal was completed with a few bonuses such as a precache list for loading models/prefabs onto memory, a very basic save system, and in dev mode (which is also enabled in debug mode), information about what version of the engine you're running and map name is printed in the top right corner when paused. (Something Source does which I liked.) (Could not use media tags due to them being Unlisted) I'm very happy of the results. Not only this necessary element for a stand alone is done, but this will make my testers happy as they no longer need to edit batch files to configure their settings! I believe that this is necessary, and anyone should be able to have it. After a few more bug fixes, I'll upload the Source files to GitHub along with application releases so even people with the indie version can use it. Only thing I did not test was the application on Linux since the hard drive in my Linux machine finally died after 7 years of service. Knew it was coming, but still a set back. Hence another reason why I want to make it public, so that it works on all supported platforms and gets more optimized over time. I'm not the best programmer in the world, so every little thing helps! I'll talk more about this when I put it up. There is a lot of technical stuff about it,
  10. Very cool, good luck. I recall doing a similar concept on Source a while back with antlions.
  11. Without VS2013 installed, only Visual Studio 2015 (v140) and Visual Studio 2015 - Windows XP (v140_xp) are the only options under Platform Toolset. Is there a way to install just the needed toolset from the installer, don't wish to have two IDEs installed if I don't need too. Whoops, I guess not. Still any information of this being soon, someday, or never would be nice.
  12. I loaded up my demo map to add some decals, and I found out that my models with bones have shrunk down. Might be similar to this http://www.leadwerks.com/werkspace/topic/12680-models-and-their-bones-slowly-rotate-with-each-saveload/ However, the rotation stayed the same indicating that fix is still working. As you can see, the scale is suppose to be 1.0, but here, it's 0.993 for X,Y, and Z. It also seems to be the root node that does this, the children don't scale down separately, only with the root. Oh, it's also not selected red because of a shader gotcha that I've made, that's something I did.
  13. So, are you thinking about adding a function to the World/Time class to remove the step of disabling the world from updating in the loop if paused is set to true? Will old methods still work?
  14. reepblue

    Windows 10?

    Not only that, but the XBone was less powerful and more expensive than the PS4, and came with something that no one wanted. Also, it's DRM policy on games. It also required people to always be connected to the internet which would be an issue with people with slow/limited internet access. Sales have been climbing since new management with it being kinectless and $349USD. No one really switched to 8 until 8,1 really. As time goes on, (and when it becomes more of a complete OS) more people will adopt Win10. Again, I'm more than positive that MS tracked and recorded your actions with Windows 8. It even had a back door, and I think a back door was installed in a Windows Update for 7. Just because now they are "admitting" to it, now it's suddenly a hot topic. It's nothing new, we've should have had this discussion 3 years ago. We live in this day in age, it sucks, but we are not fully under big brother yet. You still have a choice of what you decide to use. No one is forcing anyone to upgrade to Win10. If you don't like where Windows is going, now is the time to warm up to a new OS before your 7 or 8.1 stops being supported. I know my next machine isn't gonna run Windows, and I've been using the OS since I was 4. My next machine is most likely run Ubuntu, I just hope by the time I abandon Windows, more and better software will be available. I'm pretty much able to do everything I do on Windows with Ubuntu, minus Illustrator. I'm also interested in building a Hackintosh at some point just for fun. So, besides the whole big privacy festival, Leadwerks runs fine as it did with Win8.1; although now that does not seem to be the real reason why people are not upgrading, but I may as well put that out there.
  15. I understand Visual Studio 2013 is required, but are there any plans to make the library 2015 compatible in the future?
  16. Also, is there a reasion why I can't press the delete button on my keyboard to delete an object? If there is a technical reason, then I understand, but still; it's things like that.
  17. reepblue

    Windows 10?

    Well, Microsoft seems to always release unfinished operating systems to meet a deadline. Sadly, that's most software these days, including games. Seems that everything should be "finished and working" by this fall. So unless 8.1 is not giving you hell like it was with me, wait till then before deciding. If you're on 7, I'd stick with that until Microsoft cut's its lifeline. I don't think they'll be as generous with it as they were with XP.
  18. Any update to get the Linux version of the editor to be more equal with the Windows version is always welcomed! I hope eventually, they'll be will be 1:1.
  19. reepblue

    Windows 10?

    What I think so far: The other day, a friend of mine wanted to upgrade his laptop to Win10, and I wanted to see what the upgrade process was like so we did it. A few reboots, he was in Win10, but the machine was chugging (prob due to it using a standard drive, I thought.) The first thing stupid does is screw with Cortana and ask it "what zero divided by zero is?" and the taskbar kept locking up, Eventually, we kept getting stuck at with the "Critical Error: Start Menu and Cortana aren't working." message. A few reboots, still would not go away, leaving the OS not being able to use the start menu. Luckily, task manager still worked. I looked into the issue, and apparently, it's an issue that existed since the late beta days, and it still was not fixed. As a last resort, I booted the machine in safe mode, and the taskbar worked. Booted back in normal mode, and no more error. Yay! Now for my machine. I'm always a sucker to try new things, So I installed the upgrade on my PC. When it was all done, the resolution was stretched because of default drivers, and I had no drivers. Also, the machine was going very slow because everything was updating to it's Win10 patch. Finally got the latest video drivers, now the sound. The drivers offered by my motherboard brand hasn't been updated since 2010, and the old drivers were still involved as the default drivers never worked in 8.1. I tried to reinstall the old drivers, and BAM! BLUE SCREEN ROFL. I could not boot into windows anymore, so I popped in my 8.1 disk for a reset thinking "Great, now back to square one. This is gonna take forever." I reset the PC thinking it would restore 8.1, but then I saw the "Upgrading Windows" screen when it was upgrading to 10. When it was all done, I was back in Win10 with the right aspect ratio and working sound. The OS seemed to be running a lot smoother too. Installed my graphic drivers, and started to play with the settings, features, and what not. I first played with Cortana. Yes, you have to let her record stuff about you but that's how all personal assistants work, even Siri. Interests where not available, and it seems I need a microphone to actually talk to her. I thought it would respond with text input, but it just turns into the normal search. Lame. After a restart because of updates, she forgot my name. </3. Then I tried their Groove Music thing. I use Media Monkey as it's so easy to organize music, but any newer versions of the software I did not like, and I felt like they were pushing their gold version more. So, I sticked with the version from 2010. Yeah, it's organization is Media Player terrible, and you can't play by folders which Media Monkey, and default Android players allow you to do. It also stuttered here and there, hopefully my application from 2010 does not make windows blue screen like my drivers from that era. I tried the e-mail app as I had it setup with 8.1. Does not work with g-mail. So I guess I'm back to fetching my e-mail on the gmail site like how I did it in Win7. We all recall he days of IE6, and no one has used a Microsoft Browser since. Although, it has gotten a lot better since, but updates, positive reviews in articles and news papers was not enough to have people leave FireFox and Chrome. There was one time where I had to use the latest version of IE to fix a computer, and I was impressed how much faster it preformed than the Chrome browser that was installed. I was reading on Facepunch, and I saw people were saying that Chrome (Which I use) has issues with Win10, and how the Edge browser isn't terrible, and some users saying that they are gonna use it from now on. So, why not? I'm typing on the Edge browser right now, and I find it useable. At times it feels unresponsive due to my slow DSL connection, but right now, I still miss my synced Bookmarks, auto Google account logins, and my adblock to speed up sites because everyone thinks they have unlimited data and download faster than 6 MB/s. Also, Chrome as better spell check. The browser is something I see that can get better, or worse over time. I'll most likely go back to Chrome soon. Speaking of ads, I have not seen one yet on the actual OS. None in the start menu, the apps I've tried nothing. Maybe this is because I'm using Pro instead of Home? I was also noticing differences in the settings that Josh put up. Hopefully, this stays the case. So, that was my Windows 10 experience. Only things I'm eyry of is their privacy agreement, But hey, obtaining and selling information is a business, and as beo6 put it, Mobile operating systems have been doing it forever, although people store different things on different devices. I dunno. I like this Operation System so far, it feels a bit more stable than Win 8.1, but I'm still interested in moving to a different OS in the future. Some people love it, some people hate it, it's just another Windows release at the end of the day. I have not tried the Leadwerks Editor/Engine with Win10 yet, but I tried to compile the project with VS2015 (cause I was curious) and it failed to compile due to the library wanting the compile version to be 1800 instead of 1900. So, if you have the standard edition, still install VS2013 unless someone knows a work around/fix. Although it seems Josh is not digging the upgrade, I still hope that Win10 will still be supported if any issues are exclusive to that OS. Also, future VS2015 support someday.
  20. reepblue

    Windows 10?

    My buddies and I used to use MSN/WLM for a while until Microsoft cut the plug on it. We now use Trillian's chatting services (Astro or whatever) and I personally have no issues with it. I also like that it's for any popular OS, so I can use it even if I someday get a Mac for some reason. It's Mobile apps, eh, different story. And about the Leadwerks Editor being inferior, I'm sure Josh is doing all he can to get it to be equal to it's Windows version, but it's mostly the graphic drivers, and some gui stuff that really make it suffer. I also hate that I can't press the delete button to delete an object. No, that's not the IDE that my friend showed me, but nice to know though. I'm sure Microsoft is getting a fat paycheck from Uncle Sam/NSA for providing user information "legally". And the whole Cortana thing, gathering and saving how the user uses it is how those things work. All forms of "Personal Assistants" do this. I don't plan on ever using Cortana or encrypting any drives anyway. Yeah, their delivery system is non-sense. I get why they are doing it, but some people (*cough* Me) does not have the bandwidth to even share with someone in my own house, let alone tens of thousands of PC's getting updates. Turning this off asap. Speaking of updates, my Ethernet usage is still going nuts, and 3GB should have downloaded by now. Ether way, I was not gonna upgrade day one anyway, and reading stuff like this is interesting.
  21. First, Model/Animated/diffuse+normal+specular-emission.shader does not call the emission texture. Starting at line 89 change fragData2 = vec4(0.0,0.0,0.0,specular); To: vec4 emission = texture(texture4,ex_texcoords0); fragData2 = vec4(emission.r,emission.g,emission.b,specular); This should fix the emission shader for animated models. Secondly, there is an issue with emission shader for decals ALWAYS drawing on top of the models even though the materials are set to Disabled or Dynamic. Looking into this now.
  22. I mostly want them for the indicator lights. Before, I had planes that were raised a smitch off the ground. But I'll look into those other uses and ideas as I'm in the process of giving the balls a new identity
  23. Awesome! I can't wait to play with this.
  24. reepblue

    Windows 10?

    Welp, tomorrow is the day. Looks like my PC is downloading it right now, actually. I'm most likely gonna wait until I see articles about the upgrade process. I strongly believe it's gonna wipe any programs installed on the main drive like a refresh does. Let's see what happens! I started to use Linux in 2013 as a secondary PC, and I really like it. I tried both Mint and Ubuntu, and I can see myself using it as a primary PC someday. I just wish that some programs on Linux did not feel like the inferior version compared to their Windows/Mac versions; mainly, Leadwerks editor and Trillian. Oh, and I agree, Visual Studio is the best IDE (IMO). There was another IDE besides CodeBlocks you can use on Linux that a friend told me about.
  25. What are you trying to do? Read steam_appid.txt, or get the game's root directory?
×
×
  • Create New...