StdPatch icon indicating copy to clipboard operation
StdPatch copied to clipboard

How to use this

Open Zanik231 opened this issue 1 year ago • 5 comments

Idk how this work

Zanik231 avatar Jul 28 '24 17:07 Zanik231

https://github.com/2010kohtep/StdPatch?tab=readme-ov-file#stdinjector

REDxEYE avatar Jul 28 '24 17:07 REDxEYE

Like this? D:\SteamLibrary\steamapps\common\GarrysMod\bin\StdInjector.exe "E:\Compile_modelSinteam\scientist.qc"

Zanik231 avatar Jul 28 '24 17:07 Zanik231

Yes

REDxEYE avatar Jul 28 '24 17:07 REDxEYE

It works just like studiomdl, by that i mean it accepts same arguments. You can use it in crowbar instead of studiomdl

REDxEYE avatar Jul 28 '24 17:07 REDxEYE

Error: Compiling ".\scientist.qc" ... Output from compiler "D:\SteamLibrary\steamapps\common\GarrysMod\bin\StdInjector.exe": StudioMdl Patcher 2.3.0 is started. Code by Alexander B. (2010kohtep) special for RED_EYE. Failed to find BUFFERSIZE.

  qdir:    "e:\compile_modelsinteam"
  gamedir: "D:\SteamLibrary\steamapps\common\GarrysMod\garrysmod"
  g_path:  "scientist.qc"
  Building binary model files...
  Working on "scientist.qc"
  SMD MODEL SCI3_Template_Biped1(Headless_Body).smd
  Exception happened and stdpatch catched it.
          Code: 0xC0000005
          Module: studiomdl.exe
          Base: 0x00990000
          Address (A) - 0x009EDD32
          Address (R) - 0x0005DD32
  ERROR: 'EXCEPTION_ACCESS_VIOLATION' (assert: 1)
  ERROR: Aborted Processing on 'vj_hlr/kc/kievsinteam.mdl'
  WARNING: Leaking 1 elements
CROWBAR: Deleted empty temporary compile folder "D:\SteamLibrary\steamapps\common\GarrysMod\garrysmod\models".

... Compiling ".\scientist.qc" finished. Check above for any errors.

... Compiling with Crowbar 0.67: "E:\Compile_modelSinteam\scientist.qc" finished.

Zanik231 avatar Jul 28 '24 17:07 Zanik231

Hello,

Judging by the Failed to find BUFFERSIZE error, StdPatch likely needs an update. I've scheduled a complete revision of its functionality, but to proceed I need models I can use to test StdPatch. If you have such models and the issue is still relevant, please share them.

For now, I'm closing the issue, but I'll reconsider its status if needed.

kohtep avatar Jul 07 '25 22:07 kohtep

Heres some of my old .mdls They are compiled due showcase of compiling method of another modified studiomdl you probably can decompile then to use in test limewire.com/d/uIOjl#JIpnpqziuP

Dizcordum avatar Jul 10 '25 08:07 Dizcordum

Unfortunately, I can only perform thorough testing on original source files that can be used directly in a compiler. Most likely, decompiled .mdl models will not allow for the cleanest possible results.

If you can provide qc/smd/etc files, that would be excellent.

kohtep avatar Jul 10 '25 09:07 kohtep

its just one model, no bodygroups, i think decompiled version should be fine

Image

Dizcordum avatar Jul 10 '25 09:07 Dizcordum

If you are confident that it might help, then please provide the decompiled versions, and I will try to review them.

kohtep avatar Jul 10 '25 10:07 kohtep

zip failed to load here here https://limewire.com/d/uIOjl#JIpnpqziuP

Dizcordum avatar Jul 10 '25 11:07 Dizcordum