Having trouble logging in? Password not accepted? Recently some bad apples caused a bit of a ruckus around here and a few accounts had to be reset.
Please, drop Toshiba, Errol or n3wton a line and they'll sort you right out! We apologise for any inconvenience this may cause :(


OK WTF? VanillaC2 not recognizing new car
User avatar
Deep_Blue created OK WTF? VanillaC2 not recognizing new car on Sun Apr 24, 2016 11:28 pm
Post
I can't have gotten so rusty I forgot how to add a car to C2...

I made a new car in CarEd, copied the car folder from CarEd to /VanillaC2/Data/Cars.
Made a .c2c by renaming stuff in an existing one and naming it exactly the name of the new car's folder/act/dat/mat/wam/txt
ran Carstockalypse.....Carstock did not see it in the cars to add window. So I deleted Carstock and downloaded it fresh from C.R.U.D. and re-ran it. It found the car instantly. hit arrow to add car and OK. No prob, right?

Wrong...

No new car shows up in cars menu.
it's in the opponent.txt as opponent #55 out of a total 56.
Text bit is correct as far as I can see. So I go poking around to check if the .c2c is correct...
Then I find *TWO* .c2cs... The one I made with the abbreviated (8.3 format) name of the car and it's folder and files, and one with the full (11.3 format) name of the car as it appears in the text bit for the menu (After the full and short driver names).

What. The. Shit?

I never made menu images-I just chucked the folder into the game to see what it looks like, like I always do before I go to work on the paperwork and menu images.... No seeum. Anybody got an idea why?

EDIT*** OK, so I added the car to another install of VanillaC2 I have and Carstock found it and added it, but now the game crashes loading it with this error:

Attachment:
File comment: error
Image1.jpg
Image1.jpg [ 9.65 KiB | Viewed 3705 times ]


The car is a Moskvich 412. The car's folder/act/dat/mat/txt/wam, etc. are all named "Mosky412." The car's .act file is named "Mosky412."

Grr..

EDIT SOME MORE:

This is the car in PT2. The actor clearly has more than four characters-unless the game means some other actor...

Attachment:
File comment: Mosky in Plaything
PT2.jpg
PT2.jpg [ 121.13 KiB | Viewed 3704 times ]



This is the car's .ACT file in hex editor:

Attachment:
File comment: Actor Hex dump
FRHED.jpg
FRHED.jpg [ 111.19 KiB | Viewed 3704 times ]



Anybody??
***When I die may I be surrounded by scattered chrome and burning gasoline***
User avatar
Toshiba-3 on Sun Apr 24, 2016 11:50 pm
Post
Let's go the easy way: upload what you have and we look at it and report back :grin:

Oh and by the way, it might indeed be another actor (whose identifier isn't listed in that PT2 screenshot) that only has less than 4 characters in its identifier. Double-check and if it's the case, just try to add one or two characters.
Image / carmageddon add-ons at road reaction
User avatar
Deep_Blue on Mon Apr 25, 2016 9:09 am
Post
All right then. Thanks for replying so quickly, Tosh.
I'll take another look at it again. It's possible I misnamed something. Neither in CarEd or Plaything or even the hex editor could I find *anything* named with less than four characters. Maybe looking at it with fresh eyeballs will show me what's wrong. The game obviously found it.
I have sometimes noticed an install of C2 can seem to go 'stale' and do some strange things (or not do proper things) after a long period of disuse. (One C2 install not finding a newly installed car even though I put it in the opponent.txt correctly, but a slightly newer install in a different folder finding it OK.)

It could be that both of my C2 installs have gotten slightly corrupted over time. As a last resort, I'll wipe em out and reinstall fresh. Meanwhile I'll upload the car when I get a break from work today so you can have a look. Thanks, man. :rockon:
***When I die may I be surrounded by scattered chrome and burning gasoline***
User avatar
coffeycup on Tue Apr 26, 2016 1:30 pm
Post
Are you sure it's not just some silly mistake in the paperwork? An extra or missing line in the TXT or WAM that is causing the app to read the wrong value?
MacCarpocalypse | coffey.polygonized.com | CoffeyCup's Gallery
User avatar
Deep_Blue on Tue Apr 26, 2016 5:13 pm
Post
Nah, Coffey... I'm *not* sure-but there really isn't anything but the CarEd-generated files and the .c2c

I just chucked it ingame to see what the model looked like and tweak the handling before I started smashies and falling off stuff (which I would have to update and recompile the model for as they're not all there yet.)
Buuuuut.... The first install of C2 didn't even see the .c2c. At all. neither did the second one until I deleted my copy of Carstock and downloaded a fresh one from Tosh/Econo's site. THEN it saw the .c2c and actually started loading until it got to the "less than four character actor" thing.
See, I thought it might've been the "V_8" mad max car that also loads as an opponent that had the weird, short actor name, but it already works so that's not the case.

Anyway here's the car zip if somebody could see if it works in their game. If it does I'll assume mine is corrupted and do a wipe-out/fresh install.

Nevermind..... Max file size is 256kb. this is 1.16MB

EDIT***

OK I re-D/L'ed Vanilla C2, did a fresh install, added a full savegame and edited it with CarmaSaveEd so I could pic any car. Picked my new car and it crashed and I got the "Less than 4 chars in car actor" again. I've looked in the .ACT file for the car and there's nothing in there with less than four characters.

I think I shall recompile the car and see if CarEd just didn't take a shit on me somewhere. :twisted:

EDIT AGAIN***

NNNNNNNnnnnope. Recompiled car-chucked folder ingame-same actor error.

WTF?! I haven't edited a thing about the car. Everything is as CarEd made it.

I checked the .txt, the .wam, the .act-anything that refers to the main car actor and it says MOSKY412 which is *clearly* more than four characters....
***When I die may I be surrounded by scattered chrome and burning gasoline***
User avatar
coffeycup on Tue Apr 26, 2016 7:57 pm
Post
Do you want to email me a zip? I don't know if I'll be able to spot the problem, but maybe another set of eyes looking at it....
MacCarpocalypse | coffey.polygonized.com | CoffeyCup's Gallery
User avatar
Deep_Blue on Wed Apr 27, 2016 12:59 am
Post
Yeah, sure. Lemme see if I still have your addy. 'Preciate the offer.

EDIT:

Sent the zip to the comcast address. PM me another one if that one was incorrect. :rockon:
***When I die may I be surrounded by scattered chrome and burning gasoline***
User avatar
coffeycup on Wed Apr 27, 2016 12:39 pm
Post
I sent you a PM but it looks like it's still sitting in the OutBox?? Anyway, just change 'comcast' to 'verizon' everything else is the same including the '.net'
MacCarpocalypse | coffey.polygonized.com | CoffeyCup's Gallery
User avatar
Deep_Blue on Sat Apr 30, 2016 12:04 am
Post
Ah... Sorry. Got sidetracked. sending now.

EDIT: addy updated and car.zip sent.

Thanks for taking a look.
***When I die may I be surrounded by scattered chrome and burning gasoline***
User avatar
coffeycup on Sat Apr 30, 2016 8:24 pm
Post
You're right this is a weird one. I don't see anything with an empty name either.
I even tried renaming and making a copy in CarEd, recompiled.
Optimized it in PT2.
But still throws that error. :suicide:

So was this made from scratch in CarEd? Nothing imported from some other format?
I've never seen anything like this before...sorry I don't know what the heck is going on.
MacCarpocalypse | coffey.polygonized.com | CoffeyCup's Gallery
User avatar
Toshiba-3 on Sat Apr 30, 2016 8:59 pm
Post
Can I have a look at it too?
Image / carmageddon add-ons at road reaction
User avatar
coffeycup on Sat Apr 30, 2016 11:10 pm
Post
Tosh, I forwarded D_B's email with attached zip to ya.
MacCarpocalypse | coffey.polygonized.com | CoffeyCup's Gallery
User avatar
Toshiba-3 on Sun May 01, 2016 12:11 am
Post
Thanks for the file, Coffeycup :swink:

That was a very nice one! There's a space in the component name "412 BKWFRAME", just remove it and compile again. Should be good!

CarEd generates the WAM file automatically and thus wrote that name with the space as well. As it parsed the file, C2 stopped at the space and read that as "412".
Image / carmageddon add-ons at road reaction
User avatar
coffeycup on Sun May 01, 2016 12:48 pm
Post
Ha! You've got a good eye, I missed that completely... :thumbsup:

EDIT:
Yup that was the issue
Image
MacCarpocalypse | coffey.polygonized.com | CoffeyCup's Gallery
User avatar
Deep_Blue on Sun May 01, 2016 4:52 pm
Post
Yeah, good eye, Tosh! Wow... I gottta be more careful with naming. Didn't know that could affect things that way. Thanks for helping me out, fellas!

That thing doesn't look too bad ingame.

EDIT**

Yup. Much better. I'm on an 'old Soviet car' kick lately. I downloaded some Russian car games on Android recently that contain old Moskviches, Volgas, Zaporozhets, and Ladas. I kinda got to liking them as I'm a fan of small cars anyway. That "Communist Block" map could use some period-specific cars anyways. :grin:

Attachment:
Ivan The Testy.jpg
Ivan The Testy.jpg [ 29.13 KiB | Viewed 3561 times ]
***When I die may I be surrounded by scattered chrome and burning gasoline***
Pages: 1



Extra information
It is currently Sun Jan 21, 2018 4:53 pm,

Please Register a username.
In total there are 3 users online :: 0 registered, 0 hidden and 3 guests
Users browsing this forum: No registered users and 3 guests
Moderator: coffeycup

Powered by phpBB :: Hosted by n3wton :: Molested by goats
CWA Links
Facebook