top-forums-archive

Help with 2022 DX9 files

Category: Source Help URL: https://pkodev.com/threads/help-with-2022-dx9-files.135/ Posts: 56


Original Post

Author: iamkennd
Date: 2026-02-19

Hello guys, i’m sorry for this question but i’m newbie in Tales of pirates dev world. So i would like to know how can i build files and configure on SQL, I’ve watched several videos, but there are always errors when building, I haven’t even gotten to the SQL part yet.

		{
			"lightbox_close": "Close",
			"lightbox_next": "Next",
			"lightbox_previous": "Previous",
			"lightbox_error": "The requested content cannot be loaded. Please try again later.",
			"lightbox_start_slideshow": "Start slideshow",
			"lightbox_stop_slideshow": "Stop slideshow",
			"lightbox_full_screen": "Full screen",
			"lightbox_thumbnails": "Thumbnails",
			"lightbox_download": "Download",
			"lightbox_share": "Share",
			"lightbox_zoom": "Zoom",
			"lightbox_new_window": "New window",
			"lightbox_toggle_sidebar": "Toggle sidebar"
		}
		
	![1771524834169.webp](https://pkodev.com/attachments/1771524834169-webp.119/)

ERROR:

A construção começou em 00:37…

1>—— Compilação iniciada: Projeto: Common, Configuração: Long_Struct_Release Win32 ——

2>—— Compilação iniciada: Projeto: MindPower3D, Configuração: Release Win32 ——

3>—— Compilação iniciada: Projeto: Game, Configuração: Release Win32 ——

2>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

2>stdafx.cpp

2>\src\stdafx.cpp(1,1): error C1083: Não é possível abrir arquivo fonte: ‘..\src\stdafx.cpp’: No such file or directory

2>(compilando o arquivo fonte ‘/src/stdafx.cpp’)

2>Projeto de compilação pronto “MindPower3D.vcxproj” – FALHA.

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>stdafx.cpp

1>Common.vcxproj -> D:\Arquivos Monthanna\TalesOfPirateDX9-main\sources\CommonLibs\common\lib\Common.lib

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>Actor.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>Algo.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>AppScript.cpp

3>ArcTrack.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>AudioThread.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>AutoAttack.cpp

3>CameraCtrl.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>Character.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>CharacterAction.cpp

3>CharacterModel.cpp

3>ChaScript.cpp

3>ChaState.cpp

3>ChatRecord.cpp

3>CRCircle.cpp

3>CRCursor.cpp

3>CRCursorObj.cpp

3>CreateChaScene.cpp

3>d3des.cpp

3>DrawPointList.cpp

3>DSoundInstance.cpp

3>DSoundManager.cpp

3>EffDelay.cpp

3>EffectObj.cpp

3>Event.cpp

3>FindPath.cpp

3>FrndInviteFormMgr.cpp

3>GameAppFrameMove.cpp

3>GameAppInit.cpp

3>GameAppInterface.cpp

3>GameAppMsg.cpp

3>GameAppNet.cpp

3>GameAppRender.cpp

3>GameConfig.cpp

3>GameLoading.cpp

3>GameMovie.cpp

3>GameWG.cpp

3>GlobalVar.cpp

3>————-Primitive Culling Opened————-

3>GuildData.cpp

3>GuildListData.cpp

3>GuildListMgr.cpp

3>GuildMemberData.cpp

3>GuildMembersMgr.cpp

3>HairTool.cpp

3>HMAttack.cpp

3>HMManage.cpp

3>HMSynchroObj.cpp

3>IsSkillUse.cpp

3>ItemLit.cpp

3>ItemLitAnim.cpp

3>Language.cpp

3>LitLoad.cpp

3>LoginScene.cpp

3>LootFilter.cpp

3>lua_platform.cpp

3>Main.cpp

3>MouseDown.cpp

3>MPEditor.cpp

3>MusicThread.cpp

3>NetChat.cpp

3>NetGuild.cpp

3>NetIF.cpp

3>NetPkChat.cpp

3>NetPkGuild.cpp

3>NetProtocol.cpp

3>NPCHelper.cpp

3>PacketCmd_CS.cpp

3>PacketCmd_SC.cpp

3>PackFile.cpp

3>ProCirculateCC.cpp

3>ProCirculateCS.cpp

3>RecruitMemberData.cpp

3>RecruitMembersMgr.cpp

3>RenderStateMgr.cpp

3>Scene.cpp

3>SceneArea.cpp

3>SceneCreateNode.cpp

3>SceneFrameMove.cpp

3>SceneItem.cpp

3>SceneLight.cpp

3>SceneMsg.cpp

3>SceneNode.cpp

3>SceneObj.cpp

3>SceneObjFile.cpp

3>SceneRender.cpp

3>SceneScript.cpp

3>SceneSign.cpp

3>Script.cpp

3>SelectChaScene.cpp

3>ShipFactory.cpp

3>SMallMap.cpp

3>SoundCommon.cpp

3>state_reading.cpp

3>STAttack.cpp

3>SteadyFrame.cpp

3>STMove.cpp

3>STNpcTalk.cpp

3>STPose.cpp

3>STReadyDie.cpp

3>STSeat.cpp

3>STStateObj.cpp

3>TalkSessionFormMgr.cpp

3>TeamInviteFormMgr.cpp

3>TestDemo.cpp

3>ThreadBase.cpp

3>Tools.cpp

3>UI3DCompent.cpp

3>UIBankForm.cpp

3>UIBoatForm.cpp

3>UIBoothForm.cpp

3>UIBourseForm.cpp

3>UIBoxForm.cpp

3>UIBreakForm.cpp

3>UIChat.cpp

3>UICheckBox.cpp

3>UICheckBoxItem.cpp

3>UIChurchChallenge.cpp

3>UICloneForm.cpp

3>UICombo.cpp

3>UICommand.cpp

3>UICommandCompent.cpp

3>UICompent.cpp

3>UIComposeForm.cpp

3>UICookingForm.cpp

3>UICozeForm.cpp

3>UICursor.cpp

3>UIDoublePwdForm.cpp

3>UIDragTitle.cpp

3>UIEdit.cpp

3>UIEditData.cpp

3>UIEditKey.cpp

3>UIEditor.cpp

3>UIEditStrategy.cpp

3>UIEquipForm.cpp

3>UIFastCommand.cpp

3>UIFindTeamForm.cpp

3>UIFont.cpp

3>UIForgeForm.cpp

3>UIForm.cpp

3>UIFormMgr.cpp

3>UIFoundForm.cpp

3>UIGlobalVar.cpp

3>UIGoodsGrid.cpp

3>UIGraph.cpp

3>UIGrid.cpp

3>UIGuiData.cpp

3>UIGuildApply.cpp

3>UIGuildBankForm.cpp

3>UIGuildChallengeForm.cpp

3>UIGuildList.cpp

3>UIGuildMgr.cpp

3>UIHaircutForm.cpp

3>UIHeadSay.cpp

3>UIHelpInfoForm.cpp

3>UIImage.cpp

3>UIImeInput.cpp

3>UIItem.cpp

3>UIItemCommand.cpp

3>UILabel.cpp

3>UIList.cpp

3>UIListView.cpp

3>UIMailForm.cpp

3>UIMakeEquipForm.cpp

3>UIMemo.cpp

3>UIMenu.cpp

3>UIMinimapForm.cpp

3>UIMisLogForm.cpp

3>UIMissionForm.cpp

3>UINpcTalkForm.cpp

3>UINpcTradeForm.cpp

3>UINumAnswer.cpp

3>UIPage.cpp

3>UIPicList.cpp

3>UIPicture.cpp

3>UIPKDialog.cpp

3>UIPKSilverForm.cpp

3>UIProgressBar.cpp

3>UIPurifyForm.cpp

3>UIRender.cpp

3>UIRichEdit.cpp

3>UIScript.cpp

3>UIScroll.cpp

3>UISkillCommand.cpp

3>UISkillList.cpp

3>UISpiritForm.cpp

3>UIStartForm.cpp

3>UIStateForm.cpp

3>UIStoreForm.cpp

3>UISystemForm.cpp

3>UITeam.cpp

3>UITextButton.cpp

3>UITextParse.cpp

3>UITitle.cpp

3>UITradeForm.cpp

3>UITreeView.cpp

3>WorldScene.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>Connection.cpp

3>LINK : warning LNK4075: ignorando ‘/INCREMENTAL’ devido a especificação ‘/OPT:REF’

3>LINK : fatal error LNK1181: não foi possível abrir o arquivo de entrada ‘AudioSDL.lib’

3>Projeto de compilação pronto “kop.vcxproj” – FALHA.

========== Compilação: 1 bem-sucedida, 2 com falha, 6 atualizada, 0 ignorada ==========

========== Compilação concluído às 00:38 e levou 01:05,123 minutos ==========

MY VS CONFIGURATIONS:

	![1771524962988.webp](https://pkodev.com/attachments/1771524962988-webp.122/)
	![1771524961077.webp](https://pkodev.com/attachments/1771524961077-webp.121/)

Reply #1

zLuke — 2026-02-20

		fatal error LNK1181: não foi possível abrir o arquivo de entrada 'AudioSDL.lib'
	
	
	Click to expand...

Reply #2

ZkaRu — 2026-02-20

u need to open the “talesofpirates.sln”, thats why vs cant find some libs.


Reply #3

iamkennd — 2026-02-20

			[ZkaRu said:](/goto/post?id=240)
		
	


	
	
	
		u need to open the "talesofpirates.sln", thats why vs cant find some libs.
	
	
	Click to expand...

Reply #4

zLuke — 2026-02-20

  1. Click the Solution “talesofpirates”. Clean solution

  2. Open the Libraries and Lua folders in the Solution Explorer

  3. Build each project separately. Click on each project in order and click on build

If all the projects from Libraries and Lua are compiled without errors, then proceed to MindPower, Client and Server Project.

If there is a build error in one of the projects, I will post the error here.


Reply #5

iamkennd — 2026-02-20

			[zLuke said:](/goto/post?id=246)
		
	


	
	
	
		1. Click the Solution "talesofpirates". Clean solution
  1. Open the Libraries and Lua folders in the Solution Explorer

  2. Build each project separately. Click on each project in order and click on build

If all the projects from Libraries and Lua are compiled without errors, then proceed to MindPower, Client and Server Project.

If there is a build error in one of the projects, I will post the error here.

	Click to expand...

Reply #6

iamkennd — 2026-02-20

Success to AudioSDL, no fail.

But when i built Common i got this:

	![1771617529962.webp](https://pkodev.com/attachments/1771617529962-webp.139/)

Should i keep trying to build the others?

@zLuke


Reply #7

zLuke — 2026-02-20

Skip Common, build next project


Reply #8

iamkennd — 2026-02-20

Got this on building CaLua:

		Build started at 17:09...

1>—— Build started: Project: lualib, Configuration: Static Library Win32 ——

1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(538,5): warning MSB8028: The intermediate directory (.\obj) contains files shared from another project (lua50.vcxproj). This can lead to incorrect clean and rebuild behavior.

1>lauxlib.c

1>lbaselib.c

1>ldblib.c

1>liolib.c

1>\lib\lauxlib.c(1,1): error C1083: Cannot open source file: ‘lib\lauxlib.c’: No such file or directory

1>(compiling source file ‘/lib/lauxlib.c’)

1>\lib\lbaselib.c(1,1): error C1083: Cannot open source file: ‘lib\lbaselib.c’: No such file or directory

1>(compiling source file ‘/lib/lbaselib.c’)

1>\lib\ldblib.c(1,1): error C1083: Cannot open source file: ‘lib\ldblib.c’: No such file or directory

1>(compiling source file ‘/lib/ldblib.c’)

1>\lib\liolib.c(1,1): error C1083: Cannot open source file: ‘lib\liolib.c’: No such file or directory

1>(compiling source file ‘/lib/liolib.c’)

1>lmathlib.c

1>\lib\lmathlib.c(1,1): error C1083: Cannot open source file: ‘lib\lmathlib.c’: No such file or directory

1>(compiling source file ‘/lib/lmathlib.c’)

1>loadlib.c

1>\lib\loadlib.c(1,1): error C1083: Cannot open source file: ‘lib\loadlib.c’: No such file or directory

1>(compiling source file ‘/lib/loadlib.c’)

1>lstrlib.c

1>\lib\lstrlib.c(1,1): error C1083: Cannot open source file: ‘lib\lstrlib.c’: No such file or directory

1>(compiling source file ‘/lib/lstrlib.c’)

1>ltablib.c

1>\lib\ltablib.c(1,1): error C1083: Cannot open source file: ‘lib\ltablib.c’: No such file or directory

1>(compiling source file ‘/lib/ltablib.c’)

1>Generating Code…

1>Done building project “lualib.vcxproj” – FAILED.

2>—— Build started: Project: CaLua, Configuration: Release Win32 ——

2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(538,5): warning MSB8028: The intermediate directory (.\obj) contains files shared from another project (lualib.vcxproj). This can lead to incorrect clean and rebuild behavior.

2>Done building project “lua50.vcxproj”.

2>LINK : fatal error LNK1181: cannot open input file ‘lualib.lib’

2>Done building project “CaLua.vcxproj” – FAILED.

========== Build: 0 succeeded, 2 failed, 1 up-to-date, 0 skipped ==========

========== Build completed at 17:09 and took 01,513 seconds ==========

	Click to expand...

Reply #9

zLuke — 2026-02-20

1771618759690.webp 1771618857158.webp

These files are located in the \sources\Libraries\CaLua\Lua\lib folder?

Are they visible in the project lualib?

Extract the archive in the attachment to the specified folder.


Reply #10

iamkennd — 2026-02-20

			[zLuke said:](/goto/post?id=251)
		
	


	
	
	
		[View attachment 141](https://pkodev.com/attachments/141/)[View attachment 142](https://pkodev.com/attachments/142/)

These files are located in the \sources\Libraries\CaLua\Lua\lib folder?

Are they visible in the project lualib?

	Click to expand...

Reply #11

zLuke — 2026-02-20

Use lib.zip from the message above


Reply #12

iamkennd — 2026-02-20

			[zLuke said:](/goto/post?id=253)
		
	


	
	
	
		Use lib.zip from the message above
	
	
	Click to expand...

Reply #13

zLuke — 2026-02-20

Rebuild common and try it Build MindPower and Client


Reply #14

zLuke — 2026-02-20

There should be an error related to lua51.lib when building the server.

	![1771619884720.webp](https://pkodev.com/attachments/1771619884720-webp.155/)

Reply #15

iamkennd — 2026-02-20

			[zLuke said:](/goto/post?id=255)
		
	


	
	
	
		Rebuild common and try it Build MindPower and Client
	
	
	Click to expand...

Reply #16

iamkennd — 2026-02-20

1771620101079.webp

So its everything ok?


Reply #17

zLuke — 2026-02-20

Download the original files from the repository and replace them. The files were broken when opened in VS2003.

					![github.com](https://opengraph.githubassets.com/c916c554ebd28467008e6d02997fb95dc6fc306a648d7561b4b8b6da2063536a/mothannakhzaleh/TalesOfPirateDX9)
		
		
			
				[
					TalesOfPirateDX9/sources/Engine/proj at main · mothannakhzaleh/TalesOfPirateDX9
				]()
			

			this repository contain tales of pirate source as 2022, and upraded to dx 9 - mothannakhzaleh/TalesOfPirateDX9

			
				
					
						![github.com](https://github.githubassets.com/favicons/favicon.svg)
				github.com

Reply #18

iamkennd — 2026-02-20

			[zLuke said:](/goto/post?id=259)
		
	


	
	
	
		Download the original files from the repository and replace them. The files were broken when opened in VS2003.

	
		
			
				
					![github.com](https://opengraph.githubassets.com/c916c554ebd28467008e6d02997fb95dc6fc306a648d7561b4b8b6da2063536a/mothannakhzaleh/TalesOfPirateDX9)
		
		
			
				[
					TalesOfPirateDX9/sources/Engine/proj at main · mothannakhzaleh/TalesOfPirateDX9
				]()
			

			this repository contain tales of pirate source as 2022, and upraded to dx 9 - mothannakhzaleh/TalesOfPirateDX9

			
				
					
						![github.com](https://github.githubassets.com/favicons/favicon.svg)
				github.com

Reply #19

iamkennd — 2026-02-20

			[zLuke said:](/goto/post?id=259)
		
	


	
	
	
		Download the original files from the repository and replace them. The files were broken when opened in VS2003.

	
		
			
				
					![github.com](https://opengraph.githubassets.com/c916c554ebd28467008e6d02997fb95dc6fc306a648d7561b4b8b6da2063536a/mothannakhzaleh/TalesOfPirateDX9)
		
		
			
				[
					TalesOfPirateDX9/sources/Engine/proj at main · mothannakhzaleh/TalesOfPirateDX9
				]()
			

			this repository contain tales of pirate source as 2022, and upraded to dx 9 - mothannakhzaleh/TalesOfPirateDX9

			
				
					
						![github.com](https://github.githubassets.com/favicons/favicon.svg)
				github.com

Reply #20

iamkennd — 2026-02-19

Hello guys, i’m sorry for this question but i’m newbie in Tales of pirates dev world. So i would like to know how can i build files and configure on SQL, I’ve watched several videos, but there are always errors when building, I haven’t even gotten to the SQL part yet.

		{
			"lightbox_close": "Close",
			"lightbox_next": "Next",
			"lightbox_previous": "Previous",
			"lightbox_error": "The requested content cannot be loaded. Please try again later.",
			"lightbox_start_slideshow": "Start slideshow",
			"lightbox_stop_slideshow": "Stop slideshow",
			"lightbox_full_screen": "Full screen",
			"lightbox_thumbnails": "Thumbnails",
			"lightbox_download": "Download",
			"lightbox_share": "Share",
			"lightbox_zoom": "Zoom",
			"lightbox_new_window": "New window",
			"lightbox_toggle_sidebar": "Toggle sidebar"
		}
		
	![1771524834169.webp](https://pkodev.com/attachments/1771524834169-webp.119/)

ERROR:

A construção começou em 00:37…

1>—— Compilação iniciada: Projeto: Common, Configuração: Long_Struct_Release Win32 ——

2>—— Compilação iniciada: Projeto: MindPower3D, Configuração: Release Win32 ——

3>—— Compilação iniciada: Projeto: Game, Configuração: Release Win32 ——

2>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

2>stdafx.cpp

2>\src\stdafx.cpp(1,1): error C1083: Não é possível abrir arquivo fonte: ‘..\src\stdafx.cpp’: No such file or directory

2>(compilando o arquivo fonte ‘/src/stdafx.cpp’)

2>Projeto de compilação pronto “MindPower3D.vcxproj” – FALHA.

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>stdafx.cpp

1>Common.vcxproj -> D:\Arquivos Monthanna\TalesOfPirateDX9-main\sources\CommonLibs\common\lib\Common.lib

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>Actor.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>Algo.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>AppScript.cpp

3>ArcTrack.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>AudioThread.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>AutoAttack.cpp

3>CameraCtrl.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>Character.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>CharacterAction.cpp

3>CharacterModel.cpp

3>ChaScript.cpp

3>ChaState.cpp

3>ChatRecord.cpp

3>CRCircle.cpp

3>CRCursor.cpp

3>CRCursorObj.cpp

3>CreateChaScene.cpp

3>d3des.cpp

3>DrawPointList.cpp

3>DSoundInstance.cpp

3>DSoundManager.cpp

3>EffDelay.cpp

3>EffectObj.cpp

3>Event.cpp

3>FindPath.cpp

3>FrndInviteFormMgr.cpp

3>GameAppFrameMove.cpp

3>GameAppInit.cpp

3>GameAppInterface.cpp

3>GameAppMsg.cpp

3>GameAppNet.cpp

3>GameAppRender.cpp

3>GameConfig.cpp

3>GameLoading.cpp

3>GameMovie.cpp

3>GameWG.cpp

3>GlobalVar.cpp

3>————-Primitive Culling Opened————-

3>GuildData.cpp

3>GuildListData.cpp

3>GuildListMgr.cpp

3>GuildMemberData.cpp

3>GuildMembersMgr.cpp

3>HairTool.cpp

3>HMAttack.cpp

3>HMManage.cpp

3>HMSynchroObj.cpp

3>IsSkillUse.cpp

3>ItemLit.cpp

3>ItemLitAnim.cpp

3>Language.cpp

3>LitLoad.cpp

3>LoginScene.cpp

3>LootFilter.cpp

3>lua_platform.cpp

3>Main.cpp

3>MouseDown.cpp

3>MPEditor.cpp

3>MusicThread.cpp

3>NetChat.cpp

3>NetGuild.cpp

3>NetIF.cpp

3>NetPkChat.cpp

3>NetPkGuild.cpp

3>NetProtocol.cpp

3>NPCHelper.cpp

3>PacketCmd_CS.cpp

3>PacketCmd_SC.cpp

3>PackFile.cpp

3>ProCirculateCC.cpp

3>ProCirculateCS.cpp

3>RecruitMemberData.cpp

3>RecruitMembersMgr.cpp

3>RenderStateMgr.cpp

3>Scene.cpp

3>SceneArea.cpp

3>SceneCreateNode.cpp

3>SceneFrameMove.cpp

3>SceneItem.cpp

3>SceneLight.cpp

3>SceneMsg.cpp

3>SceneNode.cpp

3>SceneObj.cpp

3>SceneObjFile.cpp

3>SceneRender.cpp

3>SceneScript.cpp

3>SceneSign.cpp

3>Script.cpp

3>SelectChaScene.cpp

3>ShipFactory.cpp

3>SMallMap.cpp

3>SoundCommon.cpp

3>state_reading.cpp

3>STAttack.cpp

3>SteadyFrame.cpp

3>STMove.cpp

3>STNpcTalk.cpp

3>STPose.cpp

3>STReadyDie.cpp

3>STSeat.cpp

3>STStateObj.cpp

3>TalkSessionFormMgr.cpp

3>TeamInviteFormMgr.cpp

3>TestDemo.cpp

3>ThreadBase.cpp

3>Tools.cpp

3>UI3DCompent.cpp

3>UIBankForm.cpp

3>UIBoatForm.cpp

3>UIBoothForm.cpp

3>UIBourseForm.cpp

3>UIBoxForm.cpp

3>UIBreakForm.cpp

3>UIChat.cpp

3>UICheckBox.cpp

3>UICheckBoxItem.cpp

3>UIChurchChallenge.cpp

3>UICloneForm.cpp

3>UICombo.cpp

3>UICommand.cpp

3>UICommandCompent.cpp

3>UICompent.cpp

3>UIComposeForm.cpp

3>UICookingForm.cpp

3>UICozeForm.cpp

3>UICursor.cpp

3>UIDoublePwdForm.cpp

3>UIDragTitle.cpp

3>UIEdit.cpp

3>UIEditData.cpp

3>UIEditKey.cpp

3>UIEditor.cpp

3>UIEditStrategy.cpp

3>UIEquipForm.cpp

3>UIFastCommand.cpp

3>UIFindTeamForm.cpp

3>UIFont.cpp

3>UIForgeForm.cpp

3>UIForm.cpp

3>UIFormMgr.cpp

3>UIFoundForm.cpp

3>UIGlobalVar.cpp

3>UIGoodsGrid.cpp

3>UIGraph.cpp

3>UIGrid.cpp

3>UIGuiData.cpp

3>UIGuildApply.cpp

3>UIGuildBankForm.cpp

3>UIGuildChallengeForm.cpp

3>UIGuildList.cpp

3>UIGuildMgr.cpp

3>UIHaircutForm.cpp

3>UIHeadSay.cpp

3>UIHelpInfoForm.cpp

3>UIImage.cpp

3>UIImeInput.cpp

3>UIItem.cpp

3>UIItemCommand.cpp

3>UILabel.cpp

3>UIList.cpp

3>UIListView.cpp

3>UIMailForm.cpp

3>UIMakeEquipForm.cpp

3>UIMemo.cpp

3>UIMenu.cpp

3>UIMinimapForm.cpp

3>UIMisLogForm.cpp

3>UIMissionForm.cpp

3>UINpcTalkForm.cpp

3>UINpcTradeForm.cpp

3>UINumAnswer.cpp

3>UIPage.cpp

3>UIPicList.cpp

3>UIPicture.cpp

3>UIPKDialog.cpp

3>UIPKSilverForm.cpp

3>UIProgressBar.cpp

3>UIPurifyForm.cpp

3>UIRender.cpp

3>UIRichEdit.cpp

3>UIScript.cpp

3>UIScroll.cpp

3>UISkillCommand.cpp

3>UISkillList.cpp

3>UISpiritForm.cpp

3>UIStartForm.cpp

3>UIStateForm.cpp

3>UIStoreForm.cpp

3>UISystemForm.cpp

3>UITeam.cpp

3>UITextButton.cpp

3>UITextParse.cpp

3>UITitle.cpp

3>UITradeForm.cpp

3>UITreeView.cpp

3>WorldScene.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>Connection.cpp

3>LINK : warning LNK4075: ignorando ‘/INCREMENTAL’ devido a especificação ‘/OPT:REF’

3>LINK : fatal error LNK1181: não foi possível abrir o arquivo de entrada ‘AudioSDL.lib’

3>Projeto de compilação pronto “kop.vcxproj” – FALHA.

========== Compilação: 1 bem-sucedida, 2 com falha, 6 atualizada, 0 ignorada ==========

========== Compilação concluído às 00:38 e levou 01:05,123 minutos ==========

MY VS CONFIGURATIONS:

	![1771524962988.webp](https://pkodev.com/attachments/1771524962988-webp.122/)
	![1771524961077.webp](https://pkodev.com/attachments/1771524961077-webp.121/)

Reply #21

Mothanna — 2026-02-20

			[zLuke said:](/goto/post?id=259)
		
	


	
	
	
		Download the original files from the repository and replace them. The files were broken when opened in VS2003.

	
		
			
				
					![github.com](https://opengraph.githubassets.com/c916c554ebd28467008e6d02997fb95dc6fc306a648d7561b4b8b6da2063536a/mothannakhzaleh/TalesOfPirateDX9)
		
		
			
				[
					TalesOfPirateDX9/sources/Engine/proj at main · mothannakhzaleh/TalesOfPirateDX9
				]()
			

			this repository contain tales of pirate source as 2022, and upraded to dx 9 - mothannakhzaleh/TalesOfPirateDX9

			
				
					
						![github.com](https://github.githubassets.com/favicons/favicon.svg)
				github.com

Reply #22

iamkennd — 2026-02-20

			[Mothanna said:](/goto/post?id=265)
		
	


	
	
	
		u can edit gitignore and push to repo i merge it later
	
	
	Click to expand...

Reply #23

zLuke — 2026-02-20

Build only project cryptlib

Check if the cryptlib.lib file is present

	![1771622677782.webp](https://pkodev.com/attachments/1771622677782-webp.165/)

Check Properties project Common

The path should point to the folder containing the cryptlib.lib file

	![1771622822984.webp](https://pkodev.com/attachments/1771622822984-webp.166/)

Reply #24

iamkennd — 2026-02-20

			[zLuke said:](/goto/post?id=267)
		
	


	
	
	
		Build only project cryptlib

Check if the cryptlib.lib file is present View attachment 165

Check Properties project Common

The path should point to the folder containing the cryptlib.lib file View attachment 166

	Click to expand...

Reply #25

zLuke — 2026-02-20

Is there a cryptlib.lib file in the x64 folder?

	![1771623424206.webp](https://pkodev.com/attachments/1771623424206-webp.171/)

use this path in the common project settings.

	![1771623562292.webp](https://pkodev.com/attachments/1771623562292-webp.173/)

Reply #26

iamkennd — 2026-02-20

			[zLuke said:](/goto/post?id=269)
		
	


	
	
	
		Is there a cryptlib.lib file in the x64 folder? [View attachment 171](https://pkodev.com/attachments/171/)

use this path in the common project settings. View attachment 173

	Click to expand...

Reply #27

iamkennd — 2026-02-20

OHHHHHHH MY FCKING GODNESS.

I’M SO SORRY, BUT WHEN I EXTRACTED THE FILES AGAIN, I FORGOT TO CHANGE X64 TO X86 AND IT MAYBE BUGGED THE PATHs (?)

Should we keep doing as x64 and Debug?


Reply #28

iamkennd — 2026-02-20

I’m so sorry, let me clean everything and rebuild. Just moment brother


Reply #29

iamkennd — 2026-02-20

Ok @zLuke now is everything ok.

Next step is build this one?

	![1771624039653.webp](https://pkodev.com/attachments/1771624039653-webp.175/)

Reply #30

zLuke — 2026-02-20

Yes


Reply #31

iamkennd — 2026-02-20

			[zLuke said:](/goto/post?id=274)
		
	


	
	
	
		Yes
	
	
	Click to expand...

Reply #32

zLuke — 2026-02-20

Use files in zip arhive

	![1771624604597.webp](https://pkodev.com/attachments/1771624604597-webp.182/)

	![1771624530618.webp](https://pkodev.com/attachments/1771624530618-webp.180/)

Reply #33

iamkennd — 2026-02-21

Now its sucess.

Trying Game and then Server sources


Reply #34

iamkennd — 2026-02-21

1771625125372.webp


Reply #35

zLuke — 2026-02-21

1771625339261.webp 1771625351587.webp


Reply #36

zLuke — 2026-02-21

Check path in Client project properties

	![1771625564867.webp](https://pkodev.com/attachments/1771625564867-webp.192/)

Reply #37

iamkennd — 2026-02-21

			[zLuke said:](/goto/post?id=280)
		
	


	
	
	
		Check path in Client project properties [View attachment 192](https://pkodev.com/attachments/192/)
	
	
	Click to expand...

Reply #38

zLuke — 2026-02-21

zLuke

			Source Help
		
		[Post in thread 'Help with 2022 DX9 files'](/posts/279/)
	

	
		Feb 21, 2026

Reply #39

iamkennd — 2026-02-21

it was: D:\Arquivos Monthanna\TalesOfPirateDX9-main\sources\Libraries\Ipss\Ipss*

instead : D:\Arquivos Monthanna\TalesOfPirateDX9-main\sources\Libraries\Ipss*

Let me try again


Reply #40

iamkennd — 2026-02-21

			[zLuke said:](/goto/post?id=282)
		
	


	
	
	
		



	
		![zLuke](/data/avatars/s/0/81.jpg?1771721305)


	
		
			Source Help
		
		[Post in thread 'Help with 2022 DX9 files'](/posts/279/)
	

	
		Feb 21, 2026

Reply #41

iamkennd — 2026-02-19

Hello guys, i’m sorry for this question but i’m newbie in Tales of pirates dev world. So i would like to know how can i build files and configure on SQL, I’ve watched several videos, but there are always errors when building, I haven’t even gotten to the SQL part yet.

		{
			"lightbox_close": "Close",
			"lightbox_next": "Next",
			"lightbox_previous": "Previous",
			"lightbox_error": "The requested content cannot be loaded. Please try again later.",
			"lightbox_start_slideshow": "Start slideshow",
			"lightbox_stop_slideshow": "Stop slideshow",
			"lightbox_full_screen": "Full screen",
			"lightbox_thumbnails": "Thumbnails",
			"lightbox_download": "Download",
			"lightbox_share": "Share",
			"lightbox_zoom": "Zoom",
			"lightbox_new_window": "New window",
			"lightbox_toggle_sidebar": "Toggle sidebar"
		}
		
	![1771524834169.webp](https://pkodev.com/attachments/1771524834169-webp.119/)

ERROR:

A construção começou em 00:37…

1>—— Compilação iniciada: Projeto: Common, Configuração: Long_Struct_Release Win32 ——

2>—— Compilação iniciada: Projeto: MindPower3D, Configuração: Release Win32 ——

3>—— Compilação iniciada: Projeto: Game, Configuração: Release Win32 ——

2>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

2>stdafx.cpp

2>\src\stdafx.cpp(1,1): error C1083: Não é possível abrir arquivo fonte: ‘..\src\stdafx.cpp’: No such file or directory

2>(compilando o arquivo fonte ‘/src/stdafx.cpp’)

2>Projeto de compilação pronto “MindPower3D.vcxproj” – FALHA.

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>stdafx.cpp

1>Common.vcxproj -> D:\Arquivos Monthanna\TalesOfPirateDX9-main\sources\CommonLibs\common\lib\Common.lib

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>Actor.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>Algo.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>AppScript.cpp

3>ArcTrack.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>AudioThread.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>AutoAttack.cpp

3>CameraCtrl.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>Character.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>CharacterAction.cpp

3>CharacterModel.cpp

3>ChaScript.cpp

3>ChaState.cpp

3>ChatRecord.cpp

3>CRCircle.cpp

3>CRCursor.cpp

3>CRCursorObj.cpp

3>CreateChaScene.cpp

3>d3des.cpp

3>DrawPointList.cpp

3>DSoundInstance.cpp

3>DSoundManager.cpp

3>EffDelay.cpp

3>EffectObj.cpp

3>Event.cpp

3>FindPath.cpp

3>FrndInviteFormMgr.cpp

3>GameAppFrameMove.cpp

3>GameAppInit.cpp

3>GameAppInterface.cpp

3>GameAppMsg.cpp

3>GameAppNet.cpp

3>GameAppRender.cpp

3>GameConfig.cpp

3>GameLoading.cpp

3>GameMovie.cpp

3>GameWG.cpp

3>GlobalVar.cpp

3>————-Primitive Culling Opened————-

3>GuildData.cpp

3>GuildListData.cpp

3>GuildListMgr.cpp

3>GuildMemberData.cpp

3>GuildMembersMgr.cpp

3>HairTool.cpp

3>HMAttack.cpp

3>HMManage.cpp

3>HMSynchroObj.cpp

3>IsSkillUse.cpp

3>ItemLit.cpp

3>ItemLitAnim.cpp

3>Language.cpp

3>LitLoad.cpp

3>LoginScene.cpp

3>LootFilter.cpp

3>lua_platform.cpp

3>Main.cpp

3>MouseDown.cpp

3>MPEditor.cpp

3>MusicThread.cpp

3>NetChat.cpp

3>NetGuild.cpp

3>NetIF.cpp

3>NetPkChat.cpp

3>NetPkGuild.cpp

3>NetProtocol.cpp

3>NPCHelper.cpp

3>PacketCmd_CS.cpp

3>PacketCmd_SC.cpp

3>PackFile.cpp

3>ProCirculateCC.cpp

3>ProCirculateCS.cpp

3>RecruitMemberData.cpp

3>RecruitMembersMgr.cpp

3>RenderStateMgr.cpp

3>Scene.cpp

3>SceneArea.cpp

3>SceneCreateNode.cpp

3>SceneFrameMove.cpp

3>SceneItem.cpp

3>SceneLight.cpp

3>SceneMsg.cpp

3>SceneNode.cpp

3>SceneObj.cpp

3>SceneObjFile.cpp

3>SceneRender.cpp

3>SceneScript.cpp

3>SceneSign.cpp

3>Script.cpp

3>SelectChaScene.cpp

3>ShipFactory.cpp

3>SMallMap.cpp

3>SoundCommon.cpp

3>state_reading.cpp

3>STAttack.cpp

3>SteadyFrame.cpp

3>STMove.cpp

3>STNpcTalk.cpp

3>STPose.cpp

3>STReadyDie.cpp

3>STSeat.cpp

3>STStateObj.cpp

3>TalkSessionFormMgr.cpp

3>TeamInviteFormMgr.cpp

3>TestDemo.cpp

3>ThreadBase.cpp

3>Tools.cpp

3>UI3DCompent.cpp

3>UIBankForm.cpp

3>UIBoatForm.cpp

3>UIBoothForm.cpp

3>UIBourseForm.cpp

3>UIBoxForm.cpp

3>UIBreakForm.cpp

3>UIChat.cpp

3>UICheckBox.cpp

3>UICheckBoxItem.cpp

3>UIChurchChallenge.cpp

3>UICloneForm.cpp

3>UICombo.cpp

3>UICommand.cpp

3>UICommandCompent.cpp

3>UICompent.cpp

3>UIComposeForm.cpp

3>UICookingForm.cpp

3>UICozeForm.cpp

3>UICursor.cpp

3>UIDoublePwdForm.cpp

3>UIDragTitle.cpp

3>UIEdit.cpp

3>UIEditData.cpp

3>UIEditKey.cpp

3>UIEditor.cpp

3>UIEditStrategy.cpp

3>UIEquipForm.cpp

3>UIFastCommand.cpp

3>UIFindTeamForm.cpp

3>UIFont.cpp

3>UIForgeForm.cpp

3>UIForm.cpp

3>UIFormMgr.cpp

3>UIFoundForm.cpp

3>UIGlobalVar.cpp

3>UIGoodsGrid.cpp

3>UIGraph.cpp

3>UIGrid.cpp

3>UIGuiData.cpp

3>UIGuildApply.cpp

3>UIGuildBankForm.cpp

3>UIGuildChallengeForm.cpp

3>UIGuildList.cpp

3>UIGuildMgr.cpp

3>UIHaircutForm.cpp

3>UIHeadSay.cpp

3>UIHelpInfoForm.cpp

3>UIImage.cpp

3>UIImeInput.cpp

3>UIItem.cpp

3>UIItemCommand.cpp

3>UILabel.cpp

3>UIList.cpp

3>UIListView.cpp

3>UIMailForm.cpp

3>UIMakeEquipForm.cpp

3>UIMemo.cpp

3>UIMenu.cpp

3>UIMinimapForm.cpp

3>UIMisLogForm.cpp

3>UIMissionForm.cpp

3>UINpcTalkForm.cpp

3>UINpcTradeForm.cpp

3>UINumAnswer.cpp

3>UIPage.cpp

3>UIPicList.cpp

3>UIPicture.cpp

3>UIPKDialog.cpp

3>UIPKSilverForm.cpp

3>UIProgressBar.cpp

3>UIPurifyForm.cpp

3>UIRender.cpp

3>UIRichEdit.cpp

3>UIScript.cpp

3>UIScroll.cpp

3>UISkillCommand.cpp

3>UISkillList.cpp

3>UISpiritForm.cpp

3>UIStartForm.cpp

3>UIStateForm.cpp

3>UIStoreForm.cpp

3>UISystemForm.cpp

3>UITeam.cpp

3>UITextButton.cpp

3>UITextParse.cpp

3>UITitle.cpp

3>UITradeForm.cpp

3>UITreeView.cpp

3>WorldScene.cpp

3>cl : linha de comando warning D9025: substituindo ‘/EHs’ com ‘/EHa’

3>Connection.cpp

3>LINK : warning LNK4075: ignorando ‘/INCREMENTAL’ devido a especificação ‘/OPT:REF’

3>LINK : fatal error LNK1181: não foi possível abrir o arquivo de entrada ‘AudioSDL.lib’

3>Projeto de compilação pronto “kop.vcxproj” – FALHA.

========== Compilação: 1 bem-sucedida, 2 com falha, 6 atualizada, 0 ignorada ==========

========== Compilação concluído às 00:38 e levou 01:05,123 minutos ==========

MY VS CONFIGURATIONS:

	![1771524962988.webp](https://pkodev.com/attachments/1771524962988-webp.122/)
	![1771524961077.webp](https://pkodev.com/attachments/1771524961077-webp.121/)

Reply #42

zLuke — 2026-02-21

1771629668819.webp

Use this

We’re on the right track, and we’re not far away.


Reply #43

iamkennd — 2026-02-21

			[zLuke said:](/goto/post?id=285)
		
	


	
	
	
		[View attachment 202](https://pkodev.com/attachments/202/)

Use this

We’re on the right track, and we’re not far away.

	Click to expand...

Reply #44

Mdr — 2026-02-21

			[iamkennd said:](/goto/post?id=262)
		
	


	
	
	
		damn bro, i got error again in Common lib [View attachment 163](https://pkodev.com/attachments/163/)

All the others projects on Libraries was built 100%, but Common especially can’t.

Project common.vcxproj

	Click to expand...

Reply #45

iamkennd — 2026-02-21

			[zLuke said:](/goto/post?id=285)
		
	


	
	
	
		[View attachment 202](https://pkodev.com/attachments/202/)

Use this

We’re on the right track, and we’re not far away.

	Click to expand...

Reply #46

zLuke — 2026-02-21

1771632525838.webp


Reply #47

iamkennd — 2026-02-21

			[zLuke said:](/goto/post?id=290)
		
	


	
	
	
		[View attachment 207](https://pkodev.com/attachments/207/)
	
	
	Click to expand...

Reply #48

zLuke — 2026-02-21

1771633625912.webp

It’s normal. The .lib files are added to .gitignore, so they are not loaded from the repository.


Reply #49

iamkennd — 2026-02-21

			[zLuke said:](/goto/post?id=292)
		
	


	
	
	
		[View attachment 212](https://pkodev.com/attachments/212/)

It’s normal. The .lib files are added to .gitignore, so they are not loaded from the repository.

	Click to expand...

Reply #50

iamkennd — 2026-02-21

1771633988927.webp

Great my brother @zLuke

So now i’ll build Server project


Reply #51

iamkennd — 2026-02-21

			[zLuke said:](/goto/post?id=292)
		
	


	
	
	
		[View attachment 212](https://pkodev.com/attachments/212/)

It’s normal. The .lib files are added to .gitignore, so they are not loaded from the repository.

	Click to expand...

Reply #52

zLuke — 2026-02-21

Yes, but that’s a different story)


Reply #53

iamkennd — 2026-02-21

			[zLuke said:](/goto/post?id=296)
		
	


	
	
	
		Yes, but that's a different story)
	
	
	Click to expand...

Reply #54

iamkennd — 2026-02-21

I’M TOTALLY GRATEFULL TO @zLuke FOR HELPING ME. THANK YOU ALOT MY FRIEND. GOD BLESS YOU!


Reply #55

a112311 — 2026-04-15

Bro, regarding the MSVC settings 2022 DX9 mentioned — using v142 and C++14 for compilation,

but I keep getting errors when selecting these two options.

I noticed that in the Client code, the kop.vcxproj file specifies v143 and stdcpplatest.

Does this mean I need to select MSVC v143 and C++ stdcpplatest? Now I’m a bit confused about how to choose these settings.