The Forum is up for sale: XeNTaX Forum looking for new owner

.elu models from Gunz

Post questions about game models here, or help out others!
Post Reply
moonpaladin
ultra-veteran
ultra-veteran
Posts: 398
Joined: Tue Mar 05, 2019 6:24 am
Has thanked: 286 times
Been thanked: 18 times

.elu models from Gunz

Post by moonpaladin »

Hello! I was using a blender script of version 2.49b and also another for blender 2.63a from here (http://forum.ragezone.com/f245/elu-ani- ... ost4297496) and it should load the bones and everything but in my case only load in some models, anothers models just popup an script error and I'm not using a newer version of files, and in other cases just doesn't show anything (model or error). Maybe someone with more knowledge about this can take a look at the script, I was trying to remove some functions that could be causing the error but still have many errors in console. I'm gonna add some sample files, if someone can take a look on this thanks in advance. :)


https://www.mediafire.com/file/5yop0ep3 ... S.zip/file
Drawing
mega-veteran
mega-veteran
Posts: 282
Joined: Wed Jan 11, 2012 10:21 pm
Has thanked: 43 times
Been thanked: 17 times

Re: .elu models from Gunz

Post by Drawing »

In my opinion you should ask directly on that forum and/or to the owner of the script.

p.s: for next posts please submit a valid error message , posting screenshot or debug messages so that people could directly understand what the problem is
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4231
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1139 times
Been thanked: 2222 times

Re: .elu models from Gunz

Post by shakotay2 »

Drawing wrote: Fri Mar 26, 2021 12:00 pmso that people could directly understand what the problem is
"directly"?
Me, I never understood python problems directly. :D

there's two caveats, no 1: version 0 is not supported
supported versions: ELU_VERSIONS = (0x5004, 0x5005, 0x5006, 0x5007)

no 2 (Blender 2.63a+): problem when generating texture path
fix by expanding this line if len(fpaths) > 0:
like so
if len(fpaths) > 0 and len(fnames) != 1 :
.
face.png
(in Blender 2.49b only the face loaded)
moonpaladin wrote: Fri Mar 26, 2021 9:20 amI was trying to remove some functions that could be causing the error but still have many errors in console.
tracelog screen of the error usually contains the script line where the error occurred first.

Placing a debug print line (just before that line) to print out the values of variables/strings will give you more insight into the problem(s).

You will need to read here: https://docs.python.org/3/library/struct.html
and understand "tuples" or you won't get far, btw. :wink:
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
moonpaladin
ultra-veteran
ultra-veteran
Posts: 398
Joined: Tue Mar 05, 2019 6:24 am
Has thanked: 286 times
Been thanked: 18 times

Re: .elu models from Gunz

Post by moonpaladin »

Drawing wrote: Fri Mar 26, 2021 12:00 pm In my opinion you should ask directly on that forum and/or to the owner of the script.

p.s: for next posts please submit a valid error message , posting screenshot or debug messages so that people could directly understand what the problem is
Hello Drawing! I did! in discord, youtube, ragezone, etc haha xD
moonpaladin
ultra-veteran
ultra-veteran
Posts: 398
Joined: Tue Mar 05, 2019 6:24 am
Has thanked: 286 times
Been thanked: 18 times

Re: .elu models from Gunz

Post by moonpaladin »

shakotay2 wrote: Fri Mar 26, 2021 5:08 pm
Drawing wrote: Fri Mar 26, 2021 12:00 pmso that people could directly understand what the problem is
"directly"?
Me, I never understood python problems directly. :D

there's two caveats, no 1: version 0 is not supported
supported versions: ELU_VERSIONS = (0x5004, 0x5005, 0x5006, 0x5007)

no 2 (Blender 2.63a+): problem when generating texture path
fix by expanding this line if len(fpaths) > 0:
like so
if len(fpaths) > 0 and len(fnames) != 1 :
.
face.png
(in Blender 2.49b only the face loaded)
moonpaladin wrote: Fri Mar 26, 2021 9:20 amI was trying to remove some functions that could be causing the error but still have many errors in console.
tracelog screen of the error usually contains the script line where the error occurred first.

Placing a debug print line (just before that line) to print out the values of variables/strings will give you more insight into the problem(s).

You will need to read here: https://docs.python.org/3/library/struct.html
and understand "tuples" or you won't get far, btw. :wink:
I'm gonna take a look! thanks Shako [bruce]
moonpaladin
ultra-veteran
ultra-veteran
Posts: 398
Joined: Tue Mar 05, 2019 6:24 am
Has thanked: 286 times
Been thanked: 18 times

Re: .elu models from Gunz

Post by moonpaladin »

shakotay2 wrote: Fri Mar 26, 2021 5:08 pm
Drawing wrote: Fri Mar 26, 2021 12:00 pmso that people could directly understand what the problem is
"directly"?
Me, I never understood python problems directly. :D

there's two caveats, no 1: version 0 is not supported
supported versions: ELU_VERSIONS = (0x5004, 0x5005, 0x5006, 0x5007)

no 2 (Blender 2.63a+): problem when generating texture path
fix by expanding this line if len(fpaths) > 0:
like so
if len(fpaths) > 0 and len(fnames) != 1 :
.
face.png
(in Blender 2.49b only the face loaded)
moonpaladin wrote: Fri Mar 26, 2021 9:20 amI was trying to remove some functions that could be causing the error but still have many errors in console.
tracelog screen of the error usually contains the script line where the error occurred first.

Placing a debug print line (just before that line) to print out the values of variables/strings will give you more insight into the problem(s).

You will need to read here: https://docs.python.org/3/library/struct.html
and understand "tuples" or you won't get far, btw. :wink:
eyy Shakotay! How hard would be change the version of that weapon to suit to one that can be openable in blender, because I just found that, that weapon was like a mod not a official weapon, but the game read it without problems. I was checking the header and it changed a bit, but it seems not like another version, seems that they added some data to not be openable with the script, or well just my tought. Here is one official item of the game.
https://www.mediafire.com/file/wbwiix80 ... 1.elu/file
moonpaladin
ultra-veteran
ultra-veteran
Posts: 398
Joined: Tue Mar 05, 2019 6:24 am
Has thanked: 286 times
Been thanked: 18 times

Re: .elu models from Gunz

Post by moonpaladin »

Drawing wrote: Fri Mar 26, 2021 12:00 pm In my opinion you should ask directly on that forum and/or to the owner of the script.

p.s: for next posts please submit a valid error message , posting screenshot or debug messages so that people could directly understand what the problem is

Drawing, here is the error message, still trying to fix this :(
error.png
You do not have the required permissions to view the files attached to this post.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4231
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1139 times
Been thanked: 2222 times

Re: .elu models from Gunz

Post by shakotay2 »

moonpaladin wrote: Sat Mar 27, 2021 4:06 amI was checking the header and it changed a bit, but it seems not like another version, seems that they added some data to not be openable with the script, or well just my tought.
Well, they didn't set mesh count and material count (or left them as FFFFFFFF= -1). I wouldn't waste my time with modded items that don't follow the format (even if they are loaded by the game; maybe it crashes after your 100th savegame or so because of a faulty modded item).
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
moonpaladin
ultra-veteran
ultra-veteran
Posts: 398
Joined: Tue Mar 05, 2019 6:24 am
Has thanked: 286 times
Been thanked: 18 times

Re: .elu models from Gunz

Post by moonpaladin »

shakotay2 wrote: Sat Mar 27, 2021 12:05 pm
moonpaladin wrote: Sat Mar 27, 2021 4:06 amI was checking the header and it changed a bit, but it seems not like another version, seems that they added some data to not be openable with the script, or well just my tought.
Well, they didn't set mesh count and material count (or left them as FFFFFFFF= -1). I wouldn't waste my time with modded items that don't follow the format (even if they are loaded by the game; maybe it crashes after your 100th savegame or so because of a faulty modded item).
In that you are right Shakotay, I also tried to extract the model with the hex2obj but so far I have only been able to obtain vertices xD. I'm gonna try again after work. Thanks Shako! [bruce]
Post Reply