È soltanto un Pokémon con le armi o è un qualcosa di più? Vieni a parlarne su Award & Oscar!

 

 

 

 

 

 

 

Medieval 2 Total War
Discussione generale sul videogioco Medieval 2 : Total War
Cattedra
Guide & Tutorial a cura dei maggiori esperti di modding
Medieval 2 Total War Cantiere
Progettazione di Mod relativi al videogame Medieval 2 Total War

 

 

Nuova Discussione
Rispondi
 
Stampa | Notifica email    
Autore

GUIDA: I CRASH

Ultimo Aggiornamento: 03/09/2012 20:07
27/10/2010 15:48
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 4.442
Registrato il: 24/01/2009
Città: NAPOLI
Età: 29
Principe
Conosci il tuo nemico!
IMPORTANTE: QUESTA GUIDA NON è MIA, E POTETE CONSULTARLA QUI: http://forums.totalwar.org/vb/showthread.php?88685-Tutorial-Guide-to-crashes
IO MI LIMITO A COPIARLA PERCHè LA RITENGO MOOOLTO UTILE

The purpose of this guide is to explain what is causing the various types of crashes to desktop (CTD) in mods and provide some advice on how to fix them.

Before I begin I would like to point out that the best way to resolve a crash is to add the following line to the .cfg file


[log]
to = logs/system.log.txt
level = * error


This will give you a log report, which contains the reason for the crash. Always check this to fine out which file is causing problems.

If you think a file is causing problem change its name and see if this fixes the problem (if M2TW can't find a file it reverts to the default version). If this fixes the problem then you know this file is faulty.

Mod CTD and without starting

CTD on startup
Q: When you start the mod you get a black screen and the mod CTDs.

A: There is an erronous entry in the data\unit_models\battle_models.modeldb, normally a reference to an non-existant mesh or texture, or an entry is incorrect. You won't recieve any help in the log for this so you'll have to check your entries manually.

CTD on startup vRAM
Q: When you start the mod you get a black screen and the mod CTDs. The logs say you lack enough vRAM.

A: There is a texture with an incorrect path. This is usually a texture for a unit on the campaign map, not the battlemap. Check that all the paths are correct in the data\descr_model_strat.txt file.

Black screen CTD
Q: When you start the mod you get a black screen and it it will not disappear unit you hit the 'return' key. Often it's replaced with a black version of the intro.

A: This normally occurs when you sound system has been disabled. You can re-enable it by clicking on the 'Control Panel', then 'Administrative Tools', then 'Services', then scroll down in the pop-up until you find 'Windows Audio'. Starting this should fix this problem (if not reboot your computer).

Mod loads, then CTD without starting

Loading CTD
Q: The game starts to load, then CTD.

A: This is usually caused by an entry in the data\export_descr_buildings.txt or data\export_descr_unit.txt, such as an incorrect entry. The log files should help.

Loading game CTD, with Insufficient video memory error message
Q: The game starts to load, then CTD and error log says there is 'Insufficient video memory'.

A: This is normally caused when you tell M2TW to look for an image file that doesn't exist. The two files most likely to cause this error are the data\unit_models\battle_models.modeldb and descr_model_strat.txt. Check both to ensure that all the image paths (eg models_strat/textures/southern_ambasador_papacy.tga) lead to an image file (.tga or .texture) and the spelling is correct.

CTD after removing regions
Q: After removed most of the regions the mod CTDs. The error message just says the mod has crashed.

A: M2TW requires a mininium of regions of regions (unsure how few), so try adding some more. Also you have to delete the data\world\maps\base\map.rwm file everytime you alter the data\world\maps\base\map_regions.tga file.

CTD after adding a lot of regions
Q: After adding a lot of new regions the mod CTDs. The error message just says the mod has crashed.

A: M2TW cannot have more than 199 regions and 1 sea, so try deleting some. Also you have to delete the data\world\maps\base\map.rwm file everytime you alter the data\world\maps\base\map_regions.tga file.

CTD after editing some regions, no map.rwm
Q: After moding the map_regions.tga file, deleting the map.rwm, and selecting a faction the mod CTDs without generating a new map.rwm file. The error message just says the mod has crashed.

A: This is caused by one of the following.
1) One or more regions does not have a black pixel representing a settlement.
2) One or more regions by the sea does not have a white pixel representing a port.
3) One or more of the pixels is the wrong colour, causing M2TW to treat it as a new region without a settlement.
4) One or more regions has the black pixel touching mutiple regions (it must be located inside only one region).

To resolve the first 3 you need to ensure all the pixels are the correct colour (even a small variation that is invisible to the human eye will cause the mod to crash). To resolve the 4th problem you need to move the black pixel.

CTD after adding some regions, map.rwm generated
Q: After moding the map_regions.tga file, deleting the map.rwm, and selecting a faction the mod CTDs but generates a new and complete map.rwm file. The error message just says the mod has crashed.

A: This can be caused by:
1) The RGB (Red Green Blue) colour of a region does not matching the colour in the data\world\maps\campaign\custom\origin\descr_regio ns.txt (usually the problem). Fixing the incorrect entry will solve this problem.
2) The settlement in the region is in an inaccessable area eg in a forest or up a mountain. Move the black pixel elsewhere.
3) Some graphics programs cannot generate map_regions.tga files that M2TW will accept. I had this problem when I edited the map_regions.tga file using Photoshop Elements 4.0 but not when I switched to Gimp.

Mod CTD during game

Loading or during game CTD, with no error message
Q: The game CTD and error log just says the mod has crashed.

A: This is normally caused by one of the files in the data/text folder not containing all the required information. It's often the data/text/expanded.txt but not always.

Faction selection CTD, missing region
Q: The mod crashes CTDs when you try to play as a specific faction, error message says a province is missing.

A: There are 4 files that deal with provinces:
data\text\imperial_campaign_regions_and_settlement _names.txt
data\world\maps\base\descr_regions.txt
data\world\maps\campaign\imperial_campaign\descr_s trat.txt
data\world\maps\campaign\imperial_campaign\descr_w in_conditions.txt

The make sure the missing province appears in the first three of these and that the missing province is spelled correctly in all of them.

Unit crash
Q: Game crashes when you try to get the information about a unit or when you go to battle with a particular unit.

A: The data\export_descr_unit.txt info for that unit contains an error. Make sure the tabs and spaces are in the right place, information is not missing or duplicated, and that the 'soldier' line refers to a an actual unit (try not to change this).

Building crash
Q: Game crashes at the start when you click the recruit on the recruit option of a settlement.

A: Either this settlement starts with a building this faction cannot have (this only causes a crash at the start of the game) or there's an error in the data\export_descr_buildings.txt file regarding one of the settlement's buildings.

5th turn crash
Q: The game crashes at the end of the fifth turn / start of the fifth turn.

A: I actually had this error, it's not a joke. This error is caused by the following trait in the data\export_descr_character_traits.txt file.

Trait ReligionStarter
    Characters family
    Hidden

    Level General_Religion
        Description General_Religion_desc
        EffectsDescription General_Religion_effects_desc
        Threshold  1 

        Effect Piety  3 

Trying to exclude one of the cultures caused the game to crash at the end of the fourth turn. Excluding other hidden traits can also cause crashes.

20th turn crash
Q: The game crashes during the AI's turn at about turn 20 and the error log just says the mod has crashed.

A: I had this error and it took me a long time to fix it. This error occurred because I increased the number of children allowed in the data/descr_campaign_db.xml file. When the AI's family had more than 4 children the mod crashed.

Game crashes during the AI's turn
Q: The game crashes during the AI's turn and the error log just says the mod has crashed.

A: It's possible that the trigger for a trait is incorrectly written. I once had this problem when the trigger's 'WhenToTest' was 'GeneralAssaultsGeneral', rather than 'PostBattle'.

Another possible cause is that a culture has a trait excluded but the corrisponding 'antitrait' is not excluded. This causes a problem when a general or agent switches from a trait to its antitrait (due to a loss or gain of skill points).

Other
Additional information on crashes and how to solve them is appreciated.
27/10/2010 16:24
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 2.249
Registrato il: 17/08/2009
Città: CARRO
Età: 32
Principe
Ottimo!
27/10/2010 16:27
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 1.619
Registrato il: 30/05/2010
Città: RIVAROLO CANAVESE
Età: 30
Principe
BUONOOOOOOOOOOOOOOO grandissimo boboav, sono sicuro che sarà untile in molti!
--------------------------------------------------






CLICCATE QUA PER GIOCARE A E-SIM!
27/10/2010 16:37
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 4.442
Registrato il: 24/01/2009
Città: NAPOLI
Età: 29
Principe
A me personalmente è stata utilissima in passato, ovviamente il miglior metodo per evitare i crash è sempre fare le cose per bene!!!

Prevenire è meglio che curare [SM=x1140410]
[Modificato da boboav 27/10/2010 16:37]
27/10/2010 17:21
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 2.249
Registrato il: 17/08/2009
Città: CARRO
Età: 32
Principe
Re:
boboav, 27/10/2010 16.37:

A me personalmente è stata utilissima in passato, ovviamente il miglior metodo per evitare i crash è sempre fare le cose per bene!!!

Prevenire è meglio che curare [SM=x1140410]



Perfettamente d'accordo [SM=g27960]
27/10/2010 20:45
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 1.619
Registrato il: 30/05/2010
Città: RIVAROLO CANAVESE
Età: 30
Principe
lasciamo perdere guarda XD sto ingaggiando una lotta spietata con un'unità che ho creato, gli ho assegnato un cavallo e ogni volta che avvio il gioco me la trovo in piedi SUL cavallo, non riesco a capire -.-
--------------------------------------------------






CLICCATE QUA PER GIOCARE A E-SIM!
28/10/2010 09:03
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 21.194
Registrato il: 10/02/2007
Principe

Re:
ReSirio, 27/10/2010 20.45:

lasciamo perdere guarda XD sto ingaggiando una lotta spietata con un'unità che ho creato, gli ho assegnato un cavallo e ogni volta che avvio il gioco me la trovo in piedi SUL cavallo, non riesco a capire -.-




Non gli hai dato la giusta animazione. Ci sono diverse animazioni per i cavalieri e per i guerrieri appiedati.
28/10/2010 15:50
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 1.619
Registrato il: 30/05/2010
Città: RIVAROLO CANAVESE
Età: 30
Principe
eppure nel battle models o copiato la parte di un'unità a cavallo eppure non funge lo stesso!!!!
--------------------------------------------------






CLICCATE QUA PER GIOCARE A E-SIM!
03/11/2010 14:33
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 1.619
Registrato il: 30/05/2010
Città: RIVAROLO CANAVESE
Età: 30
Principe
ah no, c'aveva ragione house, come al solito tra l'altro XD
--------------------------------------------------






CLICCATE QUA PER GIOCARE A E-SIM!
08/12/2010 22:04
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 1.619
Registrato il: 30/05/2010
Città: RIVAROLO CANAVESE
Età: 30
Principe
nupovo crash: ogni volta che clicco su "battaglie personalizzate" crasha, come mai?
--------------------------------------------------






CLICCATE QUA PER GIOCARE A E-SIM!
17/12/2010 18:05
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 2.249
Registrato il: 17/08/2009
Città: CARRO
Età: 32
Principe
Scusate ho un problema, se nel system.log trovo scritto questo, che significa?

17:55:17.308 [system.rpt] [always] CPU: SSE2
17:55:17.338 [system.rpt] [always] ==== system log start, build date: Feb 25 2008 version development ===
17:55:17.463 [system.io] [always] mounted pack packs/data_0.pack
17:55:17.504 [system.io] [always] mounted pack packs/data_1.pack
17:55:17.571 [system.io] [always] mounted pack packs/data_2.pack
17:55:17.616 [system.io] [always] mounted pack packs/data_3.pack
17:55:17.672 [system.io] [always] mounted pack packs/data_4.pack
17:55:17.781 [system.io] [always] mounted pack packs/localized.pack
17:59:23.680 [system.rpt] [error]

La finestra di dialogo che dovrebbe avvisarmi dell'errore non rilevato è completamente vuota, solo il cartellino giallo e l'ok per chiuderla.

Ciò che ho creato è stato:
-cartella separata in mods
-copia di uno dei collegamenti della campagna kingdoms (con cambiata la destinazione in "mods/nome della cartella in mods" in proprietà)
-nella cartella "data" della cartella in mods ho messo (con i percorsi giusti) i file per la mappa come da tutorial di branca, la cartella sounds con event.idx e event.dat

Quando avvio, carica lo splash per un po' e poi crasha.

Qualche idea?
[Modificato da Zames 17/12/2010 18:06]
17/12/2010 19:00
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 4.442
Registrato il: 24/01/2009
Città: NAPOLI
Età: 29
Principe
Re:
Zames, 17/12/2010 18.05:

Scusate ho un problema, se nel system.log trovo scritto questo, che significa?

17:55:17.308 [system.rpt] [always] CPU: SSE2
17:55:17.338 [system.rpt] [always] ==== system log start, build date: Feb 25 2008 version development ===
17:55:17.463 [system.io] [always] mounted pack packs/data_0.pack
17:55:17.504 [system.io] [always] mounted pack packs/data_1.pack
17:55:17.571 [system.io] [always] mounted pack packs/data_2.pack
17:55:17.616 [system.io] [always] mounted pack packs/data_3.pack
17:55:17.672 [system.io] [always] mounted pack packs/data_4.pack
17:55:17.781 [system.io] [always] mounted pack packs/localized.pack
17:59:23.680 [system.rpt] [error]

La finestra di dialogo che dovrebbe avvisarmi dell'errore non rilevato è completamente vuota, solo il cartellino giallo e l'ok per chiuderla.

Ciò che ho creato è stato:
-cartella separata in mods
-copia di uno dei collegamenti della campagna kingdoms (con cambiata la destinazione in "mods/nome della cartella in mods" in proprietà)
-nella cartella "data" della cartella in mods ho messo (con i percorsi giusti) i file per la mappa come da tutorial di branca, la cartella sounds con event.idx e event.dat

Quando avvio, carica lo splash per un po' e poi crasha.

Qualche idea?




il log non dice niente, ma carica l'immagine iniziale o solo la schermata nera?
17/12/2010 19:18
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 2.249
Registrato il: 17/08/2009
Città: CARRO
Età: 32
Principe
Carica lo splash screen di Med, quello con i danesi in carica e la scritta grande "medieval II total war"
18/12/2010 15:14
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 4.442
Registrato il: 24/01/2009
Città: NAPOLI
Età: 29
Principe
allora nella guida c'è scritto che potrebbe essere l'edu o l'edb
18/12/2010 15:19
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 2.249
Registrato il: 17/08/2009
Città: CARRO
Età: 32
Principe
Però nel log non dice nulla, e comunque non li ho toccati, sono quelli originali...be' riproverò comunque, devo venirne a capo!
26/04/2011 20:30
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 1.619
Registrato il: 30/05/2010
Città: RIVAROLO CANAVESE
Età: 30
Principe
Scusate gente ma ho un crash inspiegabile!
Nel log dice che il padre è troppo giovane del figlio, ma non è vero!
[Modificato da ReSirio 26/04/2011 20:31]
--------------------------------------------------






CLICCATE QUA PER GIOCARE A E-SIM!
26/04/2011 20:44
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 21.194
Registrato il: 10/02/2007
Principe

servono almeno 16 anni di differenza
26/04/2011 20:50
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 1.619
Registrato il: 30/05/2010
Città: RIVAROLO CANAVESE
Età: 30
Principe
ah si? non lo sapevo...adesso modifico grazie!
--------------------------------------------------






CLICCATE QUA PER GIOCARE A E-SIM!
26/04/2011 21:26
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 1.619
Registrato il: 30/05/2010
Città: RIVAROLO CANAVESE
Età: 30
Principe
funge grazie!!!
--------------------------------------------------






CLICCATE QUA PER GIOCARE A E-SIM!
23/07/2011 14:26
 
Email
 
Scheda Utente
 
Modifica
 
Cancella
 
Quota
OFFLINE
Post: 21.194
Registrato il: 10/02/2007
Principe

un crash particolare:

se nel descr_strat per sbaglio lasciate una flotta dentro a un porto straniero, CTD senza info utili nel log!
Amministra Discussione: | Chiudi | Sposta | Cancella | Modifica | Notifica email Pagina precedente | 1 2 | Pagina successiva
Nuova Discussione
Rispondi

Feed | Forum | Album | Utenti | Cerca | Login | Registrati | Amministra
Crea forum gratis, gestisci la tua comunità! Iscriviti a FreeForumZone
FreeForumZone [v.6.1] - Leggendo la pagina si accettano regolamento e privacy
Tutti gli orari sono GMT+01:00. Adesso sono le 12:26. Versione: Stampabile | Mobile
Copyright © 2000-2024 FFZ srl - www.freeforumzone.com