Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VC] DFF Model files occasionally not being imported for streaming #110

Open
JonSanMan opened this issue Dec 3, 2023 · 0 comments
Open

Comments

@JonSanMan
Copy link

Issue: Occasionally .dff model files are not available for the game to access.
Version: 0.3.7
Game: Vice City
Use Case: Mods that add models and textures, but do not replace. (Issue specifically started with Updated SCM, IGavery.dff was not being loaded causing the Four Iron mission to stall on load)

Steps to reproduce:

  1. Set name of dff file to something not originally in gta3.img
  2. Launch game and check if model is loaded

Occasionally, even replacement dffs won't properly be imported, but original names seem to have the highest likely hood of failing.

My Test Setup

  1. Copy random dff and txd from original gta3.img (IGmike.dff/txd)
  2. Copy random dff and txd from mod files (IGavery.dff/txd)
  3. Create duplicates of both
  4. Rename one copy of igmike to doomguy_bfg
  5. Rename IGavery to halo_plasma_rifle and katana
    Reason for rename scheme: test if foreign files can be added/replaced, and test if native files will be added/replaced.

modloader.log

========================== Mod Loader 0.3.7 ==========================

Game version: GTA VC 1.0 UNK_REGION
Loading basic config file modloader/.data/config.ini

Parsing command line
No aScreen address, not injecting a menu

Looking for plugins...
Reading plugins.ini
Loading plugin module "gta3\std.asi.dll"
Plugin module "gta3\std.asi.dll" loaded as gta3.std.asi Jan 16 2018 17:44:17 by LINK/2012
Starting up plugin "gta3.std.asi"
Loading plugin module "gta3\std.bank.dll"
Plugin module "gta3\std.bank.dll" loaded as gta3.std.bank Nov 12 2016 18:52:34 by LINK/2012
Starting up plugin "gta3.std.bank"
Warning: Failed to startup plugin "gta3.std.bank", unloading it.
Unloading plugin "gta3.std.bank"
Loading plugin module "gta3\std.data.dll"
Plugin module "gta3\std.data.dll" loaded as gta3.std.data Nov 12 2016 18:52:35 by LINK/2012
Starting up plugin "gta3.std.data"
Loading plugin module "gta3\std.fx.dll"
Plugin module "gta3\std.fx.dll" loaded as gta3.std.fx Nov 12 2016 18:52:38 by LINK/2012
Starting up plugin "gta3.std.fx"
Loading plugin module "gta3\std.movies.dll"
Plugin module "gta3\std.movies.dll" loaded as gta3.std.movies Nov 12 2016 18:52:50 by LINK/2012
Starting up plugin "gta3.std.movies"
Loading plugin module "gta3\std.scm.dll"
Plugin module "gta3\std.scm.dll" loaded as gta3.std.scm Nov 12 2016 18:53:09 by LINK/2012
Starting up plugin "gta3.std.scm"
Loading plugin module "gta3\std.sprites.dll"
Plugin module "gta3\std.sprites.dll" loaded as gta3.std.sprites Nov 12 2016 18:53:10 by LINK/2012
Starting up plugin "gta3.std.sprites"
Loading plugin module "gta3\std.stream.dll"
Plugin module "gta3\std.stream.dll" loaded as gta3.std.stream Jan 16 2018 17:44:17 by LINK/2012
Starting up plugin "gta3.std.stream"
Loading plugin module "gta3\std.text.dll"
Plugin module "gta3\std.text.dll" loaded as gta3.std.text Nov 12 2016 18:52:34 by LINK/2012
Starting up plugin "gta3.std.text"
Loading plugin module "gta3\std.tracks.dll"
Plugin module "gta3\std.tracks.dll" loaded as gta3.std.tracks Nov 12 2016 18:52:33 by LINK/2012
Starting up plugin "gta3.std.tracks"
Warning: Failed to startup plugin "gta3.std.tracks", unloading it.
Unloading plugin "gta3.std.tracks"
Reading profile named "Default" at "modloader.ini".
Using profile named "Default".
Using profile named "Default"


Scanning mods at "modloader\"...

Scanning files at "modloader\debugmod\"...
Found file [0x000001046717DBF7] "to gta3.img\doomguy_bfg.dff" with handler "gta3.std.stream"
Found file [0x0000020470EF48BB] "to gta3.img\doomguy_bfg.txd" with handler "gta3.std.stream"
Found file [0x00000104816B3509] "to gta3.img\halo_plasma_rifle.dff" with handler "gta3.std.stream"
Found file [0x000002047793C845] "to gta3.img\halo_plasma_rifle.txd" with handler "gta3.std.stream"
Found file [0x000001048016BC3D] "to gta3.img\IGmike.dff" with handler "gta3.std.stream"
Found file [0x000002046E3F4211] "to gta3.img\IGmike.txd" with handler "gta3.std.stream"
Found file [0x0000010409A75E59] "to gta3.img\katana.dff" with handler "gta3.std.stream"
Found file [0x000002041F807115] "to gta3.img\katana.txd" with handler "gta3.std.stream"

