ROM Hack [WIP] The Fourth Dimension: A Super Mario 3D land level editor

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
How do I go about getting a fresh CCNT?
From an unmodified RomFs of the game it's the file SystemData\CreatorClassNameTable.szs

It hangs on the process. I tried my Windows 10 laptop, and it works.
But, now, I have an even greater problem. When I import ANY model, when I try to Generate now (CollisionsMng) I'm greeted with this: View attachment 53379

No matter what I type, it says "file not found, error" or something. This does it with ANY model I import.

*edit*

Fixed when you put your obj to the desktop... Weird... Needs a fix, I think.
That's s dos limitation, looks like i forgot the quotes in the command args, use a path without spaces and special characters. If you don't want to move the file to another folder, manually drag your obj over CollisionsMng.

On the other pc the problem may be that you don't have .net framework 4.5.2 (or directx since it uses 3d rendering ?) installed, and if you have switchable graphics card, try running it with the high performance one.

Your stage1.zip level freezes for me, dude.
What region is your game ? Did you copy everything and then patched the CCNT ? If you copied both stages files and then patched once it won't work, the second stage's patch file overwrote the one for the first stage

error: wrong magic number when importing an szs game model :|

--------------------- MERGED ---------------------------

View attachment 53395
wrong magic number appears when the file you are loading isn't a byml (if you're opening a szs the byml inside it isn't a byml, probably it's corrupted), what file are you trying to open ? From File-> Open you must open stages, not models
 
Last edited by exelix11,

ILoveUnity

Banned!
Banned
Joined
Jun 16, 2016
Messages
114
Trophies
0
Age
31
XP
41
Country
United States
From an unmodified RomFs of the game it's the file SystemData\CreatorClassNameTable.szs


That's s dos limitation, looks like i forgot the quotes in the command args, use a path without spaces and special characters. If you don't want to move the file to another folder, manually drag your obj over CollisionsMng.

On the other pc the problem may be that you don't have .net framework 4.5.2 (or directx since it uses 3d rendering ?) installed, and if you have switchable graphics card, try running it with the high performance one.


What region is your game ? Did you copy everything and then patched the CCNT ? If you copied both stages files and then patched once it won't work, the second stage's patch file overwrote the one for the first stage


wrong magic number appears when the file you are loading isn't a byml (if you're opening a szs the byml inside it isn't a byml, probably it's corrupted), what file are you trying to open ? From File-> Open you must open stages, not models
i went to other modding creatorclass then loaded an szs i made
 

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
i went to other modding creatorclass then loaded an szs i made
Merging from file works only with another CreatorClassNameTable (szs, xml or byml is because it can be in those formats,like the CCNTPatch.xml from my levels), to add an entry you write the name you choose for the object in the Object name field, then click add and then save, if you are adding a level model the class must be "FixMapParts".
 

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
To everyone who has the app crashing at startup without any message, with the power of google i discovered that's there is a way for me to check what's wrong: dump files.
If you add to the System register the reg file i put in the attachments every time the editor crashes a memory dump will be saved to C:\T4D_Dumps\ if you send that to me i can try to fix it.
Dumps are about 100mb, but with a good compressor (i use 7zip) you can reduce them to 25mb or so.
Even if you don't have the crash at startup, you should consider to add this key, so if the editor crashes for an unknown bug i can fix it quickly.
Dumps are generated by windows itself, don't contain any personal information, only some details about the computer, like timezone, architecture, the path of the editor and the list of modules loaded at runtime, if you use this, make sure the editor name is "The4Dimension.exe" or else it won't work.

To disable this you just need to remove the "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\The4Dimension.exe" key with regedit
 

Attachments

  • EnableDebug.zip
    382 bytes · Views: 117
Last edited by exelix11,

ILoveUnity

Banned!
Banned
Joined
Jun 16, 2016
Messages
114
Trophies
0
Age
31
XP
41
Country
United States
uh I added me model into the creator class name thing and when putting it in the level it shows up as a blue suare not as the model
 

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
uh I added me model into the creator class name thing and when putting it in the level it shows up as a blue suare not as the model
This has been said other times in this thread,rename your .obj model to the name you set to the object and copy it in the models folder.
Don't rename the mtl and the textures folder, you just need to copy them to the models folder ,it will work the same
 

ILoveUnity

Banned!
Banned
Joined
Jun 16, 2016
Messages
114
Trophies
0
Age
31
XP
41
Country
United States
Ok so model just isn't there in game
I added it to the creatorclassname thing and set the clipping ratio to a high number dudes
 

ILoveUnity

Banned!
Banned
Joined
Jun 16, 2016
Messages
114
Trophies
0
Age
31
XP
41
Country
United States
@exelix11 Ok so model just isn't there in game!
I added it to the creatorclassname thing and set the clipping radius to a high number dudes and put the szs in the folder with the name
model shows up in editor
 

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
Just wait, i'm not 24h on 24 here.
Is the collision there ? How big is the object szs ? did you check the model scale before importing ? If you changed the object scale in the editor it won't work, the scale property isn't implemented in this way in the game.
Did you use a bcmdl or an obj ? obj to bcmdl converter doesn't always work, you should try to convert it with the nw4c toolkit
 

ILoveUnity

Banned!
Banned
Joined
Jun 16, 2016
Messages
114
Trophies
0
Age
31
XP
41
Country
United States
Just wait, i'm not 24h on 24 here.
Is the collision there ? How big is the object szs ? did you check the model scale before importing ? If you changed the object scale in the editor it won't work, the scale property isn't implemented in this way in the game.
Did you use a bcmdl or an obj ? obj to bcmdl converter doesn't always work, you should try to convert it with the nw4c toolkit
i used a bcdml from a 3ds game so the size should be good, I DID NOT RESIZE IN EDITOR IT WAS RIGHT SIZE ALREADY. i dunno what to do :(
 

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
i used a bcdml from a 3ds game so the size should be good, I DID NOT RESIZE IN EDITOR IT WAS RIGHT SIZE ALREADY. i dunno what to do :(
how big (filesize) are the bcmd, kcl and the whole szs ? Did you copy the szs in the ObjectData folder with the same name you added in the CCNT ?
Looks like not every game are using the same bcmdl format, right now i'm trying to import a model from mario kart 7 and i have the same issue, i'm checking where could be the problem.
From what game is your bcmdl ?
 

ILoveUnity

Banned!
Banned
Joined
Jun 16, 2016
Messages
114
Trophies
0
Age
31
XP
41
Country
United States
how big (filesize) are the bcmd, kcl and the whole szs ? Did you copy the szs in the ObjectData folder with the same name you added in the CCNT ?
Looks like not every game are using the same bcmdl format, right now i'm trying to import a model from mario kart 7 and i have the same issue, i'm checking where could be the problem.
From what game is your bcmdl ?
same as yours (Cart 7)
 

mustafag32g

Well-Known Member
Member
Joined
Jul 30, 2014
Messages
806
Trophies
0
Age
34
XP
2,331
Country
Argentina
when my models do not show up in the editor, even though i put obj in models files. I usually just dele the models file and open up 4dimension and restart the process where it converts my models to obj. It should work then :-)

As long as you have the edited obj.szs in the objectData folder :-)
 

ILoveUnity

Banned!
Banned
Joined
Jun 16, 2016
Messages
114
Trophies
0
Age
31
XP
41
Country
United States
when my models do not show up in the editor, even though i put obj in models files. I usually just dele the models file and open up 4dimension and restart the process where it converts my models to obj. It should work then :-)

As long as you have the edited obj.szs in the objectData folder :-)
know some good objs?
 

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
when my models do not show up in the editor, even though i put obj in models files. I usually just dele the models file and open up 4dimension and restart the process where it converts my models to obj. It should work then :-)

As long as you have the edited obj.szs in the objectData folder :-)
They don't show up because the editor once has loaded the model for an object keeps it in memory, so if the object is duplicated it won't load the model again from the disk, you just need to restart the editor and it will work

For the mario kart 7 models i still can't make it work, i guess the problem is the size, once i convert the obj to kcl i get a 500kb file, which is far bigger than the biggest kcl in the game.
Now i'm trying to convert the mario kart 7 kcl to a 3d land kcl
 

ILoveUnity

Banned!
Banned
Joined
Jun 16, 2016
Messages
114
Trophies
0
Age
31
XP
41
Country
United States
They don't show up because the editor once has loaded the model for an object keeps it in memory, so if the object is duplicated it won't load the model again from the disk, you just need to restart the editor and it will work

For the mario kart 7 models i still can't make it work, i guess the problem is the size, once i convert the obj to kcl i get a 500kb file, which is far bigger than the biggest kcl in the game.
Now i'm trying to convert the mario kart 7 kcl to a 3d land kcl
zelda model pls? download for obj in description
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub:
  • Sheeba- @ Sheeba-:
    I can't wait to hack my 11.00 PS4 pro
    Sheeba- @ Sheeba-: I can't wait to hack my 11.00 PS4 pro