Comments (20)
I have the same problems too...
Because I have problems building GCC-Collector using my own computer (maybe some config problems with Visual Studio...), so I used GCC-CL.asi
and SceneDirectorAnim.txt
in GCC-Collector-Tools
.
I can see a man fall from sky and switch to the builded scene, and then the GTAV game crashed.
My GCC_GL.log
is like
[1558506818266] : finished keep camera...
[1558506818269] : start time: 1558506818
[1558506818273] : m = 5
[1558506818302] : selected hour in timeSeg[0]
[1558506819197] : hour = 2
[1558506821213] : hour = 2, CLEAR
[1558506821219] : the pedestrian number of the scene: 7
[1558506821221] : average height = 70.396202
[1558506821224] : no anims : true
And error window msg:
SCRIPT HOOK V ERROR
CORE: An exception occurred while executing 'GCC-CL.asi'
(0x00007FFC0ED7D890), id 33
So maybe I should try to build my own DirectXTK and GCC-Collector and then it does work? (:з」∠)
from gcc-cl.
I have the same problems too...
Because I have problems building GCC-Collector using my own computer (maybe some config problems with Visual Studio...), so I used
GCC-CL.asi
andSceneDirectorAnim.txt
inGCC-Collector-Tools
.I can see a man fall from sky and switch to the builded scene, and then the GTAV game crashed.
My
GCC_GL.log
is like[1558506818266] : finished keep camera... [1558506818269] : start time: 1558506818 [1558506818273] : m = 5 [1558506818302] : selected hour in timeSeg[0] [1558506819197] : hour = 2 [1558506821213] : hour = 2, CLEAR [1558506821219] : the pedestrian number of the scene: 7 [1558506821221] : average height = 70.396202 [1558506821224] : no anims : true
And error window msg:
SCRIPT HOOK V ERROR CORE: An exception occurred while executing 'GCC-CL.asi' (0x00007FFC0ED7D890), id 33
So maybe I should try to build my own DirectXTK and GCC-Collector and then it does work? (:з」∠)
Put SceneDirectorAnim.txt in the game's root folder,then recompile DirectXTK.lib and GCC-Collector.asi(x64 + release)
from gcc-cl.
Yes, each time falling from sky means a time of scene or angle change. This will end when enough images have been created in each folder data/part_XX_X
.
As for the number of image, you can refer to the function readImgNum()
in ininfoIO.cpp
, we set 5 as default image number.
from gcc-cl.
i have the same problem as you, and now have you found a solution?
from gcc-cl.
i have the same problem as you, and now have you found a solution?
Not yet
from gcc-cl.
Maybe we can discuss it
from gcc-cl.
Maybe we can discuss it
ok, 我这周研究下, 有进展了发到这里
from gcc-cl.
ok~
from gcc-cl.
After some exploration with a friend having this problem, the reason is that there is no SceneDirectorAnim.txt
in the game's root folder.
I have updated the readme
file. Following below step could solve this problem:
Download GCC-COllector-Tool and put
SceneDirectorAnim.txt
in the game's root folder.
Deatailed infomation could be obtained from issue 2
Thanks for your attention.
from gcc-cl.
I have put the SceneDirectorAnim.txt
in the right place, but the problem remains. Can it be some problems with version changes?
from gcc-cl.
I have put the
SceneDirectorAnim.txt
in the right place, but the problem remains. Can it be some problems with version changes?
@Elin24 told me the following solution,you can have a try.Download DirectXTK.lib from https://github.com/microsoft/DirectXTK?tdsourcetag=s_pctim_aiomsg and recompile it,then put it in the folder \GCC-CL\GCC-Collector\deps\lib,and next recompile GCC-Collector.sln
from gcc-cl.
@Elin24 told me the following solution,you can have a try.Download DirectXTK.lib from https://github.com/microsoft/DirectXTK?tdsourcetag=s_pctim_aiomsg and recompile it,then put it in the folder \GCC-CL\GCC-Collector\deps\lib,and next recompile GCC-Collector.sln
Have you solved it in this way? i tried to recompile DirectXTK and repleace the old DirectXTK.lib in the fold, but the same problem is still exist after I pressing "L‘’.
I also tried to use the compiled GCC-CL.asi of GCC-Collector-Tools but failed.
from gcc-cl.
@Elin24 told me the following solution,you can have a try.Download DirectXTK.lib from https://github.com/microsoft/DirectXTK?tdsourcetag=s_pctim_aiomsg and recompile it,then put it in the folder \GCC-CL\GCC-Collector\deps\lib,and next recompile GCC-Collector.sln
Have you solved it in this way? i tried to recompile DirectXTK and repleace the old DirectXTK.lib in the fold, but the same problem is still exist after I pressing "L‘’.
I also tried to use the compiled GCC-CL.asi of GCC-Collector-Tools but failed.
Yes,i solved the problem in this way,have you put SceneDirectorAnim.txt in the game's root folder?
from gcc-cl.
@Elin24 told me the following solution,you can have a try.Download DirectXTK.lib from https://github.com/microsoft/DirectXTK?tdsourcetag=s_pctim_aiomsg and recompile it,then put it in the folder \GCC-CL\GCC-Collector\deps\lib,and next recompile GCC-Collector.sln
Have you solved it in this way? i tried to recompile DirectXTK and repleace the old DirectXTK.lib in the fold, but the same problem is still exist after I pressing "L‘’.
I also tried to use the compiled GCC-CL.asi of GCC-Collector-Tools but failed.
When you compiled DirectXTK.lib and GCC-Collector.sln,Did something go wrong?
from gcc-cl.
@Elin24 told me the following solution,you can have a try.Download DirectXTK.lib from https://github.com/microsoft/DirectXTK?tdsourcetag=s_pctim_aiomsg and recompile it,then put it in the folder \GCC-CL\GCC-Collector\deps\lib,and next recompile GCC-Collector.sln
Have you solved it in this way? i tried to recompile DirectXTK and repleace the old DirectXTK.lib in the fold, but the same problem is still exist after I pressing "L‘’.
I also tried to use the compiled GCC-CL.asi of GCC-Collector-Tools but failed.When you compiled DirectXTK.lib and GCC-Collector.sln,Did something go wrong?
I have sent an email for you, looking forward for your reply.
from gcc-cl.
@Elin24 told me the following solution,you can have a try.Download DirectXTK.lib from https://github.com/microsoft/DirectXTK?tdsourcetag=s_pctim_aiomsg and recompile it,then put it in the folder \GCC-CL\GCC-Collector\deps\lib,and next recompile GCC-Collector.sln
That solution doesn't work for me too, the same error occurs after I fall on the ground.
By the way, after I select the number of people F12 + 1
, it seems that nothing happens when I press F5
. Can that be a problem?
My system is win10, 64
, visual studio is 2017
, GCC-Collector isx64 + release
, DirectXTK is Desktop_2017_Win10 + x64 + release
, GTA V is the latest version on steam
from gcc-cl.
The build information like this:
If there are some problems about DirectXTK, please rebuild it through microsoft-DirectXTK and obtain a right release fitting your system, then replace corresponding lib file at \GCC-CL\GCC-Collector\deps\lib
. Finally rebuild GCC-Collector.
If there are four log files in part_XX_X
,
- areaInfo.log
- eyeInfo.log
- levelInfo.log
- Zheight.log
the scene creator is fine.
Before press 'L', make sure SceneDirectorAnim.txt
is in the game's root folder.
If there are still some problems when run it, open the 'GCC-CL.log' file in the game's root folder, and look for corresponding error place in createCrowd.cpp
according to the last line in the log file.
from gcc-cl.
Thank you for your tips. I tried your debugging method like the following:
- I modify the
createCrowd.cpp
atline 376
:
auto runSceneCreator = [&](int avg2) {
int m = readImgNum();
for (int i = nowHave; i < m; i++) {
log_to_file("m = " + std::to_string(m));
std::string weather = setTimeAndWeather();
log_to_file("line 376");
int pedNum = avg2 * 0.25 + rand() % int(avg2 * 0.75) + 1;
log_to_file("line 378");
createOneScene(281, mix, mxx - mix, miy, mxy - miy, weather, pedNum);
}
};
- Rebuild, copy to GTA V, fall from the sky, ERROR. The last part of
GCC-CL.log
is like:
[1558496187417] : finished keep camera...
[1558496187419] : start time: 1558496187
[1558496187419] : m = 5
[1558496187420] : selected hour in timeSeg[6]
[1558496188914] : hour = 20
[1558496190911] : hour = 20, CLEAR
[1558496190912] : line 376
It seems that the error occurs at line 376 of createCrowd.cpp: int pedNum = avg2 * 0.25 + rand() % int(avg2 * 0.75) + 1;
I'm not familiar with C++, so could you give me some hint about it?
from gcc-cl.
if setting level = 1, the asi is gong to crash. This bug is in function readLevelFile()
in infoIO.cpp
, which has been solved.
If still having problem, please remind me.
Sorry for my late reply. @duanzhiihao
from gcc-cl.
@Elin24 Thank you so much, I download your new GCC-Collector
and everything is working.
By the way, after I press L
, all I have to do is to wait, is that right? It seems that my man is falling from the sky (then there generate some crowds) again and again, and never ends.
from gcc-cl.
Related Issues (20)
- After Python scripts execute, no Mask image output HOT 5
- Can we generate videos with people masked? HOT 1
- 代码写得我强迫症都犯了
- 哪里可以下到现成的数据集 HOT 1
- How do we stop the collecting process? HOT 2
- 无法打开包括文件
- How to get depth?
- which Verson of minhook and eigen, C++ standard of you used? HOT 1
- GCC-Labeler error HOT 2
- How does it work HOT 2
- Some issues about reproducing this project HOT 1
- Gives error when press 'L' HOT 3
- GCC-Collector Error HOT 1
- The error of GCC-Collector HOT 8
- Error occurs when I press L HOT 1
- The script didn't work
- Problem: collector freezes during characters’ spawning and doesn’t generate any data HOT 5
- Thermal view of the crowd?
- Format of JSON Files HOT 3
- blank image with groundtruth count actually is loading screen HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcc-cl.