Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.13 KB | None | 0 0
  1. --THE magnet link
  2.  
  3. magnet:?xt=urn:btih:938c769ec2beee7c7f381570b93a861a60bd4fe5&dn=i25Binaries_InsurancePolicy.7z
  4.  
  5. --General setup of the VM and applications
  6.  
  7. 1) Download VMWare Player (Free for non commercial) https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html
  8. 2) Setup VM With Win7+, make sure to install VMware Tools (will let you get 3d acceleration and launch CoH within the VM itself)
  9. 3) Download SSMS - https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017
  10. 4) Download SQL Setup - https://www.microsoft.com/en-gb/sql-server/sql-server-editions-express
  11. 5) Once VM running, install 3 and 4.
  12. 6) Transfer NaughtyName.7z to VM, unzip and move all files to C:/COH (From i25 release)
  13. 7) Unzip dbschema and run each .sql files
  14. 8) Change sql from C:\mssql\MSSQL11.SCORE\MSSQL to C:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL
  15. 8A) Open SSMS and use default connetion
  16. 8B) Right-click properties of \SQLEXPRESS DB
  17. 8C) Navigate to Security and select "SQL Server and Windows Authentication mode"
  18. 8D) Click ok and open Security (under databases folder) 8E) Right click and new login
  19. 8F) Enter a name, select sql server authentication, enter a password
  20. 8G) Open User Mapping
  21. 8H) Select all COH ones and choose "db_owner" and then ok.
  22. 9) Edit servers.cfg to include connection string Server=localhost\SQLEXPRESS;Database=cohdb;User Id=NAME;Password=yourpassword;
  23. 10) Change all other .cfg files to include connection string
  24. 11) DBServer needs to be 127.0.0.1 12) LocalIP also 127.0.0.1 13) Comment out AuthServer (add //) 14) Add UseFakeAuth 1 15) Run DBserver 16) ignore first error (loadbalanceshard) 17) Run Launcher!
  25.  
  26. --Launching CoH and pointing it to the server (127.0.0.1 is local, set it to the approperate server otherwise), note "Score.exe" is i25
  27.  
  28. score.exe -db 127.0.0.1 -console -patchdir score -noversioncheck -project "coh"
  29.  
  30. --More info on setting up the SQL Server
  31. Go install SQL Express 2017 (or Express 2012)
  32. When installing, choose basic
  33. Click the button that says Install SSMS (this is SQL Server Management Studio)
  34. Install SSMS
  35. Start SSMS
  36. Connect
  37.  
  38. //I am running this on a burner VM so I disabled my firewall, but TCP networking just in case
  39. Start up SQL Server Config Manager, find "Protocols for SQLEXPRESS" and enable TCP/IP
  40. Right click TCP/IP and click Properties
  41. Click on IP Addresses Tab
  42. Scroll down and under IPAll set TCP Dynamic Ports to blank(clear it out)
  43. then set TCP Port to 1433
  44.  
  45. Go find I25 Release>data>server>db>servers.cfg and follow
  46. https://docs.google.com/document/d/1keKkCFJW6lddheLkqhShAeDEHay89uVMfUZlYrXhJKg/edit
  47. at the Dbserver setup section, starting at
  48. * Modify coh-server-original\bin\data\server\db\servers.cfg to look like:
  49.  
  50. NOTE:
  51. SqlLogin "Driver={SQL Server Native Client 11.0};server=localhost;database=coh;trusted_connection=Yes;"
  52. Depending on your express install, this needs to be changed
  53. for 2017 Express,
  54. SqlLogin "Driver={ODBC Driver 13 for SQL Server};server=localhost;database=coh;trusted_connection=Yes;"
  55. for 2012 Express, leave as is
  56.  
  57. Start dbserver.exe
  58. start launcher.exe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement