Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: can someone test my little mod?  (Read 177 times)

Zeppelin17

  • Ensign
  • *
  • Posts: 3
    • View Profile
can someone test my little mod?
« on: November 25, 2021, 12:55:59 PM »

I am trying to add a ship (first time modding), and my game is crashing with the "Fatal: null" error. I manage to load the game with the mod, I add the ship with the console (still testing the mod), but when I click on the "Fleet" icon to enter the fleet screen, my game crashes. I looked into the log but couldn't see anything relevant. I am attaching my mod here, maybe someone can check it?
Logged

Timid

  • Captain
  • ****
  • Posts: 298
  • Personal Text
    • View Profile
Re: can someone test my little mod?
« Reply #1 on: November 25, 2021, 05:01:58 PM »

Your ship_data.csv is malformed and messed up. It had quotes everywhere for no apparent reason.

Code
"name","id","designation","tech/manufacturer","system id","fleet pts","hitpoints","armor rating","max flux","8/6/5/4%","flux dissipation","ordnance points","fighter bays","max speed","acceleration","deceleration","max turn rate","turn acceleration","mass","shield type","defense id","shield arc","shield upkeep","shield efficiency","phase cost","phase upkeep","min crew","max crew","cargo","fuel","fuel/ly","range","max burn","base value","cr %/day","CR to deploy","peak CR sec","CR loss/sec","supplies/rec","supplies/mo","c/s","c/f","f/s","f/f","crew/s","crew/f","hints","tags","rarity","breakProb","minPieces","maxPieces","travel drive","number"
"Alpha Wolf","alpha_wolf","Frigate","High Tech","displacer","8","5000","750","12000","1875","850","200","","250","150","120","90","120","200","OMNI","","360","0.1","0.1","","","20","40","35","25","0.5","50","12","350000","10","10","420","0.25","9","10","","","","","","","HIDE_IN_CODEX","","","0.5","2","4","","200.5"

THIS IS NOT WHAT IT SHOULD LOOK LIKE.

This is instead.
Code
name,id,designation,tech/manufacturer,system id,fleet pts,hitpoints,armor rating,max flux,8/6/5/4%,flux dissipation,ordnance points,fighter bays,max speed,acceleration,deceleration,max turn rate,turn acceleration,mass,shield type,defense id,shield arc,shield upkeep,shield efficiency,phase cost,phase upkeep,min crew,max crew,cargo,fuel,fuel/ly,range,max burn,base value,cr %/day,CR to deploy,peak CR sec,CR loss/sec,supplies/rec,supplies/mo,c/s,c/f,f/s,f/f,crew/s,crew/f,hints,tags,rarity,breakProb,minPieces,maxPieces,travel drive,number
Alpha Wolf,alpha_wolf,Frigate,High Tech,displacer,8,5000,750,12000,1875,850,200,,250,150,120,90,120,200,OMNI,,360,0.1,0.1,,,20,40,35,25,0.5,50,12,350000,10,10,420,0.25,9,10,,,,,,,HIDE_IN_CODEX,,,0.5,2,4,,200.5

I don't know if it's your operating software or something. I attached a proper ship_data.csv and that seemed to work fine for me.

Dazs

  • Commander
  • ***
  • Posts: 167
    • View Profile
Re: can someone test my little mod?
« Reply #2 on: November 25, 2021, 05:47:05 PM »

hah You beat me to it. I had the same diagnosis that the ship editor was unable to read the ship data. Timid to the rescue!

Zeppelin17

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: can someone test my little mod?
« Reply #3 on: November 26, 2021, 08:08:32 AM »

Wow, thanks.

It must be the software I'm using to edit the .csv (Table Tool). I am playing on a Mac, and that's the only software I could find for free...

Gotta look for another one now.

Thanks a lot!
Logged

AtlanticAccent

  • Ensign
  • *
  • Posts: 31
    • View Profile
    • Email
Re: can someone test my little mod?
« Reply #4 on: November 26, 2021, 08:56:44 AM »

I am playing on a Mac, and that's the only software I could find for free...

Gotta look for another one now.

I recommend Visual Studio Code (not to be confused with Visual Studio) in conjunction with a CSV extension like Rainbow CSV https://marketplace.visualstudio.com/items?itemName=mechatroner.rainbow-csv. Rainbow CSV has an option to align columns too, which can make CSV easier to read.
Logged