Issues with Converting Map.
#1

I'm trying to get used to the new samp features and was trying to test out converting VC but I'm having major issues.

I've converted the map using Scene2Res and I also have a file converter that converts it to AddSimpleModel and CreateDynamicObject.

However, I have not been able to make it work at all and I seem to constantly get this error in the server log:

Code:
[00:21:40] [artwork] Calculating CRC for lodh_ammu.dff
[00:21:40] [artwork] CRC = 0x40344747
[00:21:40] [artwork] Calculating CRC for lodh_ammu.txd
[00:21:40] [artwork] CRC = 0x0
[00:21:40] [artwork:error] Bad file: lodh_ammu.txd
[00:21:40] [artwork] Calculating CRC for ticketbooth1a.dff
[00:21:40] [artwork] CRC = 0x4EA4E11F
[00:21:40] [artwork] Calculating CRC for ticketbooth1a.txd
[00:21:40] [artwork] CRC = 0x0
[00:21:40] [artwork:error] Bad file: ticketbooth1a.txd
Literally thousands of those inputs.

My AddSimpleModel looks like this: (only small example, thousands of lines).

Code:
AddSimpleModel(-1,19379,-2000,"ap_tower.dff","ap_tower.txd");
AddSimpleModel(-1,19379,-2001,"ap_terminAchek1_01.dff","ap_terminAchek1_01.txd");
AddSimpleModel(-1,19379,-2002,"ap_terminAchek1_02.dff","ap_terminAchek1_02.txd");
AddSimpleModel(-1,19379,-2003,"ap_gatesA.dff","ap_gatesA.txd");
AddSimpleModel(-1,19379,-2004,"ap_gatesB.dff","ap_gatesB.txd");
AddSimpleModel(-1,19379,-2005,"ap_terminA_01.dff","ap_terminA_01.txd");
AddSimpleModel(-1,19379,-2006,"jump_box108.dff","jump_box108.txd");
AddSimpleModel(-1,19379,-2007,"jump_box112.dff","jump_box112.txd");
Objects relating to it:

Code:
CreateDynamicObject(-2000,-1685.179443,-923.363892,713.487061,0,0,0);
CreateDynamicObject(-2001,-1398.517090,-868.393982,714.407349,0,0,-90);
CreateDynamicObject(-2002,-1472.896484,-868.393982,714.407349,0,0,-90);
CreateDynamicObject(-2003,-1519.899292,-1014.809753,719.529785,0,0,-90);
CreateDynamicObject(-2004,-1354.575439,-1010.916809,719.540588,0,0,0);
CreateDynamicObject(-2005,-1435.706787,-855.213318,735.345581,0,0,0);
CreateDynamicObject(-2006,-1176.362427,-999.955444,715.385803,0,0,-95);
CreateDynamicObject(-2007,-1181.598022,-923.211731,715.385803,0,0,0);
Any help would be appreciated.
Reply
#2

Perhaps those files got corrupted?

You should upload those files that produce the 'bad file' error.
Reply
#3

It's literally every file, sadly.

I ripped directly from the VC gta3.img using IMG Tool

But I can't see all of the relating .TXD files to the .dll are they located elsewhere?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)