Where exactly should i load sfx and lanes from ?

I took a look over your source code and found out how to put the game in ( you have to create a directory NFS_3 and copy over the contents of the installation cd there), compiled your compatiblity layer succesfully. But where exactly should i load sfx and lanes from in the resources directory ? I'm running gnu/linux and it starts just an empty application frame( if i add empty folders sfx and lanes), your logs indicate that sfx should not be empty though.

g3log created log at: Sat Jun 27 11:12:11 2020
LOG format: [hh:mm:ss FILE->FUNCTION:LINE]: message


2020/06/27 11:12:11 957849	INFO [140278993745728 main.cpp->PopulateAssets:426]	Detected: NFS_3
2020/06/27 11:12:11 957853	INFO [140278993745728 main.cpp->run:55]	OpenNFS Version 0.3
2020/06/27 11:12:12 138005	DEBUG [140278993745728 Renderer.cpp->InitOpenGL:64]	Max Texture Units: 32
2020/06/27 11:12:12 138011	DEBUG [140278993745728 Renderer.cpp->InitOpenGL:65]	Max Array Texture Layers: 2048
2020/06/27 11:12:12 138012	DEBUG [140278993745728 Renderer.cpp->InitOpenGL:66]	OpenGL Initialisation successful
2020/06/27 11:12:12 138026	INFO [140278993745728 Utils.cpp->ExtractVIV:156]	Extracting VIV file: ../resources/NFS_3/gamedata/carmodel/diab/car.viv to ./assets/car/NFS_3/diab/
2020/06/27 11:12:12 138057	INFO [140278993745728 Utils.cpp->ExtractVIV:162]	VIV has already been extracted. Skipping.
2020/06/27 11:12:12 138066	INFO [140278993745728 FceFile.cpp->Load:5]	Loading FCE File located at ./assets/car/NFS_3/diab/car.fce
2020/06/27 11:12:12 138153	INFO [140278993745728 FedataFile.cpp->Load:5]	Loading Fedata File located at ./assets/car/NFS_3/diab//fedata.eng
2020/06/27 11:12:12 138168	INFO [140278993745728 NFS3Loader.cpp->_ParseFCEModels:96]	Parsing FCE File into ONFS Structures
2020/06/27 11:12:12 140908	INFO [140278993745728 NFS3Loader.cpp->LoadTrack:36]	Loading Track located at ../resources/NFS_3/gamedata/tracks/trk000
2020/06/27 11:12:12 141113	INFO [140278993745728 FrdFile.cpp->Load:5]	Loading FRD File located at ../resources/NFS_3/gamedata/tracks/trk000/tr00.frd
2020/06/27 11:12:12 142034	INFO [140278993745728 ColFile.cpp->Load:5]	Loading COL File located at ../resources/NFS_3/gamedata/tracks/trk000/tr00.col
2020/06/27 11:12:12 142070	INFO [140278993745728 CanFile.cpp->Load:5]	Loading CAN File located at ../resources/NFS_3/gamedata/tracks/trk000/tr0000a.can
2020/06/27 11:12:12 142081	INFO [140278993745728 HrzFile.cpp->Load:5]	Loading HRZ File located at ../resources/NFS_3/gamedata/tracks/trk000/3tr00.hrz
2020/06/27 11:12:12 142101	INFO [140278993745728 SpeedsFile.cpp->Load:5]	Loading FRD File located at ../resources/NFS_3/gamedata/tracks/trk000/speedsf.bin
2020/06/27 11:12:12 142115	INFO [140278993745728 SpeedsFile.cpp->SaveCSV:39]	Saving SPEED BIN File to CSV: ./speeds.csv
2020/06/27 11:12:12 146069	WARNING [140278993745728 Texture.cpp->LoadTexture:40]	Texture ../resources/sfx/0014.BMP or ../resources/sfx/0014-a.BMP did not load succesfully!
2020/06/27 11:12:12 146119	WARNING [140278993745728 Texture.cpp->LoadTexture:40]	Texture ../resources/sfx/0015.BMP or ../resources/sfx/0015-a.BMP did not load succesfully!
2020/06/27 11:12:12 146136	WARNING [140278993745728 Texture.cpp->LoadTexture:40]	Texture ../resources/sfx/0011.BMP or ../resources/sfx/0011-a.BMP did not load succesfully!
2020/06/27 11:12:12 148514	WARNING [140278993745728 Texture.cpp->LoadTexture:40]	Texture ./assets/tracks/NFS_3/tr00/textures/0176.BMP or ./assets/tracks/NFS_3/tr00/textures/0176-a.BMP did not load succesfully!
2020/06/27 11:12:12 148547	WARNING [140278993745728 Texture.cpp->LoadTexture:40]	Texture ./assets/tracks/NFS_3/tr00/textures/0177.BMP or ./assets/tracks/NFS_3/tr00/textures/0177-a.BMP did not load succesfully!
2020/06/27 11:12:12 148564	WARNING [140278993745728 Texture.cpp->LoadTexture:40]	Texture ./assets/tracks/NFS_3/tr00/textures/0178.BMP or ./assets/tracks/NFS_3/tr00/textures/0178-a.BMP did not load succesfully!
2020/06/27 11:12:12 148578	WARNING [140278993745728 Texture.cpp->LoadTexture:40]	Texture ./assets/tracks/NFS_3/tr00/textures/0179.BMP or ./assets/tracks/NFS_3/tr00/textures/0179-a.BMP did not load succesfully!
2020/06/27 11:12:12 153946	INFO [140278993745728 Texture.cpp->MakeTextureArray:407]	Creating texture array with 172 textures, max texture width 128, max texture height 128
2020/06/27 11:12:12 172656	INFO [140278993745728 NFS3Loader.cpp->_ParseTRKModels:158]	Parsing TRK file into ONFS GL structures
2020/06/27 11:12:12 267176	INFO [140278993745728 NFS3Loader.cpp->_ParseCOLModels:405]	Parsing COL file into ONFS GL structures
2020/06/27 11:12:12 267520	INFO [140278993745728 NFS3Loader.cpp->LoadTrack:89]	Track loaded successfully
2020/06/27 11:12:12 299342	WARNING [140278993745728 ImageLoader.cpp->LoadImage:13]	Assertion `image != nullptr` failed in /home/sexygrandpa/Projects/OpenNFS/src/Util/ImageLoader.cpp line 13: Failed to load UI texture ../resources/misc/sky_textures/CHRD.BMP
2020/06/27 11:12:12 299431	WARNING [140278993745728 ImageLoader.cpp->LoadImage:13]	Press ESC to terminate, and let me know on Discord! (if you're sure this isn't your own fault)

Posted Jun 27, 2020, 9:26 AM UTC

15
8BitsInAByte•

Hey sorry, only saw this now! I'll DM you a zip file of the required resources and push some commits to automatically extract the required resources from the NFS3 CD.

EDIT (DM Content for those with similar problems):

The current version on Github was in the midst of a big refactor to the parsers. It hasn't yet been fully completed, so is quite unstable, but version 0.3 with all required resources (sans NFS3 disc content) is available here:

https://drive.google.com/file/d/1m5YkImD6sI-xAdfSygnOsELTkjdj2mfg/view?usp=sharing

The resources will work with the Github version too (I think). The version I have linked will also load NFS4 and NFS2 tracks/cars - if the assets are supplied from disc at NFS_4 and NFS_2.

1
DPRKunicornOP•

np not a frequent redditor either, thanks. Also thanks for re-writing the engine.

2
8BitsInAByte•

Come and join us on discord, we'd love to have you, link is on the README on Github

1
DPRKunicornOP•

thanks, will create a discord account once i'll have time

2
8BitsInAByte•

Update on this, pulling and building from latest HEAD on Github resolves this entirely. Assets are now automatically extracted.

1