12-11-14, 00:44 | #1001 | |
Member
Joined: Apr 2005
Posts: 9,208
|
Quote:
The case of Trajan's Market would indicate they made it possible to alter doors in flipped rooms...? Last edited by Dustie; 12-11-14 at 00:49. |
|
12-11-14, 02:15 | #1002 |
Member
Joined: Aug 2010
Posts: 1,810
|
No, actually, the same set-up was used in Angkor Wat (with the same wheel door), so I suppose there's no difference between flipmap functionality in TR4 and TR5. Just the data structure was changed, and no one documented and made it work properly just before TeslaRus done it yesterday.
|
12-11-14, 09:14 | #1003 |
Member
Joined: Apr 2013
Posts: 343
|
Soundtracks won't work. I downloaded old version of soundtrack.lua and replaced it to script/audio and still doesn't work.
|
12-11-14, 09:29 | #1004 |
Member
Joined: Jun 2006
Posts: 2,392
|
^They disabled that a while ago.
Missing walls in TR5? Last edited by SLAYER; 12-11-14 at 09:32. |
12-11-14, 11:05 | #1005 | |
Member
Joined: Aug 2010
Posts: 1,810
|
Actually, soundtracks worked pretty well on my side, but they were disabled by TeslaRus, as he was getting crashes with it (however, I experienced no crashes whatsoever with ogg player lately). Feature just needs additional debug. You can enable it back by uncommenting the code in audio.cpp - in functions Stream_Ogg, Load_Ogg and case switch in StreamTrack::Stop.
Quote:
|
|
12-11-14, 13:50 | #1006 |
Moderator
Joined: Jul 2003
Posts: 33,359
|
Those "reach in hole" type objects alwasy have to be placed in front of an alcove like that.
Otherwise the collision of the wall prevents Lara from interacting with the object. As far as I know anyway. In the TRLE manual it says to place the objects like that. I have to admit I never tried it any other way. |
12-11-14, 19:56 | #1007 |
Member
Joined: Apr 2013
Posts: 343
|
Well, I have noticed two or three critical bugs in this engine. The first is when Lara grabs on ledge and player press left arrow Lara will fall down:
https://www.youtube.com/watch?v=wTrsLazjc-g The second one is when Lara climbs on wall and her animation is changed to "one step ladder animation" and player press left or right arrow she will fall down immediately. Actually this is old bug: https://www.youtube.com/watch?v=vfUEihQfN10 Maybe it is connected with this bug: https://www.youtube.com/watch?v=XZrliT6AAiQ Anyway I have noticed that Tesla Rus fixed grabbing bug, falling bug and so on. Great job Last edited by Ado Croft; 12-11-14 at 20:00. |
12-11-14, 23:04 | #1008 |
Member
Joined: Dec 2010
Posts: 2,773
|
The latest commits sound great! I have yet to try them!
Anyways, I decided to add support for Tomb Raider Chronicles Dreamcast level files. It works *almost* perfectly. There are some changes to the format in comparison to PC. I've finally figured out that these changes weren't that drastic as I had originally thought and subsequently can now load them. The current problems are: 1. Misc texture format is unknown. 2. Some very small lighting bugs. Values will probably need converting to PC ones. 3. Sound effects are not ADPCM encoded. It looks like a custom encoding to me so they don't play. 4. Dreamcast only has 16-bit textures. PC has 32-bit ones as well. Not really a problem since OpenTomb converts them anyway *i think* and it loads 16-bit textures just fine! 5. Files have no version info, they cannot be distinguished between PC files without a cheap *hack*. There is no magic/identifier. Luckily there are many similarities between the two plaforms. Tomb Raider 4 Dreamcast level files are identical to PC anyway. They just based Tomb Raider Chronicles' Dreamcast level format on PC then altered it for platform specific optimisation purposes. ---------------------- Most people will probably wonder why I chose to do this. It's simply because I'm interested in the 4 leftover test levels on disc. 3 which are completely unknown. These levels are: DEL.TRC (Already known, Del's test leve. Leftover on PC version) TOM.TRC (Unknown, Tom's test level. has beta Rome textures) GIBBY.TRC (*Now known*, Gibby's test level) JOBY1.TRC (Unknown, Has mansion textures) ---------------------- All these level files have a slightly different format to the final game. This is clear evidence these files were not built for the final build but from a range of different beta versions. Currently I have figured out the format differences for DEL.TRC, the format also matches GIBBY.TRC so they both load now! I will most likely look into the format differences for TOM.TRC/JOBY1.TRC and try get them to load within OpenTomb because evidence suggests they both have their own unique format which is why I can't load them yet. These files have baffled me for years now! I finally might be able to uncover what each of these levels hold for the first time in 14 years.. 2 more to go ------------------ Video of DEL.TRC/GIBBY.TRC ------------------- Notice the weird ammo in the inventory? BETAAAAAAAAAAAA ------------------- Is the source available for the Model viewer that used to be distributed with OpenTomb? Perhaps there are more different items hidden, or I could just change what items are in the inventory I guess... Regards. Last edited by Gh0stBlade; 12-11-14 at 23:07. |
13-11-14, 01:31 | #1009 |
Member
Joined: Aug 2010
Posts: 1,810
|
My goodness! How is that possible at all?! I posted a tweet with your video!
Anyway, seems that Dreamcast format isn't so different from PC format (when comparing to PSX, of course...). That strange ammo means they wanted to make a crossbow for TR5 as well... Cause this ammo doesn't seem like TR4 crossbow ammo. And that strange "spiky trap" which falls from the ceiling... Not sure I've ever seen it anywhere in TRC. Also, seems like some polygons are broken in second level... It's a miracle that it loads anyway! Great job! Some updates from me... I totally broke my head when trying to make pushable sounds work correctly in TR4. While in TR1-3 Core simply used pre-defined frame numbers for pushable animations to play a sound, in TR4-5 they used absolutely different scheme. As pushable moves with Lara's bounding box in these games, they had to invent some clever way to play pushable sound all the way it moves; so they just made a pushable sound LOOPED and played it all time while pushable is moving with Lara; then they added extra "pushblock end" one shot sound, which plays once, when Lara is no longer pushing a block. This setup seems easy, but it is not! So for now, it only plays looped pushable sound, which stops aburptly, because I just can't make it work with pushblock end sound correctly - there is a difference in TeslaRus' way of moving pushables and Core's way, even if they use the same "moving bounding box" method. As far as I remember, OpenTomb and Model Viewer shared the same source code, and switched by the SKELETAL_TEST define in main_SDL.cpp file - but it wasn't updated for a while and seems broken for now, unfortunately... You can indeed add other items to inventory by using addItem console command, just look into scripts/inventory/items.lua to know which items you can use! Last edited by Lwmte; 13-11-14 at 01:40. |
13-11-14, 16:56 | #1010 | |
Member
Joined: Jan 2013
Posts: 195
|
Quote:
Flipped room test (r + 4) prevents engine crash (debug does not helps). I will rewrite some flipping logic... may be crashes will stopped. |
|
Thread Tools | |
|
|