Page 37 of 48
Re: mpbc 0.1.9: custom block creation tool
Posted: 20 May 2012, 16:02
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.

thx for the new version.
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 ?.

Re: mpbc 0.1.9: custom block creation tool
Posted: 20 May 2012, 17:27
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.
Re: mpbc 0.1.9: custom block creation tool
Posted: 20 May 2012, 18:14
by andrus
Now og og Coastkid, we are waiting for the new dunes block
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 ^^
Re: mpbc 0.1.9: custom block creation tool
Posted: 20 May 2012, 18:52
by CoastKid
andrus wrote:Now og og Coastkid, we are waiting for the new dunes block
ok, coming soon
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.
Re: mpbc 0.1.9: custom block creation tool
Posted: 21 May 2012, 10:24
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

Re: mpbc 0.1.9: custom block creation tool
Posted: 21 May 2012, 10:35
by CoastKid
krial057 wrote:
However, i think this only works on 32 bit operating systems.
i am using 64 bit win7, everything works fine.
Re: mpbc 0.1.9: custom block creation tool
Posted: 21 May 2012, 11:44
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?
Re: mpbc 0.1.9: custom block creation tool
Posted: 21 May 2012, 12:04
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
Re: mpbc 0.1.9: custom block creation tool
Posted: 21 May 2012, 12:13
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.
Re: mpbc 0.1.9: custom block creation tool
Posted: 22 May 2012, 19:13
by SiH13
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
