PDA

View Full Version : TR2Prj - new version



aktrekker
24th Jun 2003, 06:20
Nothing big. By request, I added cameras. I also added box squares, something I meant to do long ago. I only do box squares for TR4 files, because I don't know if they are coded the same way (or even if they exist) in previous versions.

If someone wants to host it, please let me know. In the meantime, I can email it to anyone who wants it. It is only 34Kb.

Tomo
24th Jun 2003, 08:12
Cool You saved my Cutsequence!!!

Thank you.

Tomo

Tijay
24th Jun 2003, 09:36
Hi,
you can send it to me, i will put it on "www.laraslevelbase.org" so everybody can download it.
My mail is : Tijay5@hotmail.com

mfg,
Tijay

Verner Fon Croy
24th Jun 2003, 17:02
Me!! Please!!!

togiva@libero.it

Tomo
24th Jun 2003, 18:50
my adress is:

Tomo2@gmx.at


Tomo

aktrekker
25th Jun 2003, 06:23
Sent.

Tijay
25th Jun 2003, 16:34
It´up under "http://www.laraslevelbase.org/stuff/"
Tijay

Raider Guy
29th Jun 2003, 15:46
This is such a great utility. Thanks Aktrekker for all your hard work. The camera addition is terrific. It runs perfectly with my Windows 98 rig, but when I try to save under Windows XP it crashes (grrrrr.) Any thoughts?

aktrekker
30th Jun 2003, 06:42
I don't have XP, so I'm not sure what the problem is. But I suspect it is a different version of the system libraries. Try running in compatibility mode. If that doesn't work, you may have to download the Win98 version of the runtime libraries from Microsoft. This is NOT the same runtime as for some of the other tools which are written in Visual Basic.
If it comes to this, I can get the name of the libraries you will need, and they will have to be placed in the same folder as TR2Prj. I might even be able to email them if required.

Night Shiver
9th Feb 2004, 07:06
i have the same problem with Xp... can you please send me the runtime libraries :)?

my e mail: m.al@libero.it

Thanks a lot i really need your tool :P

aktrekker
12th Feb 2004, 07:59
I discovered that the problem is not the runtimes. You need to have zlib.dll in the same folder with TR2Prj. I did not include it because most people already have it from one of the other tools. If you have wadmerger, trwest, etc. you probably already have it. Just copy it to the folder where TR2Prj is located.

FallenAngel
14th Feb 2004, 09:41
Hello ;)

I tried this but i still get an error message when i try to load a .tr4 file :(
Anyone has a tip?

Greetings,

Patricia

aktrekker
15th Feb 2004, 07:56
It would help if you could tell me what the error message is.

FallenAngel
15th Feb 2004, 14:09
erm, sorry :rolleyes:

I get the basic XP error message: "TR2prj MFC Application has encountered a problem and must be shut down. We apologize for the inconvenience".

I tried to set up the software again but it's still the same.
Thank you.

Greetings,

Patricia

Frank Zakkarho
15th Feb 2004, 19:52
Hi aktrekker

can you send me to
frank@tombraiders.it

thanks. So i can host it in the download zone of www.tombraiders.it :)

aktrekker
17th Feb 2004, 04:06
Frank, it is in the mail.

As for the XP problem, I really don't know what to do. Does anyone else have problems on XP? Does it work for anyone running XP?
I can't email the runtimes, as they are protected by Microsoft. And if they are put in the wrong place they could crash XP so it wouldn't even boot.
The runtime files needed are:
MFC42.dll
MSVCRT.dll
KERNEL32.dll
USER32.dll
GDI32.dll
NTDLL.dll

These should be available on XP, as they would be required for compatibility mode. But the versions may be slightly different. than what was included with Windows 98 and Visual Studio 6.

Oh, one thing to check would be if the TR4 file has read-only permission. This really should not be a problem, since I never try to write to the file. But file permissions work differently under NT-based versions of the OS (Windows 2000 and XP), so it could be an issue, since I did not program for the enhanced file permissions.

Wee Bald Man
17th Feb 2004, 11:07
Originally posted by aktrekker

MFC42.dll
MSVCRT.dll
KERNEL32.dll
USER32.dll
GDI32.dll
NTDLL.dll


Hi aktrekker,

I have zlib.dll placed in the same folder as TR2Prj.exe. OS is XP Pro (Service Pack 1). All Read only checkboxes are unticked. Tested with and without Win98 compatibility mode.

I downloaded all the above DLLs from: http://www.dll-files.com/dllindex/

Installed them in windows/system - same "MFC Application" error message occurred (after clicking "Save" to file name after "Save All").

Installed them in windows/system32 - same error.

To see if it shed any light on the error, I also placed a copy of the above DLLs in the same folder as the Tr2Prj.exe and got this new error message which may be of help to you:

TR2Prj.exe - Ordinal Not Found
---------------------------
The ordinal 6648 could not be located in the dynamic link library MFC42.DLL.
---------------------------


Without the DLLs (apart from zlib.dll) in the same folder as the TR2Prj.exe, the MFC error occurs when you specify/open the WAS file. Update: On v2.21 it crashes as soon as you try to load a tr4 file.

Hope this helps,

WBM

Frank Zakkarho
17th Feb 2004, 13:00
Thanks aktrekker.
Tr2Prj 2.21 is now ready for download to:

http://tombraider.gamesurf.it/trle/

download section. :)
here there's also zlib.dll

bedazzled
17th Feb 2004, 22:58
As for the XP problem, I really don't know what to do. Does anyone else have problems on XP? Does it work for anyone running XP?

Yes it works fine for me on XP Home Edition.

aktrekker
18th Feb 2004, 05:06
WBM - very useful. It would appear to be that old Microsoft problem of multiple versions of the system libraries. The version of MFC42.DLL that I have (under Windows 2000, and the program runs) is 6.0.9586.0. Perhaps the one you downloaded is older (hey, maybe it's even newer). Who knows what version Microsoft included in WinXP?

BTW - the DLL should go in system32. But XP might have a special place for compatibility libraries. And I believe XP does not allow you to overwrite system files - it automatically restores them for you. So it probably didn't use the DLL you downloaded until you placed it in the folder with TR2Prj.

So the question is, how to get everyone on the same version of the DLL without messing up anyone's system? I suppose if it is legal, I could provide a copy of the DLLs with the program - just for XP users.

Wait, I just got an idea what the problem could be. When I read/write files, I use the really old C type file functions, and sometimes the even older Unix-style low-level I/O. I'm so used to it it's automatic for me. Maybe they aren't supported on XP. I guess I really should start using the Win32 functions instead. Maybe I'll make that upgrade and send out a new version for testing.

aktrekker
18th Feb 2004, 12:52
Night Shiver, I am emailing you a new version to test. This includes zlib.dll, just to make it easier.

GokuZ
20th Jun 2006, 18:23
aktrekker have you fixed this XP bug , I really dont want to have to install 98 just to use TR2PRJ

aktrekker
22nd Jun 2006, 03:38
Yes, I did, but not tested yet. I'm not sure if I sent this version to anyone for hosting, so I can just email it to you. Let me know.

bedazzled
22nd Jun 2006, 05:01
I can test it on Win XP Home Edition & also host it on my site for you.

http://www.laras-workshop.co.uk

GokuZ
22nd Jun 2006, 09:41
I will test it;
email_lara_croft@yahoo.com

I found that it does open TR4.files and export the PRJ's on win 98 , but I cant get any TR1-2-3 files to open at all, I used to have problems with a few TR3 files in the past , but I cant open 1-2or3 on 98 even. The only thing I can think of is that the files are the 'Sold Out' Version, but I cant imagine why the data file would be in any way different from the original version.

XP: Error Data(When opening tr1,cut1.phd)

?xml version="1.0" encoding="UTF-16"?>
DATABASE>
EXE NAME="TR2Prj.exe" FILTER="GRABMI_FILTER_PRIVACY">
<MATCHING_FILE NAME="TR2Prj.exe" SIZE="86016" CHECKSUM="0x7A455991" BIN_FILE_VERSION="1.0.0.1" BIN_PRODUCT_VERSION="2.2.2.0" PRODUCT_VERSION="2, 2, 2, 0" FILE_DESCRIPTION="TR2Prj MFC Application" COMPANY_NAME="" PRODUCT_NAME="TR2Prj Application" FILE_VERSION="1, 0, 0, 1" ORIGINAL_FILENAME="TR2Prj.EXE" INTERNAL_NAME="TR2Prj" LEGAL_COPYRIGHT="Copyright (C) 2001" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.0.0.1" UPTO_BIN_PRODUCT_VERSION="2.2.2.0" LINK_DATE="03/06/2004 08:22:28" UPTO_LINK_DATE="03/06/2004 08:22:28" VER_LANGUAGE="English (United States) [0x409]" >
MATCHING_FILE NAME="ZLIB.DLL" SIZE="53760" CHECKSUM="0x8203D1C7" BIN_FILE_VERSION="1.1.3.0" BIN_PRODUCT_VERSION="1.1.3.0" FILE_DESCRIPTION="zlib data compression library" PRODUCT_NAME="ZLib.DLL" FILE_VERSION="1.1.3" ORIGINAL_FILENAME="zlib.dll" INTERNAL_NAME="zlib" LEGAL_COPYRIGHT="(C) 1995-1998 Jean-loup Gailly &amp; Mark Adler" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x10004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x1000C" UPTO_BIN_FILE_VERSION="1.1.3.0" UPTO_BIN_PRODUCT_VERSION="1.1.3.0" LINK_DATE="07/12/1998 20:09:19" UPTO_LINK_DATE="07/12/1998 20:09:19" VER_LANGUAGE="English (United States) [0x409]"
<EXE
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
MATCHING_FILE NAME="kernel32.dll" SIZE="926720" CHECKSUM="0x6262EEA5" BIN_FILE_VERSION="5.1.2600.0" BIN_PRODUCT_VERSION="5.1.2600.0" PRODUCT_VERSION="5.1.2600.0" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.1.2600.0 (xpclient.010817-1148)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xE8792" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.0" UPTO_BIN_PRODUCT_VERSION="5.1.2600.0" LINK_DATE="08/18/2001 05:33:02" UPTO_LINK_DATE="08/18/2001 05:33:02" VER_LANGUAGE="English (United States) [0x409]"
<EXE
<DATABASE

98: Error Data(When opening tr1,cut1.phd)

TR2PRJ caused an invalid page fault in
module TR2PRJ.EXE at 0177:00405752.
Registers:
EAX=bc4d6674 CS=0177 EIP=00405752 EFLGS=00010286
EBX=00000000 SS=017f ESP=0061dcf0 EBP=00000000
ECX=00666670 DS=017f ESI=0061e708 FS=2bbf
EDX=00420078 ES=017f EDI=00000004 GS=0000
Bytes at CS:EIP:
0f b7 00 89 86 68 0b 00 00 83 86 10 05 00 00 02
Stack dump:
00000000 0061e708 0061dd54 00000000 0061e708 0061e708 004056a7 00413a40 0061e708 00610237 00000000 00000000 00666668 00092720 004025b1 00000034

aktrekker
23rd Jun 2006, 19:41
Cutscenes do have a different format. I have never tried to make this work with a cutscene. If anyone has info on the cutscene format, I might be willing to add this to the program.

GokuZ
23rd Jun 2006, 19:48
Its not just the cutscene's its all the tr1-2-3 'sold out' formats too , i dunno why it should be different

aktrekker
23rd Jun 2006, 19:52
Just checked the program. There was a bug after the change to support XP. I'll email you the new version.

GokuZ
23rd Jun 2006, 20:17
IT WORKS!! it even opens the TR1 Cutscene data too.

Get this uploaded to websites ASAP!

Treeble
24th Jun 2006, 01:58
Hey ak, can I have it too? :) I'm willing to upload it to make sharing easier.

treeble@msn.com :)

aktrekker
24th Jun 2006, 06:01
It's on its way

Skateboardkid
24th Jun 2006, 09:41
BTW..Thanks Aktrekker for the awesome TR2PRJ idea..
You have inspired me to create a similar program for DXtre3d.
Not finished yet but getting there!

GeorgeMaciver
24th Jun 2006, 09:42
Er, send me the link as soon as it's available! Good job Aktrekker :D :cool:

Treeble
24th Jun 2006, 16:10
There it goes. :)

Thanks aktrekker.

http://treeble.larashome.com/temp/TR2Prj223.zip (60k)

GeorgeMaciver
24th Jun 2006, 18:27
Wooo Hoooo http://70.84.190.115/3106/35/emo/bguitar.gif

ggctuk
13th Jul 2006, 20:35
I get a nasty bug - it only happens after ripping levels from TR using TR2PRJ then fixing them with TRFix. No further rooms can be added. otherwise the Editor crashes, and flipmaps lose all doors. above this, I think TR2PRJ 2.21 doesn't load TR1, 2 and 3 levels at all on XP - it crashes with the error report message. Also lights on TR1 and 2 levels are too bright/dark.

The rooms and flipmaps problem can happen on 'pure' projects (projects created from the Editor, not ripped from any TR game)

aktrekker
19th Jul 2006, 02:13
Updates for XP could have caused compatibility problems. Have you tried running in Win98 compatibility mode?

ggctuk
2nd Aug 2006, 21:16
Tried that, it didn't work. The levels are the Sold out versions but worked in an earlier version of TR2PRJ, and TR4s and TRCs work OK.

aktrekker
11th Aug 2006, 07:31
Sorry, I need to check i more often.

It seems most people are not having a problem on XP. You mention using TRFix, which has not been updated for XP yet, and has other work that needs to be done. Guess I should do that. Have you tried loading the project BEFORE using TRFix? Maybe that would work better for now.

I am aware of the light problem in TR1/2. The brightness info was backwards from later versions.

If you can get TR2Prj to crash, try to capture the information in the error report and email it to me. It will help track down why some people are having problems. Email to aktrekker at yahoo dot com. Try it with TR1/2, as I have those games. I don't have TR3 so it might be harder to track down the problem.

Skateboardkid
11th Aug 2006, 08:15
Tried that, it didn't work. The levels are the Sold out versions but worked in an earlier version of TR2PRJ, and TR4s and TRCs work OK.

I hope Aktrekker understands..I hope i understand..Are these "sold out levels" the ones that are differnt format than CD games??

Skateboardkid
11th Aug 2006, 08:19
Tried that, it didn't work. The levels are the Sold out versions but worked in an earlier version of TR2PRJ, and TR4s and TRCs work OK.

Hmm? I guess so..Well I dont understand how aktekker can fix something like that..I tried to load those levels and the format is really differnt..

GeorgeMaciver
11th Aug 2006, 13:06
The programme works perfectly here, on XP, in all the games. Instead of asking folks to spend weeks of their time trying to keep you happy, why not spend a couple of quid and buy a decent copy the game?

;)

dhama
11th Aug 2006, 16:25
Updates for XP could have caused compatibility problems. Have you tried running in Win98 compatibility mode?

I find NT compatibilty mode works best, but I do have a strange system. :nut:

ggctuk
9th Sep 2006, 09:36
Tried that, it didn't work. The levels are the Sold out versions but worked in an earlier version of TR2PRJ, and TR4s and TRCs work OK.

I tried Version 2.2, that showed the info, but crashed when I tried to save.
Then I tried 2.21 which crashed as soon as I opened the level.
The first version works fine, but the problem is that textures will not animate at all.
I am in the process of trying out 2.23.

Also, TRCs don't have proper map layout. I am fully aware of the situation with diagonal walls, but not even slopes appear, textures won't appear on most faces (even when you check 'Save Textures') and TR2PRJ adds additional walls and geometry.

GeorgeMaciver
9th Sep 2006, 12:32
There is now a version 2.4 which should work for you. I hit problems with the last version I had but this one fixed it:

http://www.skribblerz.com/editortools.htm

ggctuk
20th Sep 2006, 14:04
I get a nasty bug - it only happens after ripping levels from TR using TR2PRJ then fixing them with TRFix. No further rooms can be added. otherwise the Editor crashes, and flipmaps lose all doors. above this, I think TR2PRJ 2.21 doesn't load TR1, 2 and 3 levels at all on XP - it crashes with the error report message. Also lights on TR1 and 2 levels are too bright/dark.

The rooms and flipmaps problem can happen on 'pure' projects (projects created from the Editor, not ripped from any TR game)

TR2PRJ 2.23 fixed the TR1/2/3 problem, but textures went blue. Also Animating textures still don't work. I ripped Sancuary of the Scion (intending to alter it for the Tomb of Bastet storyline in TRC2) and textures were blue, water was missing, not all faces were textured, 1-click textures were extended to 3 clicks into the texture below, not all room geometry was there. I'm patient when it comes to reverse lighting though.

No program's perfect, I know, but this one has yet to become its very best. Sorry if my opinion offends anyone.

aktrekker
21st Sep 2006, 07:03
No offense taken.
You have to understand that once the level is built into .tr4, some of the room editor information has been lost. And I'm still studying the editor to figure out how it does some things.
Nobody told me about problems with the textures. I can't fix it if I don't know it's broke.
The levels it creates aren't perfect, but you save alot of time trying to create (or recover) it from scratch.