Updating mods for "modloader\"...
Updating state for "modloader\debugmod\"...
Installing file "modloader\debugmod\to gta3.img\doomguy_bfg.dff"
Installing file "modloader\debugmod\to gta3.img\doomguy_bfg.txd"
Installing file "modloader\debugmod\to gta3.img\halo_plasma_rifle.dff"
Installing file "modloader\debugmod\to gta3.img\halo_plasma_rifle.txd"
Installing file "modloader\debugmod\to gta3.img\igmike.dff"
Installing file "modloader\debugmod\to gta3.img\igmike.txd"
Installing file "modloader\debugmod\to gta3.img\katana.dff"
Installing file "modloader\debugmod\to gta3.img\katana.txd"
Updating gta3.std.data state...
Done updating gta3.std.data state.
Starting up filesystem watcher...

Mod Loader has started up!

Loading splash sprite "loadsc0.txd"
Loading default vehicles handling "HANDLING.CFG"
Loading default surface adhesion limits "DATA\SURFACE.DAT"
Loading default ped stats "PEDSTATS.DAT"
Loading default time cycle properties "TIMECYC.DAT"
Loading splash sprite "loadsc2.txd"
Loading default particle data "PARTICLE.CFG"
Opening file for streaming "MODELS\GTA3.IMG"
Loading default level file "DATA\DEFAULT.DAT"
Loading default object types "DATA\DEFAULT.IDE "
Loading default level file "DATA\GTA_VC.DAT"
Loading default object types "DATA\MAPS\generic.IDE "
Loading default object types "DATA\MAPS\littleha\littleha.IDE "
Loading default object types "DATA\MAPS\downtown\downtown.IDE "
Loading default object types "DATA\MAPS\downtows\downtows.IDE "
Loading default object types "DATA\MAPS\docks\docks.IDE "
Loading default object types "DATA\MAPS\washintn\washintn.IDE "
Loading default object types "DATA\MAPS\washints\washints.IDE "
Loading default object types "DATA\MAPS\oceandrv\oceandrv.IDE "
Loading default object types "DATA\MAPS\oceandn\oceandn.IDE "
Loading default object types "DATA\MAPS\golf\golf.IDE "
Loading default object types "DATA\MAPS\bridge\bridge.IDE "
Loading default object types "DATA\MAPS\starisl\starisl.IDE "
Loading default object types "DATA\MAPS\nbeachbt\nbeachbt.IDE "
Loading default object types "DATA\MAPS\nbeachw\nbeachw.IDE "
Loading default object types "DATA\MAPS\nbeach\nbeach.IDE "
Loading default object types "DATA\MAPS\bank\bank.IDE "
Loading default object types "DATA\MAPS\mall\mall.IDE "
Loading default object types "DATA\MAPS\yacht\yacht.IDE "
Loading default object types "DATA\MAPS\cisland\cisland.IDE "
Loading default object types "DATA\MAPS\club\club.IDE "
Loading default object types "DATA\MAPS\hotel\hotel.IDE "
Loading default object types "DATA\MAPS\lawyers\lawyers.IDE "
Loading default object types "DATA\MAPS\stripclb\stripclb.IDE "
Loading default object types "DATA\MAPS\airport\airport.IDE "
Loading default object types "DATA\MAPS\airportN\airportN.IDE "
Loading default object types "DATA\MAPS\haiti\haiti.IDE "
Loading default object types "DATA\MAPS\haitin\haitin.IDE "
Loading splash sprite "loadsc3.txd"
Loading default object types "DATA\MAPS\concerth\concerth.IDE "
Loading default object types "DATA\MAPS\mansion\mansion.IDE "
Loading default object types "DATA\MAPS\islandsf\islandsf.IDE "
Loading default object types "DATA\MAPS\stadint\stadint.IDE "
Loading default object data "DATA\OBJECT.DAT"
Initializing the streaming...
Loading abstract cd directory...
Importing model file for index 7869 at "modloader\debugmod\to gta3.img\doomguy_bfg.txd"
Importing model file for index 7870 at "modloader\debugmod\to gta3.img\halo_plasma_rifle.txd"
Importing model file for index 7664 at "modloader\debugmod\to gta3.img\igmike.txd"
Importing model file for index 268 at "modloader\debugmod\to gta3.img\katana.dff"
Importing model file for index 6730 at "modloader\debugmod\to gta3.img\katana.txd"
Abstract cd directory has been loaded.
Loading default scene "DATA\MAP.ZON "
Loading default scene "DATA\NAVIG.ZON "
Loading default scene "DATA\INFO.ZON "
Loading default scene "DATA\MAPS\littleha\littleha.IPL "
Loading splash sprite "loadsc5.txd"
Loading default scene "DATA\MAPS\downtown\downtown.IPL "
Loading default scene "DATA\MAPS\downtows\downtows.IPL "
Loading default scene "DATA\MAPS\docks\docks.IPL "
Loading default scene "DATA\MAPS\washintn\washintn.IPL "
Loading default scene "DATA\MAPS\washints\washints.IPL "
Loading default scene "DATA\MAPS\oceandrv\oceandrv.IPL "
Loading default scene "DATA\MAPS\oceandn\oceandn.IPL "
Loading default scene "DATA\MAPS\golf\golf.IPL "
Loading default scene "DATA\MAPS\bridge\bridge.IPL "
Loading default scene "DATA\MAPS\starisl\starisl.IPL "
Loading default scene "DATA\MAPS\nbeachbt\nbeachbt.IPL "
Loading default scene "DATA\MAPS\nbeach\nbeach.IPL "
Loading default scene "DATA\MAPS\nbeachw\nbeachw.IPL "
Loading default scene "DATA\MAPS\cisland\cisland.IPL "
Loading default scene "DATA\MAPS\airport\airport.IPL "
Loading default scene "DATA\MAPS\airportN\airportN.IPL "
Loading default scene "DATA\MAPS\haiti\haiti.IPL "
Loading default scene "DATA\MAPS\haitin\haitin.IPL "
Loading default scene "DATA\MAPS\islandsf\islandsf.IPL "
Loading default scene "DATA\MAPS\stadint\stadint.IPL "
Loading default scene "DATA\MAPS\paths.ipl "
Loading default scene "DATA\MAPS\cull.ipl "
Loading default scene "DATA\occlu.ipl "
Loading splash sprite "loadsc6.txd"
Loading default scene "DATA\MAPS\bank\bank.IPL "
Loading default scene "DATA\MAPS\mall\mall.IPL "
Loading default scene "DATA\MAPS\yacht\yacht.IPL "
Loading default scene "DATA\MAPS\club\club.IPL "
Loading default scene "DATA\MAPS\hotel\hotel.IPL "
Loading default scene "DATA\MAPS\lawyers\lawyers.IPL "
Loading default scene "DATA\MAPS\stripclb\stripclb.IPL "
Loading default scene "DATA\MAPS\concerth\concerth.IPL "
Loading default scene "DATA\MAPS\mansion\mansion.IPL "
Loading default vehicle colours "CARCOLS.DAT"
Loading default compiled water level "DATA\waterpro.dat"
Loading splash sprite "loadsc10.txd"
Loading default ped relationship data "PED.DAT"
Loading default fight data "DATA\fistfite.dat"
Loading default weapon data "WEAPON.DAT"
Loading default ped groups "PEDGRP.DAT"
Loading default plane path "data\paths\flight.dat"
Loading default plane path "data\paths\flight2.dat"
Loading default plane path "data\paths\flight3.dat"
Removing imported model file at index 0
Loading splash sprite "intro1.txd"
Removing imported model file at index 109
Removing imported model file at index 110
Removing imported model file at index 111
Removing imported model file at index 112
Removing imported model file at index 113
Removing imported model file at index 295
Removing imported model file at index 296
Removing imported model file at index 297
Removing imported model file at index 298
Loading splash sprite "intro4.txd"
Removing imported model file at index 118
Loading splash sprite "splash1.txd"
Loading splash sprite "OUTRO.txd"

