mpbc 0.1.9.1: custom block creation tool

Talk about the track editor here

Moderator: English Moderator

User avatar
luftisbollentm2
Translator
Translator
Posts: 613
Joined: 25 Aug 2011, 23:01

Re: mpbc 0.1.9: custom block creation tool

Post by luftisbollentm2 »

no problem with the new 0.1.9 : : :and i used the swedish windown xp with å ä and ö (administratör) ^^
no idea what, but that problem is gone now so its history. :clap: thx for the new version. :yes:
https://www.dropbox.com/s/852tbsrh50t0tee/jippi.JPG
can you script arc_ ? if you can, can you take a look at the script for autogen and try fix it. ?

BTW: å ä ö in english sounds like this.
Ã¥ = ohh.
ä = ehh.
ö = b(u)rn = u in burn is = ö. hehe.

edit: I did an object in blender and unwrap with texture "box.jpg"

I resize the cube x5 in blender, is that good. ?

And i have 3 box.dds dx 3, 5 and 1c but when i try it in tm2 it dont show and the green mark is stuck in center.
i can move it upp and down do ?, any suggestion. ?

this is just a test for me to get an own object working ?. :cry:
PC: Amd x2 2500mhz 6gb ddr2 ati 5850 1024mb
best valley clip http://instagram.com/p/bTvCURtPCo/#
really show what valley is about <3
Prothohomer43
Posts: 1
Joined: 18 May 2012, 11:44

Re: mpbc 0.1.9: custom block creation tool

Post by Prothohomer43 »

When i test to build latest demo files (blocks) i saw this :

Code: Select all

ERROR: updater_files.txt not found. Start ManiaPlanet and log in to redownload it.
ERROR: Failed to load title files (is the "title" attribute of the <environment> filled in?
ERROR: updater_files.txt not found. Start ManiaPlanet and log in to redownload it.
ERROR: Failed to load title files (is the "title" attribute of the <environment> filled in?
Creating demo_maniacode.xml
Creating demo.pak
and it's stopped
Can you help me ?
I redownload the file but it doesn't work.
User avatar
andrus
Posts: 89
Joined: 05 Apr 2011, 17:40

Re: mpbc 0.1.9: custom block creation tool

Post by andrus »

Now og og Coastkid, we are waiting for the new dunes block :yes:
Transparent blocks? Ehhh... useful for videos, useless for tracks, a troll can make a transparent wall to stop you from getting to the finish. It would make me so angry ^^
User avatar
CoastKid
Translator
Translator
Posts: 168
Joined: 16 Jun 2010, 06:20

Re: mpbc 0.1.9: custom block creation tool

Post by CoastKid »

andrus wrote:Now og og Coastkid, we are waiting for the new dunes block :yes:
ok, coming soon :D
andrus wrote: Transparent blocks? Ehhh... useful for videos, useless for tracks, a troll can make a transparent wall to stop you from getting to the finish. It would make me so angry ^^
Transparent textures means that you can use alpha blending in materials, it uses in more then 50% of canyon blocks, so they are very useful.
If you meant the invisible blocks, they are possible to create from very first version of mpbc.
Image
Image
krial057
Posts: 57
Joined: 13 Nov 2010, 20:15

Re: mpbc 0.1.9: custom block creation tool

Post by krial057 »

Hey, really nice work ;)
However mpbc doesn't work for me, always getting:
ERROR: Expected model file "Personal\...\filename.gbx" doesn't exist.

I looked at the source code and found out, that mpbc is looking in the registry to find the install location:
"RegOpenKey ( HKEY_LOCAL_MACHINE, L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\ManiaPlanet_is1",
&hKey )"

However, i think this only works on 32 bit operating systems. I looked in my registry and couldn't find the registry key (Maniaplanet_is1 doesn't exist). However i could find the key in:
SOFTWARE\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\ManiaPlanet_is1

regards, Alain ;)

(going to copy the key into the correct folder or trying to rebuild your code, will report soon if it worked)

EDIT: can't create the key, because the registry tells me there is already a key with the same name present(although the keys are not in the same folder -.-) will need to rebuild the whole stuff :(
User avatar
CoastKid
Translator
Translator
Posts: 168
Joined: 16 Jun 2010, 06:20

Re: mpbc 0.1.9: custom block creation tool

Post by CoastKid »

krial057 wrote: However, i think this only works on 32 bit operating systems.
i am using 64 bit win7, everything works fine.
Image
Image
User avatar
arc_
Posts: 47
Joined: 05 Sep 2011, 20:14

Re: mpbc 0.1.9: custom block creation tool

Post by arc_ »

32-bit programs on a 64-bit Windows are automatically redirected to Wow6432Node; this counts for both TM2Unlimiter and ManiaPlanet itself. So by simply specifying the registry path *as if* you're on 32-bit Windows, your program works on both 32-bit and 64-bit Windows.

If you get an error saying "bla.Solid.gbx doesn't exist", that means the model conversion failed. Do you get any error messages during model conversion or does it not mention your file at all? In the latter case, can you send me your block files?
krial057
Posts: 57
Joined: 13 Nov 2010, 20:15

Re: mpbc 0.1.9: custom block creation tool

Post by krial057 »

Here is the output of your sample blocks:
Building block TestClip (Clip)...
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\clip_ground.Solid
.gbx" doesn't exist
ERROR: Block TestClip has no <model type="Visual"> or the model is invalid.
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\empty.Solid.gbx"
doesn't exist
ERROR: Block TestClip has no <model type="Visual"> or the model is invalid.
Building block Bunny (Classic)...
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\bunny_ground.Soli
d.gbx" doesn't exist
ERROR: Block Bunny has no <model type="Visual"> or the model is invalid.
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\bunny_air.Solid.g
bx" doesn't exist
ERROR: Block Bunny has no <model type="Visual"> or the model is invalid.
Building block TestStart (Classic)...
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\start_ground.Soli
d.gbx" doesn't exist
ERROR: Block TestStart has no <model type="Visual"> or the model is invalid.
Building block TestCheckpoint (Classic)...
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\checkpoint_ground
.Solid.gbx" doesn't exist
ERROR: Block TestCheckpoint has no <model type="Visual"> or the model is invalid
.
Building block TestFinish (Classic)...
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\finish_ground.Sol
id.gbx" doesn't exist
ERROR: Block TestFinish has no <model type="Visual"> or the model is invalid.
Building block TestRoad (Road)...
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\road0_ground.Soli
d.gbx" doesn't exist
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\road1_ground.Soli
d.gbx" doesn't exist
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\road2_ground.Soli
d.gbx" doesn't exist
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\road3_ground.Soli
d.gbx" doesn't exist
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\road4_ground.Soli
d.gbx" doesn't exist
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\road5_ground.Soli
d.gbx" doesn't exist
ERROR: Block TestRoad has no <model type="Visual"> or the model is invalid.
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\road0_air.Solid.g
bx" doesn't exist
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\road1_air.Solid.g
bx" doesn't exist
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\road2_air.Solid.g
bx" doesn't exist
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\road3_air.Solid.g
bx" doesn't exist
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\road4_air.Solid.g
bx" doesn't exist
ERROR: Expected model file "Personal\Blocks\Canyon\Media\Solid\road5_air.Solid.g
bx" doesn't exist
ERROR: Block TestRoad has no <model type="Visual"> or the model is invalid.
Creating demo_maniacode.xml...
Creating demo.pak...
Following files are in the Output folder:
Bunny.Macroblock.gbx
... (5 other .Macroblock.gbx files)
demo.pak
demo_maniacode.xml
User avatar
arc_
Posts: 47
Joined: 05 Sep 2011, 20:14

Re: mpbc 0.1.9: custom block creation tool

Post by arc_ »

Looks like NadeoImporter crashes so early for you that it doesn't manage to convert a single model :). It crashes for me everytime too, but only after it has converted all the models, so I didn't think it would be much of an issue.

I'll investigate in more detail then. It's most likely a memory corruption caused by mpbc, which is sadly a type of bug that's very hard to track down.
SiH13
Posts: 1072
Joined: 15 Jun 2010, 11:54

Re: mpbc 0.1.9: custom block creation tool

Post by SiH13 »

Image
http://i.imgur.com/vcAdA.png

The possibilities will be endless.
Can wait for what you guys can create :)
Video will come this week, thanks CoastKid for the blocks :)
Image
Post Reply

Return to “Track Editor”

Who is online

Users browsing this forum: No registered users and 1 guest