Views: 19,854,714 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
03-29-24 06:52 AM |
Guest: |
0 users reading Obj2bdl Question | 1 bot |
Main - Archived forums - SMG questions and issues - Obj2bdl Question | Hide post layouts | New reply |
MeTheMarioMan |
| ||
Member Normal user Level: 25 Posts: 21/128 EXP: 88461 Next: 1159 Since: 01-09-14 Last post: 2203 days ago Last view: 2087 days ago |
So I've been gone for about half a year, and have returned to this website for more hacking shenanigans.
Though I've been doing tons of other stuff and excluded all SMG from my life until now. Soooo, I've pretty much forgotten everything there is. Although I've made a level before, it was not the best, but it gave me the main idea on how to make a level, so this most likely will be the only question I have. (Unless my inner idiot is released) I downloaded Python 3.4 with PyQt and created a model.(yes this is about models again ) After creating a model, I exported it by following the tutorial by NWPlayer123. But when I tried obj2bdl, I get this: C:\Python34>python.exe obj2bdl.py AtomicHillsP1.obj AtomicHillsP1.bdl Traceback File "obj2bdl.py", line 164, in textures.append File "C:\Python34\j3d\tex1.py", line 46, in _init_ raise Exception<'could not load image {}'.format Exception: could not load image AtomicHillsP1/Material1.jpg Atomic Hills is the name of my level for FYI. I don't know what to do. I feel like the stupidest person on this site XD. |
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 123 Posts: 2961/4661 EXP: 20824668 Next: 406598 Since: 07-07-12 Last post: 1322 days ago Last view: 334 days ago |
You can't use JPG images, you have to use PNG. ____________________ a |
MeTheMarioMan |
| ||
Member Normal user Level: 25 Posts: 22/128 EXP: 88461 Next: 1159 Since: 01-09-14 Last post: 2203 days ago Last view: 2087 days ago |
I was sort of thinking it was something like that.
But in Sketchup, the textures I used were TGA files. When exported, they turned into JPG. |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3291/3604 EXP: 14159174 Next: 249712 Since: 07-07-12 From: Colorado Last post: 3075 days ago Last view: 1232 days ago |
Weird, that shouldn't happen. Even for me, it exports to PNG from whatever format it was originally in. What version? ____________________ "I hate playing musical chats" ~ Quote of the month |
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 123 Posts: 2962/4661 EXP: 20824668 Next: 406598 Since: 07-07-12 Last post: 1322 days ago Last view: 334 days ago |
Use GIMP to convert the TGA files to PNG, and use those. ____________________ a |
MeTheMarioMan |
| ||
Member Normal user Level: 25 Posts: 23/128 EXP: 88461 Next: 1159 Since: 01-09-14 Last post: 2203 days ago Last view: 2087 days ago |
Well Gimp worked making Sketchup export a PNG, but now when I try obj2bdl, I get the same error but the last line says:
Exception: could not load image AtomicHillsP1/Material3.png |
Splitwirez |
| ||
Otherwise known as rob55rod. Should probably get back to SMG2 at some point... Level: 68 Posts: 190/1207 EXP: 2607161 Next: 121639 Since: 08-28-13 From: ._______________. Last post: 1935 days ago Last view: 1545 days ago |
Posted by MeTheMarioMan Check that the texture is present in the correct location. |
MeTheMarioMan |
| ||
Member Normal user Level: 25 Posts: 24/128 EXP: 88461 Next: 1159 Since: 01-09-14 Last post: 2203 days ago Last view: 2087 days ago |
Okay I fixed it. I had to put the textures in a folder. Blame it on being gone for a half a year?
Thanks to all who helped. |
Splitwirez |
| ||
Otherwise known as rob55rod. Should probably get back to SMG2 at some point... Level: 68 Posts: 191/1207 EXP: 2607161 Next: 121639 Since: 08-28-13 From: ._______________. Last post: 1935 days ago Last view: 1545 days ago |
Posted by MeTheMarioMan Glad it's fixed . |
Main - Archived forums - SMG questions and issues - Obj2bdl Question | Hide post layouts | New reply |
Page rendered in 0.020 seconds. (2048KB of memory used) MySQL - queries: 29, rows: 213/213, time: 0.012 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |