Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - PunkNoodle

#1
Update

Since I've learnt something new today I decided to update this thread. I'll add my discovery to the Details sections as well.

- GTA SA uses a more complex collision type (type 3) thus before you import your object in VC:MP you need to adjust the collision type to the one compatible with GTA VC and III (type 1). You can do it by opening your object collision file with Coll Editor II, right-clicking on it and then selecting Target Version and Col 1, save it and you're good to go.


.
Quote from: DarkRaZoR^ on Dec 27, 2019, 12:19 AMProps to you, NoodlePunk!
Thank you ;)
#2
Introduction

Since I often get asked on the procedure on how to import objects from other GTAs, I thought I will post a tutorial that hopefully makes it clear for everyone. It's no rocket science, it just takes some time and patience. I'll list below the tools I personally use, you can of course use others if you prefer. With that being said let's move on the actual stuff.



Tools:

- MEd there are other map editors out there but this is newer and better than Moo Mapper and KEd
- Collision File Editor II Again I recommend this over the older CollEditor or Col - IO



Steps:

Part I - Retrieving the needed files

  • Open MEd, load the IPL files from Scene tab and double click on the object you want to export



  • Use right click on the object and select Properties

- This will provide the name of the model and texture in this case dinerind.dff and newbuildind.txd respectively.

  • Click Browse... next to Model Name, right-click the model you need and extract it. Repeat the exact same procedure for the texture file
  • In the Item Definition window you've seen before, click on the Col icon

- This will show you the collision name and in which file you're going to find it. In this case the name is dinerind located inside INDUSTSW.col file.

  • Move to your GTA III folder and open data->maps->industsw, there you'll find industSW.col. Open it in CollEditor II


  • Locate the file you need, in this case dinerind, right-click on the name, hover on to Export and select Combined Collision File... to export it

Now that we have a model, a texture and a collision file. Let's move on the next section.





Part II - Importing it to VC:MP

  • Create a 7-Zip archive with those 3 files, give it any name and attach '_unp' as suffix, then drop it inside your server store folder
- I chose to name mine dinerind_unp.7z

  • Open your objects.xml file, located inside store->objects folder. There you need to define the characteristics for your object, including:
- the ID that you assign to it within VC:MP
- the model name and its draw distance
- the texture name
- the collision name
- the flag values, which I'll explain in the next section

  • If everything is done correctly it should look like the following:
<?xml version="1.0" encoding="ASCII"?>
<objectlist>
<object id="0">
<model path="dinerind.dff" distance="300" />
<texture path="newbuildind.txd" />
<collision path="dinerind.col" />
<flags value="0" />
</object>
</objectlist>


And that's done!! Those were all the essentials. The subsequent section focuses instead on minor facts you might need to know.





Part III - Details

  • Object flags will influence object's behaviour a bit, but for the average object you can just leave them 0, I'll attach their description below


  • Object ID 0 in objects.xml translates to 6000 within VC:MP usage
  • To spawn the object in Vice City now you either need to make use of the XML maps or CreateObject function
<?xml version="1.0" encoding="ASCII" ?>
<itemlist>
<item model="6000" name="dinerind">
<position x="0" y="0" z="0" />
<rotation format="axisangle" x="0" y="0" z="0" angle="0" />
</item>
</itemlist>
    - This is an example of how the XML file could look like

    • Setting draw distance to anything higher than 300m will have the effect of not rendering the collision. This is due to the game considering such objects low polygons models, thus not loading their collision to reduce load on performance
    • GTA 3 objects and in particular its interiors, need to have back-face culling disabled otherwise they won't display correctly
    • GTA SA uses a more complex collision type (type 3) thus before you import your object in VC:MP you need to adjust the collision type to the one compatible with GTA VC and III (type 1). You can do it by opening your object collision file with Coll Editor II, right-clicking on it and then selecting Target Version and Col 1, save it and you're good to go.


    And that's now really all. I hope it helped and thank you for reading! :)[/list]
    #3
    Quote from: Gulk2 on Nov 12, 2019, 11:54 PMBump, this is brilliant. I can't seem to work it though, getting invalid definition in objects.xml upon connecting to my server.
    I've just retested it after years and it worked fine on my end. Try using /setconfig game_showdebug 1 and joining the server, it should probably tell you what the error is.

    EDIT: I'm not very active here anymore, it was by chance that I stumbled across your post in time. If you need further and more prompt help perhaps bug me on LW's Discord server
    #4
    Bugs and Crashes / [Crash 0.4.7] 6808C968
    Aug 17, 2019, 05:01 AM


    Reproducible
    Happened one time

    What you were doing at the time of the crash
    Shooting an m4 after being disconnected from a server

    What you think caused the crash
    The m4 I believe

    Are you using the Steam version?
    No

    Crash Report
    [noae]Address: 6808C968 error C0000005
    EAX 00000000 EBX 0019F8D8 ECX 00000000 EDX 00F13D18
    EBP 0019F8D0 ESP 0019F890 ESI 104CA1A8 EDI 104CA640
    Stack:
    1E9CCBA0
    09E7A1F0
    0019FA1C
    6A6A58C4
    0019FA1C
    00000000
    00000000
    3F19999A
    09E6302C
    0019F8DC
    0019F93C
    680B43C2
    00000000
    00000000
    104CA1A8
    01190130
    0078343C
    0052B9B9
    104CA1A8
    0052B9B9
    104CA1A8
    0019F930
    0019F904
    3F800000
    1E9CC524
    16A9A348
    00000001
    00000000
    00000000
    3F800000
    00000000
    3EEEEEF0
    3F111112
    3F000000
    1E9CC524
    006946E8
    00000000
    00000002
    00000000
    80000001
    C47347CB
    C427F743
    4145D03A
    BF8F9D28
    3EDE27A5
    00000000
    00000000
    BEF0E377
    BFC9338F
    00000000
    BF66A580
    3EDE27A5
    00000000
    00000000
    00000000
    104CA1A8
    0050B44F
    00000000
    BE9910B2
    C427C06D
    00000000
    00000010
    00000000
    104CA1A8
    00508E0C
    749A7547
    00000000
    00000000
    000311C8
    00000000
    00000000
    00000000
    00031348
    00000000
    80000012
    00000000
    00000001
    006010B0
    00000000
    00000000
    80000012
    00000000
    00040616
    03C3E260
    03CDC39C
    0019FBA0
    749B8100
    8E681581
    FFFFFFFE
    0019FA2C
    74996C42
    006010B0
    00000000
    00000200
    00000001
    0177022D
    00000000
    00000000
    00000001
    00000200
    00040616
    03CDC39C
    00000000
    0019FAA0
    6A6B2681
    006010B0
    00040616
    00000200
    00000001
    0177022D
    00000200
    00000000
    6A6B007F
    0000000B
    1B3F1EE0
    00977DC8
    0019FC44
    0076E804
    0066A2CE
    00000023
    9976AE17
    00649A1A
    00000001
    00977E5C
    005642F1
    77188FE0
    00000438
    30020000
    00000001
    00000000
    00000000
    97B2BFDD
    0019FACC
    749B635B
    00040616
    00000200
    00000001
    BF9DE200
    405AE400
    3F92D050
    6A6B2130
    00000200
    00000000
    0019FBB0
    749A729C
    794E5711
    00040616
    0019FBB0
    749A7547
    749A72C0
    FAD15379
    6A6B2130
    00040616
    015FD840
    00040616
    00000000
    00000000
    BF9DE200
    405AE400
    3F92D050
    0000000C
    0019FC44
    00000000
    1050B21C
    005F9A52
    0000000C
    00000042
    00000000
    00000049
    00A10B8A
    009781D4
    0066A2CE
    00000023
    5C324885
    333BBD2E
    00000001
    3C55A5C2
    BC8413BD
    3E5673C1
    3F7A444C
    3C55A5C2
    2BF201D0
    3E5673C1
    16F9F318
    0019FBC0
    1E14DB80
    004029A5
    0019FBB0
    0019FBC0
    333BBD2E
    4BAE8A4B
    3824FFF7
    00000000
    00000000
    B97B9400
    BAA59128
    00000000
    B97B9400
    BAA59128
    00000000
    Net version 67600, build version 5D574FA1.
    00400000 S 00614000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\gta-vc.exe
    21100000 S 0005C000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss32.dll
    22100000 S 00014000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssa3d.m3d
    22200000 S 00015000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssa3d2.m3d
    22300000 S 00011000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssds3ds.m3d
    22400000 S 00014000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssds3dh.m3d
    22500000 S 00014000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Msseax.m3d
    22600000 S 00016000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssfast.m3d
    22D00000 S 00062000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssrsx.m3d
    22E00000 S 00019000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\msseax3.m3d
    24600000 S 00011000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Reverb3.flt
    26F00000 S 0002A000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mp3dec.asi
    65190000 S 00008000 N C:\WINDOWS\SYSTEM32\DPAPI.dll
    67170000 S 00EA4000 N C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_2d65b7647eff8c45\nvd3dum.dll
    68020000 S 0038B000 N C:\Users\Admin\AppData\Local\Vice City Multiplayer\0.4.7\vcmp-game.dll
    69490000 S 0020E000 N C:\WINDOWS\system32\nvspcap.dll
    6A580000 S 00037000 N C:\Users\Admin\AppData\Local\Vice City Multiplayer\0.4.7\libpng16.dll
    6A5C0000 S 000C4000 N C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_2d65b7647eff8c45\nvldumd.dll
    6A690000 S 000B3000 N C:\WINDOWS\SYSTEM32\d3d8.dll
    6B1C0000 S 000EB000 N C:\Windows\System32\Windows.UI.dll
    6B2B0000 S 00080000 N C:\WINDOWS\SYSTEM32\DSOUND.DLL
    6C520000 S 00508000 N C:\WINDOWS\SYSTEM32\d2d1.dll
    6CE80000 S 00110000 N C:\WINDOWS\SYSTEM32\AUDIOSES.DLL
    6D2F0000 S 00023000 N C:\WINDOWS\SYSTEM32\DEVOBJ.dll
    6D320000 S 00015000 N C:\WINDOWS\SYSTEM32\VCRUNTIME140.dll
    6D340000 S 0000E000 N C:\WINDOWS\SYSTEM32\resourcepolicyclient.dll
    6D360000 S 00019000 N C:\WINDOWS\SYSTEM32\MSACM32.dll
    6D3C0000 S 0005E000 N C:\WINDOWS\System32\MMDevApi.dll
    6D790000 S 00091000 N C:\WINDOWS\SYSTEM32\inputhost.dll
    6F7C0000 S 001A3000 N C:\WINDOWS\SYSTEM32\twinapi.appcore.dll
    70690000 S 000DB000 N C:\WINDOWS\SYSTEM32\wintypes.dll
    70770000 S 0026A000 N C:\WINDOWS\SYSTEM32\CoreUIComponents.dll
    70F00000 S 00037000 N C:\WINDOWS\SYSTEM32\dinput8.dll
    71B00000 S 00026000 N C:\WINDOWS\SYSTEM32\dwmapi.dll
    71C80000 S 00008000 N C:\WINDOWS\SYSTEM32\AVRT.dll
    71C90000 S 0008F000 N C:\WINDOWS\SYSTEM32\CoreMessaging.dll
    71D20000 S 00086000 N C:\WINDOWS\System32\TextInputFramework.dll
    71F70000 S 0009C000 N C:\WINDOWS\SYSTEM32\apphelp.dll
    72010000 S 00007000 N C:\WINDOWS\SYSTEM32\d3d8thk.dll
    72020000 S 00007000 N C:\WINDOWS\SYSTEM32\DCIMAN32.dll
    72030000 S 000E9000 N C:\WINDOWS\SYSTEM32\ddraw.dll
    72120000 S 0007B000 N C:\WINDOWS\system32\uxtheme.dll
    721A0000 S 0001E000 N C:\WINDOWS\SYSTEM32\RMCLIENT.dll
    726D0000 S 0017E000 N C:\WINDOWS\SYSTEM32\PROPSYS.dll
    72960000 S 0000B000 N C:\WINDOWS\SYSTEM32\HID.DLL
    72970000 S 00010000 N C:\WINDOWS\system32\wshbth.dll
    72980000 S 0000B000 N C:\WINDOWS\System32\winrnr.dll
    72990000 S 00016000 N C:\WINDOWS\system32\pnrpnsp.dll
    729B0000 S 00011000 N C:\WINDOWS\system32\napinsp.dll
    72A00000 S 0002F000 N C:\WINDOWS\system32\rsaenh.dll
    72A30000 S 00051000 N C:\WINDOWS\System32\fwpuclnt.dll
    72A90000 S 00008000 N C:\Windows\System32\rasadhlp.dll
    72AA0000 S 00052000 N C:\WINDOWS\System32\mswsock.dll
    72B20000 S 00090000 N C:\WINDOWS\SYSTEM32\DNSAPI.dll
    72BF0000 S 00016000 N C:\WINDOWS\system32\NLAapi.dll
    72C10000 S 00029000 N C:\WINDOWS\SYSTEM32\ntmarta.dll
    72C40000 S 00024000 N C:\WINDOWS\SYSTEM32\dbgcore.DLL
    72C70000 S 0018F000 N C:\WINDOWS\SYSTEM32\dbghelp.dll
    72E50000 S 00023000 N C:\WINDOWS\SYSTEM32\WINMMBASE.dll
    72EF0000 S 00229000 N C:\WINDOWS\SYSTEM32\d3d11.dll
    73120000 S 000A4000 N C:\WINDOWS\SYSTEM32\dxgi.dll
    73290000 S 00033000 N C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
    732D0000 S 00008000 N C:\WINDOWS\SYSTEM32\VERSION.dll
    732E0000 S 00024000 N C:\WINDOWS\SYSTEM32\winmm.dll
    747A0000 S 0000A000 N C:\WINDOWS\System32\CRYPTBASE.dll
    747B0000 S 00020000 N C:\WINDOWS\System32\SspiCli.dll
    747D0000 S 00081000 N C:\WINDOWS\System32\clbcatq.dll
    74860000 S 0000E000 N C:\WINDOWS\System32\MSASN1.dll
    74970000 S 00199000 N C:\WINDOWS\System32\user32.dll
    74B10000 S 00007000 N C:\WINDOWS\System32\NSI.dll
    74B20000 S 00012000 N C:\WINDOWS\System32\CRYPTSP.dll
    74B40000 S 00089000 N C:\WINDOWS\System32\shcore.dll
    74D40000 S 0005F000 N C:\WINDOWS\System32\WS2_32.dll
    74DA0000 S 005FC000 N C:\WINDOWS\System32\windows.storage.dll
    753A0000 S 00278000 N C:\WINDOWS\System32\combase.dll
    75620000 S 0054E000 N C:\WINDOWS\System32\SHELL32.dll
    75B70000 S 00080000 N C:\WINDOWS\System32\msvcp_win.dll
    75C50000 S 000E0000 N C:\WINDOWS\System32\KERNEL32.DLL
    75D30000 S 00023000 N C:\WINDOWS\System32\GDI32.dll
    75E50000 S 000C0000 N C:\WINDOWS\System32\msvcrt.dll
    75F10000 S 000FC000 N C:\WINDOWS\System32\ole32.dll
    76010000 S 00019000 N C:\WINDOWS\System32\bcrypt.dll
    76030000 S 0003B000 N C:\WINDOWS\System32\cfgmgr32.dll
    760D0000 S 00017000 N C:\WINDOWS\System32\win32u.dll
    760F0000 S 00199000 N C:\WINDOWS\System32\CRYPT32.dll
    762A0000 S 00019000 N C:\WINDOWS\System32\imagehlp.dll
    762C0000 S 00062000 N C:\WINDOWS\System32\bcryptPrimitives.dll
    76330000 S 00079000 N C:\WINDOWS\System32\sechost.dll
    763B0000 S 000BF000 N C:\WINDOWS\System32\RPCRT4.dll
    76470000 S 0044B000 N C:\WINDOWS\System32\SETUPAPI.DLL
    768C0000 S 00045000 N C:\WINDOWS\System32\WINTRUST.DLL
    76910000 S 00166000 N C:\WINDOWS\System32\gdi32full.dll
    76A80000 S 0007E000 N C:\WINDOWS\System32\advapi32.dll
    76B00000 S 00096000 N C:\WINDOWS\System32\OLEAUT32.dll
    76BA0000 S 0000F000 N C:\WINDOWS\System32\kernel.appcore.dll
    76BB0000 S 00044000 N C:\WINDOWS\System32\shlwapi.dll
    76C00000 S 001FA000 N C:\WINDOWS\System32\KERNELBASE.dll
    76E00000 S 00054000 N C:\WINDOWS\System32\powrprof.dll
    76E60000 S 0013C000 N C:\WINDOWS\System32\MSCTF.dll
    76FA0000 S 00122000 N C:\WINDOWS\System32\ucrtbase.dll
    770D0000 S 00025000 N C:\WINDOWS\System32\IMM32.DLL
    77100000 S 00006000 N C:\WINDOWS\System32\PSAPI.DLL
    77110000 S 0001C000 N C:\WINDOWS\System32\profapi.dll
    77140000 S 0019C000 N C:\WINDOWS\SYSTEM32\ntdll.dll

    rwError: pluginID=00000000 errorCode=80000000
    [/noae]
    #5
    Quote from: kennedyarz on Jul 01, 2018, 03:54 AMIs it doing it in a server version 04rel006?
    it only works for that version I guess
    This is correct, since it was a client update I thought it would work on any version but apparently I was wrong. Thanks kennedyarz, solved and locked.
    #6
    Reproducible
    Always

    What you were doing when the bug happened
    Testing this new setting, I've got the message telling me the value applied, but no visible effect. F9 key neither has effect nor I get any message at all.
    #7
    Reproducible
    Always

    What you were doing when the bug happened
    I tried setting 2,147,483,647 as cash and noticed the hud shows just 999,999,999, if however I were to set the same amount + 1 (and thus beyond the limit) it will shows all the figures including the minus. Despite the hud, getting the cash from the player showed the correct amount I've set.

    What you think caused the bug
    Perhaps default game behaviour, since it's unlikely anybody would ever reach such amount.
    #8
    EDIT: Not sure why the image can't be enlarged directly, so please use right click -> Open image in a new tab to read.

    #9
    Support / Re: Tried everything
    Jun 27, 2018, 03:28 AM
    I had the exact same issue. Get the DDraw component from this page and put it in your game folder, works like a charm ;)

    https://gtaforums.com/topic/669045-silentpatch/
    #10
    Support / Re: Help spanish
    Feb 09, 2018, 03:06 AM
    Clicky!

    Download this file and put it in your game folder, It will fix the following error:

    QuoteGTA III/GTA VC DDraw Component: (last update: 29.06.2015)

    Cannot find enough available video memory error showing on some computers has been removed
    #11


    ...

    You need to paste that code in a file and name that file objects.xml, then place that file inside store/objects/ subfolder of your server.
    #12
    objects.xml
    <?xml version="1.0" encoding="ASCII"?>
    <objectlist>
    <object id="0">
    <model path="billboard.dff" distance="300" />
    <texture path="billboard.txd" />
    <collision type="none" />
    <flags value="0" />
    </object>
    </objectlist>
    #13
    Object Showroom / [Custom Object] Billboard
    Dec 07, 2017, 08:47 AM
    Content type: Object
    Original author: R*
    Modifications: Extracted from VC files and replaced a texture.
    Modified by: me (PunkNoodle)



    A simple billboard that can be used as a base for any image to be added in game, the ratio is roughly 3:1 make sure your image matches that ratio, else stretching can occur.
    If you want to use your own image, replace the one inside the TXD file and save. To view the TXD file you can use any of these programs below:

    Magic TXD (recommended)
    TXD Workshop 5.0

    Content screenshots:


    If anyone needs it I attach a transparent image below which can be used as a template.


    For any question, issues about installation, or anything, feel free to reply in this thread. Maybe not, don't.
    #14
    Quote from: PunkNoodle on Dec 06, 2017, 10:44 PM
    *Bump*
    I can't log in anymore, after I click on the Login button nothing happens. using Google Chrome if it helps.

    @Thijn
    Ignore it, it was me using wrong credentials to access :-[

    Can't we have maybe an error message in the future? :-X
    #15
    *Bump*
    I can't log in anymore, after I click on the Login button nothing happens. using Google Chrome if it helps.

    @Thijn