Tempust85 Posted January 8, 2015 Posted January 8, 2015 As you may know, I've started to port rend2 from MP to SP. Special thankyou to Xycaleth for all of his assistance.Here's what's not working that I know of: - Textures for item/weapon spawns crash the game I will post any updates here. Futuza, Archangel35757, dg1995 and 2 others like this
Archangel35757 Posted January 8, 2015 Posted January 8, 2015 Great work! Thank you @@Xycaleth for helping!
Ramikad Posted January 8, 2015 Posted January 8, 2015 I can't wait to see the Sulon Star in all its glory... From the refueling system, of course
Tempust85 Posted January 9, 2015 Author Posted January 9, 2015 I've achieved a lot more than a n00b should have, that's for sure lol. Rooxon, Stoiss and ChalklYne like this
Tempust85 Posted January 10, 2015 Author Posted January 10, 2015 And speaking of achieving: Closer peeps. Futuza, therfiles, DarthStiv and 7 others like this
Ramikad Posted January 10, 2015 Posted January 10, 2015 My eyes are transmitting rainbows to my brain.
ChalklYne Posted January 10, 2015 Posted January 10, 2015 Lol^^ I think what hes trying to say is Lazarus, Merek, JAWSFreelao and 2 others like this
Archangel35757 Posted January 10, 2015 Posted January 10, 2015 Her shadow seems to have a big hole in her chest... I'm sure it's just one of many bugs/errors you're working to resolve-- keep up the great work!
Tempust85 Posted January 10, 2015 Author Posted January 10, 2015 Yeah that's due to rend2 (MP as well) having missing triangles when rendering ghoul2 models. Looks to be a debug build issue though, not release. No idea how to fix the ghoul2 textures not loading/being applied to the wrong models or the "give" command crashing. @@Xycaleth any ideas? The code is updated on my git.
Rooxon Posted January 11, 2015 Posted January 11, 2015 Looking forward to the completed SP port, seems I can slowly start making normal maps for my hilts. Tempust85 likes this
Tempust85 Posted January 11, 2015 Author Posted January 11, 2015 After it's fully ported and everything loads, I'll then need to port sprites from vanilla & make sure world effects is working.
Rooxon Posted January 11, 2015 Posted January 11, 2015 If any of you need, I know a few different ways to make normal maps and a dozen tricks how you can easily create normal map illusions using either filters or plugins in Photoshop. I know you can come across various tutorials on google, I'm proposing I'd share the best of what I could find during these two years of skyrim modding. Ramikad likes this
Tempust85 Posted January 11, 2015 Author Posted January 11, 2015 Updated the first post with what's wrong. If it's not listed, it should be working. Rooxon likes this
Archangel35757 Posted January 12, 2015 Posted January 12, 2015 Hopefully @@Xycaleth and @@eezstreet can help you resolve these errors.
Tempust85 Posted January 13, 2015 Author Posted January 13, 2015 I fear this is now dead in the water, unless someone can come fix this up. Here's what Xycaleth said: Rend2, which we ported from ioq3, was never meant to be used on the "server-side", which is what SP needs to do. In SP terms, the server-side is basically the part of the code that runs the game logic (on the other hand, the client essentially visualises what the server says is there). It would be a pretty big task to get it all working correctly as you have to check if the server is using the renderer, or if it's the client that's using it, and then potentially having to share data between the two.
Archangel35757 Posted January 13, 2015 Posted January 13, 2015 "Server-side" ??? -- I'm confused... why would the SP engine need to run anything on the "Server-side" ??? Isn't that the host machine that runs the server for online multi-player? I guess I don't understand how SP is architected. ...much sadness there is.
Futuza Posted January 13, 2015 Posted January 13, 2015 "Server-side" ??? -- I'm confused... why would the SP engine need to run anything on the "Server-side" ??? Isn't that the host machine that runs the server for online multi-player? I guess I don't understand how SP is architected. ...much sadness there is. Basically the localhost is the client and the server in singleplayer games. It mostly is because it is easier to make a multiplayerand singleplayer using the same code base if you just plan on treating singleplayer as if it had a server-client relationship. Also makes game design easier from a coding perspective in most cases as well.
Tempust85 Posted January 13, 2015 Author Posted January 13, 2015 Does anyone have an idea on what needs to be done in detail? Xycaleth said he wasn't sure. @@Raz0r @@ensiform @@eezstreet
Tempust85 Posted January 13, 2015 Author Posted January 13, 2015 So I "un-unioned" the model types, ripped the guts out of tr_ghoul2 (while still using the rend2 cache) and: I'm now getting properly textured ghoul2 models. MD3's load for the map, but not for items or weapons. Shaders + textures now appear on the sabers. Shadows do not project onto every surface in a map for some reason. So far, only yavin1b & yavin2 load. What I did is NOT the solution, but it helps me find the cause of one of the issues.
Ramikad Posted January 13, 2015 Posted January 13, 2015 Shadows do not project onto every surface in a map for some reason. What kind of surfaces, out of curiosity?
Tempust85 Posted January 13, 2015 Author Posted January 13, 2015 Random ones, but one of note - the grass on yavin1b. Will someone for the love of all things Star Wars pretty please fix the renderer?
Ramikad Posted January 13, 2015 Posted January 13, 2015 For what it's worth, that particular grass texture has a phong shader on it.
eezstreet Posted January 13, 2015 Posted January 13, 2015 I think when Xyc means "not meant to be server side", he's referring to how Ghoul2 is synced on both client and server as one unit in SP. This behavior is still sorta there on MP. imo, go back to where you were before, and poke tr_skin.cpp. Skin handling is very different from MP -> SP, and once you fix the skin issue, the shadow issue should resolve itself. Tempust85 and Archangel35757 like this
ensiform Posted January 13, 2015 Posted January 13, 2015 The fact that vid_restart crashes unless you're sitting at the main menu in SP is one of the reasons for the problems with how things are set up in SP atm with rendering and sharing with the server. When we moved it to a modular renderer it now tries to reference renderer stuff from the gamecode, and when you do a vid_restart while the game code is running you end up with an access violation in any number of places that calls the renderer dll. (Relative to comments that xyc said to you) eezstreet, Futuza and Tempust85 like this
Tempust85 Posted January 14, 2015 Author Posted January 14, 2015 vid_restart doesn't crash the game at all. Thanks for the help guys, but this is too far over my head. This is where the latest commit to git is at: If anyone feels generous and wants to fix it, please do: https://github.com/DT85/OpenDF2/tree/Rend2-SP-Full-Port This will benefit more than just DF2 Mod. Rooxon and Archangel35757 like this
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now