Jump to content

Looking for help recompiling the mod Clipboard


Recommended Posts

I realise you guys must be all completely busy with your own mods, but I was wondering if anyone had the time/patience/interest to help me recompile the dll for this mod.

I used to be able to search for certain hex strings in the decompiled fallout4.exe IDA code then slightly modify the f4se source code to suit, but apparently Bethesda are now using a completely different compiler and the entire structure has changed so it's no longer possible (I've spent many many hours trying different things).

 

There are five sub-routines and one pointer that need to be found -

<scale>
<_Enable_Native> (and accompanying qword_14xxxxxxx)
<_EffectShaderPlay>
<_Disable_Native>
<_EffectShaderStop>

Or better still, if anyone could convert the mod to use the f4se address library to make any future problems easier, that might be a better solution.

I'm NOT a programmer and honestly I don't have the intelligence/patience anymore to learn new stuff (I'm over 60 years old!!), but I'm willing to pay a reasonable fee out of my own pocket to anyone who can get Clipboard up and running again.

All C++ source code and recompileing/extraction instructions are freely available either from the CLipboard Resurrectio files page, or by PMing me.

 

Kind regards,

OldB@stard42 (...should be 64 lol).

Link to comment
Share on other sites

I probably won't recompile it but considering you have permission for this I can help with the offsets.

FunctionName		[AddressLibraryRelocationID] >> EXE + offset v1.10.980 | v1.10.984

Enable				[2201150] >> Fallout4.exe + 4C1690 | 4C16C0
Disable				[2204302] >> Fallout4.exe + 55FF30 | 55FF60
Play_EffectShader		[2205201] >> Fallout4.exe + 58DEC0 | 58DEF0
Stop_EffectShader		[2234097] >> Fallout4.exe + D2ED40 | D2F0D0

No payment needed. 🙂 

  • Thanks 2
Link to comment
Share on other sites

WOW!!  A milion thanks for that info - that's one massive step in the right direction for sure.  I'll start working on it straight away  👍

The only part missing now is the <SCALE> sub.  Would it be too rude to ask how you found those addresses?  I'm guessing it has some link to the F4SE Address Library mod?

 

HAH, I think I actually found it myself, here is the probable address in v1.10.984 -

scale                140[4AB660] Bytes: 40 53 48 83 EC 50 48 8B D9 0F 29 74 24 40 48 8B 89 E0 00 00 00 0f 28 F1 48 85 C9

The assembler output looks very similar to the <scale> code from 1.10.163.

....now if I can get it to compile I can finally test it 💃🥳

Link to comment
Share on other sites

You mean SetScale for ObjectReferences? Scale if Object Reference data, one can modify it without calling a native function. Native SetScale (the one registered in the Console) is different but that has more parameters (which are handled by native ParseParameters) then the scale task is queued.

The first parameter of the EffectShader functions should be ProcessLists ( [2688869] >> Fallout4.exe + 2E64C70 in v1.10.984, [1569706] >> Fallout4.exe + 58CEE98 in v1.10.163 ).

Link to comment
Share on other sites

So, for those playing along here are the addresses (I believe!) I found, and the corresponding bytes to search for :

v1.10.980 -

wmk_scale                1404AB630 - 40 53 48 83 EC 50 48 8B D9 0F 29 74 24 40 48 8B 89 E0 00 00 00 0f 28 F1 48 85 C9
wmk_Enable_Native        1404C1690 - 40 55 41 57 48 83 EC 58 8B 41 10 0F B6 EA C1 E8 0B 4C 8B F9 A8 01
                        wmk_qword_142E63C70
wmk_Disable_Native        14055FF30 - 48 89 6C 24 20 57 48 83 EC 20 48 8B F9 0F B6 EA
wmk_EffectShaderPlay    14058DEC0 - 48 89 5C 24 18 57 48 83 EC 30 80 7C 24 60 00 48 8B FA 0F 29 74 24 20 0F 28 F2
wmk_EffectShaderStop    140D2ED40 - 40 56 48 83 EC 40 48 89 7C 24 68 48 8D B1 30 01 00 00 4C 89 64 24 38 48 8B F9

v1.10.984 -

wmk_scale                1404AB660 - 40 53 48 83 EC 50 48 8B D9 0F 29 74 24 40 48 8B 89 E0 00 00 00 0f 28 F1 48 85 C9
wmk_Enable_Native        1404C16C0 - 40 55 41 57 48 83 EC 58 8B 41 10 0F B6 EA C1 E8 0B 4C 8B F9 A8 01
                        wmk_qword_142E64C70
wmk_Disable_Native        14055FF60 - 48 89 6C 24 20 57 48 83 EC 20 48 8B F9 0F B6 EA
wmk_EffectShaderPlay    14058DEF0 - 48 89 5C 24 18 57 48 83 EC 30 80 7C 24 60 00 48 8B FA 0F 29 74 24 20 0F 28 F2
wmk_EffectShaderStop    140D2F0D0 - 40 56 48 83 EC 40 48 89 7C 24 68 48 8D B1 30 01 00 00 4C 89 64 24 38 48 8B F9

 

If anyone manages to compile and test it in the meantime, please report your work/findings here as it's going to take me another week at least to get the stupid compiler to play ball 🙄

Regards.

Link to comment
Share on other sites

2 hours ago, LarannKiar said:

You mean SetScale for ObjectReferences? Scale if Object Reference data, one can modify it without calling a native function. Native SetScale (the one registered in the Console) is different but that has more parameters (which are handled by native ParseParameters) then the scale task is queued.

The first parameter of the EffectShader functions should be ProcessLists ( [2688869] >> Fallout4.exe + 2E64C70 in v1.10.984, [1569706] >> Fallout4.exe + 58CEE98 in v1.10.163 ).

I have no idea lol.  I first have to edit f4se's GameReferences.h and add the scale function in there -

delete -

238    UInt32                                        unk104;            // 104
239    UInt32                                        unk108;            // 108

and change it to -

238    UInt16                                        scale;                // 108 // WMK
239    UInt16                                        unk10A;               // 10A // WMK
240    UInt32                                        unk10C;               // 10C // WMK

..then add a new member to the structure -

    void IncRef() { handleRefObject.IncRef(); }
    void DecRef() { handleRefObject.DecRef(); }

    MEMBER_FN_PREFIX(TESObjectREFR);
    DEFINE_MEMBER_FN(SetScale, void, 0x00xxxxxx, float scale);            // WMK
    DEFINE_MEMBER_FN(GetReferenceName, const char *, 0x004BF380);

....and change that address to the one I found, ie DEFINE_MEMBER_FN(SetScale, void, 0x004AB660, float scale);

 

The address of the scale function in v1.10.163 was 1403F85B0, and the QWord was 1458CEE98  if that means anything to you.

 

I'm running with Intelligence 1, Idiot Savant level 4, and Luck 10+ here 🤣

Link to comment
Share on other sites

The addresses you've found seem good to me. You need to add SetScale as a member function. Select the one for the target game version.

DEFINE_MEMBER_FN(SetScale, void, 0x03F85B0, float scale);		// SetScale	v1.10.163

DEFINE_MEMBER_FN(SetScale, void, 0x04AB630, float scale);		// SetScale	v1.10.980

DEFINE_MEMBER_FN(SetScale, void, 0x04AB660, float scale);		// SetScale	v1.10.984

 

For qword_1458CEE98:

1458CEE98	v1.10.163, ProcessLists

142E63C70	v1.10.980, ProcessLists

142E64C70	v1.10.984, ProcessLists

 

  • Like 1
Link to comment
Share on other sites

Having real problems compiling f4se with Visual Studio 2022 - anyone know why it keeps complaining about the common folder? - Solved

               Solution:  Moved ALL files from ..\common\common to ..\common, removed the common_vc11 project then re-added it from the ..\common folder instead

 

Still having mass problems getting CLipboard to compile.

There are now only 4 "projects" in the "solution" -

image.png.9b3d66aa0d221fca6f15619d386f3f57.png

 

All compile without errors apart from clipboard itself which spits out 37 errors -

Rebuild started at 10:36...
1>------ Rebuild All started: Project: common_vc11, Configuration: Release x64 ------
2>------ Rebuild All started: Project: f4se_common, Configuration: Release x64 ------
3>------ Rebuild All started: Project: f4se, Configuration: Release x64 ------
1>IBufferStream.cpp
2>BranchTrampoline.cpp
3>bhkWorld.cpp
3>BSCollision.cpp
3>BSGeometry.cpp
3>BSGraphics.cpp
3>BSLight.cpp
3>BSModelDB.cpp
3>BSParticleShaderEmitter.cpp
3>BSSkin.cpp
3>CustomMenu.cpp
3>GameCamera.cpp
3>GameData.cpp
3>f4se.cpp
3>GameAPI.cpp
3>GameEvents.cpp
3>GameExtraData.cpp
3>GameFormComponents.cpp
1>IDataStream.cpp
2>Relocation.cpp
3>GameForms.cpp
3>GameHandle.cpp
3>GameInput.cpp
2>SafeWrite.cpp
3>GameMemory.cpp
3>GameMenus.cpp
3>GameMessages.cpp
3>GameObjects.cpp
3>GameReferences.cpp
1>IDebugLog.cpp
3>GameRTTI.cpp
3>GameSettings.cpp
3>GameStreams.cpp
3>GameCustomization.cpp
3>GameThreads.cpp
3>GameTypes.cpp
3>GameUtilities.cpp
3>GameWorkshop.cpp
3>Hooks_Camera.cpp
2>Utilities.cpp
3>Hooks_Debug.cpp
3>Hooks_Gameplay.cpp
3>Hooks_Input.cpp
3>Hooks_Memory.cpp
3>Hooks_ObScript.cpp
3>Hooks_Papyrus.cpp
3>Hooks_SaveLoad.cpp
3>Hooks_Scaleform.cpp
3>Hooks_GameData.cpp
3>Hooks_Threads.cpp
3>InputMap.cpp
3>InternalSerialization.cpp
1>IDirectoryIterator.cpp
3>NiExtraData.cpp
3>NiMaterials.cpp
3>NiNodes.cpp
2>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\f4se_common\Utilities.cpp(105,6): warning C4996: 'GetVersionExA': was declared deprecated
3>NiObjects.cpp
3>NiProperties.cpp
3>NiRTTI.cpp
1>IErrors.cpp
3>NiSerialization.cpp
3>NiTextures.cpp
3>NiTypes.cpp
3>ObScript.cpp
3>PapyrusActor.cpp
3>PapyrusActorBase.cpp
3>PapyrusArgs.cpp
2>f4se_common.vcxproj -> D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\x64\Release\f4se_common.lib
2>Done building project "f4se_common.vcxproj".
3>PapyrusArmor.cpp
3>PapyrusArmorAddon.cpp
3>PapyrusCell.cpp
3>PapyrusComponent.cpp
3>PapyrusConstructibleObject.cpp
3>PapyrusDefaultObject.cpp
3>PapyrusDelayFunctors.cpp
3>PapyrusEncounterZone.cpp
1>IEvent.cpp
3>PapyrusEquipSlot.cpp
3>PapyrusEvents.cpp
3>PapyrusF4SE.cpp
3>PapyrusFavoritesManager.cpp
3>PapyrusForm.cpp
3>PapyrusGame.cpp
3>PapyrusHeadPart.cpp
3>PapyrusInput.cpp
3>PapyrusInstanceData.cpp
3>PapyrusInterfaces.cpp
3>PapyrusLocation.cpp
3>PapyrusMaterialSwap.cpp
3>PapyrusMath.cpp
3>PapyrusMiscObject.cpp
1>IFileStream.cpp
3>PapyrusNativeFunctions.cpp
3>PapyrusObjectMod.cpp
3>PapyrusObjectReference.cpp
3>PapyrusObjects.cpp
3>PapyrusPerk.cpp
3>PapyrusScaleformAdapter.cpp
3>PapyrusScriptObject.cpp
3>PapyrusSerialization.cpp
3>PapyrusStruct.cpp
3>PapyrusUI.cpp
3>PapyrusUtilities.cpp
3>PapyrusUtility.cpp
3>PapyrusValue.cpp
1>IInterlockedLong.cpp
3>PapyrusVM.cpp
3>PapyrusWaterType.cpp
3>PapyrusWeapon.cpp
3>PluginManager.cpp
3>ScaleformAPI.cpp
3>ScaleformCallbacks.cpp
3>ScaleformLoader.cpp
3>ScaleformMovie.cpp
3>ScaleformSerialization.cpp
3>ScaleformState.cpp
3>ScaleformTranslator.cpp
3>ScaleformTypes.cpp
3>ScaleformValue.cpp
1>IMutex.cpp
3>Serialization.cpp
3>Translation.cpp
1>IPrefix.cpp
1>ISegmentStream.cpp
1>ISingleton.cpp
3>f4se.vcxproj -> D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\x64\Release\f4se_1_10_163.lib
1>ITimer.cpp
1>ITypes.cpp
1>common_vc11.vcxproj -> D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\x64_vc11\Release\common_vc11.lib
4>------ Rebuild All started: Project: clipboard, Configuration: Release x64 ------
4>main.cpp
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(292,22): error C2664: 'DWORD GetPrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,DWORD,LPCWSTR)': cannot convert argument 1 from 'const char *' to 'LPCWSTR'
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(292,46):
4>Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or parenthesized function-style cast
4>D:\Windows Kits\10\Include\10.0.22621.0\um\winbase.h(4743,1):
4>see declaration of 'GetPrivateProfileStringW'
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(292,22):
4>while trying to match the argument list '(const char *, const char *, const char *, char [256], size_t, const _Elem *)'
4>        with
4>        [
4>            _Elem=char
4>        ]
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(306,22): error C2664: 'DWORD GetPrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,DWORD,LPCWSTR)': cannot convert argument 1 from 'const char *' to 'LPCWSTR'
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(306,46):
4>Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or parenthesized function-style cast
4>D:\Windows Kits\10\Include\10.0.22621.0\um\winbase.h(4743,1):
4>see declaration of 'GetPrivateProfileStringW'
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(306,22):
4>while trying to match the argument list '(const char *, const char *, const _Elem *, char [256], size_t, const _Elem *)'
4>        with
4>        [
4>            _Elem=char
4>        ]
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(603,33): error C2664: 'TESObjectREFR *GetObjectAtConnectPoint(const TESObjectREFR &,NiPoint3 &,const bhkWorld &,float)': cannot convert argument 1 from 'TESObjectREFR *' to 'const TESObjectREFR &'
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(603,57):
4>Reason: cannot convert from 'TESObjectREFR *' to 'const TESObjectREFR'
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(603,57):
4>'TESObjectREFR::TESObjectREFR': no overloaded function could convert all the argument types
4>    D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\f4se\GameReferences.h(251,1):
4>    could be 'TESObjectREFR::TESObjectREFR(TESObjectREFR &&)'
4>        D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(603,57):
4>        'TESObjectREFR::TESObjectREFR(TESObjectREFR &&)': cannot convert argument 1 from 'TESObjectREFR *' to 'TESObjectREFR &&'
4>            D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(603,57):
4>            Reason: cannot convert from 'TESObjectREFR *' to 'TESObjectREFR'
4>            D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(603,57):
4>            Conversion requires a second user-defined-conversion operator or constructor
4>    D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\f4se\GameReferences.h(251,1):
4>    or       'TESObjectREFR::TESObjectREFR(const TESObjectREFR &)'
4>        D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(603,57):
4>        'TESObjectREFR::TESObjectREFR(const TESObjectREFR &)': cannot convert argument 1 from 'TESObjectREFR *' to 'const TESObjectREFR &'
4>            D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(603,57):
4>            Reason: cannot convert from 'TESObjectREFR *' to 'const TESObjectREFR'
4>            D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(603,57):
4>            Conversion requires a second user-defined-conversion operator or constructor
4>    D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(603,57):
4>    while trying to match the argument list '(TESObjectREFR *)'
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\f4se\GameWorkshop.h(115,17):
4>see declaration of 'GetObjectAtConnectPoint'
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(603,33):
4>while trying to match the argument list '(TESObjectREFR *, NiPoint3 *, bhkWorld *, float)'
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(607,7): error C3861: 'LinkPower_Internal': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(608,7): error C3861: 'LinkPower2_Internal': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(619,2): error C3861: 'LinkPower2_Internal': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(769,2): error C2065: 'LocationData': undeclared identifier
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(769,15): error C2146: syntax error: missing ';' before identifier 'locData'
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(769,15): error C3861: 'locData': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(770,20): error C2065: 'locData': undeclared identifier
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(770,2): error C3861: 'FinalizeWireLink': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(771,2): error C3861: 'SetWireEndpoints_Internal': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(778,2): error C3861: 'LinkPower3_Internal': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(779,2): error C3861: 'LinkPower_Internal': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(780,2): error C3861: 'LinkPower2_Internal': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(781,2): error C3861: 'LinkPower2_Internal': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(782,2): error C3861: 'LinkPower4_Internal': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(1393,2): error C2065: 'LocationData': undeclared identifier
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(1393,15): error C2146: syntax error: missing ';' before identifier 'locData'
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(1393,15): error C3861: 'locData': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(1420,28): error C2065: 'locData': undeclared identifier
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(1420,10): error C3861: 'FinalizeWireLink': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(2744,2): error C2065: 'LocationData': undeclared identifier
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(2744,15): error C2146: syntax error: missing ';' before identifier 'locData'
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(2744,15): error C3861: 'locData': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(2762,25): error C2065: 'locData': undeclared identifier
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(2762,9): error C3861: 'ScrapReference': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(2771,20): error C2065: 'locData': undeclared identifier
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(2771,4): error C3861: 'ScrapReference': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(2789,2): error C2065: 'LocationData': undeclared identifier
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(2789,15): error C2146: syntax error: missing ';' before identifier 'locData'
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(2789,15): error C3861: 'locData': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(2806,25): error C2065: 'locData': undeclared identifier
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(2806,9): error C3861: 'ScrapReference': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(2817,20): error C2065: 'locData': undeclared identifier
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(2817,4): error C3861: 'ScrapReference': identifier not found
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(3263,4): error C2664: 'int MessageBoxW(HWND,LPCWSTR,LPCWSTR,UINT)': cannot convert argument 2 from 'char [512]' to 'LPCWSTR'
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(3263,21):
4>Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or parenthesized function-style cast
4>D:\Windows Kits\10\Include\10.0.22621.0\um\winuser.h(9180,1):
4>see declaration of 'MessageBoxW'
4>D:\Clipboard\F4SE Versions\f4se_0_07_2b\f4se\clipboard\main.cpp(3263,4):
4>while trying to match the argument list '(int, char [512], const char [19], long)'
4>Done building project "clipboard.vcxproj" -- FAILED.
========== Rebuild All: 3 succeeded, 1 failed, 0 skipped ==========
========== Rebuild completed at 10:36 and took 11,440 seconds ==========

 

So I'm now completely stumped.

 

Here's a link to the entire build folder in the hopes that someone with experience and patience can point me in the right direction.  Regards.

 

 

Link to comment
Share on other sites

OK, got a little closer overnight - a lot of errors were caused by having the wrong settings in Visual Studio.

The LPCWSTR errors were being caused by the setting Character Set, found in Project properties (right click) -> Configuration Properties -> Advanced -> Character Set - change to "not set".  Do this for all other projects.

I also finally noticed (doh!) that the resultant f4se library was being named f4se_1_10_163.lib instead of simple f4se.lib - maybe that's why I'm seeing so many other errors  🙄.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...