Page 1 of 1

Code Vein Item Swapping

Posted: Wed Oct 02, 2019 7:14 pm
by pox911
For this tutorial we will need the cheat table posted here and the console injected from [Link]


Follow the steps on the Universal Unreal Engine 4 Console Injector and get it attached to your instance of Code Vein

Hit Control + /. The console injector will dump a list of objects from the game in a text file where you have the code vein main exe.

Image

Open the object dump in your favorite text editor.

Attach the CE table and enable the 'Currently Highlighted' code of your choice. In this example we will swap a weapon.

Image

Image

Copy the weapon pointer value and do a search for it in the object dump text file.

Image

The red underlined section is the weapon's base internal name. The blue underlined section is the object class. Anything sharing the same object class can be swapped for no problem.

You would search the list for an item you want. In this case the cheat sword will be used.

Image

All you have to do is copy the address value before WeaponArticleBase and paste that into the weapon pointer code. When you refresh the menu you will notice the weapon has been swapped successfully.

Image

Re: Code Vein Item Swapping

Posted: Thu Oct 03, 2019 9:38 am
by SunBeam
Can help write an iterator based on FNames/GUObjects that'd loop all available and extract only those of Class - say - "WeaponArticleBase" from the current initialized pool (won't work for UObjects that were not initialized or loaded into your current map; that would imply parsing/serializing Packages and forcefully instantiate UObjects that don't belong in that map; which might lead to crashes).

Re: Code Vein Item Swapping

Posted: Sun Oct 06, 2019 8:55 pm
by TemptingIcarus
Bumping this for further research for Item Swapping/Code Swaps.

Re: Code Vein Item Swapping

Posted: Mon Oct 07, 2019 4:21 pm
by PesVasys
I need to find the Moss-covered key's ID/name in ObjectsDump.txt. Due to a bug, my key was used, but the water level did not drop, the lever did not work, there was not even an animation of use. I don’t want to go through again until this moment, I can’t get the key from the fat man with the sword again, so I want to resort to Item Swap to get this key

Re: Code Vein Item Swapping

Posted: Fri Oct 18, 2019 1:09 pm
by mankubusik
How can i swap armor or weapons appearance to each other without changing its stats?

Re: Code Vein Item Swapping

Posted: Mon Nov 18, 2019 11:00 pm
by demorest
Game closing after u try to swap weapon ids. Its show up changed weapon for 1 sec, then closing game :(

Re: Code Vein Item Swapping

Posted: Fri Nov 22, 2019 12:41 am
by Necrosx
demorest wrote:
Mon Nov 18, 2019 11:00 pm
Game closing after u try to swap weapon ids. Its show up changed weapon for 1 sec, then closing game :(
Sound like you're probably not generating the ID's during that play session. Every time you open the game the ID's change, so you need to generate them again or else it's going to crash on you.

Re: Code Vein Item Swapping

Posted: Fri Nov 22, 2019 2:26 am
by demorest
Necrosx wrote:
Fri Nov 22, 2019 12:41 am
demorest wrote:
Mon Nov 18, 2019 11:00 pm
Game closing after u try to swap weapon ids. Its show up changed weapon for 1 sec, then closing game :(
Sound like you're probably not generating the ID's during that play session. Every time you open the game the ID's change, so you need to generate them again or else it's going to crash on you.
Ill try. Ty for answer.

Re: Code Vein Item Swapping

Posted: Sun Oct 11, 2020 6:46 am
by The Black X
Is there any way to get the debug Blood code with this method? I'm assuming not...

Re: Code Vein Item Swapping

Posted: Tue Nov 10, 2020 8:42 am
by Blackhimaru
so im having an issue with this i try selecting the highlighted weapon spot like the instructions say but it wont check the box when right clicking it says

<<Error while scanning fot AOB's: CurWeapAOB Error: Not all results found>> ive tried running everything in admin and everything is up to date not sure what to do

Re: Code Vein Item Swapping

Posted: Mon Feb 01, 2021 2:32 am
by Kafua
out of date, no longer works. :(

Re: Code Vein Item Swapping

Posted: Thu Dec 14, 2023 6:44 am
by Tymon
Yeah. This just crashes the game now.