Page 2 of 2

Re: Sudden Attack - Noesis Script Creation

Posted: Sun Mar 19, 2017 6:20 pm
by Acewell
okay i updated the script with a quick fix, it may or may not break other models, if it does just comment out lines 34-37 and shift+tab line 38. :D
the stride was 1 byte off and the submesh headers had an extra 2 bytes in the last 2 samples. :scaredy:

Re: Sudden Attack - Noesis Script Creation

Posted: Sun Mar 19, 2017 7:09 pm
by TRDaz
Works great :D Thanks!

Re: Sudden Attack - Noesis Script Creation

Posted: Thu Mar 23, 2017 3:15 pm
by WPH93
shakotay2 wrote:Is #rapi.rpgBindUV1BufferOfs() still commented out in your code?
delete the # then (which disables the line from being "executed", so it's just a comment)

I'd suggest to read chrrox' Noesis tutorial to gain more understanding
otherwise you'll fall from one trouble into the other, I guess.

did you follow mariokart64n's tutorial?
" msh.setIndices(ltb.faceArray)"
" msh.setPositions(ltb.vertArray)"
is a little bit uncommon to me (doesn't seem to be part of the rapi.rpg interface)

You might be required to use self.setUVs([]) to get the uvs.
QuickBMS can not extract .rez [roll] How could I extract it,plz.

Re: Sudden Attack - Noesis Script Creation

Posted: Sun Feb 24, 2019 9:31 pm
by Xr79
Acewell wrote:
Sun Mar 19, 2017 6:20 pm
okay i updated the script with a quick fix, it may or may not break other models, if it does just comment out lines 34-37 and shift+tab line 38. :D
the stride was 1 byte off and the submesh headers had an extra 2 bytes in the last 2 samples. :scaredy:
Hey Acewell, I know this is an old post, I wanted to thank you for your work on the script! seriously it's awesome, there are Kpop stars in the sudden attack files and I really wanted to get the models.
but I've run into a bit of a problem. I followed your directions on commenting your script and then none of the models will open, the script compiles and works but none of the models open any more. are you sure you got the right lines to comment out there?
here is an example of one of the files that does not work with your script.
i managed to get all the files from the game even tho it's shut down for some reason you can download it on the korean site.
thank you in advance if you can offer any help with this.

Re: Sudden Attack - Noesis Script Creation

Posted: Mon Feb 25, 2019 8:44 am
by Acewell
Xr79 wrote:
Sun Feb 24, 2019 9:31 pm
are you sure you got the right lines to comment out there?
that is a question you should probably ask yourself. :D
here is an example of one of the files that does not work with your script.
i can't see invisible samples, maybe you forgot to link it?
i don't really think there is much more i can do with this game model format.

i don't do much with model scripts any more anyway because i have
a large backlog of texture samples from many other topics to examine
and i plan to get most of them out of the way this year. :D

Re: Sudden Attack - Noesis Script Creation

Posted: Mon Feb 25, 2019 9:32 pm
by Xr79
Acewell wrote:
Mon Feb 25, 2019 8:44 am
Xr79 wrote:
Sun Feb 24, 2019 9:31 pm
are you sure you got the right lines to comment out there?
that is a question you should probably ask yourself. :D
here is an example of one of the files that does not work with your script.
i can't see invisible samples, maybe you forgot to link it?
i don't really think there is much more i can do with this game model format.

i don't do much with model scripts any more anyway because i have
a large backlog of texture samples from many other topics to examine
and i plan to get most of them out of the way this year. :D
If I'm being honest I wasn't expecting you to take the time to message me back, I thought it was just a shot in the dark. there was a problem sharing the sample, it's to big and all my online store are full right now.
but maybe you could show what lines to comment out? I did 34-37 and shift tabbed 38 like you said to, but it didn't work. I use note pad ++

34 if vertex_stride == 31:
35 vertex_stride = 32
36 bs.seek(0x18, NOESEEK_REL)
37 else:
38 bs.seek(0x16, NOESEEK_REL)

Re: Sudden Attack - Noesis Script Creation

Posted: Tue Feb 26, 2019 5:15 am
by Acewell
yes those are the correct lines. :)
when i say comment them they will result to look like this:

Code: Select all

# if vertex_stride == 31:
    # vertex_stride = 32
    # bs.seek(0x18, NOESEEK_REL)
# else:
bs.seek(0x16, NOESEEK_REL)
the indent of line 38 is critical, this might be where it breaks for you.
line 38 should be indented the same as line 33.
if it still doesn't work with your sample then it just doesn't work.
there is no guarantee the script works with all game samples.