Views: 20,053,891 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
04-25-24 10:12 PM |
Guest: |
0 users reading Custom planets possible for regular user? | 1 bot |
Main - Archived forums - General SMG hacking - Custom planets possible for regular user? | Hide post layouts | New reply |
logank93 |
| ||
Normal user Level: 16 Posts: 20/43 EXP: 18380 Next: 1876 Since: 09-06-12 Last post: 3974 days ago Last view: 3846 days ago |
Hi, I've seen some hacks where some of the more knowledgeable hackers have created and imported custom planets and levels. I would like to know if this is possible for someone who has a mid level understanding of hacking. Also is texture editing possible? Sorry for the new thread but I didn't really see anywhere where my question should go so move it if it needs to be moved. Thanks! |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 2280/3604 EXP: 14204790 Next: 204096 Since: 07-07-12 From: Colorado Last post: 3102 days ago Last view: 1259 days ago |
Marionumber1 made a handy texture editor, and all you do to import a model is use the tools given. You'd create a model adn export as OBJ, then import that, if you need to, make collision and export as OBJ and import THAT, and then pack the files in an archive and add an entry to a file to tell SMG2 to load it. ____________________ "I hate playing musical chats" ~ Quote of the month |
logank93 |
| ||
Normal user Level: 16 Posts: 21/43 EXP: 18380 Next: 1876 Since: 09-06-12 Last post: 3974 days ago Last view: 3846 days ago |
So I would use OBJ2BDL to convert the obj file? Will that make the KCL also? Or am I missing something. I've been reading and searching for a while but can't find the info... |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 2281/3604 EXP: 14204790 Next: 204096 Since: 07-07-12 From: Colorado Last post: 3102 days ago Last view: 1259 days ago |
Nah, use this for collision https://kuribo64.net/?page=thread&id=29 you'll need the floor code table in that first post.
But yes, OBJ2BDL for the model ____________________ "I hate playing musical chats" ~ Quote of the month |
logank93 |
| ||
Normal user Level: 16 Posts: 22/43 EXP: 18380 Next: 1876 Since: 09-06-12 Last post: 3974 days ago Last view: 3846 days ago |
Ok, I will try it out. Thanks!
Edit: I am having a hell of a time. I cannot for the life of me get obj2bdl to work, be it in galaxy tools or otherwise. Galaxy Tools lies to me telling me my file was converted, but no files seem to go anywhere... and trying to run it through cmd leads it to tell me something is missing in the module of python? Yet I installed python fresh just recently... |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 2284/3604 EXP: 14204790 Next: 204096 Since: 07-07-12 From: Colorado Last post: 3102 days ago Last view: 1259 days ago |
You need a module to run it via command prompt. The dependencies are Python 3.x and PyQt4. After that it should work fine. Just make sure the textures are exported as PNG, otherwise it'll still spit out an error. If you DO get an error, try posting it EXACTLY here and I should be able to tell you what went wrong. ____________________ "I hate playing musical chats" ~ Quote of the month |
logank93 |
| ||
Normal user Level: 16 Posts: 24/43 EXP: 18380 Next: 1876 Since: 09-06-12 Last post: 3974 days ago Last view: 3846 days ago |
Ok I'm feeling pretty dumb but I am not familiar with how python works really. Could you maybe explain a little more clearly? Sorry to be a bother... |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 2285/3604 EXP: 14204790 Next: 204096 Since: 07-07-12 From: Colorado Last post: 3102 days ago Last view: 1259 days ago |
well it should be simple enough to install pyqt4, just google pyqt4 and there should be a handy dandy windows installer. Then once it's installed you'd navigate to the folder the script and model is in and type C:\python32\python.exe obj2bdl.py blah.obj
All that should be in the command prompt. ____________________ "I hate playing musical chats" ~ Quote of the month |
logank93 |
| ||
Normal user Level: 16 Posts: 26/43 EXP: 18380 Next: 1876 Since: 09-06-12 Last post: 3974 days ago Last view: 3846 days ago |
I regrettably still cannot get it to work...
|
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 2290/3604 EXP: 14204790 Next: 204096 Since: 07-07-12 From: Colorado Last post: 3102 days ago Last view: 1259 days ago |
What exactly is going wrong .,O We can't really help you if we don't know what's messing up and how. ____________________ "I hate playing musical chats" ~ Quote of the month |
logank93 |
| ||
Normal user Level: 16 Posts: 27/43 EXP: 18380 Next: 1876 Since: 09-06-12 Last post: 3974 days ago Last view: 3846 days ago |
I'm sure I'm just missing something simple or typing something wrong or didn't install something right. Sorry for seeming like such a noob. :/ |
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 123 Posts: 1441/4661 EXP: 20891757 Next: 339509 Since: 07-07-12 Last post: 1349 days ago Last view: 362 days ago |
You have to put obj2bdl.py in your python folder. (Python32)
And do this: cd C:\Python32 Press Enter python.exe obj2bdl.py bomb.obj bomb.bdl ____________________ a |
logank93 |
| ||
Normal user Level: 16 Posts: 28/43 EXP: 18380 Next: 1876 Since: 09-06-12 Last post: 3974 days ago Last view: 3846 days ago |
worked better, but still an error: "no module named j3d" I'm sure it's just a file that I misplaced or something trivial like that. Thanks for all the help!
Edit: Full error is: Traceback File "obj2bdl.py", line 6, in import j3d ImportError: No module named 'j3d' |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 2311/3604 EXP: 14204790 Next: 204096 Since: 07-07-12 From: Colorado Last post: 3102 days ago Last view: 1259 days ago |
j3d is a folder with files inside, you should also have that with the obj2bdl file
____________________ "I hate playing musical chats" ~ Quote of the month |
logank93 |
| ||
Normal user Level: 16 Posts: 29/43 EXP: 18380 Next: 1876 Since: 09-06-12 Last post: 3974 days ago Last view: 3846 days ago |
Ok I got the j3d folder correct and all, but now it's spitting out an even larger error. "C:\Python33\lib\encodings\cp1252.py", line 23, in decode return codecs. charmap_decode< input,self.errors,decoding_table>[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 807: character maps to |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 2313/3604 EXP: 14204790 Next: 204096 Since: 07-07-12 From: Colorado Last post: 3102 days ago Last view: 1259 days ago |
It may be because you're using python 3.3, try installing 3.2 and then installing PyQt4 into the 3.2 part. That'a the version most people use, and if it doesn't work then it means it's something else. ____________________ "I hate playing musical chats" ~ Quote of the month |
blank |
| ||
Normal user Level: 26 Posts: 63/129 EXP: 96181 Next: 6094 Since: 07-08-12 Last post: 3342 days ago Last view: 2315 days ago |
It looks like an encoding error. The only thing I can think of that would cause this issue is that you use some non-standard characters in the OBJ file and the file isn't UTF-8 encoded. |
Goembario |
| ||
Normal user Level: 24 Posts: 8/109 EXP: 71823 Next: 6302 Since: 05-30-13 From: The Netherlands Last post: 3790 days ago Last view: 2916 days ago |
Hmm, I've got a similar same issue but I now installed python32.
With the j3d folder in python32, I get the: ImportError: No module named PyQt4.QtGui To be clear, I have installed python32, with the obj2bdl.py, btypes.py and the j3d folder and my test.obj in the python32 folder (C:/Python32/....) Does it needs another plugin that has the name "PyQt4.QtGui" ? |
blank |
| ||
Normal user Level: 26 Posts: 64/129 EXP: 96181 Next: 6094 Since: 07-08-12 Last post: 3342 days ago Last view: 2315 days ago |
You need to install PyQt4.
Also, even though it is nice that MrRean and NWPlayer123 are trying to help, they are both incorrect: You don't need to put obj2bdl or any other files in the python folder, and as far as I know there should be no problems with using python 3.3. |
Goembario |
| ||
Normal user Level: 24 Posts: 9/109 EXP: 71823 Next: 6302 Since: 05-30-13 From: The Netherlands Last post: 3790 days ago Last view: 2916 days ago |
Ok so I'll just reinstal python 3.3, install PyQt4 (hadn't installed surprisly) and then run it via command prompt?
I'll try so thanks!!! |
Main - Archived forums - General SMG hacking - Custom planets possible for regular user? | Hide post layouts | New reply |
Page rendered in 0.035 seconds. (2048KB of memory used) MySQL - queries: 29, rows: 235/235, time: 0.011 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |