I’m trying to make a database that will hold items in my game, but I want to use a excel and make a .CSV file to import the items to save time.
but everytime I try I get an error. here at the screenshot of the CSV file and then error
Can someone tell me what I do wrong here?
Everynone
(Everynone)
June 20, 2020, 2:02pm
2
Here’s a quick tut:
Data in the file:
Struct for the DT:
Drag and drop csv into content browser, choose the struct:
Data in the DT:
1 Like
That did not work, I got thsi mesage when i did import the fodler with ethe csv file:
Do you know way I get this error?
Everynone
(Everynone)
June 20, 2020, 3:36pm
5
CSV stands for Comma Separated Values. Where are your commas? The file format might be CSV but you do need the commas. Create the files in a spreadsheet (google sheets work very well here) and then save it as CSV.
1 Like
Everynone
(Everynone)
June 20, 2020, 3:38pm
6
A csv opened in a notepad would look like this:
Don’t add spaces, if you add spaces, you’ll end with incorrect data.
I copy and paste the the text from Excel to a notepad, here is an image from Excel:
Everynone
(Everynone)
June 20, 2020, 3:54pm
8
I copy and paste the the text from
Excel to a notepad
Why? When you paste something from Excel to a notepad, you lose all formatting. Definitely do not do that.
Save the file as CSV and import that. Ensure the file is closed when you import.
I belive it is a bug in Excel, here is waht the csv fiels shows in Notepad:
304991-
][1]
Everynone
(Everynone)
June 20, 2020, 3:58pm
10
Why not just do this? Why do you need notepad in the first place?
I did that, it gives me the same error so I belive it is a bug in Excel.
Here is how the files shows in notpad:
;X1;X2;X3
Item;5;8;2
Potion;3;5;7
Player;3;6;9
I was able to get it to work with LiberOffice.
but thank you for the help.
Everynone
(Everynone)
June 20, 2020, 4:21pm
13
Super weird to see semicolons there. Glad to hear you got it to work!