Shutting down Mod Loader...
Shutting down filesystem watcher...
Shutting down menu...
Unloading plugin "gta3.std.fx"
Unloading plugin "gta3.std.asi"
Unloading plugin "gta3.std.data"
Unloading plugin "gta3.std.movies"
Unloading plugin "gta3.std.scm"
Unloading plugin "gta3.std.text"
Unloading plugin "gta3.std.sprites"
Unloading plugin "gta3.std.stream"
Mod Loader has been shutdown.

sha256sums of files

d7f6ba53343eb33bb15732fde2651c66fe19350e34e591d7f5a010c4d0011bd6  doomguy_bfg.dff
cce69fc3ca59b3bf9d44eb4d95508c491abe4d227429afd9a0583fac0bf8fef1  doomguy_bfg.txd
ea3d8be5359b17e713309389ca8362a025b4286c8edaafb0fdd77a7b2d5cad6b  halo_plasma_rifle.dff
a5040a0fa554499aa4c10842fa6a480f9dcdf7fb31dbc6c7ea1a55875eff121b  halo_plasma_rifle.txd
d7f6ba53343eb33bb15732fde2651c66fe19350e34e591d7f5a010c4d0011bd6  IGmike.dff
cce69fc3ca59b3bf9d44eb4d95508c491abe4d227429afd9a0583fac0bf8fef1  IGmike.txd
ea3d8be5359b17e713309389ca8362a025b4286c8edaafb0fdd77a7b2d5cad6b  katana.dff
a5040a0fa554499aa4c10842fa6a480f9dcdf7fb31dbc6c7ea1a55875eff121b  katana.txd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant