Views: 19,856,902 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
03-29-24 02:15 PM |
Guest: |
0 users reading Adding objects to SMG2 galaxies | 1 bot |
Main - Archived forums - General SMG hacking - Adding objects to SMG2 galaxies | Hide post layouts | New reply |
Arisotura |
| ||
Star Mario in this room you have a pile of apple pies Level: 163 Posts: 280/9016 EXP: 56056707 Next: 430937 Since: 07-03-12 From: in a box Last post: 57 days ago Last view: 16 days ago |
This thread isn't relevant for SMG1 because it doesn't have the UseResource stuff.
Basically, each galaxy in SMG2 has a UseResource file telling which files have to be loaded. The purpose of this is likely more efficient data management. However the downside is that it complicates editing a little. If you try to add an object whose files aren't included in the galaxy's UseResource file, chances are that the object won't work, or the game will crash. Next versions of Whitehole will likely handle all this automatically. However, currently it'll have to be done manually. First of all, when adding an object, you check whether it's already present in the galaxy or not. If it's already there, nothing needs to be done. If you add an object that is entirely new to the galaxy, you'll have to add its files to the UseResource file. First thing to do is determine which files the object uses. With a little luck, you can search the ObjectDB and it'll tell you the files used. But given the ObjectDB is incomplete, the most reliable way would be looking in your game's ObjectData folder for files with names ressembling your object's internal name (Kuribo -> Kuribo.arc). Once you got your filenames, you'll open Whitehole's BCSV editor. You'll set the Archive to "/StageData/ The .arc also contains separate files for each scenario, but until everything is figured out, adding to common.bcsv is probably the safest way. Once you typed the right stuff in the two text fields, you hit Open. If you entered your filenames right, you'll get a column labeled 'ResourceName' with a lot of lines. All the lines are names of files inside the game's disc. You hit 'Add row', scroll to the bottom of the list, and should notice a blank line. You fill it with your the name of the file you want to add. You repeat this for every file you want to add. Once you're done, you hit 'Save' and close the BCSV editor. And hopefully everything should work. ____________________ NSMBHD - Kafuka - Jul melonDS the most fruity DS emulator there is zafkflzdasd |
MK7tester |
| ||
Magikoopa I'm back Level: 104 Posts: 656/3145 EXP: 11542432 Next: 319694 Since: 07-07-12 From: Dolphic Island Last post: 2571 days ago Last view: 2569 days ago |
This is not necessarily true, some objects don't need useresource. |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 60/709 EXP: 1235493 Next: 78696 Since: 07-07-12 Last post: 2190 days ago Last view: 565 days ago |
Also, if you're trying to import a new planet into the game, use ProductMapObjDataTable.arc, not UseResource. |
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 123 Posts: 473/4661 EXP: 20825415 Next: 405851 Since: 07-07-12 Last post: 1322 days ago Last view: 335 days ago |
Yeah, because some objects don't crash the game at all when they aren't added to that file. ____________________ a |
MK7tester |
| ||
Magikoopa I'm back Level: 104 Posts: 659/3145 EXP: 11542432 Next: 319694 Since: 07-07-12 From: Dolphic Island Last post: 2571 days ago Last view: 2569 days ago |
He said NEW planet |
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 123 Posts: 474/4661 EXP: 20825415 Next: 405851 Since: 07-07-12 Last post: 1322 days ago Last view: 335 days ago |
I was talking about the UseResource. ____________________ a |
MK7tester |
| ||
Magikoopa I'm back Level: 104 Posts: 660/3145 EXP: 11542432 Next: 319694 Since: 07-07-12 From: Dolphic Island Last post: 2571 days ago Last view: 2569 days ago |
Oh ok then. Yeah, i've never seen an object that needs a useresource. |
zoza1015 |
|
mariogalaxythree |
| ||
Member Blarg. Yoshi. Of. Composing. Affected by 'RainBlarg' Syndrome Level: 110 Posts: 48/3627 EXP: 14008741 Next: 400145 Since: 12-24-12 Last post: 2238 days ago Last view: 2178 days ago |
Just curious, is it possible to include "HellValleySkyTree" In a few of the levels? ____________________
-MG3- IS HERE |
MK7tester |
| ||
Magikoopa I'm back Level: 104 Posts: 920/3145 EXP: 11542432 Next: 319694 Since: 07-07-12 From: Dolphic Island Last post: 2571 days ago Last view: 2569 days ago |
Nope, it isn't it's own object, it comes with the background model.
HellValleySkyTree.arc is a texture |
mariogalaxythree |
| ||
Member Blarg. Yoshi. Of. Composing. Affected by 'RainBlarg' Syndrome Level: 110 Posts: 49/3627 EXP: 14008741 Next: 400145 Since: 12-24-12 Last post: 2238 days ago Last view: 2178 days ago |
Could it be extracted as a little easter egg thrown into 2.5? ____________________
-MG3- IS HERE |
MK7tester |
| ||
Magikoopa I'm back Level: 104 Posts: 922/3145 EXP: 11542432 Next: 319694 Since: 07-07-12 From: Dolphic Island Last post: 2571 days ago Last view: 2569 days ago |
It would be a little cheap to reuse an easter egg from SMG2. :/ |
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 123 Posts: 547/4661 EXP: 20825415 Next: 405851 Since: 07-07-12 Last post: 1322 days ago Last view: 335 days ago |
Posted by Silver Yes we can make it into it's own object :p (Back because somethin unexpected happened) ____________________ a |
Stygmax |
| ||
SMG2.5 Cartographer Level: 88 Posts: 687/2178 EXP: 6536071 Next: 114593 Since: 12-02-12 Last post: 370 days ago Last view: 370 days ago |
Is there a limit to how many stars can be added? Or does it just go to 999?
I couldn't think of a better thread to ask this in. Status: It was really, really fun, guys - thanks for the ride!
|
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 123 Posts: 807/4661 EXP: 20825415 Next: 405851 Since: 07-07-12 Last post: 1322 days ago Last view: 335 days ago |
There probably is, after severe lag and everything ____________________ a |
MK7tester |
| ||
Magikoopa I'm back Level: 104 Posts: 1286/3145 EXP: 11542432 Next: 319694 Since: 07-07-12 From: Dolphic Island Last post: 2571 days ago Last view: 2569 days ago |
Why would anyone want to do that anyway. .___. |
Stygmax |
| ||
SMG2.5 Cartographer Level: 88 Posts: 688/2178 EXP: 6536071 Next: 114593 Since: 12-02-12 Last post: 370 days ago Last view: 370 days ago |
I'm adding new stars left and right and I want to know if we can just add them practically forever. I had to invent "Green Star 4" and stuff like that. Custom missions are best under custom stars in my opinion. Status: It was really, really fun, guys - thanks for the ride!
|
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 123 Posts: 808/4661 EXP: 20825415 Next: 405851 Since: 07-07-12 Last post: 1322 days ago Last view: 335 days ago |
So...You know how to edit bcsv's? ____________________ a |
Stygmax |
| ||
SMG2.5 Cartographer Level: 88 Posts: 694/2178 EXP: 6536071 Next: 114593 Since: 12-02-12 Last post: 370 days ago Last view: 370 days ago |
Yeah, and edit the maps now with Whitehole too. Also ScenarioName.msbt. We should put our custom levels into custom missions.
I'll post this in a more appropriate topic soon. Status: It was really, really fun, guys - thanks for the ride!
|
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 123 Posts: 810/4661 EXP: 20825415 Next: 405851 Since: 07-07-12 Last post: 1322 days ago Last view: 335 days ago |
A million bucks it won't work.
You have to extract the bcsv's from the scenario, and you have to know the functions of layers, PowerStarId Scenario ID, and all that stuff.... You know that...? ____________________ a |
Main - Archived forums - General SMG hacking - Adding objects to SMG2 galaxies | Hide post layouts | New reply |
Page rendered in 0.028 seconds. (2048KB of memory used) MySQL - queries: 27, rows: 233/233, time: 0.010 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |