The Game Modding Community - Since 2001

Regarding Model Decompile/Recompile

A Forum Thread for Counter-Strike 1.6

Updates

Added Images
  • Addition Images added since people did not seem to notice such differences.
Ring-A-Ding Rampage avatar
Ring-A-Ding Rampage username pic Joined 7y ago
In Continuum
3,095 points Ranked 1601st
74 medals 9 legendary 20 rare
  • Submitted 60 Sprites Medal icon
  • Thanked 500 submitters Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
  • Submitted 100 Skins Medal icon
  • Reached 100 subscribers Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
Ring-A-Ding Rampage avatar
Ring-A-Ding Rampage
5mo
I have noticed that decompiling a model and subsequently recompiling it without even modifying will still result in slight differences on the model.

I am not talking about the UV, I have used DoomMusic's StudioMDL to fix the UV positioning. Rather, some kind of distortion occurs after every decompile/compile.

For example, the width of the gun seems to get slightly smaller.

I tried scaling the mesh by 0.01 on all dimensions and the end result matched the original almost perfectly but there were still minor aberrations.

Note that the differences I speak of are so small that they would be difficult to notice unless you compare the original and recompiled versions side-by-side.

Is this a problem occurring due to the decompiler or is it occurring due to the compiler?

So is there any fix to this problem, or a strategy to be followed while compiling/decompiling stuff?






2nd image - Differences in the triangles as seen via Git Diff - left is the recompile of original and right is the recompile of the recompile.

Posts

  • 6mo
    First of all, I like to know u have submitted this thread as a "CREATOR" or as a "REDISTRIBUTOR"?  lol
    • Creative x 1
    Maha.troy98@gmail.com
  • 6mo
    andiargetlam avatar
    andiargetlam username pic Joined 11mo ago
    Connecting.....
    Outlaws Flag Affiliation: Outlaws
    1,868 points Ranked 2721st
    18 medals 2 legendary 3 rare
    • 2017 Top Contributor Medal icon
    • 30 submissions featured Medal icon
    • 10 submissions featured Medal icon
    • GameBanana’s Christmas Giveaway 2017 Day Nine Winner! Medal icon
    • Returned 1000 times Medal icon
    • One month a member Medal icon
    andiargetlam avatar
    andiargetlam
    Outlaws Flag
    Affiliation
    Outlaws
    I've tried DoomMusic's studiomdl, but it seems it can't support $cliptotextures (though i don't really know what it means) and i failed compiling every time i use that studiomdl

    But with other studiomdl i never encounter problem like yours
    Artistic Recoil avatar
    Mantra
    Artistic Recoil
  • 6mo
    U are right, "decompiling a model and subsequently recompiling it without even modifying will still result in slight differences on the model." 
    And that slight differences are caused by DECOMPILING. 
    I have created a box with the size of 64X64X64, and Compile it, when imported the model in the map, all sizes were matched with the source refrences.
    Another bugs usually caused by decompiling are "messing sequence,uv,mesh up".
    Maha.troy98@gmail.com
  • 6mo
    [PRince_4] Sharma avatar
    [PRince_4] Sharma Joined 2y ago
    JOB---
    IND Industry! Flag Affiliation: IND Industry!
    9,994 points Ranked 475th
    29 medals 1 legendary 5 rare
    • 30 submissions featured Medal icon
    • 10 submissions featured Medal icon
    • Received thanks 50 times Medal icon
    • Thanked 50 submitters Medal icon
    • 8-14 Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • Returned 1000 times Medal icon
    [PRince_4] Sharma IND Industry! Flag
    Affiliation
    IND Industry!
    That is just because the original compiler used a different version of compiles or used some other "$" commands like "$origin" in his ".qc" that were not in the decompiled one , try verbose setting with decompiler program.
    Slicin' My Way 2 TOP! avatar
    Mantra
    Slicin' My Way 2 TOP!
  • 6mo
    CS PRO avatar
    CS PRO username pic Joined 4y ago
    HL Manager CS:CZ Manager
    Catch Me L8r
    CS:GO Ports Flag Affiliation: CS:GO Ports
    10,249 points Ranked 455th
    37 medals 4 legendary 5 rare
    • Submitted 100 Skins Medal icon
    • 30 submissions featured Medal icon
    • Reached 100 subscribers Medal icon
    • 2017 Top Contributor Medal icon
    • Returned 1000 times Medal icon
    • 10 submissions featured Medal icon
    CS PRO avatar
    CS PRO
    CS:GO Ports Flag
    Affiliation
    CS:GO Ports
    Try using Crowbar toolkit. It supports Goldsrc now.

    Though i never experienced that before..
    Still Alive.. avatar
    Mantra
    Still Alive..
  • 5mo
    Ring-A-Ding Rampage avatar
    Ring-A-Ding Rampage username pic Joined 7y ago
    In Continuum
    3,095 points Ranked 1601st
    74 medals 9 legendary 20 rare
    • Submitted 60 Sprites Medal icon
    • Thanked 500 submitters Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Submitted 100 Skins Medal icon
    • Reached 100 subscribers Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    Ring-A-Ding Rampage avatar
    Ring-A-Ding Rampage
    (づ。◕‿‿◕。)づ
    Xx MAHA xX, andiargetlam, [PRince_4] Sharma, CS PRO : There you go, now it should be much more clear.

    I know the differences are so small that it may seem that I am nitpicking but certain geometry does become uglier and I hate it.

    Have already used Crowbar before posting here, similar results. I haven't compared which one is more accurate though, will do that next.
    • Agree x 1
    • Interesting x 1
    I'mma deck you in the schnoz. avatar
    Mantra
    I'mma deck you in the schnoz.
  • 5mo
    Bloody Death Skull avatar
    Bloody Death Skull username pic Joined 3y ago
    Killing Demons
    3,196 points Ranked 1542nd
    23 medals 1 legendary 5 rare
    • 2017 Top Contributor Medal icon
    • 10 submissions featured Medal icon
    • Returned 1000 times Medal icon
    • Reached 50 subscribers Medal icon
    • Thanked 50 submitters Medal icon
    • Received thanks 50 times Medal icon
    this is getting me worried :/...
    I Dont Give Fucks I Give Shots
  • 5mo
    CS PRO avatar
    CS PRO username pic Joined 4y ago
    HL Manager CS:CZ Manager
    Catch Me L8r
    CS:GO Ports Flag Affiliation: CS:GO Ports
    10,249 points Ranked 455th
    37 medals 4 legendary 5 rare
    • Submitted 100 Skins Medal icon
    • 30 submissions featured Medal icon
    • Reached 100 subscribers Medal icon
    • 2017 Top Contributor Medal icon
    • Returned 1000 times Medal icon
    • 10 submissions featured Medal icon
    CS PRO avatar
    CS PRO
    CS:GO Ports Flag
    Affiliation
    CS:GO Ports
    I'll send the link of this thread to the dev, I guess he'll know what's going on..
    Still Alive.. avatar
    Mantra
    Still Alive..

Embed

Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:

Author

Ring-A-Ding Rampage avatar
Ring-A-Ding Rampage username pic Joined 7y ago
In Continuum
3,095 points Ranked 1601st
74 medals 9 legendary 20 rare
  • Submitted 60 Sprites Medal icon
  • Thanked 500 submitters Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
  • Submitted 100 Skins Medal icon
  • Reached 100 subscribers Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon

Ring-A-Ding Rampage avatar
Ring-A-Ding Rampage
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

Stats

  • 447 Views
  • 27 Posts
  • 6mo Submitted
  • 5mo Modified
  • 5mo Updated

Yo, buddy. Mascot

GameBanana is one of the oldest mod sites on the net. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation - send modders points.
  • Post: Give modders your thoughts on their work.
  • Vote: Help your favorite modders win monthly awards.
  • Flag: Alert moderators and warn members of problems with mods.
  • Watch: Get notified when mods are updated.

Sound fun? Sign up now!

Already a Bananite? Login

bcp.crwdcntrl.net tracking pixel