Go Back   Project64 Forums > Public Version > Project 64 - v2.x - Issues

Reply
 
Thread Tools Display Modes
  #11  
Old 3rd August 2017, 05:04 PM
Frank74's Avatar
Frank74 Frank74 is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Aug 2013
Location: UK
Posts: 747
Default

I found the problem with x64 version not running.

Project64.exe.manifest file needs editing when building x64 version.
It's set to x86, which causes this problem.

Change processorArchitecture='x86' to processorArchitecture='amd64'.

Edit: OR, change Project64 x64 configuration properties, under Linker > Manifest File, change Allow Isolation to NO.

Last edited by Frank74; 3rd August 2017 at 06:29 PM.
Reply With Quote
  #12  
Old 5th August 2017, 04:44 PM
pernghh pernghh is offline
Junior Member
 
Join Date: Jul 2017
Posts: 7
Default

Thanks,

x64 did work after I update the manifest file.
But I got error when I load the rom, the error is

Debug Assertion Failed!

Program: C:\Git\project64\bin\Debug64\Project64.exe
File: minkernel\crts\ucrt\src\appcrt\tran\amd64\ieee.c
Line: 106

Expression: (mask&~(_MCW_DN|_MCW_EM|_MCW_RC))==0

the audio/video plugin I used is AziAudio/Project64-Video

The error happened in following code

N64Class.cpp Line: 1006

1005 #ifdef _WIN32
1006 _controlfp(_PC_53, _MCW_PC);
1007 #endif

Do you have any idea about what happened?

Last edited by pernghh; 5th August 2017 at 04:54 PM.
Reply With Quote
  #13  
Old 5th August 2017, 05:12 PM
Frank74's Avatar
Frank74 Frank74 is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Aug 2013
Location: UK
Posts: 747
Default

I built the x64 Release.

Also you need to set CPU and RSP to Interpreter. The recompiler's haven't had any work done to them to work on x64 yet.

To use the RSP Interpreter, you need to enable debugger, set RSP CPU Method to Interpreter in the debug menu.

To use CPU Interpreter, set that in game settings.

Or else change the defaults in the source.

This line changes the default CPU:
https://github.com/project64/project...Class.cpp#L132

Change it to:
AddHandler(Rdb_CpuType, new CSettingTypeRDBCpuType("CPU Type", CPU_Interpreter));

This line changes the default RSP CPU Method:
https://github.com/project64/project.../Main.cpp#L769

Change it to:
CPUCore = InterpreterCPU;
Reply With Quote
  #14  
Old 6th August 2017, 05:08 PM
pernghh pernghh is offline
Junior Member
 
Join Date: Jul 2017
Posts: 7
Default

Thanks for your help. But I got the same error after I update these setting.
I will check whether I need update some others. The error happened when I load the ROM file.
Reply With Quote
  #15  
Old 7th August 2017, 01:49 AM
Frank74's Avatar
Frank74 Frank74 is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Aug 2013
Location: UK
Posts: 747
Default

What ROM's have you tried?

I haven't had any errors like this yet, but have only tested a few ROM's.
Reply With Quote
  #16  
Old 9th August 2017, 08:45 PM
Wally123's Avatar
Wally123 Wally123 is offline
Senior Member
 
Join Date: Jul 2013
Location: Freedonia
Posts: 159
Default

Quote:
Originally Posted by Frank74 View Post
I just built x64 from latest master.

I get the same error when trying to run Project64.exe.

The application was unable to start correctly (0xc000007b).
The only time I have ever gotten that error code is when I have enduser runtime packages missing from my system folder. Generally speaking, for Windows at least, in this case it may mean that you are missing all the Micorsoft VC++ runtimes and the June 2010 Direct X runtime's. Frank74, did you recently install Windows 10 Pro or do a clean install of one of its editions? If so, you may need to redownload and reinstall all of the 32bit (x86) and 64bit (x64) Microsoft Visual C++ Runtime redistribution packs dating back to 2005.

Also, Windows 10 does not package the distributable runtime packages from the DirectX June2010 update, which contains Direct X9 runtimes that are backward-compatible with DirectX8 and older...download that package, extract it to a folder, run the setup MSI binary file in that folder.

Here:
https://www.microsoft.com/en-us/down...s.aspx?id=8109
__________________
"I find television very educating. Every time somebody turns on the set, I go into the other room and read a book."

~Groucho Marx

Last edited by Wally123; 9th August 2017 at 08:48 PM.
Reply With Quote
  #17  
Old 15th August 2017, 01:28 PM
HatCat's Avatar
HatCat HatCat is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Feb 2007
Location: In my hat.
Posts: 16,198
Default

Quote:
Originally Posted by pernghh View Post
Thank you~~

for the x64 version.
I need to add

#include <intrin.h>

in RSP project's main.cpp to make it compile success.
Does anyone else find it funny that Juniel Katarn viewed this thread in offline mode and copied this guy's fix into a new pull request on GitHub without citing credit to this thread?

I rather thought that PR was relatively productive and substantial compared to the usual pedantics of what he changes.

Last edited by HatCat; 15th August 2017 at 01:41 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 04:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.