Views: 19,998,557 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
04-20-24 09:58 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: 88723 Next: 897 Since: 01-09-14 Last post: 2225 days ago Last view: 2109 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: 20878400 Next: 352866 Since: 07-07-12 Last post: 1344 days ago Last view: 357 days ago |
You can't use JPG images, you have to use PNG. ____________________ a |
MeTheMarioMan |
| ||
Member Normal user Level: 25 Posts: 22/128 EXP: 88723 Next: 897 Since: 01-09-14 Last post: 2225 days ago Last view: 2109 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: 14195708 Next: 213178 Since: 07-07-12 From: Colorado Last post: 3097 days ago Last view: 1254 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: 20878400 Next: 352866 Since: 07-07-12 Last post: 1344 days ago Last view: 357 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: 88723 Next: 897 Since: 01-09-14 Last post: 2225 days ago Last view: 2109 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: 2614613 Next: 114187 Since: 08-28-13 From: ._______________. Last post: 1957 days ago Last view: 1567 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: 88723 Next: 897 Since: 01-09-14 Last post: 2225 days ago Last view: 2109 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: 2614613 Next: 114187 Since: 08-28-13 From: ._______________. Last post: 1957 days ago Last view: 1567 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.026 seconds. (2048KB of memory used) MySQL - queries: 29, rows: 215/215, time: 0.013 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |