Views: 19,850,316 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
03-28-24 09:54 AM |
Guest: |
Main - Posts by blank |
blank |
| ||
Normal user Level: 26 Posts: 21/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
Can't help you with any Anarchy edited files, but this is the extracted and repacked file that crashed Whitehole. |
blank |
| ||
Normal user Level: 26 Posts: 22/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
Posted by Mega-Mario Then it's sort of my fault. The extractor actually extracts to a directory named 'Stage', which I then renamed. But yeah, SMG doesn't seem to care about the root folder name. |
blank |
| |||||||||||||||||||||||||||||||||||||||
Normal user Level: 26 Posts: 23/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
Posted by NWPlayer123 BVA files looks nothing like JPA files. To elaborate a little on the VAF1 section:
The entries in the first subsection are 4 bytes structures (not completely sure about this):
The entries in the second subsection is simply bytes. They seem to only take on the values 0 and 1, so they might be boolean values. |
blank |
| ||
Normal user Level: 26 Posts: 24/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
SMG2 uses big endian UTF-16, but you don't need any hex editing, just use msbconv. I haven't really looked into text in SMG1, but iirc it uses BMG files, which these tools can handle. |
blank |
| ||
Normal user Level: 26 Posts: 25/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
No, but feel free to ask questions if there's something you don't understand. And, it's a hell of a lot more user friendly than hex editing. |
blank |
| ||
Normal user Level: 26 Posts: 26/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
Posted by Stygmax I've been with this project for a year now, and statements similar to this has been made numerous times. Never once has it resulted in any increase in productivity. In fact, the only time this project moved in anything that even resembled 'high gear' was when Planet Plains were being made, the only level that has been made in the one year I've been here. One year - one level. Not really that impressive. I must admit that I, for quite some time now, have had my serious doubts about this project. I mean, are anybody actually going to make some levels at some point? |
blank |
| ||
Normal user Level: 26 Posts: 27/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
The main difference is that SM64DS kcl files are LZ77 compressed while MKDS kcl files aren't compressed. |
blank |
| ||
Normal user Level: 26 Posts: 28/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
In that case the main differences is that the scale factors for the fixed point values are different. The header is also slightly different: SM64DS headers are 4 bytes shorter and the value of an unknown is different.
EDIT: This is the kcl from Tick Tock Clock exported to a wavefront obj and the converted back to a kcl (using an adapted version of the code I use for SMG). I need someone to test this in-game to see if it works. |
blank |
| ||
Normal user Level: 26 Posts: 29/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
Ok, I might know the problem. Try this instead. But if that doen't work, there's some significant difference between SM64DS kcl files and all other types of kcl files I've seen. |
blank |
| ||
Normal user Level: 26 Posts: 30/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
Last try and then I'm done. |
blank |
| ||
Normal user Level: 26 Posts: 31/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
Is that model in the right scale? Compared to the TTC collision it's very small. If it is in the right scale it would mean that models and collision are scaled differently and we would have to find the correct scale. |
blank |
| ||
Normal user Level: 26 Posts: 32/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
Then there's definitely a scale difference between model and collision, and it doesn't seem to be the same as for MKDS. Figuring out the correct scale factor would require a bit of trial and error, and as I don't actually have the game to test, that would be a bit bothersome.
Skelux, could you make a custom level using the original TTC model and the kcl I provided? |
blank |
| ||
Normal user Level: 26 Posts: 33/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
Ok, that makes things a lot easier. Based on that collision are 1000 times larger than the models.
Skelux, this is a kcl of the obj you gave me, in (hopefully) the right scale. |
blank |
| ||
Normal user Level: 26 Posts: 34/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
Sweet. After I've fixed a few things I'm going to release a python script. Then somebody can port it into SM64DSe if they want to. |
blank |
| ||
Normal user Level: 26 Posts: 35/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
I haven't really had time to work any more on this. But it's not a lot that has to be fixed, so the script is getting released pretty much as soon as I get the time to finish it. |
blank |
| ||
Normal user Level: 26 Posts: 36/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
Ok, here is the script. If you want to run it you'll need Python 3.
Usage: > create_collision.py [-s SCALE] infile [outfile] where infile is the name of the Wavefront OBJ file to convert and the optional argument outfile is the name of the resulting KCL file. The scale should be 1000 times the scale of the model. |
blank |
| ||
Normal user Level: 26 Posts: 37/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
Posted by Skelux That should be correct. What error are you getting? |
blank |
| ||
Normal user Level: 26 Posts: 38/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
Posted by Luigi You don't just add a debug mode. Could people please stop going "it could be done, it would just be hard" whenever somebody sugests something that requires modifications of the actual game code, unless they at least have an idea of what they are talking about. |
blank |
| ||
Normal user Level: 26 Posts: 39/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
Posted by Luigi But you had no idea what you where talking about, as you apparently think it's possible to just add a debug mode. Posted by NWPlayer123 If you think you can add a debug mode, I seriously doubt you know what you are talking about. EDIT: MN1's suggestion is probably the closest you can get to a debug mode. |
blank |
| ||
Normal user Level: 26 Posts: 40/129 EXP: 95862 Next: 6413 Since: 07-08-12 Last post: 3313 days ago Last view: 2286 days ago |
I don't know if this is what causes the freezes, but MemoryFile has got some serious issues. getContents returns the entire buffer which, due to autoExpand, might be longer than the file length. |
Main - Posts by blank |
Page rendered in 0.026 seconds. (2048KB of memory used) MySQL - queries: 21, rows: 141/141, time: 0.009 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |